[
  {
    "path": ".eslintignore",
    "content": "*.md\n.gitignore\nbuild/\ndist/\nlib/"
  },
  {
    "path": ".eslintrc.js",
    "content": "module.exports = {\n    root: true,\n    parser: '@typescript-eslint/parser',\n    plugins: ['@typescript-eslint'],\n    env: {\n        node: true,\n        browser: true,\n        es6: true,\n    },\n    extends: [\n        'eslint:recommended',\n        'plugin:@typescript-eslint/eslint-recommended',\n        'plugin:@typescript-eslint/recommended',\n        'plugin:prettier/recommended',\n    ],\n};\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/bug_report.md",
    "content": "---\nname: Bug report\nabout: Create a report to help us improve\ntitle: ''\nlabels: ''\nassignees: ''\n\n---\n\n**Describe the bug**\nA clear and concise description of what the bug is.\n\n**To Reproduce**\nSteps to reproduce the behavior:\n1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error\n\n**Expected behavior**\nA clear and concise description of what you expected to happen.\n\n**Screenshots**\nIf applicable, add screenshots to help explain your problem.\n\n**Desktop (please complete the following information):**\n - OS: [e.g. iOS]\n - Browser [e.g. chrome, safari]\n - Version [e.g. 22]\n\n**Smartphone (please complete the following information):**\n - Device: [e.g. iPhone6]\n - OS: [e.g. iOS8.1]\n - Browser [e.g. stock browser, safari]\n - Version [e.g. 22]\n\n**Additional context**\nAdd any other context about the problem here.\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/custom.md",
    "content": "---\nname: Custom issue template\nabout: Describe this issue template's purpose here.\ntitle: ''\nlabels: ''\nassignees: ''\n\n---\n\n\n"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/feature_request.md",
    "content": "---\nname: Feature request\nabout: Suggest an idea for this project\ntitle: ''\nlabels: ''\nassignees: ''\n\n---\n\n**Is your feature request related to a problem? Please describe.**\nA clear and concise description of what the problem is. Ex. I'm always frustrated when [...]\n\n**Describe the solution you'd like**\nA clear and concise description of what you want to happen.\n\n**Describe alternatives you've considered**\nA clear and concise description of any alternative solutions or features you've considered.\n\n**Additional context**\nAdd any other context or screenshots about the feature request here.\n"
  },
  {
    "path": ".gitignore",
    "content": "node_modules/\ndist/\nlib/\nbuild/\n_gh_pages/\nstatic/*.css\nstatic/*.js\n!static/sw.js\nstatic/*.map\n.DS_Store\nyarn-error.log\n/.idea\n.hugo_build.lock\n"
  },
  {
    "path": ".npmignore",
    "content": "_gh_pages/\nassets/\nbuild/\ncontent/\ndata/\nlayouts/\nnode_modules/\nresources/\nstatic/\nsrc/docs.js\nconfig.yml\nyarn-error.log\nsyntax.css\nBUILD-TOOLS.md"
  },
  {
    "path": ".prettierrc",
    "content": "{\n    \"singleQuote\": true,\n    \"eslintIntegration\": true,\n    \"tabWidth\": 4,\n    \"plugins\": [\n        \"prettier-plugin-tailwindcss\"\n    ]\n}"
  },
  {
    "path": ".vscode/settings.json",
    "content": "{\n    \"editor.codeActionsOnSave\": {\n        \"source.fixAll.eslint\": \"explicit\"\n    }\n}\n"
  },
  {
    "path": "BUILD-TOOLS.md",
    "content": "## FlowBite Documentation\n\nThese are the source files for the Flowbite Tailwind CSS components library.\n\n### Getting started\n\n1. Make sure you have Node and NPM installed\n2. Run `yarn install`\n3. Run `yarn start` to start developing\n\n## Building the docs website\n\nMake sure to switch `enabled` to `true` in the `tailwind.config.js` file when building for docs to purge the extra CSS. (doesn't work with the process env for some reason).\n\nRun `yarn build` to build the static HTML files that will be uploaded to FlowBite. The static HTML files can be found in the `_gh_pages/` folder then moved to the `static/docs` folder from the main FlowBite Gatsby repo.\n\n## Building for NPM registry\n\nMake sure that purge is NOT enabled in `tailwind.config.js` (this needs to be fixed with env variables).\n\nRun `npm run build:npm` and then `npm publish` to release a new version. Make sure you also change the version."
  },
  {
    "path": "CONTRIBUTING.md",
    "content": "# Contributing guide\n\n## What do I need to know to help?\n\nIf you are looking to help to with a code contribution our project uses JavaScript and Tailwind CSS. If you don't feel ready to make a code contribution yet, no problem!\n\nIf you are interested in making a code contribution and would like to learn more about the technologies that we use, check out the list below.\n\n- [Learn JavaScript - Full Course for Beginners](https://www.youtube.com/watch?v=PkZNo7MFNFg)\n- [Tailwind CSS](https://tailwindcss.com/)\n\n## How do I make a contribution?\n\nNever made an open source contribution before? Wondering how contributions work in the in our project? Here's a quick rundown!\n\n1. [Find an issue](https://github.com/themesberg/flowbite/issues) that you are interested in addressing or a feature that you would like to add.\n2. Fork the repository associated with the issue to your local GitHub organization. This means that you will have a copy of the repository under `your-GitHub-username/repository-name`.\n3. Clone the repository to your local machine using `git clone https://github.com/github-username/repository-name.git`.\n4. Create a new branch for your fix using `git checkout -b branch-name-here`.\n5. Make the appropriate changes for the issue you are trying to address or the feature that you want to add.\n6. Use `git add insert-paths-of-changed-files-here` to add the file contents of the changed files to the \"snapshot\" git uses to manage the state of the project, also known as the index.\n7. Use `git commit` to store the contents of the index with a descriptive message. Use [conventional commits](https://www.conventionalcommits.org/) to create a nice message.\n8. Push the changes to the remote repository using `git push origin branch-name-here`.\n9. Submit a pull request to the upstream repository.\n10. Title the pull request with a short description of the changes made and the issue or bug number associated with your change. For example, you can title an issue like so `\"Added more log outputting to resolve #4352\"`.\n11. In the description of the pull request, explain the changes that you made, any issues you think exist with the pull request you made, and any questions you have for the maintainer. It's OK if your pull request is not perfect (no pull request is), the reviewer will be able to help you fix any problems and improve it!\n12. Wait for the pull request to be reviewed by a maintainer.\n13. Make changes to the pull request if the reviewing maintainer recommends them.\n14. Celebrate your success after your pull request is merged! 🎉 🎉\n\n## Where can I go for help?\n\nIf you need help, you can ask questions please, [join us at our Discord Community](https://discord.gg/S6J9pUmj2t).\n\n## What does the Code of Conduct mean for me?\n\nOur Code of Conduct means that you are responsible for treating everyone on the project with respect and courtesy regardless of their identity. If you are the victim of any inappropriate behavior or comments as described in our Code of Conduct, we are here for you and will do the best to ensure that the abuser is reprimanded appropriately, per our code.\n\n## Code of conduct\n\nFor more information [check this file](CODE_OF_CONDUCT.md).\n"
  },
  {
    "path": "LICENSE.md",
    "content": "MIT License\n\nCopyright (c) 2023 Bergside Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "<p>\n    <a href=\"https://flowbite.com\" >\n      <img alt=\"Flowbite - Tailwind CSS components\" width=\"350\" src=\"https://flowbite.s3.amazonaws.com/github/logo-github.png\">\n    </a><br>\n    Build websites even faster with components on top of Tailwind CSS\n</p>\n\n<p>\n    <a href=\"https://discord.com/invite/4eeurUVvTy\"><img src=\"https://img.shields.io/discord/902911619032576090?color=%237289da&label=Discord\" alt=\"Discord\"></a>\n    <a href=\"https://www.npmjs.com/package/flowbite\"><img src=\"https://img.shields.io/npm/dt/flowbite.svg\" alt=\"Total Downloads\"></a>\n    <a href=\"https://github.com/themesberg/flowbite/releases\"><img src=\"https://img.shields.io/npm/v/flowbite.svg\" alt=\"Latest Release\"></a>\n    <a href=\"https://flowbite.com/docs/getting-started/license/\"><img src=\"https://img.shields.io/badge/license-MIT-blue\" alt=\"License\"></a>\n</p>\n\n------\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Documentation](#documentation)\n- [Getting started](#getting-started)\n  - [Install using NPM](#install-using-npm)\n  - [Include via CDN](#include-via-cdn)\n  - [Bundled JavaScript](#bundled-javascript)\n  - [Data attributes](#data-attributes)\n    - [Init functions](#init-functions)\n  - [ESM and CJS](#esm-and-cjs)\n  - [TypeScript](#typescript)\n  - [RTL support](#rtl-support)\n  - [JavaScript Frameworks](#javascript-frameworks)\n  - [Back-end Frameworks](#back-end-frameworks)\n- [Components](#components)\n- [Figma Design System](#figma-design-system)\n- [Flowbite Blocks](#flowbite-blocks)\n- [Flowbite Icons](#flowbite-icons)\n- [Flowbite GPT](#flowbite-gpt)\n- [Pro version](#pro-version)\n- [Hire us](#hire-us)\n- [Learn Design Concepts](#learn-design-concepts)\n- [Community](#community)\n- [Copyright and license](#copyright-and-license)\n\n## Documentation\n\nFor full documentation, visit [flowbite.com](https://flowbite.com/).\n\n## Getting started\n\nFlowbite can be included as a plugin into an existing Tailwind CSS project and it is supposed to help you build websites faster by having a set of web components to work with built with the utility classes from Tailwind CSS.\n\n### Install using NPM\n\nMake sure that you have <a href=\"https://nodejs.org/en/\" rel=\"nofollow\" target=\"_blank\">Node.js</a> and <a href=\"https://tailwindcss.com/docs/installation/using-postcss\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS</a> installed. This guide works with Tailwind v4.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n```\nnpm install flowbite\n```\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n```\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n```\n\n3. Import the Flowbite plugin file in your CSS:\n\n```\n@plugin \"flowbite/plugin\";\n```\n\n4. Configure the source files of Flowbite in your CSS:\n\n```\n@source \"../node_modules/flowbite\";\n```\n\n5. Include the JavaScript code that powers the interactive elements before the end of your `<body>` tag:\n\n```\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n```\n\nLearn more about the Flowbite JavaScript API and functionalities in the [JavaScript section](https://flowbite.com/docs/getting-started/javascript/).\n\nIf you have and old project with Tailwind CSS v3 then [check out this guide](https://flowbite.com/docs/getting-started/quickstart/#tailwind-css-v3-to-v4) to learn how to upgrade to v4.\n\n### Include using CDN\n\nThe quickest way to get started working with Flowbite is to include the CSS and JS into your project via CDN.\n\nRequire the following minified stylesheet inside the `head` tag:\n\n```html\n<link href=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.css\" rel=\"stylesheet\" />\n```\n\nAnd include the following JavaScript file before the end of the `body` element:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n```\n\nPlease remember that the best way to work with Tailwind CSS and Flowbite is by purging the CSS classes.\n\n### Bundled JavaScript\n\nOne of the most popular way of using Flowbite is to include the bundled Javascript file which is UMD ready using a bundler such as Webpack or Parcel which makes sure that all of the data attributes and functionality will work out-of-the-box.\n\nYou can directly import the main JavaScript file inside your bundled `app-bundle.js` file like this:\n\n```javascript\nimport 'flowbite';\n```\n\nThis file has access to all of the components and it automatically applies event listeners to the data attributes.\n\n### Data attributes\n\nThe preferred way to use the interactive UI components from Flowbite is via the data attributes interface which allows us to add functionality via the HTML element attributes and most of the examples on our documentation applies this strategy.\n\nFor example, to set up a modal component all you need to do is use `data-modal-target` and `data-modal-{toggle|show|hide}` to toggle, show, or hide the component by clicking on any trigger element.\n\n```html\n<button data-modal-target=\"defaultModal\" data-modal-toggle=\"defaultModal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"defaultModal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"defaultModal\">\n                    <svg aria-hidden=\"true\" class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"defaultModal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"defaultModal\" type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n```\n\n#### Init functions\n\nYou can also use the init functions to set up the event listeners yourself. Here's an example how you can do it with Vue or Nuxt:\n\n```\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n```\n\nThe `initFlowbite` function sets up all of the init functions for dropdowns, modals, navbars, tooltips and so on to hook onto the data attributes. Alternatively, you can also initialise each component category class separately with `initDropdowns` or `initModals`.\n\nYou can view more examples by browsing the [components from Flowbite](#components).\n\n### ESM and CJS\n\nFlowbite also offers an API for using the components programmatically and it supports both CJS and ESM for JavaScript which can be helpful if you need to expand the default capabilities of the data attributes interface and get access to function callbacks.\n\nHere's an example how you can import and create a new Modal component inside JavaScript:\n\n```javascript\nimport { Modal } from 'flowbite'\n\nconst $modalElement = document.querySelector('#modalEl');\n\nconst modalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    }\n}\n\nconst modal = new Modal($modalElement, modalOptions);\n\nmodal.show();\n```\n\nCheck out the JavaScript behaviour section of each component's page to learn how you can use this.\n\n### TypeScript\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n```javascript\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\n// other code\n```\n\nGenerally speaking, all of the components have an interface definition that you can use whenever you create a new object to make sure that you're using the correct types of parameters and methods.\n\nWhen creating a new modal you can set the `ModalInterface` as the main type:\n\n```javascript\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n```\n\nFlowbite also supports type definitions for the options object so if you want to set the placement of the modal based on types, here's how you would do that:\n\n```javascript\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n```\n\nLearn more about Flowbite and TypeScript in the [quickstart guide](https://flowbite.com/docs/getting-started/typescript/).\n\n### RTL support\n\nAll of the Flowbite UI components have native RTL support and you can easily set it up by using the `dir=\"rtl\"` attribute on the HTML element. Read more about Flowbite and [RTL support here](https://flowbite.com/docs/customize/rtl/).\n\n### JavaScript Frameworks\n\nThe awesome open-source community also built and currently maintains the following standalone libraries for React, Vue, Svelte, Angular and Qwik:\n\n- [🌀 Flowbite React Library](https://github.com/themesberg/flowbite-react)\n- [🍀 Flowbite Vue Library](https://github.com/themesberg/flowbite-vue)\n- [🎸 Flowbite Svelte Library](https://github.com/themesberg/flowbite-svelte)\n- [📕 Flowbite Angular Library](https://github.com/themesberg/flowbite-angular)\n- [👿 Flowbite Qwik Library](https://github.com/qwikerx/flowbite-qwik)\n\nWe also wrote integration guides for the following front-end frameworks and libraries:\n\n- [📝 Flowbite with React guide](https://flowbite.com/docs/getting-started/react/)\n- [📝 Flowbite with Next.js guide](https://flowbite.com/docs/getting-started/next-js/)\n- [📝 Flowbite with Remix guide](https://flowbite.com/docs/getting-started/remix/)\n- [📝 Flowbite with Vue guide](https://flowbite.com/docs/getting-started/vue/)\n- [📝 Flowbite with Nuxt guide](https://flowbite.com/docs/getting-started/nuxt-js/)\n- [📝 Flowbite with Svelte guide](https://flowbite.com/docs/getting-started/svelte/)\n- [📝 Flowbite with Astro guide](https://flowbite.com/docs/getting-started/astro/)\n- [📝 Flowbite with MeteorJS guide](https://flowbite.com/docs/getting-started/meteor-js/)\n- [📝 Flowbite with Gatsby guide](https://flowbite.com/docs/getting-started/gatsby/)\n- [📝 Flowbite with SolidJS guide](https://flowbite.com/docs/getting-started/solid-js/)\n- [📝 Flowbite with Qwik guide](https://flowbite.com/docs/getting-started/qwik/)\n\n### Back-end Frameworks\n\nFlowbite has a great integration with most of the back-end frameworks because it relies on vanilla JavaScript:\n\n- [📚 Using Flowbite with Laravel](https://flowbite.com/docs/getting-started/laravel/)\n- [🎼 Using Flowbite with Symfony](https://flowbite.com/docs/getting-started/symfony/)\n- [🚊 Using Flowbite with Ruby on Rails 7](https://flowbite.com/docs/getting-started/rails/)\n- [🐉 Using Flowbite with Phoenix (Elixir)](https://flowbite.com/docs/getting-started/phoenix/)\n- [🐸 Using Flowbite with Django](https://flowbite.com/docs/getting-started/django/)\n- [🌶 Using Flowbite with Flask](https://flowbite.com/docs/getting-started/flask/)\n\n## Components\n\nFlowbite is an open source collection of UI components built with the utility classes from Tailwind CSS that you can use as a starting point when coding user interfaces and websites.\n\n<table>\n  <tr>\n    <td width=\"33.3333%\">Alerts</td>\n    <td width=\"33.3333%\">Badge</td>\n    <td width=\"33.3333%\">Breadcrumbs</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/alerts/\">\n            <img alt=\"Tailwind CSS Alerts\" src=\"https://flowbite.s3.amazonaws.com/github/alerts.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/badge/\">\n            <img alt=\"Tailwind CSS Badge\" src=\"https://flowbite.s3.amazonaws.com/github/badge.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/breadcrumb/\">\n            <img alt=\"Tailwind CSS Breadcrumbs\" src=\"https://flowbite.s3.amazonaws.com/github/breadcrumbs.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Buttons</td>\n    <td width=\"33.3333%\">Button group</td>\n    <td width=\"33.3333%\">Cards</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/buttons/\">\n            <img alt=\"Tailwind CSS Buttons\" src=\"https://flowbite.s3.amazonaws.com/github/buttons.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/button-group/\">\n            <img alt=\"Tailwind CSS Button Group\" src=\"https://flowbite.s3.amazonaws.com/github/button-group.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/card/\">\n            <img alt=\"Tailwind CSS Cards\" src=\"https://flowbite.s3.amazonaws.com/github/cards.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Dropdown</td>\n    <td width=\"33.3333%\">Forms</td>\n    <td width=\"33.3333%\">List group</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/dropdowns/\">\n            <img alt=\"Tailwind CSS Dropdown\" src=\"https://flowbite.s3.amazonaws.com/github/dropdown.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/forms/\">\n            <img alt=\"Tailwind CSS Forms\" src=\"https://flowbite.s3.amazonaws.com/github/forms.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/list-group/\">\n            <img alt=\"Tailwind CSS List group\" src=\"https://flowbite.s3.amazonaws.com/github/list-group.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Typography</td>\n    <td width=\"33.3333%\">Modal</td>\n    <td width=\"33.3333%\">Tabs</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/typography/\">\n            <img alt=\"Tailwind CSS Typography\" src=\"https://flowbite.s3.amazonaws.com/github/typography.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/modal/\">\n            <img alt=\"Tailwind CSS Modal\" src=\"https://flowbite.s3.amazonaws.com/github/modal.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/tabs/\">\n            <img alt=\"Tailwind CSS Tabs\" src=\"https://flowbite.s3.amazonaws.com/github/tabs.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Navbar</td>\n    <td width=\"33.3333%\">Pagination</td>\n    <td width=\"33.3333%\">Timeline</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/navbar/\">\n            <img alt=\"Tailwind CSS Navbar\" src=\"https://flowbite.s3.amazonaws.com/github/navbar.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/pagination/\">\n            <img alt=\"Tailwind CSS Pagination\" src=\"https://flowbite.s3.amazonaws.com/github/pagination.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/timeline/\">\n            <img alt=\"Tailwind CSS Timeline\" src=\"https://flowbite.s3.amazonaws.com/github/timeline.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Progress bar</td>\n    <td width=\"33.3333%\">Tables</td>\n    <td width=\"33.3333%\">Toast</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/progress/\">\n            <img alt=\"Tailwind CSS Progress Bar\" src=\"https://flowbite.s3.amazonaws.com/github/progress.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/tables/\">\n            <img alt=\"Tailwind CSS Tables\" src=\"https://flowbite.s3.amazonaws.com/github/tables.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/toast/\">\n            <img alt=\"Tailwind CSS Toast\" src=\"https://flowbite.s3.amazonaws.com/github/toast.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Tooltips</td>\n    <td width=\"33.3333%\">Datepicker</td>\n    <td width=\"33.3333%\">Spinner</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/tooltips/\">\n            <img alt=\"Tailwind CSS Tooltips\" src=\"https://flowbite.s3.amazonaws.com/github/tooltips.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/datepicker/\">\n            <img alt=\"Tailwind CSS Datepicker\" src=\"https://flowbite.s3.amazonaws.com/github/datepicker.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/spinner/\">\n            <img alt=\"Tailwind CSS Spinner\" src=\"https://flowbite.s3.amazonaws.com/github/spinner.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Footer</td>\n    <td width=\"33.3333%\">Accordion</td>\n    <td width=\"33.3333%\">Sidebar</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/footer/\">\n            <img alt=\"Tailwind CSS Footer\" src=\"https://flowbite.s3.amazonaws.com/github/footer.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/accordion/\">\n            <img alt=\"Tailwind CSS Accordion\" src=\"https://flowbite.s3.amazonaws.com/github/accordion.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/sidebar/\">\n            <img alt=\"Tailwind CSS Sidebar\" src=\"https://flowbite.s3.amazonaws.com/github/sidebar.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Carousel</td>\n    <td width=\"33.3333%\">Avatar</td>\n    <td width=\"33.3333%\">Rating</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/carousel/\">\n            <img alt=\"Tailwind CSS Carousel\" src=\"https://flowbite.s3.amazonaws.com/github/carousel.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/avatar/\">\n            <img alt=\"Tailwind CSS Avatar\" src=\"https://flowbite.s3.amazonaws.com/github/avatar.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/rating/\">\n            <img alt=\"Tailwind CSS Rating\" src=\"https://flowbite.s3.amazonaws.com/github/rating.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Input Field</td>\n    <td width=\"33.3333%\">File Input</td>\n    <td width=\"33.3333%\">Search Input</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/input-field/\">\n            <img alt=\"Tailwind CSS Input Field\" src=\"https://flowbite.s3.amazonaws.com/github/input-field.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/file-input/\">\n            <img alt=\"Tailwind CSS File Input\" src=\"https://flowbite.s3.amazonaws.com/github/file-input.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/search-input/\">\n            <img alt=\"Tailwind CSS Search Input\" src=\"https://flowbite.s3.amazonaws.com/github/search-input.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Select</td>\n    <td width=\"33.3333%\">Textarea</td>\n    <td width=\"33.3333%\">Checkbox</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/select/\">\n            <img alt=\"Tailwind CSS Select\" src=\"https://flowbite.s3.amazonaws.com/github/select.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/textarea/\">\n            <img alt=\"Tailwind CSS Textarea\" src=\"https://flowbite.s3.amazonaws.com/github/textarea.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/checkbox/\">\n            <img alt=\"Tailwind CSS Checkbox\" src=\"https://flowbite.s3.amazonaws.com/github/checkbox.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Radio</td>\n    <td width=\"33.3333%\">Toggle</td>\n    <td width=\"33.3333%\">Range Slider</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/radio/\">\n            <img alt=\"Tailwind CSS Radio\" src=\"https://flowbite.s3.amazonaws.com/github/radio.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/toggle/\">\n            <img alt=\"Tailwind CSS Toggle\" src=\"https://flowbite.s3.amazonaws.com/github/toggle.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/range/\">\n            <img alt=\"Tailwind CSS Range Slider\" src=\"https://flowbite.s3.amazonaws.com/github/range-slider.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Floating Label</td>\n    <td width=\"33.3333%\">Mega Menu</td>\n    <td width=\"33.3333%\">Skeleton</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/floating-label/\">\n            <img alt=\"Tailwind CSS Floating Label\" src=\"https://flowbite.s3.amazonaws.com/github/floating-label.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/mega-menu/\">\n            <img alt=\"Tailwind CSS Mega Menu\" src=\"https://flowbite.s3.amazonaws.com/github/mega-menu.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/skeleton/\">\n            <img alt=\"Tailwind CSS Skeleton\" src=\"https://flowbite.s3.amazonaws.com/github/skeleton.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">KBD (keyboard)</td>\n    <td width=\"33.3333%\">Drawer (offcanvas)</td>\n    <td width=\"33.3333%\">Popover</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/kbd/\">\n            <img alt=\"Tailwind CSS KBD (Keyboard)\" src=\"https://flowbite.s3.amazonaws.com/github/kbd.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/drawer/\">\n            <img alt=\"Tailwind CSS Drawer (offcanvas)\" src=\"https://flowbite.s3.amazonaws.com/github/drawer.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/popover/\">\n            <img alt=\"Tailwind CSS Popover\" src=\"https://flowbite.s3.amazonaws.com/github/popover.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Video</td>\n    <td width=\"33.3333%\">Heading</td>\n    <td width=\"33.3333%\">Paragraph</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/video/\">\n            <img alt=\"Tailwind CSS Video\" src=\"https://flowbite.s3.amazonaws.com/github/video.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/headings/\">\n            <img alt=\"Tailwind CSS Heading\" src=\"https://flowbite.s3.amazonaws.com/github/heading.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/paragraphs/\">\n            <img alt=\"Tailwind CSS Paragraph\" src=\"https://flowbite.s3.amazonaws.com/github/paragraph.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Blockquote</td>\n    <td width=\"33.3333%\">Image</td>\n    <td width=\"33.3333%\">List</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/blockquote/\">\n            <img alt=\"Tailwind CSS Blockquote\" src=\"https://flowbite.s3.amazonaws.com/github/blockquote.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/images/\">\n            <img alt=\"Tailwind CSS Image\" src=\"https://flowbite.s3.amazonaws.com/github/image.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/lists/\">\n            <img alt=\"Tailwind CSS List\" src=\"https://flowbite.s3.amazonaws.com/github/list.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Link</td>\n    <td width=\"33.3333%\">Text</td>\n    <td width=\"33.3333%\">Horizontal line (HR)</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/links/\">\n            <img alt=\"Tailwind CSS Link\" src=\"https://flowbite.s3.amazonaws.com/github/link.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/text/\">\n            <img alt=\"Tailwind CSS Text\" src=\"https://flowbite.s3.amazonaws.com/github/text.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/typography/hr/\">\n            <img alt=\"Tailwind CSS HR\" src=\"https://flowbite.s3.amazonaws.com/github/hr.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Speed Dial</td>\n    <td width=\"33.3333%\">Stepper</td>\n    <td width=\"33.3333%\">Indicators</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/speed-dial/\">\n            <img alt=\"Tailwind CSS Speed Dial\" src=\"https://flowbite.s3.amazonaws.com/github/dial.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/stepper/\">\n            <img alt=\"Tailwind CSS Stepper\" src=\"https://flowbite.s3.amazonaws.com/github/stepper.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/indicators/\">\n            <img alt=\"Tailwind CSS Indicators\" src=\"https://flowbite.s3.amazonaws.com/github/indicators.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Bottom Navigation</td>\n    <td width=\"33.3333%\">Sticky Banner</td>\n    <td width=\"33.3333%\">Gallery (Masonry)</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/bottom-navigation/\">\n            <img alt=\"Tailwind CSS Bottom Navigation Bar\" src=\"https://flowbite.s3.amazonaws.com/github/bottom-bar.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/banner/\">\n            <img alt=\"Tailwind CSS Bottom Sticky Banner\" src=\"https://flowbite.s3.amazonaws.com/github/banner.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/gallery/\">\n            <img alt=\"Tailwind CSS Image Gallery (Masonry)\" src=\"https://flowbite.s3.amazonaws.com/github/gallery.jpg\">\n        </a>\n    </td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">Jumbotron</td>\n    <td width=\"33.3333%\">Device mockups</td>\n    <td width=\"33.3333%\">Charts</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/jumbotron/\">\n            <img alt=\"Tailwind CSS Jumbotron\" src=\"https://flowbite.s3.amazonaws.com/github/jumbotron.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/device-mockups/\">\n            <img alt=\"Tailwind CSS Device Mockups\" src=\"https://flowbite.s3.amazonaws.com/github/device-mockups.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/plugins/charts/\">\n            <img alt=\"Tailwind CSS Charts\" src=\"https://flowbite.s3.amazonaws.com/github/charts.jpg\">\n        </a>\n    </td>\n  </tr>\n    <tr>\n    <td width=\"33.3333%\">Number Input</td>\n    <td width=\"33.3333%\">Phone Input</td>\n    <td width=\"33.3333%\">Chat Bubble</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/number-input/\">\n            <img alt=\"Tailwind CSS Number Input\" src=\"https://flowbite.s3.amazonaws.com/github/number-input.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/phone-input/\">\n            <img alt=\"Tailwind CSS Phone Input\" src=\"https://flowbite.s3.amazonaws.com/github/phone-input.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/chat-bubble/\">\n            <img alt=\"Tailwind CSS Chat Bubble\" src=\"https://flowbite.s3.amazonaws.com/github/chat-bubble.jpg\">\n        </a>\n    </td>\n  </tr>\n  </tr>\n<tr>\n    <td width=\"33.3333%\">Copy to Clipboard</td>\n    <td width=\"33.3333%\">Timepicker</td>\n    <td width=\"33.3333%\">DataTables</td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/clipboard/\">\n            <img alt=\"Tailwind CSS Clipboard\" src=\"https://flowbite.s3.amazonaws.com/github/clipboard.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/forms/timepicker/\">\n            <img alt=\"Tailwind CSS Timepicker\" src=\"https://flowbite.s3.amazonaws.com/github/timepicker.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/plugins/datatables/\">\n            <img alt=\"Tailwind CSS DataTables\" src=\"https://flowbite.s3.amazonaws.com/github/datatables.jpg\">\n        </a>\n    </td>\n  </tr>\n<tr>\n    <td width=\"33.3333%\">WYSIWYG Editor</td>\n    <td width=\"33.3333%\">QR Code</td>\n    <td width=\"33.3333%\"></td>\n  </tr>\n  <tr>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/plugins/wysiwyg/\">\n            <img alt=\"Tailwind CSS WYSIWYG Text Editor\" src=\"https://flowbite.s3.amazonaws.com/github/wysiwyg.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\">\n        <a href=\"https://flowbite.com/docs/components/qr-code/\">\n            <img alt=\"Tailwind CSS QR Code\" src=\"https://flowbite.s3.us-east-1.amazonaws.com/github/qrcode.jpg\">\n        </a>\n    </td>\n    <td width=\"33.3333%\"></td>\n  </tr>\n</table>\n\n## Figma Design System\n\nIf you need the Figma files for the components you can check out our website for more information:\n\n🎨 [Get access to the Figma design files](https://flowbite.com/figma/)\n\n## Flowbite Blocks\n\nCheck out Flowbite Blocks to get access to over 400+ website sections coded in Tailwind CSS and Flowbite:\n\n📦 [Check out Flowbite Blocks](https://flowbite.com/blocks/)\n\n## Flowbite Icons\n\nStart using over 450+ free and open-source collection of solid and outline SVG icons built for Tailwind CSS and with support for Figma and JSX (React):\n\n🔍 [Check out the icons](https://flowbite.com/icons/)\n\n## Flowbite GPT\n\nWe've developed a custom trained ChatGPT model that you can use to generate website sections and pages based on the resources from Flowbite and Tailwind CSS.\n\n🤖 [Generate with Flowbite GPT](https://chat.openai.com/g/g-y7yC35HB9-flowbite-gpt)\n\n## Pro version\n\nGet access to all premium features including the Figma design system, access to all Flowbite Block sections and a dashboard UI interface:\n\n💎 [Check out Flowbite Pro](https://flowbite.com/pro/)\n\n## Hire us\n\nIf you're ready to take your application to the next level you can work with us on your project with developers who have been using Flowbite and Tailwind CSS.\n\n🙋‍♂️ [Work with us](https://flowbite.com/work-with-us/)\n\n## Learn Design Concepts\n\nIf you want to create even better Flowbite pages, learn design fundamentals from Teach Me Design - Enhance UI, a book that covers color theory, typography, UI and UX so you can make the most to implement the Flowbite Ecosystem!\n\n📖 [Learn with Enhance UI](https://www.enhanceui.com/?ref=flowbite-github)\n\n## Community\n\nIf you need help or just want to discuss about the library join the community on Github:\n\n⌨️ [Discuss about Flowbite on GitHub](https://github.com/themesberg/flowbite/discussions)\n\nFor casual chatting with others using the library:\n\n💬 [Join the Flowbite Discord Server](https://discord.gg/4eeurUVvTy)\n\nVideo tutorials and presentations using Flowbite:\n\n🎥 [Subscribe to our YouTube channel](https://www.youtube.com/channel/UC_Ms4V2kYDsh7F_CSsHyQ6A)\n\n## Copyright and license\n\nThe Flowbite name and logos are trademarks of Bergside Inc.\n\n- 📝 [Read about the licensing terms](https://flowbite.com/docs/getting-started/license/)\n- 📀 [Brand guideline and trademark usage agreement](https://flowbite.com/brand/)\n"
  },
  {
    "path": "config.yml",
    "content": "languageCode:           \"en\"\ntitle:                  \"Flowbite\"\nbaseURL:                \"https://flowbite.com/docs/\"\nenableInlineShortcodes: true\n\nparams:\n  homepage: \"https://flowbite.com\"\n  current_version: 4.0.1\n  authors: Flowbite\n  social_image_path: /docs/images/og-image.png\n\nmarkup:\n  goldmark:\n    renderer:\n      unsafe:           true\n  highlight:\n    noClasses:          false\n    style:              colorful\n  tableOfContents:\n    startLevel:         2\n    endLevel:           6\n\nbuildDrafts:            true\nbuildFuture:            true\n\nenableRobotsTXT:        true\nmetaDataFormat:         \"yaml\"\ndisableKinds:           [\"404\", \"taxonomy\", \"RSS\"]\n\npublishDir:             \"_gh_pages\"\n"
  },
  {
    "path": "content/_index.html",
    "content": "---\nlayout: redirect\nsitemap_exclude: true\nredirect: \"/docs/getting-started/introduction/\"\n---"
  },
  {
    "path": "content/components/accordion.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Accordion - Flowbite\ndescription: Use the accordion component to show hidden information based on the collapse and expand state of the child elements using data attribute options\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: RTL (Right-To-Left)\npreviousLink: customize/rtl/\nnext: Alerts\nnextLink: components/alerts/\n---\n\nThe accordion component is a collection of vertically collapsing header and body elements that can be used to show and hide information based on the Tailwind CSS utility classes and JavaScript from Flowbite.\n\nA popular use case would be the \"Frequently Asked Questions\" section of a website or page when you can show questions and answers for each child element.\n\nThere are two main options to initialize the accordion component:\n\n- `data-accordion=\"collapse\"` show only one active child element\n- `data-accordion=\"open\"` keep multiple elements open\n\nDon't forget to set the `data-accordion-target=\"{selector}\"` data attribute to the header element where the value is the id or class of the accordion body element and the `aria-expanded=\"{true|false}\"` attribute to mark the active or inactive state of the accordion.\n\n## Default accordion\n\nUse the `data-accordion=\"collapse\"` to collapse every other child element when expanding a single one.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-collapse\" data-accordion=\"collapse\" class=\"rounded-base border border-default overflow-hidden shadow-xs\">\n  <h2 id=\"accordion-collapse-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-t-base border border-t-0 border-x-0 border-b-default hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-collapse-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-collapse-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-1\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-collapse-heading-1\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-x-0 border-b-default border-t-0 hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-collapse-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-2\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-collapse-heading-2\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-body\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-collapse-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-3\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-3\">\n    <div class=\"p-4 md:p-5 border border-t-default border-b-0 border-x-0\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-body list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Separated cards\n\nUse this example of an accordion with space delimitation between the accordion items.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-card\" data-accordion=\"collapse\">\n  <h2 id=\"accordion-card-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-base shadow-xs border border-default hover:text-heading hover:bg-neutral-secondary-medium gap-3 [&[aria-expanded='true']]:rounded-b-none [&[aria-expanded='true']]:shadow-none\" data-accordion-target=\"#accordion-card-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-card-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-card-body-1\" class=\"hidden border border-t-0 border-default rounded-b-base shadow-xs\" aria-labelledby=\"accordion-card-heading-1\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-card-heading-2\" class=\"mt-4\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-base shadow-xs border border-default hover:text-heading hover:bg-neutral-secondary-medium gap-3 [&[aria-expanded='true']]:rounded-b-none [&[aria-expanded='true']]:shadow-none\" data-accordion-target=\"#accordion-card-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-card-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-card-body-2\" class=\"hidden border border-t-0 border-default rounded-b-base shadow-xs\" aria-labelledby=\"accordion-card-heading-2\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-body\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-card-heading-3\" class=\"mt-4\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-base shadow-xs border border-default hover:text-heading hover:bg-neutral-secondary-medium gap-3 [&[aria-expanded='true']]:rounded-b-none [&[aria-expanded='true']]:shadow-none\" data-accordion-target=\"#accordion-card-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-card-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-card-body-3\" class=\"hidden border border-t-0 border-default rounded-b-base shadow-xs\" aria-labelledby=\"accordion-card-heading-3\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-body list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Always open\n\nUse the `data-accordion=\"open\"` option to keep previously opened accordion elements unchanged.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-open\" data-accordion=\"open\" class=\"rounded-base border border-default overflow-hidden shadow-xs\">\n  <h2 id=\"accordion-open-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-t-base border border-t-0 border-x-0 border-b-default hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-open-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-open-body-1\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-1\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-open-heading-1\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-open-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-x-0 border-b-default border-t-0 hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-open-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-open-body-2\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-2\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-open-heading-2\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-body\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-open-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-open-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-open-body-3\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg> What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-3\" class=\"hidden\" aria-labelledby=\"accordion-open-heading-3\">\n    <div class=\"p-4 md:p-5 border border-t-default border-b-0 border-x-0\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-body list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Color options\n\nUse the `data-active-classes` and `data-inactive-classes` to set the active and inactive classes for the header element whenever the accordion is expanded by applying as many classes as you want, but make sure to separate them with a space. If the data attribute is not set or empty, it will apply the default classes.\n\nHere's an example where we apply the blue colors instead of gray:\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-color\" data-accordion=\"collapse\" class=\"rounded-base border border-default overflow-hidden shadow-xs\">\n  <h2 id=\"accordion-color-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-t-base border border-t-0 border-x-0 border-b-default hover:text-fg-brand hover:bg-brand-softer gap-3\" data-accordion-target=\"#accordion-color-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-color-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-1\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-color-heading-1\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-color-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-x-0 border-b-default border-t-0 hover:text-fg-brand hover:bg-brand-softer gap-3\" data-accordion-target=\"#accordion-color-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-color-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-2\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-color-heading-2\">\n    <div class=\"p-4 md:p-5\">\n      <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-body\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-color-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body hover:text-fg-brand hover:bg-brand-softer gap-3\" data-accordion-target=\"#accordion-color-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-color-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-3\" class=\"hidden\" aria-labelledby=\"accordion-color-heading-3\">\n    <div class=\"p-4 md:p-5 border border-t-default border-b-0 border-x-0\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-body list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Flush accordion\n\nUse this example to remove the background color and rounded borders from the accordion component.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-flush\" data-accordion=\"collapse\" data-active-classes=\"bg-neutral-primary text-heading\" data-inactive-classes=\"text-body\">\n  <h2 id=\"accordion-flush-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-flush-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-1\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-1\">\n    <div class=\"py-5 border-b border-default text-body\">\n      <p class=\"mb-2\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p>Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-flush-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-2\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-2\">\n    <div class=\"py-5 border-b border-default text-body\">\n      <p class=\"mb-2\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p>Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-flush-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-3\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-3\">\n    <div class=\"py-5 text-body border-b border-default\">\n      <p class=\"mb-2\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Arrow style\n\nUse the `data-accordion-icon` data attribute to optionally set an element to rotate 180 degrees when the accordion element is expanded. If the data attribute is not set, then it will not rotate.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-arrow\" data-accordion=\"collapse\" data-active-classes=\"bg-neutral-primary text-heading\" data-inactive-classes=\"text-body\">\n  <h2 id=\"accordion-arrow-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-arrow-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-arrow-body-1\">\n      <span>Accordion without an arrow</span>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-body-1\" class=\"hidden\" aria-labelledby=\"accordion-arrow-heading-1\">\n    <div class=\"py-5 border-b border-default text-body\">\n      <p class=\"mb-2\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p>Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-arrow-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-arrow-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-arrow-body-2\">\n      <span>Accordion with another icon</span>\n      <svg class=\"w-5 h-5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-body-2\" class=\"hidden\" aria-labelledby=\"accordion-arrow-heading-2\">\n    <div class=\"py-5 border-b border-default text-body\">\n      <p class=\"mb-2\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p>Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-arrow-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-arrow-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-arrow-body-3\">\n      <span>Accordion without arrow rotation</span>\n      <svg class=\"w-5 h-5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-body-3\" class=\"hidden\" aria-labelledby=\"accordion-arrow-heading-3\">\n    <div class=\"py-5 text-body border-b border-default\">\n      <p class=\"mb-2\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 list-disc\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Nesting accordions\n\nAccordions can be nested. All of the mentioned options are supported.\n\nTo enable nested accordions you need to wrap the nested accordion in an element with the `data-accordion` attribute and don't accidentally initialize an accordion with nested accordions' items (e.g. by using `$accordionBodyEl.querySelectorAll`), when using <a href=\"#javascript-behaviour\">custom JavaScript</a>.\n\n{{< example github=\"components/accordion.md\" show_dark=true >}}\n\n<div id=\"accordion-collapse-2\" data-accordion=\"collapse\" class=\"rounded-base border border-default overflow-hidden shadow-xs\">\n  <h2 id=\"accordion-collapse-heading-6\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-t-base border border-t-0 border-x-0 border-b-default hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-collapse-body-6\" aria-expanded=\"true\" aria-controls=\"accordion-collapse-body-6\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-6\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default p-4 md:p-5\" aria-labelledby=\"accordion-collapse-heading-6\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body mb-4\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    <!-- Nested accordion -->\n    <div id=\"accordion-nested\" data-accordion=\"collapse\" class=\"rounded-base border border-default overflow-hidden shadow-xs\">\n      <h2 id=\"accordion-nested-heading-1\">\n        <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body rounded-t-base border border-t-0 border-x-0 border-b-default hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-nested-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-nested-body-1\">\n          <span>What is Flowbite?</span>\n          <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n        </button>\n      </h2>\n      <div id=\"accordion-nested-body-1\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-nested-heading-1\">\n        <div class=\"p-4 md:p-5\">\n          <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n          <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n        </div>\n      </div>\n      <h2 id=\"accordion-nested-heading-2\">\n        <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-x-0 border-b-default border-t-0 bg-neutral-primary-soft hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-nested-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-nested-body-2\">\n          <span>Is there a Figma file available?</span>\n          <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n        </button>\n      </h2>\n      <div id=\"accordion-nested-body-2\" class=\"hidden border border-s-0 border-e-0 border-t-0 border-b-default\" aria-labelledby=\"accordion-nested-heading-2\">\n        <div class=\"p-4 md:p-5\">\n          <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n          <p class=\"text-body\">Check out the <a href=\"https://flowbite.com/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n        </div>\n      </div>\n      <h2 id=\"accordion-nested-heading-3\">\n        <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body bg-neutral-primary-soft hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-nested-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-nested-body-3\">\n          <span>What are the differences between Flowbite and Tailwind UI?</span>\n          <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n        </button>\n      </h2>\n      <div id=\"accordion-nested-body-3\" class=\"hidden\" aria-labelledby=\"accordion-nested-heading-3\">\n        <div class=\"p-4 md:p-5 border border-t-default border-b-0 border-x-0\">\n          <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n          <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n          <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n          <ul class=\"text-body ps-5 list-disc\">\n            <li><a href=\"https://flowbite.com/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n            <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n          </ul>\n        </div>\n      </div>\n    </div>\n    <!-- End of  Nested accordion -->\n  </div>\n  <h2 id=\"accordion-collapse-heading-7\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body bg-neutral-primary-soft hover:text-heading hover:bg-neutral-secondary-medium gap-3\" data-accordion-target=\"#accordion-collapse-body-7\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-7\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-7\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-7\">\n    <div class=\"p-4 md:p-5 border border-t-default border-b-0 border-x-0\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"text-body list-disc ps-5\">\n        <li><a href=\"https://flowbite.com/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nUse the **Accordion** object from Flowbite to create a collection of vertically collapsing heading and content elements using object parameters, options, methods, and callback functions directly from JavaScript.\n\n### Object parameters\n\nCreate a new Accordion object by passing an array of accordion items and an optional options object to customize the styles and add callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm rtl:text-right text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">accordionEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    The parent HTML element of the accordion component.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">items</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array of accordion items objects including the unique identifier, heading element, content element, and the active state.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object of options that you can set to customize the style of the accordion items and set callback functions.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the second parameter for the Accordion object to customize the behaviour, styles, and to set callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm rtl:text-right text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n              <tr class=\"border-b bg-neutral-primary border-default\">\n                  <td class=\"px-6 py-4 font-medium\">\n                      <code class=\"text-fg-brand\">alwaysOpen</code>\n                  </td>\n                  <td class=\"px-6 py-4\">\n                      Boolean\n                  </td>\n                  <td class=\"px-6 py-4\">\n                      If set to true then multiple accordion elements can be open at the same time. By default it's false.\n                  </td>\n              </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">activeClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an array of Tailwind CSS class names to apply for the active accordion heading element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">inactiveClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Apply an array of Tailwind CSS class names to apply for the inactive accordion heading elements.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onOpen</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when a new accordion item has been opened.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onClose</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when a new accordion item has been closed.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the object methods on the Accordion object to programmatically open, close, or toggle the visibility of a given accordion item.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm rtl:text-right text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to toggle an accordion item based on its current state.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">open(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to open an accordion item based on the id.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">close(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to close an accordion item based on the id.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnOpen(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been opened.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnClose(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been closed.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nLearn more about using the Accordion object from Flowbite in this example in JavaScript.\n\nTo get started you need to create an array of accordion item objects including a unique identifier (it can be a number as well), a trigger element (eg. a button), a content element (the content body), and the active state.\n\nAdditionally, you can also set some options to change the default behaviour of the accordion, customize the styles, and set callback functions.\n\n{{< code lang=\"javascript\" file=\"accordion.js\" icon=\"file\" >}}\nconst accordionElement = document.getElementById('accordion-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst accordionItems = [\n    {\n        id: 'accordion-example-heading-1',\n        triggerEl: document.querySelector('#accordion-example-heading-1'),\n        targetEl: document.querySelector('#accordion-example-body-1'),\n        active: true\n    },\n    {\n        id: 'accordion-example-heading-2',\n        triggerEl: document.querySelector('#accordion-example-heading-2'),\n        targetEl: document.querySelector('#accordion-example-body-2'),\n        active: false\n    },\n    {\n        id: 'accordion-example-heading-3',\n        triggerEl: document.querySelector('#accordion-example-heading-3'),\n        targetEl: document.querySelector('#accordion-example-body-3'),\n        active: false\n    }\n];\n\n// options with default values\nconst options = {\n    alwaysOpen: true,\n    activeClasses: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white',\n    inactiveClasses: 'text-body',\n    onOpen: (item) => {\n        console.log('accordion item has been shown');\n        console.log(item);\n    },\n    onClose: (item) => {\n        console.log('accordion item has been hidden');\n        console.log(item);\n    },\n    onToggle: (item) => {\n        console.log('accordion item has been toggled');\n        console.log(item);\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n    id: 'accordion-example',\n    override: true\n};\n{{< /code >}}\n\nCreate a new Accordion object using the options set above as the parameters.\n\n{{< code lang=\"javascript\" file=\"accordion.js\" icon=\"file\" >}}\nimport { Accordion } from 'flowbite';\n\n/*\n* accordionEl: HTML element (required)\n* accordionItems: array of accordion item objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst accordion = new Accordion(accordionElement, accordionItems, options, instanceOptions);\n{{< /code >}}\n\nNow you can access the object methods to programmatically open, close, and toggle the accordion items based on the unique identifier.\n\n{{< code lang=\"javascript\" file=\"accordion.js\" icon=\"file\" >}}\n// open accordion item based on id\naccordion.open('accordion-example-heading-2');\n\n// close accordion item based on id\naccordion.close('accordion-example-heading-2');\n\n// toggle visibility of item based on id\naccordion.toggle('accordion-example-heading-3');\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML markup example for the JavaScript script above.\n\n{{< code lang=\"html\" file=\"accordion.html\" icon=\"file\" >}}\n<div id=\"accordion-example\">\n  <h2 id=\"accordion-example-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-b-0 border-default rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"true\" aria-controls=\"accordion-example-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 rotate-180 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-1\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-1\">\n    <div class=\"p-5 border border-b-0 border-default dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-body\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-body\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-example-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-b-0 border-default focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"false\" aria-controls=\"accordion-example-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-2\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-2\">\n    <div class=\"p-5 border border-b-0 border-default dark:border-gray-700\">\n      <p class=\"mb-2 text-body\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-body\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-example-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-body border border-default focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"false\" aria-controls=\"accordion-example-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-3\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-3\">\n    <div class=\"p-5 border border-t-0 border-default dark:border-gray-700\">\n      <p class=\"mb-2 text-body\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-body\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-body\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-body list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Accordion object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"accordion.ts\" icon=\"file\" >}}\nimport { Accordion } from \"flowbite\";\nimport type { AccordionOptions, AccordionItem, AccordionInterface } from \"flowbite\";\nimport type { InstanceOptions } from 'flowbite';\n\nconst accordionEl = document.querySelector('#accordion-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst accordionItems: AccordionItem[] = [\n    {\n        id: 'accordion-example-heading-1',\n        triggerEl: document.querySelector('#accordion-example-heading-1'),\n        targetEl: document.querySelector('#accordion-example-body-1'),\n        active: true\n    },\n    {\n        id: 'accordion-example-heading-2',\n        triggerEl: document.querySelector('#accordion-example-heading-2'),\n        targetEl: document.querySelector('#accordion-example-body-2'),\n        active: false\n    },\n    {\n        id: 'accordion-example-heading-3',\n        triggerEl: document.querySelector('#accordion-example-heading-3'),\n        targetEl: document.querySelector('#accordion-example-body-3'),\n        active: false\n    }\n];\n\n// options with default values\nconst options: AccordionOptions = {\n    alwaysOpen: true,\n    activeClasses: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white',\n    inactiveClasses: 'text-body',\n    onOpen: (item) => {\n        console.log('accordion item has been shown');\n        console.log(item);\n    },\n    onClose: (item) => {\n        console.log('accordion item has been hidden');\n        console.log(item);\n    },\n    onToggle: (item) => {\n        console.log('accordion item has been toggled');\n        console.log(item);\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n    id: 'accordion-example',\n    override: true\n};\n\n/*\n* accordionEl: HTML element (required)\n* accordionItems: array of accordion item objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst accordion: AccordionInterface = new Accordion(accordionEl, accordionItems, options, instanceOptions);\n\n// open accordion item based on id\naccordion.open('accordion-example-heading-2');\n\n// destroy accordion\naccordion.destroy();\n\n// re-initialize accordion\naccordion.init();\n{{< /code >}}"
  },
  {
    "path": "content/components/alerts.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Alerts - Flowbite\ndescription: Show contextual information to your users using alert elements based on Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Accordion\npreviousLink: components/accordion/\nnext: Avatar\nnextLink: components/avatar/\n---\n\nThe alert component can be used to provide information to your users such as success or error messages, but also highlighted information complementing the normal flow of paragraphs and headers on a page.\n\nFlowbite also includes dismissible alerts which can be hidden by the users by clicking on the close icon.\n\n## Default alert\n\nUse the following examples of alert components to show messages as feedback to your users.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer\" role=\"alert\">\n  <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft\" role=\"alert\">\n  <span class=\"font-medium\">Danger alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft\" role=\"alert\">\n  <span class=\"font-medium\">Success alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft\" role=\"alert\">\n  <span class=\"font-medium\">Warning alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 text-sm text-heading rounded-base bg-neutral-secondary-medium\" role=\"alert\">\n  <span class=\"font-medium\">Dark alert!</span> Change a few things up and try submitting again.\n</div>\n{{< /example >}}\n\n## Alerts with icon\n\nYou can also include a descriptive icon to complement the message inside the alert component with the following example.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Info alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Danger alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Success alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Warning alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 text-sm text-heading rounded-base bg-neutral-secondary-medium\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Dark alert!</span> Change a few things up and try submitting again.</p>\n</div>\n{{< /example >}}\n\n## Bordered alerts \n\nUse this example to add a border accent to the alert component instead of just a plain background.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer border border-brand-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Info alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft border border-danger-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Danger alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft border border-success-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Success alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft border border-warning-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Warning alert!</span> Change a few things up and try submitting again.</p>\n</div>\n<div class=\"flex items-start sm:items-center p-4 text-sm text-heading rounded-base bg-neutral-secondary-medium border border-default-medium\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0 mt-0.5 sm:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <p><span class=\"font-medium me-1\">Dark alert!</span> Change a few things up and try submitting again.</p>\n</div>\n{{< /example >}}\n\n## Alerts with list\n\nUse this example to show a list and a description inside an alert component.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer border border-brand-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-2 list-disc list-outside space-y-1 ps-2.5\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n<div class=\"flex p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft border border-danger-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Danger</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-2 list-disc list-outside space-y-1 ps-2.5\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n<div class=\"flex p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft border border-success-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Success</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-2 list-disc list-outside space-y-1 ps-2.5\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n<div class=\"flex p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft border border-warning-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 me-2 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Success</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-2 list-disc list-outside space-y-1 ps-2.5\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Dismissing\n\nUse the following alert elements that are also dismissible.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-1\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm\">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-brand-medium hover:bg-brand-soft inline-flex items-center justify-center h-8 w-8 shrink-0 shrink-0\" data-dismiss-target=\"#alert-1\" aria-label=\"Close\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-2\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-danger-soft text-fg-danger-strong rounded focus:ring-2 focus:ring-danger-medium p-1.5 hover:bg-danger-medium inline-flex items-center justify-center h-8 w-8 shrink-0 shrink-0\" data-dismiss-target=\"#alert-2\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-3\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-success-medium p-1.5 hover:bg-success-medium inline-flex items-center justify-center h-8 w-8 shrink-0 shrink-0\" data-dismiss-target=\"#alert-3\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-4\" class=\"flex smitems-center flex items-center p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-warning-medium p-1.5 hover:bg-warning-medium inline-flex items-center justify-center h-8 w-8 shrink-0 shrink-0\" data-dismiss-target=\"#alert-4\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-5\" class=\"flex sm:items-center p-4 text-sm text-heading rounded-base bg-neutral-secondary-medium\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple dark alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-neutral-tertiary p-1.5 hover:bg-neutral-tertiary-medium inline-flex items-center justify-center h-8 w-8 shrink-0 shrink-0\" data-dismiss-target=\"#alert-5\" aria-label=\"Close\">\n    <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n{{< /example >}}\n\n## Border accent\n\nUse this example to add a border accent on top of the alert component for further visual distinction.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-border-1\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-brand-strong bg-brand-softer border-t-4 border-brand-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm\">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-brand-medium hover:bg-brand-soft inline-flex items-center justify-center h-8 w-8 shrink-0\" data-dismiss-target=\"#alert-border-1\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-border-2\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-danger-strong bg-danger-soft border-t-4 border-danger-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-danger-soft text-fg-danger-strong rounded focus:ring-2 focus:ring-danger-medium p-1.5 hover:bg-danger-medium inline-flex items-center justify-center h-8 w-8 shrink-0\" data-dismiss-target=\"#alert-border-2\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-border-3\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-success-strong bg-success-soft border-t-4 border-success-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-success-medium p-1.5 hover:bg-success-medium inline-flex items-center justify-center h-8 w-8 shrink-0\" data-dismiss-target=\"#alert-border-3\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-border-4\" class=\"flex sm:items-center p-4 mb-4 text-sm text-fg-warning bg-warning-soft border-t-4 border-warning-subtle\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple info alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-warning-medium p-1.5 hover:bg-warning-medium inline-flex items-center justify-center h-8 w-8 shrink-0\" data-dismiss-target=\"#alert-border-4\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n<div id=\"alert-border-5\" class=\"flex sm:items-center p-4 text-sm text-heading bg-neutral-secondary-medium border-t-4 border-default-medium\" role=\"alert\">\n  <svg class=\"w-4 h-4 shrink-0 mt-0.5 md:mt-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-2 text-sm \">\n    A simple dark alert with an <a href=\"#\" class=\"font-medium underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-neutral-tertiary p-1.5 hover:bg-neutral-tertiary-medium inline-flex items-center justify-center h-8 w-8 shrink-0\" data-dismiss-target=\"#alert-border-5\" aria-label=\"Close\">\n    <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  </button>\n</div>\n{{< /example >}}\n\n## Additional content\n\nThe following alert components can be used if you wish to disclose more information inside the element.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-additional-content-1\" class=\"p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer border border-brand-subtle\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-medium\">This is a info alert</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#alert-additional-content-1\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-brand-medium hover:bg-brand-soft inline-flex items-center justify-center h-8 w-8 shrink-0\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n  <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  View more\n  </button>\n</div>\n\n<div id=\"alert-additional-content-2\" class=\"p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft border border-danger-subtle\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-medium\">This is a danger alert</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#alert-additional-content-2\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 bg-danger-soft text-fg-danger-strong rounded focus:ring-2 focus:ring-danger-medium p-1.5 hover:bg-danger-medium inline-flex items-center justify-center h-8 w-8 shrink-0\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <button type=\"button\" class=\"inline-flex items-center text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n  <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  View more\n  </button>\n</div>\n\n<div id=\"alert-additional-content-3\" class=\"p-4 mb-4 text-sm text-fg-success-strong rounded-base bg-success-soft border border-success-subtle\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-medium\">This is a success alert</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#alert-additional-content-3\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 bg-success-soft text-fg-success-strong rounded focus:ring-2 focus:ring-success-medium p-1.5 hover:bg-success-medium inline-flex items-center justify-center h-8 w-8 shrink-0\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <button type=\"button\" class=\"inline-flex items-center text-white bg-success box-border border border-transparent hover:bg-success-strong focus:ring-4 focus:ring-success-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n  <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  View more\n  </button>\n</div>\n\n<div id=\"alert-additional-content-4\" class=\"p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft border border-warning-subtle\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-medium\">This is a warning alert</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#alert-additional-content-4\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 bg-warning-soft text-fg-warning-strong rounded focus:ring-2 focus:ring-warning-medium p-1.5 hover:bg-warning-medium inline-flex items-center justify-center h-8 w-8 shrink-0\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <button type=\"button\" class=\"inline-flex items-center text-white bg-warning box-border border border-transparent hover:bg-warning-strong focus:ring-4 focus:ring-warning-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n  <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  View more\n  </button>\n</div>\n\n<div id=\"alert-additional-content-5\" class=\"p-4 text-sm text-heading rounded-base bg-neutral-secondary-medium border border-default-medium\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-medium\">This is a default alert</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#alert-additional-content-5\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-neutral-tertiary p-1.5 hover:bg-neutral-tertiary-medium inline-flex items-center justify-center h-8 w-8 shrink-0\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <button type=\"button\" class=\"inline-flex items-center text-white bg-dark-soft box-border border border-transparent hover:bg-dark-strong focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n  <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  View more\n  </button>\n</div>\n\n{{< /example >}}\n\n## Announcement alerts\n\nUse this alert component to make announcements with a CTA link.\n\n{{< example github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-small-1\" class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-fg-brand-strong rounded-full bg-brand-softer border border-brand-subtle\" role=\"alert\">\n  <span class=\"bg-brand-soft text-fg-brand-strong py-0.5 px-2 rounded-full\">New</span>\n  <div class=\"ms-2 text-sm\">\n    Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n  </div>\n  <svg class=\"w-4 h-4 ms-1 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</div>\n\n<div id=\"alert-small-2\" class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-fg-danger-strong rounded-full bg-danger-soft border border-danger-subtle\" role=\"alert\">\n  <span class=\"bg-danger-medium text-fg-danger-strong py-0.5 px-2 rounded-full\">New</span>\n  <div class=\"ms-2 text-sm\">\n    Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n  </div>\n  <svg class=\"w-4 h-4 ms-1 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</div>\n\n<div id=\"alert-small-3\" class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-fg-success-strong rounded-full bg-success-soft border border-success-subtle\" role=\"alert\">\n  <span class=\"bg-success-medium text-fg-success-strong py-0.5 px-2 rounded-full\">New</span>\n  <div class=\"ms-2 text-sm\">\n    Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n  </div>\n  <svg class=\"w-4 h-4 ms-1 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</div>\n\n<div id=\"alert-small-4\" class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-fg-warning rounded-full bg-warning-soft border border-warning-subtle\" role=\"alert\">\n  <span class=\"bg-warning-medium text-fg-warning py-0.5 px-2 rounded-full\">New</span>\n  <div class=\"ms-2 text-sm\">\n    Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n  </div>\n  <svg class=\"w-4 h-4 ms-1 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</div>\n\n<div id=\"alert-small-5\" class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-heading rounded-full bg-neutral-secondary-medium border border-default-medium\" role=\"alert\">\n  <span class=\"bg-neutral-quaternary text-heading py-0.5 px-2 rounded-full\">New</span>\n  <div class=\"ms-2 text-sm\">\n    Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n  </div>\n  <svg class=\"w-4 h-4 ms-1 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nThe **Dismiss** class from Flowbite can be used to create an object that will hide a target element or elements based on the parameters, options, and methods that you provide.\n\n### Object parameters\n\nThe parameters for the Dismiss object can be used to programmatically initialize and manipulate the behaviour of the dismissal of the target element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft\">\n          <tr class=\"text-heading text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the element object that will be dismissed.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the element object that will trigger the targetEl dismission on click.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the options object to set the trigger element, transition, duration, timing classes of the dismiss animation and callback functions.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these optional options for the Dismiss object to set the transition, duration, and timing function types based on the utility classes from Tailwind CSS.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body0\">\n      <thead class=\"bg-neutral-secondary-soft\">\n          <tr class=\"text-heading text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody class=\"text-body\">\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">transition</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use one of the Transition Property utility classes from Tailwind CSS to set transition type for the main element. The default value is <code class=\"text-fg-brand\">transition-opacity</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">duration</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the duration of the dismissing animation. The default value is <code class=\"text-fg-brand\">300</code> (300 milliseconds).\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">timing</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the transition timing function utility class from Tailwind CSS. The default value is <code class=\"text-fg-brand\">ease-out</code>.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onHide</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been dismissed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods on the Dismiss object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"text-heading bg-neutral-secondary-soft\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dismiss object to hide the target element.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set the callback function when the item has been dismissed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Dismiss object.\n\nFirst of all, you should set the required target element and optionally set a trigger element which will dismiss the target element when clicked and other options to customize the animation.\n\n{{< code lang=\"javascript\" file=\"dismiss.js\" icon=\"file\" >}}\n// target element that will be dismissed\nconst $targetEl = document.getElementById('targetElement');\n\n// optional trigger element\nconst $triggerEl = document.getElementById('triggerElement');\n\n// options object\nconst options = {\n  transition: 'transition-opacity',\n  duration: 1000,\n  timing: 'ease-out',\n\n  // callback functions\n  onHide: (context, targetEl) => {\n    console.log('element has been dismissed')\n    console.log(targetEl)\n  }\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'targetElement',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Dismiss object based on the options set above.\n\n{{< code lang=\"javascript\" file=\"dismiss.js\" icon=\"file\" >}}\nimport { Dismiss } from 'flowbite';\n\n/*\n* $targetEl (required)\n* $triggerEl (optional)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst dismiss = new Dismiss($targetEl, $triggerEl, options, instanceOptions);\n{{< /code >}}\n\nYou can now use the methods on the Dismiss object.\n\n{{< code lang=\"javascript\" >}}\n// hide the target element\ndismiss.hide();\n{{< /code >}}\n\n### HTML Markup\n\nUse this HTML code for the JavaScript code example above.\n\n{{< code lang=\"html\" file=\"dismiss.html\" icon=\"file\" >}}\n<button id=\"triggerElement\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Hide alert</button>\n\n<div id=\"targetElement\" class=\"p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer\" role=\"alert\">\n  <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Dismiss class, parameters and its options. \n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"dismiss.ts\" icon=\"file\" >}}\nimport { Dismiss } from \"flowbite\";\nimport type { DismissOptions, DismissInterface } from \"flowbite\";\nimport type { InstanceOptions } from 'flowbite';\n\n// target element that will be dismissed\nconst $targetEl: HTMLElement = document.getElementById('targetElement');\n\n// optional trigger element\nconst $triggerEl: HTMLElement = document.getElementById('triggerElement');\n\n// options object\nconst options: DismissOptions = {\n  transition: 'transition-opacity',\n  duration: 1000,\n  timing: 'ease-out',\n\n  // callback functions\n  onHide: (context, targetEl) => {\n    console.log('element has been dismissed')\n    console.log(targetEl)\n  }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'targetElement',\n  override: true\n};\n\n/*\n* $targetEl (required)\n* $triggerEl (optional)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst dismiss: DismissInterface = new Dismiss($targetEl, $triggerEl, options, instanceOptions);\n\n// programmatically hide it\ndismiss.hide();\n{{< /code >}}"
  },
  {
    "path": "content/components/avatar.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Avatar - Flowbite\ndescription: Use the avatar component to show a visual representation of a user profile using an image element or SVG object based on multiple styles and sizes\ngroup: components\ntoc: true\n\nprevious: Alerts\npreviousLink: components/alerts/\nnext: Badge\nnextLink: components/badge/\n---\n\nThe avatar component can be used as a visual identifier for a user profile on your website and you can use the examples from Flowbite to modify the styles and sizes of these components using the utility classes from Tailwind CSS.\n\n## Default avatar\n\nUse this example to create a circle and rounded avatar on an image element.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n<img class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Default avatar\">\n{{< /example >}}\n\n## Bordered\n\nApply a border around the avatar component you can use the `ring-{color}` class from Tailwind CSS.\n\n{{< example class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-10 h-10 p-1 rounded-full ring-2 ring-default\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Bordered avatar\">\n{{< /example >}}\n\n## Placeholder icon\n\nUse this example as a placeholder icon for the user profile when there is no custom image available.\n\n{{< example class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative w-10 h-10 overflow-hidden bg-neutral-secondary-medium rounded-full\">\n    <svg class=\"absolute w-12 h-12 text-body-subtle -left-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z\" clip-rule=\"evenodd\"></path></svg>\n</div>\n{{< /example >}}\n\n## Placeholder initials\n\nThis example can be used to show the initials of the user's first and last name as a placeholder when no profile picture is available.\n\n{{< example class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative inline-flex items-center justify-center w-10 h-10 overflow-hidden bg-neutral-tertiary rounded-full\">\n    <span class=\"font-medium text-body\">JL</span>\n</div>\n{{< /example >}}\n\n## Avatar tooltip\n\nUse this example to show a tooltip when hovering over the avatar.\n\n{{< example class=\"flex items-center justify-center pt-8 gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<div>\n  <div id=\"tooltip-jese\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Jese Leos\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-jese\" class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Medium avatar\">\n</div>\n<div>\n  <div id=\"tooltip-roberta\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Roberta Casas\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-roberta\" class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Medium avatar\">\n</div>\n<div>\n  <div id=\"tooltip-bonnie\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Bonnie Green\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-bonnie\" class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Medium avatar\">\n</div>\n{{< /example >}}\n\n## Dot indicator\n\nUse a dot element relative to the avatar component as an indicator for the user (eg. online or offline status).\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"top-0 left-7 absolute  w-3.5 h-3.5 bg-success border-2 border-buffer rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"absolute top-0 left-8 transform -translate-y-1/2 w-3.5 h-3.5 bg-danger border-2 border-buffer rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"bottom-0 left-7 absolute  w-3.5 h-3.5 bg-success border-2 border-buffer rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"absolute bottom-0 left-8 transform translate-y-1/4 w-3.5 h-3.5 bg-success border-2 border-buffer rounded-full\"></span>\n</div>\n{{< /example >}}\n\n## Stacked\n\nUse this example if you want to stack a group of users by overlapping the avatar components.\n\n{{< example class=\"flex justify-center gap-4 rtl:gap-8\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"flex -space-x-4 rtl:space-x-reverse\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"\">\n</div>\n<div class=\"flex -space-x-4 rtl:space-x-reverse\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n    <a class=\"flex items-center justify-center w-10 h-10 text-xs font-medium text-white bg-dark-strong border-2 border-buffer rounded-full\" href=\"#\">+99</a>\n</div>\n{{< /example >}}\n\n## Avatar text\n\nThis example can be used if you want to show additional information in the form of text elements such as the user's name and join date.\n\n{{< example class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"flex items-center gap-2.5\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <div class=\"font-medium text-heading\">\n        <div>Jese Leos</div>\n        <div class=\"text-sm font-normal text-body\">Joined in August 2014</div>\n    </div>\n</div>\n{{< /example >}}\n\n## User dropdown\n\nUse this example if you want to show a dropdown menu when clicking on the avatar component.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true iframeHeight=\"360\" >}}\n<img id=\"avatarButton\" type=\"button\" data-dropdown-toggle=\"userDropdown\" data-dropdown-placement=\"bottom-start\" class=\"w-10 h-10 rounded-full cursor-pointer\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"User dropdown\">\n\n<!-- Dropdown menu -->\n<div id=\"userDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <div class=\"px-4 py-3 border-b border-default-medium text-sm text-heading\">\n      <div class=\"font-medium\">Bonnie Green</div>\n      <div class=\"truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"avatarButton\">\n      <li>\n        <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium text-fg-danger rounded-md\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Sizes\n\nChoose from multiple sizing options for the avatar component from this example.\n\n{{< example class=\"flex flex-wrap items-center justify-center gap-6\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-4.5 h-4.5 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Extra small avatar\">\n<img class=\"w-6 h-6 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Small avatar\">\n<img class=\"w-8 h-8 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Base avatar\">\n<img class=\"w-11 h-11 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Large avatar\">\n<img class=\"w-14 h-14 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"xl avatar\">\n<img class=\"w-16 h-16 rounded-base\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"2xl avatar\">\n{{< /example >}}\n"
  },
  {
    "path": "content/components/badge.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Badges - Flowbite\ndescription: Use Tailwind CSS badges as elements to show counts or labels separately or inside other components\ngroup: components\ntoc: true\n\nprevious: Avatar\npreviousLink: components/avatar/\nnext: Banner\nnextLink: components/banner/\n---\n\nThe badge component can be used to complement other elements such as buttons or text elements as a label or to show the count of a given data, such as the number of comments for an article or how much time has passed by since a comment has been made.\n\nAlternatively, badges can also be used as standalone elements that link to a certain page by using the anchor tag instead of a `span` element.\n\n## Default badges\n\nUse the following badge elements to indicate counts or labels inside or outside components.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-brand-softer text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">Brand</span>\n<span class=\"bg-neutral-primary-soft text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Alternative</span>\n<span class=\"bg-neutral-secondary-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Gray</span>\n<span class=\"bg-danger-soft text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded\">Danger</span>\n<span class=\"bg-success-soft text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">Success</span>\n<span class=\"bg-warning-soft text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded\">Warning</span>\n{{< /example >}}\n\n## Bordered badges\n\nThis example can be used to add a border accent to the badge component.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">Brand</span>\n<span class=\"bg-neutral-primary-soft border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Alternative</span>\n<span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Gray</span>\n<span class=\"bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded\">Danger</span>\n<span class=\"bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">Success</span>\n<span class=\"bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded\">Warning</span>\n{{< /example >}}\n\n## Large badges\n\nUse the `text-sm` utility class and increase the paddings to create a larger variant of the badges.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-brand-softer text-fg-brand-strong text-sm font-medium px-2 py-1 rounded\">Brand</span>\n<span class=\"bg-neutral-primary-soft text-heading text-sm font-medium px-2 py-1 rounded\">Alternative</span>\n<span class=\"bg-neutral-secondary-medium text-heading text-sm font-medium px-2 py-1 rounded\">Gray</span>\n<span class=\"bg-danger-soft text-fg-danger-strong text-sm font-medium px-2 py-1 rounded\">Danger</span>\n<span class=\"bg-success-soft text-fg-success-strong text-sm font-medium px-2 py-1 rounded\">Success</span>\n<span class=\"bg-warning-soft text-fg-warning text-sm font-medium px-2 py-1 rounded\">Warning</span>\n{{< /example >}}\n\n## Large bordered badges\n\nUse these examples to create large and bordered styled badges.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-brand-subtle text-fg-brand-strong text-sm font-medium rounded bg-brand-softer\">Brand</span>\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-default text-heading text-sm font-medium rounded bg-neutral-primary-soft\">Alternative</span>\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-default-medium text-heading text-sm font-medium rounded bg-neutral-secondary-medium\">Gray</span>\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-danger-subtle text-fg-danger-strong text-sm font-medium rounded bg-danger-soft\">Danger</span>\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-success-subtle text-fg-success-strong text-sm font-medium rounded bg-success-soft\">Success</span>\n<span class=\"inline-flex items-center px-2 py-1 ring-1 ring-inset ring-warning-subtle text-fg-warning text-sm font-medium rounded bg-warning-soft\">Warning</span>\n{{< /example >}}\n\n## Pill badges\n\nUse this example to make the corners even more rounded like pills for the badge component.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-brand-softer text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Brand</span>\n<span class=\"bg-neutral-primary-soft text-heading text-xs font-medium px-1.5 py-0.5 rounded-fullm\">Alternative</span>\n<span class=\"bg-neutral-secondary-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-full\">Gray</span>\n<span class=\"bg-danger-soft text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Danger</span>\n<span class=\"bg-success-soft text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Success</span>\n<span class=\"bg-warning-soft text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded-full\">Warning</span>\n{{< /example >}}\n\n## Pill bordered badges\n\nUse this example to create a more rounded styles pill badge with borders.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Brand</span>\n<span class=\"bg-neutral-primary-soft border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded-full\">Alternative</span>\n<span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-full\">Gray</span>\n<span class=\"bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Danger</span>\n<span class=\"bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded-full\">Success</span>\n<span class=\"bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded-full\">Warning</span>\n{{< /example >}}\n\n## Badges as links\n\nYou can also use badges as anchor elements to link to another page.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<a href=\"#\" class=\"bg-brand-softer hover:bg-brand-soft border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">Brand</a>\n<a href=\"#\" class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Alternative</a>\n<a href=\"#\" class=\"bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Gray</a>\n<a href=\"#\" class=\"bg-danger-soft hover:bg-danger-medium border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded\">Danger</a>\n<a href=\"#\" class=\"bg-success-soft hover:bg-success-medium border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">Success</a>\n<a href=\"#\" class=\"bg-warning-soft hover:bg-warning-medium border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded\">Warning</a>\n{{< /example >}}\n\n## Badges with icon\n\nYou can also use [SVG icons](https://flowbite.com/icons/) inside the badge elements.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded\">\n<svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins agong\n</span>\n{{< /example >}}\n\n## Large badges with icon\n\nUse these large badges with SVG icons for an enhanced representation.\n\n{{< example class=\"flex-wrap justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-sm font-medium leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"inline-flex items-center bg-neutral-primary-soft border border-default text-heading text-sm font-medium leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"inline-flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-sm font-medium  leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"inline-flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-sm font-medium leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-sm font-medium leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins ago\n</span>\n<span class=\"inline-flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-sm font-medium leading-none px-2 py-1 rounded\">\n<svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n2 mins agong\n</span>\n{{< /example >}}\n\n## Badges with only icon\n\nAlternatively, you can also use badges which indicate only a SVG icon.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"flex items-center justify-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium h-5 w-5 rounded-full\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n{{< /example >}}\n\n## Large badges with only icon\n\nUse these large badge components with only an icon inside of them.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"flex items-center justify-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n<span class=\"flex items-center justify-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium h-6 w-6 rounded-full\">\n<svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n</span>\n{{< /example >}}\n\n## Badges with dot\n\nUse these badges with a dot for an alternative style of showing content.\n\n{{< example class=\"flex justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-fg-brand-strong rounded-full me-1\"></span>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-heading rounded-full me-1\"></span>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-heading rounded-full me-1\"></span>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-fg-danger-strong rounded-full me-1\"></span>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-fg-success-strong rounded-full me-1\"></span>\n2 mins ago\n</span>\n<span class=\"flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded\">\n<span class=\"h-1.5 w-1.5 bg-fg-warning rounded-full me-1\"></span>\n2 mins agong\n</span>\n{{< /example >}}\n\n## Badges with SVG loader\n\nUse this example to show an animated SVG loader inside the badge component.\n\n{{< example class=\"flex flex-wrap justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-fg-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#1C64F2\"/></svg>\n  <span>2 mins ago</span>\n</span>\n<span class=\"flex items-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-neutral-tertiary\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#6A7282\"/></svg>\n  <span>2 mins ago</span>\n</span>\n<span class=\"flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-neutral-quaternary\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#6A7282\"/></svg>\n  <span>2 mins ago</span>\n</span>\n<span class=\"flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-danger-medium\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#C70036\"/></svg>\n  <span>2 mins ago</span>\n</span>\n<span class=\"flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-success-medium\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#009966\"/></svg>\n  <span>2 mins ago</span>\n</span>\n<span class=\"flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium px-1.5 py-0.5 rounded gap-1\">\n  <svg aria-hidden=\"true\" role=\"status\" class=\"w-3 h-3 me-1 animate-spin text-warning-medium\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#D03801\"/></svg>\n  <span>2 mins ago</span>\n</span>\n{{< /example >}}\n\n## Dismissible badges (chips)\n\nUse the `data-dismiss-target` data attribute to dismiss the current badge where the value is the id of the target element using a transition animation. These can be used as tags inside an input component.\n\n{{< example class=\"flex flex-wrap justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span id=\"badge-dismiss-brand\" class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Brand</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-brand-soft\" data-dismiss-target=\"#badge-dismiss-brand\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-dismiss-alternative\" class=\"inline-flex items-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Alternative</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-neutral-tertiary\" data-dismiss-target=\"#badge-dismiss-alternative\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-dismiss-gray\" class=\"inline-flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Gray</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-neutral-quaternary\" data-dismiss-target=\"#badge-dismiss-gray\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-dismiss-danger\" class=\"inline-flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Danger</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-danger-medium\" data-dismiss-target=\"#badge-dismiss-danger\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-dismiss-success\" class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Success</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-success-medium\" data-dismiss-target=\"#badge-dismiss-success\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-dismiss-warning\" class=\"inline-flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<span>Warning</span>\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-warning-medium\" data-dismiss-target=\"#badge-dismiss-warning\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n{{< /example >}}\n\n## Chips with avatar\n\nThese components can be used to show avatar images inside of dismissible badges.\n\n{{< example class=\"flex flex-wrap justify-center gap-4\" github=\"components/badge.md\" show_dark=true >}}\n<span id=\"badge-avatar-dismiss-brand\" class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nBrand\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-brand-soft\" data-dismiss-target=\"#badge-avatar-dismiss-brand\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-avatar-dismiss-alternative\" class=\"inline-flex items-center bg-neutral-primary-soft border border-default text-heading text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nAlternative\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-neutral-tertiary\" data-dismiss-target=\"#badge-avatar-dismiss-alternative\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-avatar-dismiss-gray\" class=\"inline-flex items-center bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nGray\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-neutral-quaternary\" data-dismiss-target=\"#badge-avatar-dismiss-gray\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-avatar-dismiss-danger\" class=\"inline-flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nDanger\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-danger-medium\" data-dismiss-target=\"#badge-avatar-dismiss-danger\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-avatar-dismiss-success\" class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nSuccess\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-success-medium\" data-dismiss-target=\"#badge-avatar-dismiss-success\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n\n<span id=\"badge-avatar-dismiss-warning\" class=\"inline-flex items-center bg-warning-soft border border-warning-subtle text-fg-warning text-xs font-medium ps-1.5 pe-0.5 py-0.5 rounded gap-1\">\n<img class=\"w-3.5 h-3.5 rounded-full me-1\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\nWarning\n<button type=\"button\" class=\"inline-flex items-center p-0.5 text-sm bg-transparent rounded-xs hover:bg-warning-medium\" data-dismiss-target=\"#badge-avatar-dismiss-warning\" aria-label=\"Remove\">\n  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n  <span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n{{< /example >}}\n\n## Notification badge\n\nUse the following example to show a badge inside of a button component.\n\n{{< example class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<button type=\"button\" class=\"relative text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm p-3 focus:outline-none\">\n  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n  <span class=\"sr-only\">Notifications</span>\n  <div class=\"absolute inline-flex items-center justify-center w-6 h-6 text-xs font-bold text-white bg-danger border-2 border-buffer rounded-full -top-2 -end-2\">20</div>\n</button>\n{{< /example >}}\n\n## Button with badge\n\nUse this example to add a badge inside a button component for a count indicator.\n\n{{< example class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\nMessages\n<span class=\"inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-white bg-danger rounded-full\">\n2\n</span>\n</button>\n{{< /example >}}"
  },
  {
    "path": "content/components/banner.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Sticky Banner - Flowbite\ndescription: Use the banner component to show marketing messages and CTA buttons at the top or bottom side of your website based on the utility classes from Tailwind CSS\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Badge\npreviousLink: components/badge/\nnext: Bottom Navigation\nnextLink: components/bottom-navigation/\n---\n\nGet started with the sticky banner component coded with Tailwind CSS and Flowbite to show marketing, informational and CTA messages to your website visitors fixed to the top or bottom part of the page as the user scroll down the main content area.\n\nExplore the following examples based on various styles, sizes, and positionings to leverage the sticky banner component and increase marketing conversions with a responsive element supporting dark mode.\n\n## Default sticky banner\n\nUse this free example to show a text message for announcement with a CTA link, an icon element and a close button to dismiss the banner.\n\n{{< example class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"sticky-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex justify-between w-full p-4 border-b border-default bg-neutral-primary-soft\">\n    <div class=\"flex items-center mx-auto\">\n        <p class=\"flex items-center text-sm font-normal text-body\">\n            <span class=\"inline-flex items-center justify-center w-6 h-6 shrink-0 me-2.5 bg-neutral-tertiary rounded-full\">\n                <svg class=\"w-3.5 h-3.5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11 9H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h6m0-6v6m0-6 5.419-3.87A1 1 0 0 1 18 5.942v12.114a1 1 0 0 1-1.581.814L11 15m7 0a3 3 0 0 0 0-6M6 15h3v5H6v-5Z\"/></svg>\n                <span class=\"sr-only\">Bullhorn</span>\n            </span>\n            <span>New brand identity has been launched for the <a href=\"https://flowbite.com\" class=\"inline font-medium text-fg-brand underline hover:no-underline\">Flowbite Library</a></span>\n        </p>\n    </div>\n    <div class=\"flex items-center\">\n        <button data-dismiss-target=\"#sticky-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center text-sm w-7 h-7 items-center text-body hover:bg-neutral-tertiary hover:text-heading rounded-sm\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Bottom banner position\n\nThis example can be used to position the sticky banner to the bottom side of the page instead of the top side.\n\n{{< example class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"bottom-banner\" tabindex=\"-1\" class=\"fixed bottom-0 start-0 z-50 flex justify-between w-full p-4 border-t border-default bg-neutral-primary-soft\">\n    <div class=\"flex items-center mx-auto\">\n        <p class=\"flex items-center text-sm font-normal text-body\">\n            <span class=\"inline-flex items-center justify-center w-6 h-6 shrink-0 me-2.5 bg-neutral-tertiary rounded-full\">\n                <svg class=\"w-3.5 h-3.5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.891 15.107 15.11 8.89m-5.183-.52h.01m3.089 7.254h.01M14.08 3.902a2.849 2.849 0 0 0 2.176.902 2.845 2.845 0 0 1 2.94 2.94 2.849 2.849 0 0 0 .901 2.176 2.847 2.847 0 0 1 0 4.16 2.848 2.848 0 0 0-.901 2.175 2.843 2.843 0 0 1-2.94 2.94 2.848 2.848 0 0 0-2.176.902 2.847 2.847 0 0 1-4.16 0 2.85 2.85 0 0 0-2.176-.902 2.845 2.845 0 0 1-2.94-2.94 2.848 2.848 0 0 0-.901-2.176 2.848 2.848 0 0 1 0-4.16 2.849 2.849 0 0 0 .901-2.176 2.845 2.845 0 0 1 2.941-2.94 2.849 2.849 0 0 0 2.176-.901 2.847 2.847 0 0 1 4.159 0Z\"/></svg>\n                <span class=\"sr-only\">Discount</span>\n            </span>\n            <span>Get 5% commission per sale <a href=\"https://flowbite.com\" class=\"flex items-center ms-0 text-sm font-medium text-fg-brand md:ms-1 md:inline-flex hover:underline\">Become a partner\n                <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </span>\n        </p>\n    </div>\n    <div class=\"flex items-center\">\n        <button data-dismiss-target=\"#bottom-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center text-sm w-7 h-7 items-center text-body hover:bg-neutral-tertiary hover:text-heading rounded-sm\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Marketing CTA banner\n\nUse this free example to show a text message for announcement with a CTA link, an icon element and a close button to dismiss the banner. Set a different width by using the `max-w-{*}` utility classes from Tailwind CSS.\n\n{{< example class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"marketing-banner\" tabindex=\"-1\" class=\"fixed z-50 flex flex-col md:flex-row justify-between w-[calc(100%-2rem)] p-4 -translate-x-1/2 bg-neutral-primary-soft border border-default rounded-base shadow-xs lg:max-w-7xl left-1/2 top-6\">\n    <div class=\"flex flex-col items-start mb-3 me-4 md:items-center md:flex-row md:mb-0\">\n        <a href=\"https://flowbite.com/\" class=\"flex items-center mb-2 border-default md:pe-4 md:me-4 md:border-e md:mb-0\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-2\" alt=\"Flowbite Logo\">\n            <span class=\"text-heading self-center text-lg font-semibold whitespace-nowrap\">Flowbite</span>\n        </a>\n        <p class=\"flex items-center text-sm font-normal text-body\">Build websites even faster with components on top of Tailwind</p>\n    </div>\n    <div class=\"flex items-center shrink-0\">\n        <button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none me-2\">Sign Up</button>\n        <button data-dismiss-target=\"#marketing-banner\" type=\"button\" class=\"hidden shrink-0 md:inline-flex justify-center text-sm w-7 h-7 items-center text-body hover:bg-neutral-tertiary hover:text-heading rounded-sm\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n        <button type=\"button\" class=\"md:hidden text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Close</button>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Newsletter sign-up banner\n\nThis example can be used to encourage your website visitors to sign up to your email newsletter by showing an inline form inside the sticky banner on the top side of your page.\n\n{{< example class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"newsletter-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex justify-between w-full p-4 border-b border-default bg-neutral-primary-soft\">\n    <div class=\"flex items-center shrink-0 w-full mx-auto sm:w-auto\">\n        <form class=\"flex flex-col items-center w-full md:flex-row md:space-x-4 space-y-4 md:space-y-0\">\n            <label for=\"email\" class=\"shrink-0 mb-4 me-auto text-sm font-medium text-heading md:mb-0 md:me-4 md:m-0\">Sign up now</label>\n            <input type=\"email\" id=\"email\" class=\"block w-full md:w-64 px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Enter your email\" required>\n            <button type=\"submit\" class=\"w-full md:w-auto text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Subscribe</button>\n        </form>\n    </div>\n    <div class=\"flex items-center absolute top-2.5 end-2.5 md:relative md:top-auto md:end-auto\">\n        <button data-dismiss-target=\"#newsletter-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center text-sm w-7 h-7 items-center text-body hover:bg-neutral-tertiary hover:text-heading rounded-sm\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Informational banner\n\nThis example can be used to share important information with your website visitors by showing a heading and a paragraph inside the sticky banner and two CTA buttons with links.\n\n{{< example class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"informational-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex flex-col justify-between w-full p-4 border-b border-default md:flex-row bg-neutral-secondary-soft\">\n    <div class=\"mb-4 md:mb-0 md:me-4\">\n        <h2 class=\"mb-1 text-base font-semibold text-heading\">Integration is the key</h2>\n        <p class=\"flex items-center text-sm font-normal text-body\">You can integrate Flowbite with many tools to make your work even more efficient and lightning fast based on Tailwind.</p>\n    </div>\n    <div class=\"flex items-center shrink-0 space-x-2\">\n        <button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Sign Up</button>\n        <button data-dismiss-target=\"#informational-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center text-sm w-7 h-7 items-center text-body hover:bg-neutral-tertiary hover:text-heading rounded-sm\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## More examples\n\nFor more sticky banner examples you can check [banner sections](https://flowbite.com/blocks/marketing/banner/) from Flowbite Blocks.\n"
  },
  {
    "path": "content/components/bottom-navigation.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Bottom Navigation - Flowbite\ndescription: Use the bottom navigation bar component to allow users to navigate through your website or create a control bar using a menu that is positioned at the bottom of the page\ngroup: components\ntoc: true\n\nprevious: Banner\npreviousLink: components/banner/\nnext: Breadcrumbs\nnextLink: components/breadcrumb/\n---\n\nThe bottom bar component can be used to allow menu items and certain control actions to be performed by the user through the usage of a fixed bar positioning to the bottom side of your page.\n\nCheck out multiple examples of the bottom navigation component based on various styles, controls, sizes, content and leverage the utility classes from Tailwind CSS to integrate into your own project.\n\n## Default bottom navigation\n\nUse the default bottom navigation bar example to show a list of menu items as buttons to allow the user to navigate through your website based on a fixed position. You can also use anchor tags instead of buttons.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 w-full h-16 bg-neutral-primary-soft border-t border-default\">\n    <div class=\"grid h-full max-w-lg grid-cols-4 mx-auto font-medium\">\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Home</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 8H5m12 0a1 1 0 0 1 1 1v2.6M17 8l-4-4M5 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.6M5 8l4-4 4 4m6 4h-4a2 2 0 1 0 0 4h4a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1Z\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Wallet</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Settings</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Profile</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Menu items with border\n\nThis example can be used to show a border between the menu items inside the bottom navbar.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 w-full h-16 bg-neutral-primary-soft border-t border-default\">\n    <div class=\"grid h-full max-w-lg grid-cols-4 mx-auto font-medium\">\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-default border-x hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Home</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-e border-default hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 8H5m12 0a1 1 0 0 1 1 1v2.6M17 8l-4-4M5 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.6M5 8l4-4 4 4m6 4h-4a2 2 0 1 0 0 4h4a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1Z\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Wallet</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Settings</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-default hover:bg-neutral-secondary-medium group border-x\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            <span class=\"text-sm text-body group-hover:text-fg-brand\">Profile</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Application bar example\n\nUse this example to show a CTA button in the center of the navigation component to create new items.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed z-50 w-full h-16 max-w-lg -translate-x-1/2 bg-neutral-primary-soft border border-default rounded-full bottom-4 left-1/2\">\n    <div class=\"grid h-full max-w-lg grid-cols-5 mx-auto\">\n        <button data-tooltip-target=\"tooltip-home\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 rounded-s-full hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n            <span class=\"sr-only\">Home</span>\n        </button>\n        <div id=\"tooltip-home\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Home\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-wallet\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 8H5m12 0a1 1 0 0 1 1 1v2.6M17 8l-4-4M5 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.6M5 8l4-4 4 4m6 4h-4a2 2 0 1 0 0 4h4a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1Z\"/></svg>\n            <span class=\"sr-only\">Wallet</span>\n        </button>\n        <div id=\"tooltip-wallet\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Wallet\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"flex items-center justify-center\">\n            <button data-tooltip-target=\"tooltip-new\" type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs rounded-full w-8 h-8 focus:outline-none\">\n                <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                <span class=\"sr-only\">New item</span>\n            </button>\n        </div>\n        <div id=\"tooltip-new\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Create new item\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-profile\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 rounded-e-full hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            <span class=\"sr-only\">Profile</span>\n        </button>\n        <div id=\"tooltip-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Profile\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Example with pagination\n\nThis example be used to paginate multiple pages on a single view alongside other menu items.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 z-50 w-full h-16 -translate-x-1/2 bg-neutral-primary-soft border-t border-default left-1/2\">\n    <div class=\"grid h-full max-w-lg grid-cols-6 mx-auto\">\n        <button data-tooltip-target=\"tooltip-document\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 9V4a1 1 0 0 0-1-1H8.914a1 1 0 0 0-.707.293L4.293 7.207A1 1 0 0 0 4 7.914V20a1 1 0 0 0 1 1h4M9 3v4a1 1 0 0 1-1 1H4m11 6v4m-2-2h4m3 0a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z\"/></svg>\n            <span class=\"sr-only\">New document</span>\n        </button>\n        <div id=\"tooltip-document\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            New document\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-bookmark\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m17 21-5-4-5 4V3.889a.92.92 0 0 1 .244-.629.808.808 0 0 1 .59-.26h8.333a.81.81 0 0 1 .589.26.92.92 0 0 1 .244.63V21Z\"/></svg>\n            <span class=\"sr-only\">Bookmark</span>\n        </button>\n        <div id=\"tooltip-bookmark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Bookmark\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"flex items-center justify-center col-span-2\">\n            <div class=\"flex items-center justify-between w-full text-body bg-neutral-secondary-medium rounded-base border border-default-medium max-w-[128px] mx-2\">\n                <button type=\"button\" class=\"inline-flex items-center justify-center h-8 px-1 w-6 rounded-s-base hover:bg-neutral-tertiary-medium focus:outline-none focus:ring-2 focus:ring-neutral-quaternary\">\n                    <svg class=\"w-3.5 h-3.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n                    <span class=\"sr-only\">Previous page</span>\n                </button>\n                <span class=\"shrink-0 mx-1 text-sm font-medium space-x-0.5 rtl:space-x-reverse\">1 of 34</span>\n                <button type=\"button\" class=\"inline-flex items-center justify-center h-8 px-1 w-6 rounded-e-base hover:bg-neutral-tertiary-medium focus:outline-none focus:ring-2 focus:ring-neutral-quaternary\">\n                    <svg class=\"w-3.5 h-3.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n                    <span class=\"sr-only\">Next page</span>\n                </button>\n            </div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-profile\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            <span class=\"sr-only\">Profile</span>\n        </button>\n        <div id=\"tooltip-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Profile\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Button group bottom bar\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 z-50 w-full -translate-x-1/2 bg-neutral-primary-soft border-t border-default left-1/2\">\n    <div class=\"w-full\">\n        <div class=\"grid max-w-xs grid-cols-3 gap-1 p-1 mx-auto my-2 bg-neutral-tertiary rounded-base\" role=\"group\">\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-body hover:bg-dark-strong hover:text-white rounded\">\n                New\n            </button>\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-white bg-dark-strong rounded\">\n                Popular\n            </button>\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-body hover:bg-dark-strong hover:text-white rounded\">\n                Following\n            </button>\n        </div>\n    </div>\n    <div class=\"grid h-full max-w-lg grid-cols-5 mx-auto\">\n        <button data-tooltip-target=\"tooltip-home\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n            <span class=\"sr-only\">Home</span>\n        </button>\n        <div id=\"tooltip-home\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Home\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-bookmark\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m17 21-5-4-5 4V3.889a.92.92 0 0 1 .244-.629.808.808 0 0 1 .59-.26h8.333a.81.81 0 0 1 .589.26.92.92 0 0 1 .244.63V21Z\"/></svg>\n            <span class=\"sr-only\">Bookmark</span>\n        </button>\n        <div id=\"tooltip-bookmark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Bookmark\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-post\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            <span class=\"sr-only\">New post</span>\n        </button>\n        <div id=\"tooltip-post\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            New post\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-search\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n            <span class=\"sr-only\">Search</span>\n        </button>\n        <div id=\"tooltip-search\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Search\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-neutral-secondary-medium group\">\n            <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Card with bottom bar\n\nThis example can be used to position a bottom navigation bar inside of a card element with scroll enabled on the Y axis to allow changing the content inside of the card, enable certain actions or show a list of menu items.\n\nYou can even use the other bottom navbar examples to exchange the default one presented here.\n\n{{< example class=\"flex items-center justify-center p-4\" github=\"components/bottom-navigation.md\" show_dark=true >}}\n \n<div class=\"relative w-full max-w-sm overflow-y-scroll bg-neutral-primary-soft border border-default shadow-xs rounded-base h-96\">\n    <ul>\n        <li class=\"border-b border-default\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-neutral-secondary-medium dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos Avatar\">\n                <div>\n                    <p class=\"text-sm text-body\">New message from <span class=\"font-medium text-heading\">Jese Leos</span>: \"Hey, what's up? All set for the presentation?\"</p>\n                    <span class=\"text-xs text-fg-brand\">a few moments ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-default\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-neutral-secondary-medium\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph McFall Avatar\">\n                <div>\n                    <p class=\"text-sm text-body\"><span class=\"font-medium text-heading\">Joseph McFall</span> and <span class=\"font-medium text-heading\">5 others</span> started following you.</p>\n                    <span class=\"text-xs text-fg-brand\">10 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-default\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-neutral-secondary-medium\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green Avatar\">\n                <div>\n                    <p class=\"text-sm text-body\"><span class=\"font-medium text-heading\">Bonnie Green</span> and <span class=\"font-medium text-heading\">141 others</span> love your story. See it and view more stories.</p>\n                    <span class=\"text-xs text-fg-brand\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-default\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-neutral-secondary-medium\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie Livingston Avatar\">\n                <div>\n                    <p class=\"text-sm text-body\"><span class=\"font-medium text-heading\">Leslie Livingston</span> mentioned you in a comment: <span class=\"font-medium text-fg-brand hover:underline\">@bonnie.green</span> what do you say?</p>\n                    <span class=\"text-xs text-fg-brand\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-neutral-secondary-medium\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Robert Brown Avatar\">\n                <div>\n                    <p class=\"text-sm text-body\"><span class=\"font-medium text-heading\">Robert Brown</span> posted a new video: Glassmorphism - learn how to implement the new design trend. </p>\n                    <span class=\"text-xs text-fg-brand\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n    </ul>\n    <div class=\"sticky bottom-0 left-0 z-50 w-full h-16 bg-neutral-primary-soft border-t border-default\">\n        <div class=\"grid h-full max-w-lg grid-cols-3 mx-auto\">\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-neutral-secondary-medium group\">\n                <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                <span class=\"text-sm text-body group-hover:text-fg-brand\">Latest</span>\n            </button>\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-neutral-secondary-medium group\">\n                <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M4.5 17H4a1 1 0 0 1-1-1 3 3 0 0 1 3-3h1m0-3.05A2.5 2.5 0 1 1 9 5.5M19.5 17h.5a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-1m0-3.05a2.5 2.5 0 1 0-2-4.45m.5 13.5h-7a1 1 0 0 1-1-1 3 3 0 0 1 3-3h3a3 3 0 0 1 3 3 1 1 0 0 1-1 1Zm-1-9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n                <span class=\"text-sm text-body group-hover:text-fg-brand\">Following</span>\n            </button>\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-neutral-secondary-medium group\">\n                <svg class=\"w-6 h-6 mb-1 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M11.083 5.104c.35-.8 1.485-.8 1.834 0l1.752 4.022a1 1 0 0 0 .84.597l4.463.342c.9.069 1.255 1.2.556 1.771l-3.33 2.723a1 1 0 0 0-.337 1.016l1.03 4.119c.214.858-.71 1.552-1.474 1.106l-3.913-2.281a1 1 0 0 0-1.008 0L7.583 20.8c-.764.446-1.688-.248-1.474-1.106l1.03-4.119A1 1 0 0 0 6.8 14.56l-3.33-2.723c-.698-.571-.342-1.702.557-1.771l4.462-.342a1 1 0 0 0 .84-.597l1.753-4.022Z\"/></svg>\n                <span class=\"text-sm text-body group-hover:text-fg-brand\">Favorites</span>\n            </button>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Online meeting control bar\n\nUse this component to show a list of options for online video meetings by showing a list of options such as muting the microphone, hiding the camera, adjusting the volume and more.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true disable_init_js=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 grid w-full h-16 grid-cols-1 px-8 bg-neutral-primary-soft border-t border-default md:grid-cols-3\">\n    <div class=\"items-center justify-center hidden text-body me-auto md:flex\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span class=\"text-sm\">12:43 PM</span>\n    </div>\n    <div class=\"flex items-center justify-center mx-auto space-x-3\">\n        <button data-tooltip-target=\"tooltip-microphone\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm p-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9v3a5.006 5.006 0 0 1-5 5h-4a5.006 5.006 0 0 1-5-5V9m7 9v3m-3 0h6M11 3h2a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z\"/></svg>\n            <span class=\"sr-only\">Mute microphone</span>\n        </button>\n        <div id=\"tooltip-microphone\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Mute microphone\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-camera\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm p-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 6H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1Zm7 11-6-2V9l6-2v10Z\"/></svg>\n            <span class=\"sr-only\">Hide camera</span>\n        </button>\n        <div id=\"tooltip-camera\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Hide camera\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-feedback\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm p-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.99 9H15M8.99 9H9m12 3a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM7 13c0 1 .507 2.397 1.494 3.216a5.5 5.5 0 0 0 7.022 0C16.503 15.397 17 14 17 13c0 0-1.99 1-4.995 1S7 13 7 13Z\"/></svg>\n            <span class=\"sr-only\">Share feedback</span>\n        </button>\n        <div id=\"tooltip-feedback\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share feedback\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm p-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n            <span class=\"sr-only\">Video settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Video settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"moreOptionsDropdownButton\" data-dropdown-toggle=\"moreOptionsDropdown\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm p-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n            <span class=\"sr-only\">Show options</span>\n        </button>\n        <div id=\"moreOptionsDropdown\" class=\"hidden z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-48 block\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"moreOptionsDropdownButton\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Show participants</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Adjust volume</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Show information</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div class=\"items-center justify-center hidden ms-auto md:flex\">\n        <button data-tooltip-target=\"tooltip-participants\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            <span class=\"sr-only\">Show participants</span>\n        </button>\n        <div id=\"tooltip-participants\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Show participants\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-volume\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15.5 8.43A4.985 4.985 0 0 1 17 12a4.984 4.984 0 0 1-1.43 3.5m2.794 2.864A8.972 8.972 0 0 0 21 12a8.972 8.972 0 0 0-2.636-6.364M12 6.135v11.73a1 1 0 0 1-1.64.768L6 15H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2l4.36-3.633a1 1 0 0 1 1.64.768Z\"/></svg>\n            <span class=\"sr-only\">Adjust volume</span>\n        </button>\n        <div id=\"tooltip-volume\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Adjust volume\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-information\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"sr-only\">Show information</span>\n        </button>\n        <div id=\"tooltip-information\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Show information\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Video player bar\n\nUse this component to show control buttons for a video or audio that is playing in the browser to control the volume, navigate between videos, pause or start the video, and more.\n\n{{< example class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" disable_init_js=true skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 grid w-full h-24 grid-cols-1 px-8 bg-neutral-primary-soft border-t border-default md:grid-cols-3\">\n    <div class=\"items-center justify-center hidden me-auto md:flex\">\n        <img class=\"h-8 me-3 rounded-sm\" src=\"/docs/images/misc/flowbite-yt-screenshot.png\" alt=\"Video preview\">\n        <span class=\"text-sm text-body\">Flowbite Crash Course</span>\n    </div>\n    <div class=\"flex items-center w-full\">\n        <div class=\"w-full\">\n            <div class=\"flex items-center justify-center mx-auto mb-1\">\n                <button data-tooltip-target=\"tooltip-shuffle\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.484 9.166 15 7h5m0 0-3-3m3 3-3 3M4 17h4l1.577-2.253M4 7h4l7 10h5m0 0-3 3m3-3-3-3\"/></svg>\n                    <span class=\"sr-only\">Shuffle video</span>\n                </button>\n                <div id=\"tooltip-shuffle\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Shuffle video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-previous\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n                    <svg class=\"w-5 h-5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6v12m8-12v12l-8-6 8-6Z\"/></svg>\n                    <span class=\"sr-only\">Previous video</span>\n                </button>\n                <div id=\"tooltip-previous\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Previous video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-pause\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-full text-sm mx-2 p-2.5 focus:outline-none\">\n                    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M8 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H8Zm7 0a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1Z\" clip-rule=\"evenodd\"/></svg>\n                    <span class=\"sr-only\">Pause video</span>\n                </button>\n                <div id=\"tooltip-pause\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Pause video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-next\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n                    <svg class=\"w-5 h-5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 6v12M8 6v12l8-6-8-6Z\"/></svg>\n                    <span class=\"sr-only\">Next video</span>\n                </button>\n                <div id=\"tooltip-next\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Next video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-restart\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.651 7.65a7.131 7.131 0 0 0-12.68 3.15M18.001 4v4h-4m-7.652 8.35a7.13 7.13 0 0 0 12.68-3.15M6 20v-4h4\"/></svg>\n                    <span class=\"sr-only\">Restart video</span>\n                </button>\n                <div id=\"tooltip-restart\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Restart video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <div class=\"flex items-center justify-between space-x-2 rtl:space-x-reverse\">\n                <span class=\"text-sm font-medium text-body\">3:45</span>\n                <div class=\"w-full bg-neutral-quaternary rounded-full h-1.5\">\n                    <div class=\"bg-brand h-1.5 rounded-full\" style=\"width: 65%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">5:00</span>\n            </div>\n        </div>\n    </div>\n    <div class=\"items-center justify-center hidden ms-auto md:flex\">\n        <button data-tooltip-target=\"tooltip-playlist\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 15.5V5s3 1 3 4m-7-3H4m9 4H4m4 4H4m13 2.4c0 1.326-1.343 2.4-3 2.4s-3-1.075-3-2.4 1.343-2.4 3-2.4 3 1.075 3 2.4Z\"/></svg>\n            <span class=\"sr-only\">View playlist</span>\n        </button>\n        <div id=\"tooltip-playlist\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            View playlist\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-captions\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10.855 14.322a2.475 2.475 0 1 1 .133-4.241m6.053 4.241a2.475 2.475 0 1 1 .133-4.241M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n            <span class=\"sr-only\">Captions</span>\n        </button>\n        <div id=\"tooltip-captions\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle captions\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-expand\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 4H4m0 0v4m0-4 5 5m7-5h4m0 0v4m0-4-5 5M8 20H4m0 0v-4m0 4 5-5m7 5h4m0 0v-4m0 4-5-5\"/></svg>\n            <span class=\"sr-only\">Expand</span>\n        </button>\n        <div id=\"tooltip-expand\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Full screen\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-volume\" type=\"button\" class=\"p-2 group rounded-full text-body hover:bg-neutral-tertiary-medium hover:text-heading me-1 focus:outline-none focus:ring-4 focus:ring-neutral-tertiary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15.5 8.43A4.985 4.985 0 0 1 17 12a4.984 4.984 0 0 1-1.43 3.5m2.794 2.864A8.972 8.972 0 0 0 21 12a8.972 8.972 0 0 0-2.636-6.364M12 6.135v11.73a1 1 0 0 1-1.64.768L6 15H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2l4.36-3.633a1 1 0 0 1 1.64.768Z\"/></svg>\n            <span class=\"sr-only\">Adjust volume</span>\n        </button>\n        <div id=\"tooltip-volume\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Adjust volume\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/breadcrumb.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Breadcrumbs - Flowbite\ndescription: Show the location of the current page in a hierarchical structure using the Tailwind CSS breadcrumb components\ngroup: components\ntoc: true\n\nprevious: Bottom Navigation\npreviousLink: components/bottom-navigation/\nnext: Buttons\nnextLink: components/buttons/\n---\n\nThe breadcrumb component is an important part of any website or application that can be used to show the current location of a page in a hierarchical structure of pages.\n\nFlowbite includes two styles of breadcrumb elements, one that has a transparent background and a few more that come with a background in different colors.\n\n## Default breadcrumb\n\nUse the following breadcrumb example to show the hierarchical structure of pages.\n\n{{< example class=\"flex justify-center\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<nav class=\"flex\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"inline-flex items-center text-sm font-medium text-body-subtle\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n## Solid background\n\nYou can alternatively also use the breadcrumb components with a solid background.\n\n{{< example class=\"flex justify-center\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"flex p-3 bg-neutral-secondary-medium border border-default-medium rounded-base\" aria-label=\"Breadcrumb\">\n<ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"inline-flex items-center text-sm font-medium text-body-subtle\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n## Header breadcrumb\n\nUse this example to show a list of items such as the branches from GitHub and a dropdown component.\n\n{{< example class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"flex-warp md:flex justify-between\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center mb-3 space-x-2.5 md:space-x-2 rtl:space-x-reverse sm:mb-0\">\n    <li>\n      <div class=\"flex items-center\">\n        <a href=\"#\" class=\"text-sm font-medium text-body hover:text-fg-brand\">flowbite.com</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-2.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"text-sm font-medium text-body hover:text-fg-brand\">develop</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-2.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"text-sm font-medium text-body-subtle\">Issue #312</span><span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm me-2.5\">docs</span>\n      </div>\n    </li>\n  </ol>\n  <div>\n  <button id=\"dropdownDefault\" data-dropdown-toggle=\"dropdown\" type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 0a4 4 0 0 1-4 4h-1a3 3 0 0 0-3 3\"/></svg>\n    Fix #6597\n    <svg class=\"w-3.5 h-3.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n  </button>\n    <div id=\"dropdown\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefault\">\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">New branch</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Rename</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n        </li>\n      </ul>\n    </div>  \n  </div>\n</nav>\n{{< /example >}}\n\n## Breadcrumb with dropdown\n\nUse this example to show dropdown components inside the breadcrumbs.\n\n{{< example class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"flex justify-between\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center mb-3 sm:mb-0\">\n    <li>\n      <div class=\"flex items-center\">\n        <button id=\"dropdownProject\" data-dropdown-toggle=\"dropdown-project\" class=\"inline-flex items-center text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n          <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 0a4 4 0 0 1-4 4h-1a3 3 0 0 0-3 3\"/></svg>\n          flowbite.com\n          <svg class=\"w-3.5 h-3.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n        <div id=\"dropdown-project\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44 block hidden\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefault\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">themesberg.com</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">ui.glass</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">iconscale</a>\n            </li>\n          </ul>\n        </div> \n      </div>\n    </li>\n    <span class=\"mx-2 text-gray-400\">/</span>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <button id=\"dropdownDatabase\" data-dropdown-toggle=\"dropdown-database\" class=\"inline-flex items-center text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n          <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n          databaseName\n          <svg class=\"w-3.5 h-3.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-database\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44 block hidden\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefault\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">databaseProd</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">databaseStaging</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">flowbiteProd</a>\n            </li>\n          </ul>\n        </div>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n## Breadcrumb with button\n\nUse a button with dropdown as the current page in a breadcrumb component.\n\n{{< example class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<nav class=\"flex\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"inline-flex items-center text-sm font-medium text-body-subtle\">Database</span>\n      </div>\n    </li>\n  </ol>\n    <button id=\"dropdownWebsite\" data-dropdown-toggle=\"dropdown-2\" type=\"button\" class=\"ms-2.5 inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n      <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n      Flowbite\n      <svg class=\"w-3.5 h-3.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n    </button>\n    <div id=\"dropdown-2\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownWebsite\">\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Themesberg</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Flowbite AI</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Flowbite</a>\n        </li>\n      </ul>\n    </div>\n</nav>\n{{< /example >}}\n\n\n## Breadcrumb with navigation\n\nUse this example to navigate between pages with a button group component next to the breadcrumbs.\n\n{{< example class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<nav class=\"flex\" aria-label=\"Breadcrumb\">\n  <div class=\"inline-flex shadow-xs -space-x-px me-2.5\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-s-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 w-8 h-8 focus:outline-none\">\n      <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-e-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 w-8 h-8 focus:outline-none\">\n      <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"inline-flex items-center text-sm font-medium text-body-subtle\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n"
  },
  {
    "path": "content/components/button-group.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Button Group - Flowbite\ndescription: Button groups are a Tailwind CSS powered set of buttons sticked together in a horizontal line\ngroup: components\ntoc: true\n\nprevious: Buttons\npreviousLink: components/buttons/\nnext: Cards\nnextLink: components/card/\n---\n\nThe button group component from Flowbite can be used to stack together multiple buttons and links inside a single element.\n\n## Default example\n\nUse the following code to stack together buttons into a single group.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    Profile\n  </button>\n  <button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Settings\n  </button>\n  <button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    Messages\n  </button>\n</div>\n{{< /example >}}\n\n## Button group info\n\nUse this example to stack a button with an icon with another informational button.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n    Download\n  </button>\n  <button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\" disabled>\n    456k\n  </button>\n</div>\n{{< /example >}}\n\n\n## Button group icon action\n\nUse this component to show a button with text and another button with an icon.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\" disabled>\n    Save book\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm w-9 h-full focus:outline-none\">\n    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m17 21-5-4-5 4V3.889a.92.92 0 0 1 .244-.629.808.808 0 0 1 .59-.26h8.333a.81.81 0 0 1 .589.26.92.92 0 0 1 .244.63V21Z\"/></svg>\n  </button>\n</div>\n{{< /example >}}\n\n## Button group icons\n\nUse this example to stack together multiple option buttons into one group.\n\n{{< example class=\"flex justify-center items-center h-full\" iframeHeight=\"240\" github=\"components/button-group.md\" show_dark=true >}}\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button data-tooltip-target=\"tooltip-option-1\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/></svg>\n    </button>\n    <div id=\"tooltip-option-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align left\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-2\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/></svg>\n    </button>\n    <div id=\"tooltip-option-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align center\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-3\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6H6m12 4H6m12 4H6m12 4H6\"/></svg>\n    </button>\n    <div id=\"tooltip-option-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align justify\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-4\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/></svg>\n    </button>\n    <div id=\"tooltip-option-4\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align right\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n{{< /example >}}\n\n## Button group dropdown\n\nUse this example to show three buttons stacked together where the third one opens a dropdown menu.\n\n{{< example class=\"flex justify-center\" iframeHeight=\"260\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\" disabled>\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m4 8h6m-6-4h6m4-8v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/></svg>\n    My files\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n    Download\n  </button>\n  <button id=\"dropdownOptions\" data-dropdown-toggle=\"dropdown-options\" type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M6 12h.01m6 0h.01m5.99 0h.01\"/></svg>\n  </button>\n  <div id=\"dropdown-options\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownOptions\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Save as PDF</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Save as doc</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Save as image</a>\n      </li>\n    </ul>\n  </div>\n</div>\n{{< /example >}}\n\n## Button group badge\n\nUse this component to add a badge inside of the button group and a dropdown menu.\n\n{{< example class=\"flex justify-center\" iframeHeight=\"260\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\" disabled>\n    Messages\n    <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n  </button>\n  <button id=\"dropdownMessages\" data-dropdown-toggle=\"dropdown-messages\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm w-9 h-full focus:outline-none\">\n    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n  </button>\n  <div id=\"dropdown-messages\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-36 block hidden\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMessages\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Mark as read</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Archive all</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete all</a>\n      </li>\n    </ul>\n  </div>\n</div>\n{{< /example >}}\n\n## QR code button group\n\nUse this component to show a QR code button group for authentication or other purposes.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm w-9 h-full focus:outline-none\" disabled>\n    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 4h6v6H4V4Zm10 10h6v6h-6v-6Zm0-10h6v6h-6V4Zm-4 10h.01v.01H10V14Zm0 4h.01v.01H10V18Zm-3 2h.01v.01H7V20Zm0-4h.01v.01H7V16Zm-3 2h.01v.01H4V18Zm0-4h.01v.01H4V14Z\"/><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 7h.01v.01H7V7Zm10 10h.01v.01H17V17Z\"/></svg>\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n   Sign In\n  </button>\n</div>\n{{< /example >}}\n\n## Pagination button group\n\nThis example can be used to create pagination components using button groups.\n\n{{< example class=\"flex justify-center items-center h-full flex-col gap-8\" iframeHeight=\"240\" github=\"components/button-group.md\" show_dark=true >}}\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      1\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      2\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      3\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      4\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      5\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      ...\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      99\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button data-tooltip-target=\"tooltip-previous\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft rounded-s-base box-border border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <div id=\"tooltip-previous\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Previous\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-next\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft rounded-e-base box-border border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n    <div id=\"tooltip-next\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Next\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n{{< /example >}}\n\n## Vertical button groups\n\nUse these examples to stack button groups vertically.\n\n{{< example class=\"flex justify-center space-x-4\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"rounded-base shadow-xs w-56 -space-y-px\" role=\"group\">\n  <button type=\"button\" class=\"block w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft rounded-t-base font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Profile\n  </button>\n  <button type=\"button\" class=\"block w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Settings\n  </button>\n  <button type=\"button\" class=\"block w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft rounded-b-base font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Messages\n  </button>\n</div>\n\n\n<div class=\"rounded-base shadow-xs -space-y-px\" role=\"group\">\n    <button data-tooltip-target=\"tooltip-option-5\" type=\"button\" class=\"grid place-items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-t-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/></svg>\n    </button>\n    <div id=\"tooltip-option-5\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align left\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-6\" type=\"button\" class=\"grid place-items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/></svg>\n    </button>\n    <div id=\"tooltip-option-6\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align center\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-7\" type=\"button\" class=\"grid place-items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6H6m12 4H6m12 4H6m12 4H6\"/></svg>\n    </button>\n    <div id=\"tooltip-option-7\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align justify\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button data-tooltip-target=\"tooltip-option-8\" type=\"button\" class=\"grid place-items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-b-base text-sm w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/></svg>\n    </button>\n    <div id=\"tooltip-option-8\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Align right\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n{{< /example >}}\n\n## Button group with colors\n\nChoose from any colors to style the button group components.\n\n{{< example class=\"flex justify-center space-x-4\" github=\"components/button-group.md\" show_dark=true >}}\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft rounded-s-base box-border border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft rounded-e-base box-border border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border-e border-brand-strong hover:bg-brand-strong focus:ring-3 focus:ring-brand-medium shadow-xs leading-5 rounded-s-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border-s border-brand-strong hover:bg-brand-strong focus:ring-3 focus:ring-brand-medium shadow-xs leading-5 rounded-e-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-s-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-e-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-danger box-border border-e border-danger-strong hover:bg-danger-strong focus:ring-3 focus:ring-danger-medium shadow-xs leading-5 rounded-s-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-danger box-border border-s border-danger-strong hover:bg-danger-strong focus:ring-3 focus:ring-danger-medium shadow-xs leading-5 rounded-e-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-success box-border border-e border-success-strong hover:bg-success-strong focus:ring-3 focus:ring-success-medium shadow-xs leading-5 rounded-s-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-success box-border border-s border-success-strong hover:bg-success-strong focus:ring-3 focus:ring-success-medium shadow-xs leading-5 rounded-e-base w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n  </div>\n{{< /example >}}\n\n## Button group as links\n\nYou can also use the button group component as links.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\">\n  <a href=\"#\" aria-current=\"page\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:bg-neutral-secondary-medium focus:text-heading focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    Profile\n  </a>\n  <a href=\"#\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:bg-neutral-secondary-medium focus:text-heading focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Settings\n  </a>\n  <a href=\"#\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:bg-neutral-secondary-medium focus:text-heading focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    Messages\n  </a>\n</div>\n{{< /example >}}\n\n## Group buttons with icons\n\nYou can also use [SVG icons](https://flowbite.com/icons/) inside the grouped buttons.\n\n{{< example class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n    Profile\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n    Settings\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n    Messages\n  </button>\n</div>\n\n{{< /example >}}\n\n## Button group outline\n\nUse these examples as an alternative style with an outline.\n\n{{< example class=\"flex justify-center items-center flex-col gap-8 h-full\" iframeHeight=\"240\" github=\"components/button-group.md\" show_dark=true >}}\n<div class=\"inline-flex rounded-base -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    Profile\n  </button>\n  <button type=\"button\" class=\"text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    Settings\n  </button>\n  <button type=\"button\" class=\"text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    Downloads\n  </button>\n</div>\n\n<div class=\"inline-flex rounded-base -space-x-px\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n    Profile\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n    Settings\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center text-heading bg-neutral-primary border border-dark-strong hover:bg-dark hover:text-white focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n    Messages\n  </button>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/buttons.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Buttons - Flowbite\n# description: Use the Tailwind CSS button component inside forms, as links, and more with support for multiple colors, sizes, and variations\ndescription: Use the button component inside forms, as links, social login, payment options with support for multiple styles, colors, sizes, gradients, and shadows\ngroup: components\ntoc: true\n\nprevious: Breadcrumbs\npreviousLink: components/breadcrumb/\nnext: Button group\nnextLink: components/button-group/\n---\n\nThe button component is probably the most widely used element in any user interface or website as it can be used to launch an action but also to link to other pages.\n\nFlowbite provides a large variety of styles and sizes for the button component including outlined buttons, multiple colors, sizes, buttons with icons, and more.\n\n## Default button\n\nUse these default button styles with multiple colors to indicate an action or link within your website.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Default</button>\n<button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Secondary</button>\n<button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tertiary</button>\n<button type=\"button\" class=\"text-white bg-success box-border border border-transparent hover:bg-success-strong focus:ring-4 focus:ring-success-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Success</button>\n<button type=\"button\" class=\"text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Danger</button>\n<button type=\"button\" class=\"text-white bg-warning box-border border border-transparent hover:bg-warning-strong focus:ring-4 focus:ring-warning-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Warning</button>\n<button type=\"button\" class=\"text-white bg-dark box-border border border-transparent hover:bg-dark-strong focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Dark</button>\n<button type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Ghost</button>\n\n{{< /example >}}\n\n## Button pills\n\nThe button pills can be used as an alternative style by using fully rounded edges.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Default</button>\n<button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Secondary</button>\n<button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Tertiary</button>\n<button type=\"button\" class=\"text-white bg-success box-border border border-transparent hover:bg-success-strong focus:ring-4 focus:ring-success-medium shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Success</button>\n<button type=\"button\" class=\"text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Danger</button>\n<button type=\"button\" class=\"text-white bg-warning box-border border border-transparent hover:bg-warning-strong focus:ring-4 focus:ring-warning-medium shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Warning</button>\n<button type=\"button\" class=\"text-white bg-dark box-border border border-transparent hover:bg-dark-strong focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Dark</button>\n<button type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-full text-sm px-4 py-2.5 focus:outline-none\">Ghost</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Gradient monochrome\n\nThese beautifully colored buttons built with the gradient color stops utility classes from Tailwind CSS can be used as a creative alternative to the default button styles.\n\n{{< example class=\"flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-green-300 dark:focus:ring-green-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Green</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Cyan</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Teal</button>\n<button type=\"button\" class=\"text-heading bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-lime-300 dark:focus:ring-lime-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Lime</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Red</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-pink-300 dark:focus:ring-pink-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-purple-300 dark:focus:ring-purple-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Purple</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Gradient duotone\n\nThese buttons use a style that includes two contrasted colors creating an impressive mesh gradient effect.\n\n{{< example class=\"flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Purple to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Cyan to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 dark:focus:ring-green-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Green to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-purple-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Purple to Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-pink-500 to-orange-400 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-pink-200 dark:focus:ring-pink-800 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Pink to Orange</button>\n<button type=\"button\" class=\"text-heading bg-gradient-to-r from-teal-200 to-lime-200 hover:bg-gradient-to-l hover:from-teal-200 hover:to-lime-200 focus:ring-4 focus:outline-none focus:ring-lime-200 dark:focus:ring-teal-700 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Teal to Lime</button>\n<button type=\"button\" class=\"text-heading bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-red-100 dark:focus:ring-red-400 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Red to Yellow</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Gradient outline\n\nThis is a special button style that incorporates a gradient color for the outline that can be used as a secondary style to the fully colored gradient buttons.\n\n{{< example class=\"flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-purple-600 to-blue-500 group-hover:from-purple-600 group-hover:to-blue-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nPurple to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-cyan-500 to-blue-500 group-hover:from-cyan-500 group-hover:to-blue-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-cyan-200 dark:focus:ring-cyan-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nCyan to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-green-400 to-blue-600 group-hover:from-green-400 group-hover:to-blue-600 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-green-200 dark:focus:ring-green-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nGreen to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-purple-500 to-pink-500 group-hover:from-purple-500 group-hover:to-pink-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-purple-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nPurple to pink\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-pink-500 to-orange-400 group-hover:from-pink-500 group-hover:to-orange-400 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-pink-200 dark:focus:ring-pink-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nPink to orange\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-teal-300 to-lime-300 group-hover:from-teal-300 group-hover:to-lime-300 dark:text-white dark:hover:text-heading focus:ring-4 focus:outline-none focus:ring-lime-200 dark:focus:ring-lime-800\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nTeal to Lime\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 overflow-hidden text-sm font-medium text-heading rounded-base group bg-gradient-to-br from-red-200 via-red-300 to-yellow-200 group-hover:from-red-200 group-hover:via-red-300 group-hover:to-yellow-200 dark:text-white dark:hover:text-heading focus:ring-4 focus:outline-none focus:ring-red-100 dark:focus:ring-red-400\">\n<span class=\" relative px-4 py-2.5 transition-all ease-in duration-75 bg-neutral-primary-soft rounded-base group-hover:bg-transparent group-hover:dark:bg-transparent leading-5\">\nRed to Yellow\n</span>\n</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Colored shadows\n\nThese beautiful button elements with color shadows can be used since the release of Tailwind v3.0.\n\n{{< example class=\"flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 shadow-lg shadow-blue-500/50 dark:shadow-lg dark:shadow-blue-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-green-300 dark:focus:ring-green-800 shadow-lg shadow-green-500/50 dark:shadow-lg dark:shadow-green-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Green</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 shadow-lg shadow-cyan-500/50 dark:shadow-lg dark:shadow-cyan-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Cyan</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 shadow-lg shadow-teal-500/50 dark:shadow-lg dark:shadow-teal-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Teal</button>\n<button type=\"button\" class=\"text-heading bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-lime-300 dark:focus:ring-lime-800 shadow-lg shadow-lime-500/50 dark:shadow-lg dark:shadow-lime-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Lime</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 shadow-lg shadow-red-500/50 dark:shadow-lg dark:shadow-red-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Red</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-pink-300 dark:focus:ring-pink-800 shadow-lg shadow-pink-500/50 dark:shadow-lg dark:shadow-pink-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-purple-300 dark:focus:ring-purple-800 shadow-lg shadow-purple-500/50 dark:shadow-lg dark:shadow-purple-800/80 font-medium rounded-base text-sm px-4 py-2.5 text-center leading-5\">Purple</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Social buttons\n\nUse these button styles when building social media login forms using Facebook, Twitter, GitHub, Google, and Apple. These buttons use the new `bg-[#hex]` utility classes from Tailwind CSS v3.0.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-[#3b5998] hover:bg-[#3b5998]/90 focus:ring-4 focus:outline-none focus:ring-[#3b5998]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:focus:ring-[#3b5998]/55\">\n<svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M13.135 6H15V3h-1.865a4.147 4.147 0 0 0-4.142 4.142V9H7v3h2v9.938h3V12h2.021l.592-3H12V6.591A.6.6 0 0 1 12.592 6h.543Z\" clip-rule=\"evenodd\"/></svg>\nSign in with Facebook\n</button>\n<button type=\"button\" class=\"text-white bg-[#0f1419] hover:bg-[#0f1419]/90 focus:ring-4 focus:outline-none focus:ring-[#0f1419]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:hover:bg-[#24292F] dark:focus:ring-[#24292F]/55\">\n<svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.795 10.533 20.68 2h-3.073l-5.255 6.517L7.69 2H1l7.806 10.91L1.47 22h3.074l5.705-7.07L15.31 22H22l-8.205-11.467Zm-2.38 2.95L9.97 11.464 4.36 3.627h2.31l4.528 6.317 1.443 2.02 6.018 8.409h-2.31l-4.934-6.89Z\"/></svg>\nSign in\n</button>\n<button type=\"button\" class=\"text-white bg-[#0f1419] hover:bg-[#0f1419]/90 focus:ring-4 focus:outline-none focus:ring-[#0f1419]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:hover:bg-[#24292F] dark:focus:ring-[#24292F]/55\">\n<svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.006 2a9.847 9.847 0 0 0-6.484 2.44 10.32 10.32 0 0 0-3.393 6.17 10.48 10.48 0 0 0 1.317 6.955 10.045 10.045 0 0 0 5.4 4.418c.504.095.683-.223.683-.494 0-.245-.01-1.052-.014-1.908-2.78.62-3.366-1.21-3.366-1.21a2.711 2.711 0 0 0-1.11-1.5c-.907-.637.07-.621.07-.621.317.044.62.163.885.346.266.183.487.426.647.71.135.253.318.476.538.655a2.079 2.079 0 0 0 2.37.196c.045-.52.27-1.006.635-1.37-2.219-.259-4.554-1.138-4.554-5.07a4.022 4.022 0 0 1 1.031-2.75 3.77 3.77 0 0 1 .096-2.713s.839-.275 2.749 1.05a9.26 9.26 0 0 1 5.004 0c1.906-1.325 2.74-1.05 2.74-1.05.37.858.406 1.828.101 2.713a4.017 4.017 0 0 1 1.029 2.75c0 3.939-2.339 4.805-4.564 5.058a2.471 2.471 0 0 1 .679 1.897c0 1.372-.012 2.477-.012 2.814 0 .272.18.592.687.492a10.05 10.05 0 0 0 5.388-4.421 10.473 10.473 0 0 0 1.313-6.948 10.32 10.32 0 0 0-3.39-6.165A9.847 9.847 0 0 0 12.007 2Z\" clip-rule=\"evenodd\"/></svg>\nSign in with Github\n</button>\n<button type=\"button\" class=\"text-white bg-[#4285F4] hover:bg-[#4285F4]/90 focus:ring-4 focus:outline-none focus:ring-[#4285F4]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:focus:ring-[#4285F4]/55\">\n<svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.037 21.998a10.313 10.313 0 0 1-7.168-3.049 9.888 9.888 0 0 1-2.868-7.118 9.947 9.947 0 0 1 3.064-6.949A10.37 10.37 0 0 1 12.212 2h.176a9.935 9.935 0 0 1 6.614 2.564L16.457 6.88a6.187 6.187 0 0 0-4.131-1.566 6.9 6.9 0 0 0-4.794 1.913 6.618 6.618 0 0 0-2.045 4.657 6.608 6.608 0 0 0 1.882 4.723 6.891 6.891 0 0 0 4.725 2.07h.143c1.41.072 2.8-.354 3.917-1.2a5.77 5.77 0 0 0 2.172-3.41l.043-.117H12.22v-3.41h9.678c.075.617.109 1.238.1 1.859-.099 5.741-4.017 9.6-9.746 9.6l-.215-.002Z\" clip-rule=\"evenodd\"/></svg>\nSign in with Google\n</button>\n<button type=\"button\" class=\"text-white bg-[#0f1419] hover:bg-[#0f1419]/90 focus:ring-4 focus:outline-none focus:ring-[#0f1419]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:hover:bg-[#24292F] dark:focus:ring-[#24292F]/55\">\n<svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M17.537 12.625a4.421 4.421 0 0 0 2.684 4.047 10.96 10.96 0 0 1-1.384 2.845c-.834 1.218-1.7 2.432-3.062 2.457-1.34.025-1.77-.794-3.3-.794-1.531 0-2.01.769-3.275.82-1.316.049-2.317-1.318-3.158-2.532-1.72-2.484-3.032-7.017-1.27-10.077A4.9 4.9 0 0 1 8.91 6.884c1.292-.025 2.51.869 3.3.869.789 0 2.27-1.075 3.828-.917a4.67 4.67 0 0 1 3.66 1.984 4.524 4.524 0 0 0-2.16 3.805m-2.52-7.432A4.4 4.4 0 0 0 16.06 2a4.482 4.482 0 0 0-2.945 1.516 4.185 4.185 0 0 0-1.061 3.093 3.708 3.708 0 0 0 2.967-1.416Z\"/></svg>\nSign in with Apple\n</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Payment buttons\n\nUse these payment buttons for your product checkout or NFT minting landing page including MetaMask, Opera, Bitcoin, Ethereum, Paypal, Visa, Mastercard, and American Express.\n\n{{< example class=\"inline-flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" class=\"w-4 h-4 me-2 -ms-1\" viewBox=\"0 0 2405 2501\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_1512_1323)\"> <path d=\"M2278.79 1730.86L2133.62 2221.69L1848.64 2143.76L2278.79 1730.86Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1848.64 2143.76L2123.51 1767.15L2278.79 1730.86L1848.64 2143.76Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M2065.2 1360.79L2278.79 1730.86L2123.51 1767.15L2065.2 1360.79ZM2065.2 1360.79L2202.64 1265.6L2278.79 1730.86L2065.2 1360.79Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1890.29 1081.17L2285.34 919.338L2265.7 1007.99L1890.29 1081.17ZM2253.21 1114.48L1890.29 1081.17L2265.7 1007.99L2253.21 1114.48Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2253.21 1114.48L2202.64 1265.6L1890.29 1081.17L2253.21 1114.48ZM2332.34 956.82L2265.7 1007.99L2285.34 919.338L2332.34 956.82ZM2253.21 1114.48L2265.7 1007.99L2318.65 1052.01L2253.21 1114.48Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1542.24 2024.17L1641 2055.7L1848.64 2143.75L1542.24 2024.17Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M2202.64 1265.6L2253.21 1114.48L2296.64 1147.8L2202.64 1265.6ZM2202.64 1265.6L1792.71 1130.55L1890.29 1081.17L2202.64 1265.6Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L1890.29 1081.17L1792.71 1130.55L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2285.34 919.338L1890.29 1081.17L1987.86 617.696L2285.34 919.338Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L2400.16 570.1L2285.34 919.338L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2202.64 1265.6L2065.2 1360.79L1792.71 1130.55L2202.64 1265.6Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2382.31 236.33L2400.16 570.1L1987.86 617.696L2382.31 236.33Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2382.31 236.33L1558.3 835.45L1547.59 429.095L2382.31 236.33Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M934.789 380.309L1547.59 429.095L1558.3 835.449L934.789 380.309Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1792.71 1130.55L1558.3 835.449L1987.86 617.696L1792.71 1130.55Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1792.71 1130.55L2065.2 1360.79L1682.65 1403.04L1792.71 1130.55Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1682.65 1403.04L1558.3 835.449L1792.71 1130.55L1682.65 1403.04Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L1558.3 835.45L2382.31 236.33L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M940.144 2134.24L1134.69 2337.11L869.939 2096.16L940.144 2134.24Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1848.64 2143.75L1940.86 1793.33L2123.51 1767.15L1848.64 2143.75Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M151.234 1157.92L487.978 803.917L194.666 1115.67L151.234 1157.92Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M2123.51 1767.15L1940.86 1793.33L2065.2 1360.79L2123.51 1767.15ZM1558.3 835.449L1230.48 824.74L934.789 380.309L1558.3 835.449Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2065.2 1360.79L1940.86 1793.33L1930.74 1582.12L2065.2 1360.79Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1682.65 1403.04L2065.2 1360.79L1930.74 1582.12L1682.65 1403.04Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1230.48 824.74L1558.3 835.449L1682.65 1403.04L1230.48 824.74Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1230.48 824.74L345.784 6.08252L934.79 380.309L1230.48 824.74ZM934.195 2258.58L165.513 2496.56L12.0146 1910.53L934.195 2258.58Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L555.803 1076.41L799.14 1132.93L265.465 1304.27Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M799.139 1132.93L555.803 1076.41L686.098 538.567L799.139 1132.93Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M194.666 1115.67L555.803 1076.41L265.465 1304.27L194.666 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1930.74 1582.12L1780.81 1506.56L1682.65 1403.04L1930.74 1582.12Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M194.666 1115.67L169.083 980.618L555.803 1076.41L194.666 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1749.88 1676.72L1780.81 1506.56L1930.74 1582.12L1749.88 1676.72Z\" fill=\"#233447\" stroke=\"#233447\" stroke-width=\"5.94955\"/> <path d=\"M1940.86 1793.33L1749.88 1676.72L1930.74 1582.12L1940.86 1793.33Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M555.803 1076.41L169.082 980.618L137.55 866.982L555.803 1076.41ZM686.098 538.567L555.803 1076.41L137.55 866.982L686.098 538.567ZM686.098 538.567L1230.48 824.74L799.139 1132.93L686.098 538.567Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M799.14 1132.93L1230.48 824.74L1422.65 1411.96L799.14 1132.93ZM1422.65 1411.96L826.508 1399.47L799.14 1132.93L1422.65 1411.96Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L799.14 1132.93L826.508 1399.47L265.465 1304.27ZM1682.65 1403.04L1422.65 1411.96L1230.48 824.74L1682.65 1403.04Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1780.81 1506.56L1749.88 1676.72L1682.65 1403.04L1780.81 1506.56Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M345.784 6.08252L1230.48 824.74L686.098 538.567L345.784 6.08252Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M12.0146 1910.53L758.088 1879.59L934.195 2258.58L12.0146 1910.53Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M934.194 2258.58L758.088 1879.59L1124.58 1861.75L934.194 2258.58Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1749.88 1676.72L1940.86 1793.33L2046.16 2041.42L1749.88 1676.72ZM826.508 1399.47L12.0146 1910.53L265.465 1304.27L826.508 1399.47ZM758.088 1879.59L12.0146 1910.53L826.508 1399.47L758.088 1879.59ZM1682.65 1403.04L1731.43 1580.33L1495.83 1594.02L1682.65 1403.04ZM1495.83 1594.02L1422.65 1411.96L1682.65 1403.04L1495.83 1594.02Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1134.69 2337.11L934.194 2258.58L1631.48 2375.79L1134.69 2337.11Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L151.234 1157.91L194.666 1115.67L265.465 1304.27Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1710.61 2288.92L1631.48 2375.79L934.194 2258.58L1710.61 2288.92Z\" fill=\"#D7C1B3\" stroke=\"#D7C1B3\" stroke-width=\"5.94955\"/> <path d=\"M1748.09 2075.93L934.194 2258.58L1124.58 1861.75L1748.09 2075.93Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M934.194 2258.58L1748.09 2075.93L1710.61 2288.92L934.194 2258.58Z\" fill=\"#D7C1B3\" stroke=\"#D7C1B3\" stroke-width=\"5.94955\"/> <path d=\"M137.55 866.982L110.777 409.462L686.098 538.567L137.55 866.982ZM194.665 1115.67L115.536 1035.35L169.082 980.618L194.665 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1289.38 1529.76L1422.65 1411.96L1403.61 1699.92L1289.38 1529.76Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1422.65 1411.96L1289.38 1529.76L1095.43 1630.31L1422.65 1411.96Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M2046.16 2041.42L2009.87 2014.65L1749.88 1676.72L2046.16 2041.42Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1095.43 1630.31L826.508 1399.47L1422.65 1411.96L1095.43 1630.31Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1422.65 1411.96L1495.83 1594.02L1403.61 1699.92Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M89.3589 912.199L137.55 866.982L169.083 980.618L89.3589 912.199Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1095.43 1630.31L1289.38 1529.76L1403.61 1699.92Z\" fill=\"#233447\" stroke=\"#233447\" stroke-width=\"5.94955\"/> <path d=\"M686.098 538.567L110.777 409.462L345.784 6.08252L686.098 538.567Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1631.48 2375.79L1664.2 2465.03L1134.69 2337.12L1631.48 2375.79Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1124.58 1861.75L1095.43 1630.31L1403.61 1699.92L1124.58 1861.75Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M826.508 1399.47L1095.43 1630.31L1124.58 1861.75L826.508 1399.47Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1495.83 1594.02L1731.43 1580.33L2009.87 2014.65L1495.83 1594.02ZM826.508 1399.47L1124.58 1861.75L758.088 1879.59L826.508 1399.47Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1495.83 1594.02L1788.55 2039.64L1403.61 1699.92L1495.83 1594.02Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1788.55 2039.64L1748.09 2075.93L1403.61 1699.92Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1748.09 2075.93L1124.58 1861.75L1403.61 1699.92L1748.09 2075.93ZM2009.87 2014.65L1788.55 2039.64L1495.83 1594.02L2009.87 2014.65Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2068.18 2224.07L1972.99 2415.05L1664.2 2465.03L2068.18 2224.07ZM1664.2 2465.03L1631.48 2375.79L1710.61 2288.92L1664.2 2465.03Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1710.61 2288.92L1768.92 2265.72L1664.2 2465.03L1710.61 2288.92ZM1664.2 2465.03L1768.92 2265.72L2068.18 2224.07L1664.2 2465.03Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M2009.87 2014.65L2083.05 2059.27L1860.54 2086.04L2009.87 2014.65Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1860.54 2086.04L1788.55 2039.64L2009.87 2014.65L1860.54 2086.04ZM1834.96 2121.15L2105.66 2088.42L2068.18 2224.07L1834.96 2121.15Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M2068.18 2224.07L1768.92 2265.72L1834.96 2121.15L2068.18 2224.07ZM1768.92 2265.72L1710.61 2288.92L1748.09 2075.93L1768.92 2265.72ZM1748.09 2075.93L1788.55 2039.64L1860.54 2086.04L1748.09 2075.93ZM2083.05 2059.27L2105.66 2088.42L1834.96 2121.15L2083.05 2059.27Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1834.96 2121.15L1860.54 2086.04L2083.05 2059.27L1834.96 2121.15ZM1748.09 2075.93L1834.96 2121.15L1768.92 2265.72L1748.09 2075.93Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1860.54 2086.04L1834.96 2121.15L1748.09 2075.93L1860.54 2086.04Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> </g> <defs> <clipPath id=\"clip0_1512_1323\"> <rect width=\"2404\" height=\"2500\" fill=\"white\"transform=\"translate(0.519043 0.132812)\"/> </clipPath> </defs> </svg>\nConnect with MetaMask\n</button>\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" class=\"w-4 h-4 me-2 -ms-1\" viewBox=\"0 0 80 80\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><rect width=\"80\" height=\"80\" fill=\"white\"transform=\"translate(0.519043 0.132812)\"/> <stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\nConnect with Opera Wallet\n</button>\n<button type=\"button\" class=\"text-white bg-[#FF9119] hover:bg-[#FF9119]/80 focus:ring-4 focus:outline-none focus:ring-[#FF9119]/50 box-border border border-transparent shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:hover:bg-[#FF9119]/80 dark:focus:ring-[#FF9119]/40\">\n<svg class=\"w-4 h-4 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"bitcoin\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M504 256c0 136.1-111 248-248 248S8 392.1 8 256 119 8 256 8s248 111 248 248zm-141.7-35.33c4.937-32.1-20.19-50.74-54.55-62.57l11.15-44.7-27.21-6.781-10.85 43.52c-7.154-1.783-14.5-3.464-21.8-5.13l10.93-43.81-27.2-6.781-11.15 44.69c-5.922-1.349-11.73-2.682-17.38-4.084l.031-.14-37.53-9.37-7.239 29.06s20.19 4.627 19.76 4.913c11.02 2.751 13.01 10.04 12.68 15.82l-12.7 50.92c.76 .194 1.744 .473 2.829 .907-.907-.225-1.876-.473-2.876-.713l-17.8 71.34c-1.349 3.348-4.767 8.37-12.47 6.464 .271 .395-19.78-4.937-19.78-4.937l-13.51 31.15 35.41 8.827c6.588 1.651 13.05 3.379 19.4 5.006l-11.26 45.21 27.18 6.781 11.15-44.73a1038 1038 0 0 0 21.69 5.627l-11.11 44.52 27.21 6.781 11.26-45.13c46.4 8.781 81.3 5.239 95.99-36.73 11.84-33.79-.589-53.28-25-65.99 17.78-4.098 31.17-15.79 34.75-39.95zm-62.18 87.18c-8.41 33.79-65.31 15.52-83.75 10.94l14.94-59.9c18.45 4.603 77.6 13.72 68.81 48.96zm8.417-87.67c-7.673 30.74-55.03 15.12-70.39 11.29l13.55-54.33c15.36 3.828 64.84 10.97 56.85 43.03z\"></path></svg>\nPay with Bitcoin\n</button>\n<button type=\"button\" class=\"text-heading bg-[#F7BE38] hover:bg-[#F7BE38]/90 focus:ring-4 focus:outline-none focus:ring-[#F7BE38]/50 box-border border border-transparent shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:focus:ring-[#F7BE38]/50\">\n<svg class=\"w-4 h-4 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"paypal\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9 152.3 0 165.1-3.7 204 11.4 60.1 23.3 65.6 79.5 44 140.3-21.5 62.6-72.5 89.5-140.1 90.3-43.4 .7-69.5-7-75.3 24.2zM357.1 152c-1.8-1.3-2.5-1.8-3 1.3-2 11.4-5.1 22.5-8.8 33.6-39.9 113.8-150.5 103.9-204.5 103.9-6.1 0-10.1 3.3-10.9 9.4-22.6 140.4-27.1 169.7-27.1 169.7-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9 .7-5.4-1.1 6.1 14.4-91.3 4.6-22 14.3-19.7 29.3-19.7 71 0 126.4-28.8 142.9-112.3 6.5-34.8 4.6-71.4-23.8-92.6z\"></path></svg>\nCheck out with PayPal\n</button>\n<button type=\"button\" class=\"text-white bg-[#0f1419] hover:bg-[#0f1419]/90 focus:ring-4 focus:outline-none focus:ring-[#0f1419]/50 box-border border border-transparent font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:hover:bg-[#24292F] dark:focus:ring-[#24292F]/55\">\n<svg class=\"w-4 h-4 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"apple\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\"></path></svg>\nCheck out with Apple Pay\n</button>\n<button type=\"button\" class=\"text-white bg-[#2557D6] hover:bg-[#2557D6]/90 focus:ring-4 focus:ring-[#2557D6]/50 box-border border border-transparent focus:outline-none font-medium leading-5 rounded-base text-sm px-4 py-2.5 text-center inline-flex items-center dark:focus:ring-[#2557D6]/50\">\n<svg aria-hidden=\"true\" class=\"w-10 h-3 me-2 -ms-1\" viewBox=\"0 0 256 64\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M28.812 0L0 63.76H34.492L38.768 53.594H48.542L52.818 63.76H90.784V56.001L94.167 63.76H113.806L117.189 55.837V63.76H196.148L205.749 53.858L214.739 63.76L255.294 63.842L226.391 32.058L255.294 0H215.368L206.022 9.71899L197.315 0H111.418L104.042 16.457L96.493 0H62.073V7.495L58.244 0C58.244 0 28.812 0 28.812 0ZM35.486 9.05399H52.299L71.41 52.29V9.05399H89.828L104.589 40.054L118.193 9.05399H136.519V54.806H125.368L125.277 18.955L109.02 54.806H99.045L82.697 18.955V54.806H59.757L55.408 44.549H31.912L27.572 54.797H15.281C15.281 54.797 35.486 9.05399 35.486 9.05399ZM146.721 9.05399H192.063L205.931 24.034L220.246 9.05399H234.114L213.043 32.049L234.114 54.779H219.617L205.749 39.625L191.361 54.779H146.721V9.05399ZM43.665 16.795L35.924 35.067H51.397L43.665 16.795ZM157.918 18.527V26.879H182.654V36.188H157.918V45.306H185.663L198.555 31.876L186.21 18.519H157.918V18.527Z\" fill=\"white\"/></svg>\nPay with American Express\n</button>\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" class=\"w-10 h-3 me-2 -ms-1\" viewBox=\"0 0 660 203\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M233.003 199.762L266.362 4.002H319.72L286.336 199.762H233.003V199.762ZM479.113 8.222C468.544 4.256 451.978 0 431.292 0C378.566 0 341.429 26.551 341.111 64.604C340.814 92.733 367.626 108.426 387.865 117.789C408.636 127.387 415.617 133.505 415.517 142.072C415.384 155.195 398.931 161.187 383.593 161.187C362.238 161.187 350.892 158.22 333.368 150.914L326.49 147.803L319.003 191.625C331.466 197.092 354.511 201.824 378.441 202.07C434.531 202.07 470.943 175.822 471.357 135.185C471.556 112.915 457.341 95.97 426.556 81.997C407.906 72.941 396.484 66.898 396.605 57.728C396.605 49.591 406.273 40.89 427.165 40.89C444.611 40.619 457.253 44.424 467.101 48.39L471.882 50.649L479.113 8.222V8.222ZM616.423 3.99899H575.193C562.421 3.99899 552.861 7.485 547.253 20.233L468.008 199.633H524.039C524.039 199.633 533.198 175.512 535.27 170.215C541.393 170.215 595.825 170.299 603.606 170.299C605.202 177.153 610.098 199.633 610.098 199.633H659.61L616.423 3.993V3.99899ZM551.006 130.409C555.42 119.13 572.266 75.685 572.266 75.685C571.952 76.206 576.647 64.351 579.34 57.001L582.946 73.879C582.946 73.879 593.163 120.608 595.299 130.406H551.006V130.409V130.409ZM187.706 3.99899L135.467 137.499L129.902 110.37C120.176 79.096 89.8774 45.213 56.0044 28.25L103.771 199.45L160.226 199.387L244.23 3.99699L187.706 3.996\" fill=\"#0E4595\"/><path d=\"M86.723 3.99219H0.682003L0 8.06519C66.939 24.2692 111.23 63.4282 129.62 110.485L110.911 20.5252C107.682 8.12918 98.314 4.42918 86.725 3.99718\" fill=\"#F2AE14\"/></svg>\nPay with Visa\n</button>\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" class=\"h-4 me-2 -ms-1 w-7\" viewBox=\"0 0 601 360\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M359.01 179.504C359.01 278.647 278.639 359.004 179.5 359.004C80.361 359.004 0 278.643 0 179.504C0 80.3709 80.362 0.00390625 179.5 0.00390625C278.637 0.00390625 359.01 80.3749 359.01 179.504Z\" fill=\"#D9222A\"/><path d=\"M420.489 0C374.11 0 331.846 17.596 299.989 46.467C293.499 52.356 287.441 58.704 281.864 65.463H318.131C323.096 71.5 327.667 77.85 331.816 84.475H268.181C264.354 90.597 260.9 96.944 257.839 103.483H342.152C345.046 109.668 347.583 116.013 349.753 122.487H250.24C248.15 128.721 246.408 135.067 245.023 141.495H354.963C357.652 153.985 359.008 166.726 359.005 179.503C359.005 199.438 355.751 218.615 349.751 236.524H250.238C252.402 243.001 254.938 249.348 257.834 255.532H342.15C339.087 262.073 335.631 268.421 331.803 274.545H268.178C272.325 281.165 276.897 287.511 281.863 293.541H318.122C312.552 300.313 306.492 306.668 299.992 312.554C331.849 341.42 374.109 359.008 420.492 359.008C519.631 359.008 600.002 278.647 600.002 179.508C600.002 80.379 519.631 0.00799561 420.492 0.00799561\" fill=\"#EE9F2D\"/><path d=\"M576.07 279.564C576.07 276.365 578.662 273.763 581.866 273.763C585.07 273.763 587.662 276.365 587.662 279.564C587.662 282.763 585.07 285.365 581.866 285.365C578.662 285.365 576.07 282.763 576.07 279.564ZM581.866 283.972C584.3 283.971 586.273 281.998 586.274 279.564C586.274 277.132 584.303 275.162 581.872 275.16H581.866C579.437 275.157 577.466 277.123 577.462 279.551V279.565C577.46 281.998 579.43 283.971 581.862 283.973C581.863 283.972 581.865 283.972 581.866 283.972V283.972ZM581.083 282.112H579.896V277.016H582.045C582.495 277.016 582.953 277.016 583.35 277.27C583.763 277.549 583.996 278.041 583.996 278.549C583.996 279.12 583.658 279.653 583.112 279.861L584.05 282.111H582.735L581.956 280.094H581.085L581.083 282.112V282.112ZM581.083 279.222H581.741C581.987 279.222 582.246 279.243 582.467 279.122C582.662 278.997 582.763 278.763 582.763 278.538C582.758 278.329 582.651 278.136 582.475 278.02C582.268 277.891 581.939 277.919 581.717 277.919H581.083V279.222ZM137.583 199.159C135.537 198.921 134.638 198.858 133.233 198.858C122.187 198.858 116.595 202.645 116.595 210.126C116.595 214.737 119.324 217.671 123.582 217.671C131.521 217.671 137.241 210.112 137.583 199.159V199.159ZM151.754 232.155H135.608L135.979 224.479C131.053 230.544 124.483 233.428 115.553 233.428C104.99 233.428 97.7492 225.178 97.7492 213.199C97.7492 195.175 110.345 184.658 131.966 184.658C134.174 184.658 137.008 184.857 139.907 185.228C140.511 182.787 140.67 181.74 140.67 180.427C140.67 175.519 137.274 173.69 128.17 173.69C118.637 173.582 110.774 175.961 107.545 177.023C107.749 175.794 110.245 160.364 110.245 160.364C119.957 157.518 126.361 156.447 133.57 156.447C150.302 156.447 159.166 163.96 159.149 178.159C159.182 181.964 158.552 186.659 157.57 192.83C155.879 203.564 152.25 226.551 151.754 232.155V232.155ZM89.5962 232.155H70.1092L81.2712 162.158L56.3462 232.155H43.0672L41.4252 162.558L29.6922 232.155H11.4502L26.6872 141.099H54.7082L56.4082 192.067L73.5002 141.099H104.667L89.5962 232.155ZM444.566 199.159C442.529 198.921 441.625 198.858 440.224 198.858C429.183 198.858 423.59 202.645 423.59 210.126C423.59 214.737 426.316 217.671 430.573 217.671C438.513 217.671 444.237 210.112 444.566 199.159V199.159ZM458.75 232.155H442.604L442.97 224.479C438.044 230.544 431.47 233.428 422.548 233.428C411.983 233.428 404.748 225.178 404.748 213.199C404.748 195.175 417.336 184.658 438.961 184.658C441.169 184.658 443.998 184.857 446.895 185.228C447.499 182.787 447.658 181.74 447.658 180.427C447.658 175.519 444.266 173.69 435.162 173.69C425.629 173.582 417.775 175.961 414.533 177.023C414.737 175.794 417.242 160.364 417.242 160.364C426.954 157.518 433.354 156.447 440.555 156.447C457.295 156.447 466.159 163.96 466.142 178.159C466.174 181.964 465.545 186.659 464.563 192.83C462.879 203.564 459.242 226.551 458.75 232.155V232.155ZM238.36 231.03C233.027 232.709 228.869 233.428 224.36 233.428C214.398 233.428 208.961 227.703 208.961 217.161C208.819 213.89 210.394 205.281 211.632 197.424C212.757 190.507 220.081 146.895 220.081 146.895H239.452L237.189 158.103H248.888L246.246 175.899H234.504C232.254 189.982 229.05 207.524 229.013 209.849C229.013 213.665 231.05 215.332 235.684 215.332C237.905 215.332 239.624 215.105 240.938 214.632L238.36 231.03V231.03ZM297.752 230.43C291.098 232.464 284.677 233.447 277.873 233.43C256.189 233.409 244.886 222.084 244.886 200.398C244.886 175.085 259.266 156.451 278.785 156.451C294.756 156.451 304.956 166.884 304.956 183.247C304.956 188.676 304.256 193.976 302.568 201.459H263.994C262.689 212.2 269.564 216.676 280.831 216.676C287.766 216.676 294.019 215.247 300.973 212.013L297.752 230.43V230.43ZM286.864 186.53C286.971 184.987 288.919 173.313 277.851 173.313C271.68 173.313 267.268 178.017 265.471 186.53H286.864V186.53ZM163.444 181.513C163.444 190.88 167.986 197.339 178.286 202.189C186.178 205.898 187.398 206.999 187.398 210.359C187.398 214.976 183.919 217.06 176.207 217.06C170.394 217.06 164.986 216.152 158.749 214.138C158.749 214.138 156.186 230.459 156.069 231.24C160.499 232.207 164.449 233.101 176.348 233.43C196.911 233.43 206.407 225.601 206.407 208.68C206.407 198.505 202.431 192.534 192.67 188.046C184.499 184.296 183.562 183.459 183.562 180.001C183.562 175.997 186.799 173.955 193.099 173.955C196.924 173.955 202.149 174.363 207.099 175.067L209.874 157.892C204.828 157.092 197.178 156.45 192.724 156.45C170.923 156.451 163.377 167.838 163.444 181.513V181.513ZM392.534 158.397C397.946 158.397 402.992 159.818 409.946 163.318L413.134 143.555C410.28 142.434 400.23 135.855 391.717 135.855C378.676 135.855 367.652 142.326 359.897 153.005C348.588 149.259 343.939 156.83 338.24 164.372L333.177 165.551C333.56 163.068 333.906 160.601 333.789 158.105H315.893C313.448 181.022 309.115 204.233 305.722 227.18L304.838 232.156H324.334C327.588 211.013 329.371 197.476 330.455 188.314L337.796 184.23C338.893 180.152 342.325 178.772 349.213 178.939C348.287 183.947 347.824 189.03 347.83 194.123C347.83 218.348 360.9 233.431 381.88 233.431C387.284 233.431 391.921 232.719 399.101 230.773L402.531 210.014C396.073 213.195 390.772 214.691 385.972 214.691C374.643 214.691 367.788 206.328 367.788 192.506C367.788 172.455 377.984 158.397 392.534 158.397\" fill=\"black\"/><path d=\"M95.2095 226.744H75.7184L86.8895 156.756L61.9635 226.744H48.6805L47.0385 157.156L35.3055 226.744H17.0645L32.3015 135.702H60.3224L61.1104 192.064L80.0145 135.702H110.281L95.2095 226.744Z\" fill=\"white\"/><path d=\"M557.52 141.104L553.199 167.413C547.87 160.4 542.145 155.325 534.587 155.325C524.754 155.325 515.804 162.78 509.945 173.75C501.787 172.058 493.348 169.187 493.348 169.187L493.344 169.254C494.002 163.12 494.265 159.379 494.206 158.108H476.306C473.868 181.025 469.535 204.236 466.149 227.183L465.256 232.159H484.748C487.381 215.063 489.396 200.868 490.881 189.608C497.539 183.592 500.873 178.342 507.602 178.692C504.623 185.897 502.877 194.195 502.877 202.709C502.877 221.222 512.243 233.434 526.41 233.434C533.552 233.434 539.031 230.972 544.377 225.263L543.464 232.147H561.899L576.741 141.105L557.52 141.104V141.104ZM533.149 215.045C526.515 215.045 523.166 210.137 523.166 200.449C523.166 185.894 529.437 175.574 538.278 175.574C544.973 175.574 548.598 180.678 548.598 190.083C548.599 204.762 542.228 215.045 533.149 215.045V215.045Z\" fill=\"black\"/><path d=\"M143.19 193.764C141.148 193.528 140.244 193.465 138.844 193.465C127.798 193.465 122.21 197.252 122.21 204.731C122.21 209.335 124.939 212.278 129.189 212.278C137.136 212.277 142.857 204.719 143.19 193.764V193.764ZM157.368 226.748H141.222L141.589 219.085C136.668 225.139 130.089 228.035 121.168 228.035C110.601 228.035 103.363 219.785 103.363 207.806C103.363 189.774 115.955 179.264 137.58 179.264C139.788 179.264 142.622 179.464 145.518 179.835C146.122 177.394 146.281 176.348 146.281 175.027C146.281 170.118 142.889 168.298 133.785 168.298C124.248 168.19 116.389 170.569 113.156 171.619C113.36 170.394 115.856 154.982 115.856 154.982C125.564 152.124 131.976 151.053 139.176 151.053C155.913 151.053 164.78 158.57 164.764 172.757C164.793 176.578 164.16 181.27 163.18 187.432C161.493 198.156 157.861 221.156 157.368 226.748V226.748ZM418.748 138.156L415.557 157.923C408.607 154.427 403.557 153.003 398.15 153.003C383.599 153.003 373.4 167.061 373.4 187.109C373.4 200.93 380.257 209.29 391.584 209.29C396.384 209.29 401.68 207.798 408.138 204.615L404.717 225.365C397.533 227.322 392.901 228.035 387.492 228.035C366.515 228.035 353.441 212.951 353.441 188.726C353.441 156.176 371.5 133.426 397.329 133.426C405.836 133.427 415.89 137.035 418.748 138.156V138.156ZM450.191 193.764C448.15 193.528 447.25 193.465 445.844 193.465C434.803 193.465 429.211 197.252 429.211 204.731C429.211 209.335 431.94 212.278 436.194 212.278C444.132 212.277 449.857 204.719 450.191 193.764V193.764ZM464.369 226.748H448.219L448.59 219.085C443.665 225.139 437.09 228.035 428.169 228.035C417.606 228.035 410.365 219.785 410.365 207.806C410.365 189.774 422.961 179.264 444.577 179.264C446.79 179.264 449.619 179.464 452.518 179.835C453.119 177.394 453.281 176.348 453.281 175.027C453.281 170.118 449.888 168.298 440.786 168.298C431.253 168.19 423.39 170.569 420.156 171.619C420.36 170.394 422.86 154.982 422.86 154.982C432.569 152.124 438.976 151.053 446.176 151.053C462.917 151.053 471.78 158.57 471.759 172.757C471.792 176.578 471.163 181.27 470.18 187.432C468.498 198.156 464.857 221.156 464.369 226.748ZM243.979 225.627C238.641 227.306 234.483 228.035 229.979 228.035C220.017 228.035 214.58 222.309 214.58 211.767C214.442 208.488 216.018 199.887 217.255 192.031C218.375 185.105 225.7 141.497 225.7 141.497H245.068L242.808 152.709H252.749L250.103 170.497H240.128C237.878 184.589 234.665 202.117 234.632 204.447C234.632 208.277 236.673 209.929 241.303 209.929C243.524 209.929 245.241 209.713 246.557 209.238L243.979 225.627V225.627ZM303.37 225.035C296.72 227.068 290.291 228.047 283.491 228.035C261.806 228.014 250.504 216.689 250.504 195.002C250.504 169.681 264.883 151.052 284.403 151.052C300.374 151.052 310.574 161.481 310.574 177.852C310.574 183.286 309.874 188.585 308.19 196.064H269.616C268.31 206.805 275.185 211.286 286.453 211.286C293.383 211.286 299.641 209.851 306.591 206.609L303.37 225.035V225.035ZM292.479 181.123C292.595 179.585 294.539 167.906 283.466 167.906C277.299 167.906 272.887 172.623 271.091 181.123H292.479ZM169.059 176.118C169.059 185.485 173.601 191.936 183.901 196.793C191.793 200.502 193.013 201.605 193.013 204.965C193.013 209.581 189.53 211.664 181.825 211.664C176.009 211.664 170.6 210.756 164.358 208.743C164.358 208.743 161.804 225.064 161.687 225.844C166.108 226.811 170.062 227.694 181.962 228.035C202.528 228.035 212.021 220.206 212.021 203.289C212.021 193.109 208.05 187.139 198.284 182.652C190.117 178.893 189.171 178.068 189.171 174.606C189.171 170.606 192.417 168.547 198.713 168.547C202.534 168.547 207.759 168.968 212.717 169.672L215.488 152.493C210.446 151.693 202.796 151.052 198.342 151.052C176.538 151.052 168.996 162.431 169.059 176.118V176.118ZM567.509 226.748H549.071L549.988 219.855C544.641 225.572 539.163 228.035 532.02 228.035C517.854 228.035 508.492 215.822 508.492 197.309C508.492 172.679 523.013 151.917 540.2 151.917C547.759 151.917 553.479 155.004 558.804 162.013L563.129 135.705H582.35L567.509 226.748V226.748ZM538.763 209.639C547.838 209.639 554.213 199.356 554.213 184.686C554.213 175.281 550.584 170.177 543.888 170.177C535.051 170.177 528.773 180.492 528.773 195.052C528.772 204.738 532.13 209.639 538.763 209.639ZM481.921 152.71C479.48 175.627 475.148 198.84 471.759 221.773L470.867 226.749H490.358C497.33 181.474 499.016 172.632 509.946 173.74C511.688 164.473 514.928 156.357 517.345 152.261C509.182 150.561 504.624 155.174 498.657 163.936C499.128 160.148 499.99 156.469 499.819 152.711L481.921 152.71V152.71ZM321.501 152.71C319.055 175.627 314.722 198.84 311.334 221.773L310.446 226.749H329.946C336.909 181.474 338.592 172.632 349.516 173.74C351.266 164.473 354.507 156.357 356.915 152.261C348.761 150.561 344.198 155.174 338.236 163.936C338.707 160.148 339.56 156.469 339.398 152.711L321.501 152.71V152.71ZM576.071 220.951C576.067 217.752 578.657 215.156 581.855 215.152H581.867C585.064 215.148 587.66 217.738 587.663 220.935V220.951C587.662 224.152 585.068 226.746 581.867 226.748C578.666 226.746 576.072 224.152 576.071 220.951V220.951ZM581.867 225.356C584.298 225.358 586.269 223.387 586.27 220.957V220.953C586.273 218.52 584.302 216.547 581.871 216.545H581.867C579.432 216.546 577.46 218.519 577.459 220.953C577.461 223.385 579.434 225.356 581.867 225.356ZM581.083 223.485H579.895V218.403H582.048C582.494 218.403 582.957 218.412 583.344 218.657C583.761 218.94 583.998 219.424 583.998 219.931C583.998 220.506 583.661 221.043 583.11 221.248L584.051 223.484H582.731L581.952 221.475H581.082L581.083 223.485ZM581.083 220.606H581.736C581.982 220.606 582.249 220.625 582.465 220.506C582.661 220.381 582.761 220.145 582.761 219.918C582.752 219.708 582.647 219.514 582.474 219.395C582.27 219.278 581.932 219.311 581.711 219.311H581.082L581.083 220.606V220.606Z\" fill=\"white\"/></svg>\nPay with MasterCard\n</button>\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg class=\"w-4 h-4 me-2 -ms-1 text-[#626890]\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"ethereum\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path fill=\"currentColor\" d=\"M311.9 260.8L160 353.6 8 260.8 160 0l151.9 260.8zM160 383.4L8 290.6 160 512l152-221.4-152 92.8z\"></path></svg>\nPay with Ethereum\n</button>\n{{< /example >}}\n\n## Outline buttons\n\nUse the following button styles to show the colors only for the border of the element.\n\n{{< example class=\"flex flex-wrap gap-2.5\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Brand</button>\n<button type=\"button\" class=\"text-body bg-neutral-primary border border-default hover:bg-neutral-secondary-soft hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Gray</button>\n<button type=\"button\" class=\"text-success bg-neutral-primary border border-success hover:bg-success hover:text-white focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Success</button>\n<button type=\"button\" class=\"text-danger bg-neutral-primary border border-danger hover:bg-danger hover:text-white focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Danger</button>\n<button type=\"button\" class=\"text-warning bg-neutral-primary border border-warning hover:bg-warning hover:text-white focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Warning</button>\n{{< /example >}}\n\n## Button sizes\n\nUse these examples if you want to use smaller or larger buttons.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Extra small</button>\n<button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Small</button>\n<button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Base</button>\n<button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">Large</button>\n<button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-6 py-3.5 focus:outline-none\">Extra large</button>\n{{< /example >}}\n\n## Outline button sizes\n\nUse these examples if you want to use smaller or larger buttons with outline style.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Extra small</button>\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium leading-5 rounded-base text-xs px-3 py-2 focus:outline-none\">Small</button>\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Base</button>\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium rounded-base text-base px-5 py-3 focus:outline-none\">Large</button>\n<button type=\"button\" class=\"text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle font-medium rounded-base text-base px-6 py-3.5 focus:outline-none\">Extra large</button>\n{{< /example >}}\n\n## Button sizes with icon\n\nUse these examples if you want to use smaller or larger buttons with icons.\n\n{{< example class=\"space-x-2 space-y-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n<svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nExtra small\n</button>\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n<svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nSmall\n</button>\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nBase\n</button>\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">\n<svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nLarge\n</button>\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-6 py-3.5 focus:outline-none\">\n<svg class=\"w-5 h-5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nExtra large\n</button>\n{{< /example >}}\n\n## Buttons with icon\n\nUse the following examples to add a [SVG icon](https://flowbite.com/icons/) inside the button either on the left or right side.\n\n{{< example class=\"flex items-center space-x-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/>\n</svg>\nBuy now\n</button>\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\nChoose plan\n<svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/>\n</svg>\n</button>\n{{< /example >}}\n\n## Button with label\n\nThis example can be used to show a notification count or helper text inside a button using the badge element.\n\n{{< example class=\"flex\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\nMessages\n<span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-brand-strong bg-brand-soft rounded-full dark:text-fg-brand-subtle\">2</span>\n</button>\n{{< /example >}}\n\n## Icon buttons\n\nSometimes you need a button to indicate an action using only an icon.\n\n{{< example class=\"space-x-2\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs rounded-base w-8 h-8 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs rounded-base w-9 h-9 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs rounded-base w-10 h-10 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle rounded-base w-8 h-8 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle rounded-base w-9 h-9 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"inline-flex items-center justify-center  text-fg-brand bg-neutral-primary border border-brand hover:bg-brand hover:text-white focus:ring-4 focus:ring-brand-subtle rounded-base w-10 h-10 focus:outline-none\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n\n{{< /example >}}\n\n## Loader\n\nUse the following <a href=\"{{< ref \"components/spinner\" >}}\">spinner components</a> from Flowbite to indicate a loader animation inside buttons:\n\n{{< example github=\"components/buttons.md\" class=\"space-x-2\" show_dark=true >}}\n<button disabled type=\"button\" class=\"text-white bg-brand inline-flex items-center box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"w-4 h-4 me-2 text-white animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"#E5E7EB\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentColor\"/>\n</svg>\nLoading...\n</button>\n<button disabled type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"w-4 h-4 me-2 text-fg-brand animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"#E5E7EB\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentColor\"/>\n</svg>\nLoading...\n</button>\n{{< /example >}}\n\n## Disabled\n\nUse the following styles to indicate a disabled button. This can be often used inside form elements to disable the submit button before all the form elements have been completed and validated.\n\n{{< example github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-fg-disabled bg-disabled box-border border border-default-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" disabled>Disabled button</button>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/card.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Cards - Flowbite\ndescription: Get started with a large variety of Tailwind CSS card examples for your web project\ngroup: components\ntoc: true\n\nprevious: Button group\npreviousLink: components/button-group/\nnext: Carousel\nnextLink: components/carousel/\n---\n\nUse these responsive card components to show data entries and information to your users in multiple forms and contexts such as for your blog, application, user profiles, and more.\n\n## Default card\n\nUse the following simple card component with a title and description.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n<a href=\"#\" class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs hover:bg-neutral-secondary-medium\">\n    <h5 class=\"mb-3 text-2xl font-semibold tracking-tight text-heading leading-8\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"text-body\">Here are the biggest technology acquisitions of 2025 so far, in reverse chronological order.</p>\n</a>\n{{< /example >}}\n\n## Card with button\n\nUse the following example of a card element if you also want to have an action button.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <h5 class=\"mb-3 text-2xl font-semibold tracking-tight text-heading leading-8\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"text-body mb-6\">Here are the biggest technology acquisitions of 2025 so far, in reverse chronological order.</p>\n    <a href=\"#\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n        Read more\n        <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n    </a>\n</div>\n{{< /example >}}\n\n## Card with link\n\nThis example can be used to show a CTA as a link instead of a button inside the card.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <svg class=\"w-7 h-7 mb-3 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 21v-9m3-4H7.5a2.5 2.5 0 1 1 0-5c1.5 0 2.875 1.25 3.875 2.5M14 21v-9m-9 0h14v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-8ZM4 8h16a1 1 0 0 1 1 1v3H3V9a1 1 0 0 1 1-1Zm12.155-5c-3 0-5.5 5-5.5 5h5.5a2.5 2.5 0 0 0 0-5Z\"/></svg>\n    <a href=\"#\">\n        <h5 class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">Need a help in Claim?</h5>\n    </a>\n    <p class=\"mb-3 text-body\">Go to this step by step guideline process on how to certify for your weekly benefits:</p>\n    <a href=\"#\" class=\"inline-flex font-medium items-center text-fg-brand hover:underline\">\n        See our guideline\n        <svg class=\"w-4 h-4 ms-2 rtl:rotate-[270deg]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778\"/></svg>\n    </a>\n</div>\n{{< /example >}}\n\n## Card with image\n\nYou can use the following example of a card element with an image for blog posts, user cards, and many more.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"bg-neutral-primary-soft block max-w-sm border border-default rounded-base shadow-xs\">\n    <a href=\"#\">\n        <img class=\"rounded-t-base\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <div class=\"p-6 text-center\">\n        <span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n            <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.122 17.645a7.185 7.185 0 0 1-2.656 2.495 7.06 7.06 0 0 1-3.52.853 6.617 6.617 0 0 1-3.306-.718 6.73 6.73 0 0 1-2.54-2.266c-2.672-4.57.287-8.846.887-9.668A4.448 4.448 0 0 0 8.07 6.31 4.49 4.49 0 0 0 7.997 4c1.284.965 6.43 3.258 5.525 10.631 1.496-1.136 2.7-3.046 2.846-6.216 1.43 1.061 3.985 5.462 1.754 9.23Z\"/></svg>\n            Trending\n        </span>\n        <a href=\"#\">\n            <h5 class=\"mt-3 mb-6 text-2xl font-semibold tracking-tight text-heading\">Streamlining your design process today.</h5>\n        </a>\n        <a href=\"#\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n            Read more\n            <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n## Card with description\n\nUse this alternative styled card with an image for features, blog posts, and more.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <a href=\"#\">\n        <img class=\"rounded-base\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <a href=\"#\">\n        <h5 class=\"mt-6 mb-2 text-2xl font-semibold tracking-tight text-heading\">Streamlining your design process today.</h5>\n    </a>\n    <p class=\"mb-6 text-body\">In today’s fast-paced digital landscape, fostering seamless collaboration among Developers and IT Operations.</p>\n    <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n        Read more\n        <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n    </a>\n</div>\n{{< /example >}}\n\n## Horizontal card\n\nIf you want to spice up your cards you can use the following card which has its child elements aligned horizontally.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n<a href=\"#\" class=\"flex flex-col items-center bg-neutral-primary-soft p-6 border border-default rounded-base shadow-xs md:flex-row md:max-w-xl md:flex-row md:max-w-xl\">\n    <img class=\"object-cover w-full rounded-base h-64 md:h-auto md:w-48 mb-4 md:mb-0\" src=\"/docs/images/blog/image-4.jpg\" alt=\"\">\n    <div class=\"flex flex-col justify-between md:p-4 leading-normal\">\n        <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-heading\">Streamlining your design process today.</h5>\n        <p class=\"mb-6 text-body\">In today’s fast-paced digital landscape, fostering seamless collaboration among Developers and IT Operations.</p>\n        <div>\n            <button type=\"button\" class=\"inline-flex items-center w-auto text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                Read more\n                <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </button>\n        </div>\n    </div>\n</a>\n{{< /example >}}\n\n## User profile card\n\nUse this user profile card example if you want to show a dropdown menu and buttons to enable multiple actions from your user.\n\n{{< example class=\"flex flex-wrap justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"relative bg-neutral-primary-soft max-w-xs w-full p-6 border border-default rounded-base shadow-xs\">\n        <button id=\"dropdownButton\" data-dropdown-toggle=\"dropdown\" class=\"absolute top-2 end-2 text-body hover:text-heading bg-neutral-primary-soft box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n            <span class=\"sr-only\">Open dropdown</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M6 12h.01m6 0h.01m5.99 0h.01\"/></svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"dropdown\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-36 block hidden\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownButton\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Edit</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Export Data</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded-md\">Delete</a>\n                </li>\n            </ul>\n        </div>\n    <div class=\"flex flex-col items-center\">\n        <img class=\"w-24 h-24 mb-6 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\"/>\n        <h5 class=\"mb-0.5 text-xl font-semibold tracking-tight text-heading\">Bonnie Green</h5>\n        <span class=\"text-sm text-body\">Visual Designer</span>\n        <div class=\"flex mt-4 md:mt-6 gap-4\">\n            <button type=\"button\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12h4m-2 2v-4M4 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                Follow me\n            </button>\n            <button type=\"button\" class=\"inline-flex self-start w-auto text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                Message\n            </button>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Card with form inputs\n\nUse this card example where you can add form input elements that can be used for authentication actions or any other context where you need to receive information from your users.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm bg-neutral-primary-soft p-6 border border-default rounded-base shadow-xs\">\n    <form action=\"#\">\n        <h5 class=\"text-xl font-semibold text-heading mb-6\">Sign in to our platform</h5>\n        <div class=\"mb-4\">\n            <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n            <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"example@company.com\" required />\n        </div>\n        <div>\n            <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n            <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"•••••••••\" required />\n        </div>\n        <div class=\"flex items-start my-6\">\n            <div class=\"flex items-center\">\n                <input id=\"checkbox-remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                <label for=\"checkbox-remember\" class=\"ms-2 text-sm font-medium text-heading\">Remember me</label>\n            </div>\n            <a href=\"#\" class=\"ms-auto text-sm font-medium text-fg-brand hover:underline\">Lost Password?</a>\n        </div>\n        <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none w-full mb-3\">Login to your account</button>\n        <div class=\"text-sm font-medium text-body\">Not registered? <a href=\"#\" class=\"text-fg-brand hover:underline\">Create account</a></div>\n    </form>\n</div>\n{{< /example >}}\n\n## E-commerce card\n\nUse this card for your e-commerce websites and show information about the products and enable actions such as adding a review and adding the product to the cart.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm bg-neutral-primary-soft p-6 border border-default rounded-base shadow-xs\">\n    <a href=\"#\">\n        <img class=\"rounded-base mb-6\" src=\"/docs/images/products/apple-watch.png\" alt=\"product image\" />\n    </a>\n    <div>\n        <div class=\"flex items-center space-x-3 mb-6\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse\">\n                <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n                <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n                <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n                <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n                <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n            </div>\n            <span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">4.8 out of 5</span>\n        </div>\n        <a href=\"#\">\n            <h5 class=\"text-xl text-heading font-semibold tracking-tight\">Apple Watch Series 7 GPS, Aluminium Case, Starlight</h5>\n        </a>\n        <div class=\"flex items-center justify-between mt-6\">\n            <span class=\"text-3xl font-extrabold text-heading\">$599</span>\n            <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                Add to cart\n            </button>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Call to action card\n\nUse this CTA card example to encourage your users to visit a certain page such as downloading the iOS or Android application for your project.\n\n{{< example github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full text-center bg-neutral-primary-soft p-6 border border-default rounded-base shadow-xs\">\n    <h5 class=\"mb-3 text-2xl tracking-tight font-semibold text-heading\">Work fast from anywhere</h5>\n    <p class=\"mb-6 text-base text-body sm:text-lg\">Stay up to date and move work forward with Flowbite on iOS & Android. <br>Download the app today.</p>\n    <div class=\"items-center justify-center space-y-4 sm:flex sm:space-y-0 sm:space-x-4 rtl:space-x-reverse\">\n        <a href=\"#\" class=\"w-full sm:w-auto bg-dark hover:bg-dark-strong focus:ring-4 focus:outline-none focus:ring-neutral-quaternary text-white rounded-base inline-flex items-center justify-center px-4 py-3\">\n            <svg class=\"me-2 w-7 h-7\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"apple\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\"></path></svg>\n            <div class=\"text-left rtl:text-right\">\n                <div class=\"text-xs\">Download on the</div>\n                <div class=\"text-sm font-bold\">Mac App Store</div>\n            </div>\n        </a>\n        <a href=\"#\" class=\"w-full sm:w-auto bg-dark hover:bg-dark-strong focus:ring-4 focus:outline-none focus:ring-neutral-quaternary text-white rounded-base inline-flex items-center justify-center px-4 py-3\">\n            <svg class=\"me-2 w-7 h-7\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"google-play\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z\"></path></svg>\n            <div class=\"text-left rtl:text-right\">\n                <div class=\"text-xs\">Get in on</div>\n                <div class=\"text-sm font-bold\">Google Play</div>\n            </div>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n## Card with nav tabs\n\nUse this example of a card component with navigation tabs that can change the content inside the card based on which one is currently active.\n\n{{< example github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full bg-neutral-primary border border-default rounded-base shadow-xs\">\n    <ul class=\"flex flex-wrap text-sm font-medium text-center text-body bg-neutral-secondary-soft border-b border-default rounded-t-base\" id=\"defaultTab\" data-tabs-toggle=\"#defaultTabContent\" role=\"tablist\">\n        <li class=\"me-2\">\n            <button id=\"about-tab\" data-tabs-target=\"#about\" type=\"button\" role=\"tab\" aria-controls=\"about\" aria-selected=\"true\" class=\"inline-block p-4 text-fg-brand rounded-ss-base hover:bg-neutral-tertiary\">About</button>\n        </li>\n        <li class=\"me-2\">\n            <button id=\"services-tab\" data-tabs-target=\"#services\" type=\"button\" role=\"tab\" aria-controls=\"services\" aria-selected=\"false\" class=\"inline-block p-4 hover:text-heading hover:bg-neutral-tertiary\">Services</button>\n        </li>\n        <li class=\"me-2\">\n            <button id=\"statistics-tab\" data-tabs-target=\"#statistics\" type=\"button\" role=\"tab\" aria-controls=\"statistics\" aria-selected=\"false\" class=\"inline-block p-4 hover:text-heading hover:bg-neutral-tertiary\">Facts</button>\n        </li>\n    </ul>\n    <div id=\"defaultTabContent\">\n        <div class=\"hidden p-4 rounded-b-base md:p-8\" id=\"about\" role=\"tabpanel\" aria-labelledby=\"about-tab\">\n            <h2 class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">Powering innovation at <span class=\"font-extrabold\">200,000+</span> companies worldwide</h2>\n            <p class=\"mb-4 text-body\">Empower Developers, IT Ops, and business teams to collaborate at high velocity. Respond to changes and deliver great customer and employee service experiences fast.</p>\n            <a href=\"#\" class=\"inline-flex items-center font-medium text-fg-brand hover:underline\">\n                Learn more\n                <svg class=\"w-5 h-5 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </a>\n        </div>\n        <div class=\"hidden p-4 rounded-b-base md:p-8\" id=\"services\" role=\"tabpanel\" aria-labelledby=\"services-tab\">\n            <h2 class=\"mb-5 text-2xl font-semibold tracking-tight text-heading\">We invest in the world’s potential</h2>\n            <!-- List -->\n            <ul role=\"list\" class=\"space-y-4 text-body\">\n                <li class=\"flex space-x-1.5 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Dynamic reports and dashboards</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Templates for everyone</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Development workflow</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Limitless business automation</span>\n                </li>\n            </ul>\n        </div>\n        <div class=\"hidden p-4 rrounded-b-base md:p-8\" id=\"statistics\" role=\"tabpanel\" aria-labelledby=\"statistics-tab\">\n            <dl class=\"grid max-w-screen-xl grid-cols-2 gap-8 p-4 mx-auto text-heading sm:grid-cols-3 xl:grid-cols-6 sm:p-8\">\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">73M+</dt>\n                    <dd class=\"text-body\">Developers</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">100M+</dt>\n                    <dd class=\"text-body\">Public repositories</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">1000s</dt>\n                    <dd class=\"text-body\">Open source projects</dd>\n                </div>\n            </dl>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Card full width tabs\n\nUse this example of a card component to show tabs that span the full width of the element and change the content area clicking on each one.\n\n{{< example github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full bg-neutral-primary border border-default rounded-base shadow-xs\">\n    <div class=\"sm:hidden\">\n        <label for=\"tabs\" class=\"sr-only\">Select tab</label>\n        <select id=\"tabs\" class=\"bg-neutral-secondary-soft border-0 border-b border-default text-heading text-sm rounded-t-base focus:ring-brand block w-full p-2.5\">\n            <option>Statistics</option>\n            <option>Services</option>\n            <option>FAQ</option>\n        </select>\n    </div>\n    <ul class=\"hidden text-sm font-medium text-center text-body divide-x divide-default rounded-base sm:flex rtl:divide-x-reverse\" id=\"fullWidthTab\" data-tabs-toggle=\"#fullWidthTabContent\" role=\"tablist\">\n        <li class=\"w-full\">\n            <button id=\"stats-tab\" data-tabs-target=\"#stats\" type=\"button\" role=\"tab\" aria-controls=\"stats\" aria-selected=\"true\" class=\"inline-block w-full p-4 rounded-ss-base bg-neutral-secondary-soft hover:bg-neutral-tertiary focus:outline-none focus:bg-neutral-tertiary\">Statistics</button>\n        </li>\n        <li class=\"w-full\">\n            <button id=\"about-tab\" data-tabs-target=\"#about\" type=\"button\" role=\"tab\" aria-controls=\"about\" aria-selected=\"false\" class=\"inline-block w-full p-4 bg-neutral-secondary-soft hover:bg-neutral-tertiary focus:outline-none focus:bg-neutral-tertiary\">Services</button>\n        </li>\n        <li class=\"w-full\">\n            <button id=\"faq-tab\" data-tabs-target=\"#faq\" type=\"button\" role=\"tab\" aria-controls=\"faq\" aria-selected=\"false\" class=\"inline-block w-full p-4 rounded-se-base bg-neutral-secondary-soft hover:bg-neutral-tertiary focus:outline-none focus:bg-neutral-tertiary\">FAQ</button>\n        </li>\n    </ul>\n    <div id=\"fullWidthTabContent\" class=\"border-t border-default\">\n        <div class=\"hidden p-4 rounded-base md:p-8\" id=\"stats\" role=\"tabpanel\" aria-labelledby=\"stats-tab\">\n            <dl class=\"grid max-w-screen-xl grid-cols-2 gap-8 p-4 mx-auto text-heading sm:grid-cols-3 xl:grid-cols-6 sm:p-8\">\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">73M+</dt>\n                    <dd class=\"text-body\">Developers</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">100M+</dt>\n                    <dd class=\"text-body\">Public repositories</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">1000s</dt>\n                    <dd class=\"text-body\">Open source projects</dd>\n                </div>\n            </dl>\n        </div>\n        <div class=\"hidden p-4 rounded-base md:p-8\" id=\"about\" role=\"tabpanel\" aria-labelledby=\"about-tab\">\n            <h2 class=\"mb-5 text-2xl font-semibold tracking-tight text-heading\">We invest in the world’s potential</h2>\n            <!-- List -->\n            <ul role=\"list\" class=\"space-y-4 text-body\">\n                <li class=\"flex space-x-1.5 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Dynamic reports and dashboards</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Templates for everyone</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Development workflow</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                    <span class=\"leading-tight\">Limitless business automation</span>\n                </li>\n            </ul>\n        </div>\n        <div class=\"hidden p-4 rounded-base\" id=\"faq\" role=\"tabpanel\" aria-labelledby=\"faq-tab\">\n            <div id=\"accordion-flush\" data-accordion=\"collapse\" data-active-classes=\"bg-neutral-primary text-heading\" data-inactive-classes=\"text-body\">\n              <h2 id=\"accordion-flush-heading-1\">\n                <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-flush-body-1\">\n                  <span>What is Flowbite?</span>\n                  <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n                </button>\n              </h2>\n              <div id=\"accordion-flush-body-1\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-1\">\n                <div class=\"py-5 border-b border-default text-body\">\n                  <p class=\"mb-2\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n                  <p>Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-fg-brand hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n                </div>\n              </div>\n              <h2 id=\"accordion-flush-heading-2\">\n                <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-2\">\n                  <span>Is there a Figma file available?</span>\n                  <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n                </button>\n              </h2>\n              <div id=\"accordion-flush-body-2\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-2\">\n                <div class=\"py-5 border-b border-default text-body\">\n                  <p class=\"mb-2\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n                  <p>Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-fg-brand hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n                </div>\n              </div>\n              <h2 id=\"accordion-flush-heading-3\">\n                <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-body border-b border-default gap-3\" data-accordion-target=\"#accordion-flush-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-3\">\n                  <span>What are the differences between Flowbite and Tailwind UI?</span>\n                  <svg data-accordion-icon class=\"w-5 h-5 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n                </button>\n              </h2>\n              <div id=\"accordion-flush-body-3\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-3\">\n                <div class=\"py-5 text-body border-b border-default\">\n                  <p class=\"mb-2\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n                  <p class=\"mb-2\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n                  <p class=\"mb-2\">Learn more about these technologies:</p>\n                  <ul class=\"ps-5 list-disc\">\n                    <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-fg-brand hover:underline\">Flowbite Pro</a></li>\n                    <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-fg-brand hover:underline\">Tailwind UI</a></li>\n                  </ul>\n                </div>\n              </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Card with list\n\nUse this card example if you want to show a list of data:\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <div class=\"flex items-center justify-between mb-4\">\n        <h5 class=\"text-xl font-semibold leading-none text-heading\">Latest Customers</h5>\n        <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">View all</a>\n   </div>\n   <div class=\"flow-root\">\n        <ul role=\"list\" class=\"divide-y divide-default\">\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-2\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Neil Sims\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center font-medium text-heading\">\n                        $320\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-2\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Bonnie Green\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center font-medium text-heading\">\n                        $3467\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Michael image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-2\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Michael Gough\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center font-medium text-heading\">\n                        $67\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Lana image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-2\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Lana Byrd\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center font-medium text-heading\">\n                        $367\n                    </div>\n                </div>\n            </li>\n            <li class=\"pt-4 pb-0\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Thomas image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-2\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Thomas Lean\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center font-medium text-heading\">\n                        $2367\n                    </div>\n                </div>\n            </li>\n        </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Pricing card\n\nShow detailed information to potential customers about your product's pricing plan, list of features, and a purchase button.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <h5 class=\"mb-4 text-xl font-medium text-body\">Standard plan</h5>\n    <div class=\"flex items-baseline text-heading\">\n        <span class=\"text-5xl font-extrabold tracking-tight\">$49</span>\n        <span class=\"ms-2 font-medium text-body\">/month</span>\n    </div>\n    <ul role=\"list\" class=\"space-y-4 my-6\">\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">2 team members</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">20GB Cloud storage</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Integration help</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Sketch Files</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">API Access</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Complete documentation</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">24×7 phone & email support</span>\n        </li>\n    </ul>\n    <button type=\"button\" class=\"w-full text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Choose plan</button>\n</div>\n{{< /example >}}\n\n## Testimonial card\n\nUse this example to split cards into multiple sections such as for testimonials or reviews.\n\n{{< example github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"grid mb-8 bg-neutral-primary-soft border border-default rounded-base shadow-xs md:mb-12 md:grid-cols-2\">\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center border-b border-default rounded-t-base md:rounded-t-none md:rounded-ss-base md:border-e\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-body lg:mb-8\">\n            <h3 class=\"text-lg font-semibold text-heading\">Very easy this was to integrate</h3>\n            <p class=\"my-4\">If you care for your time, I hands down would go with this.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center\">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/karen-nelson.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 text-left rtl:text-right ms-2\">\n                <div class=\"leading-tight text-base text-heading font-medium mb-0.5\">Bonnie Green</div>\n                <div class=\"text-sm text-body\">Developer at Open AI</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center border-b border-default md:rounded-se-base\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-body lg:mb-8\">\n            <h3 class=\"text-lg font-semibold text-heading\">Solid foundation for any project</h3>\n            <p class=\"my-4\">Designing with Figma components that can be easily translated to the utility classes of Tailwind CSS is a huge timesaver!\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 text-left rtl:text-right ms-2\">\n                <div class=\"leading-tight text-base text-heading font-medium mb-0.5\">Roberta Casas</div>\n                <div class=\"text-sm text-body\">Lead designer at Dropbox</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center border-b border-default md:rounded-es-base md:border-b-0 md:border-e\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-body lg:mb-8\">\n            <h3 class=\"text-lg font-semibold text-heading\">Mindblowing workflow</h3>\n            <p class=\"my-4\">Aesthetically, the well designed components are beautiful and will undoubtedly level up your app.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 text-left rtl:text-right ms-2\">\n                <div class=\"leading-tight text-base text-heading font-medium mb-0.5\">Jese Leos</div>\n                <div class=\"text-sm text-body\">Software Engineer at Facebook</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center border-default rounded-b-base md:rounded-se-base\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-body lg:mb-8\">\n            <h3 class=\"text-lg font-semibold text-heading\">Efficient Collaborating</h3>\n            <p class=\"my-4\">You have many examples that can be used to create a fast prototype for your team.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 text-left rtl:text-right ms-2\">\n                <div class=\"leading-tight text-base text-heading font-medium mb-0.5\">Joseph McFall</div>\n                <div class=\"text-sm text-body\">CTO at Google<</div>\n            </div>\n        </figcaption>    \n    </figure>\n</div>\n{{< /example >}}\n\n## Crypto card\n\nUse this web3 card component to show a list of applications that you can use to connect your crypto wallet for NFT related trading and authentication.\n\n{{< example class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n<div class=\"w-full max-w-sm p-4 sm:p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <h5 class=\"mb-2 text-base md:text-xl font-semibold text-heading\">Connect wallet</h5>\n    <p class=\"text-body\">Connect with one of our available wallet providers or create a new one.</p>\n    <ul class=\"my-6 space-y-3\">\n        <li>\n            <a href=\"#\" class=\"flex items-center p-3 text-lg font-semibold text-heading rounded-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium group\">\n                <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 40 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M39.0728 0L21.9092 12.6999L25.1009 5.21543L39.0728 0Z\" fill=\"#E17726\"/><path d=\"M0.966797 0.0151367L14.9013 5.21656L17.932 12.7992L0.966797 0.0151367Z\" fill=\"#E27625\"/><path d=\"M32.1656 27.0093L39.7516 27.1537L37.1004 36.1603L27.8438 33.6116L32.1656 27.0093Z\" fill=\"#E27625\"/><path d=\"M7.83409 27.0093L12.1399 33.6116L2.89876 36.1604L0.263672 27.1537L7.83409 27.0093Z\" fill=\"#E27625\"/><path d=\"M17.5203 10.8677L17.8304 20.8807L8.55371 20.4587L11.1924 16.4778L11.2258 16.4394L17.5203 10.8677Z\" fill=\"#E27625\"/><path d=\"M22.3831 10.7559L28.7737 16.4397L28.8067 16.4778L31.4455 20.4586L22.1709 20.8806L22.3831 10.7559Z\" fill=\"#E27625\"/><path d=\"M12.4115 27.0381L17.4768 30.9848L11.5928 33.8257L12.4115 27.0381Z\" fill=\"#E27625\"/><path d=\"M27.5893 27.0376L28.391 33.8258L22.5234 30.9847L27.5893 27.0376Z\" fill=\"#E27625\"/><path d=\"M22.6523 30.6128L28.6066 33.4959L23.0679 36.1282L23.1255 34.3884L22.6523 30.6128Z\" fill=\"#D5BFB2\"/><path d=\"M17.3458 30.6143L16.8913 34.3601L16.9286 36.1263L11.377 33.4961L17.3458 30.6143Z\" fill=\"#D5BFB2\"/><path d=\"M15.6263 22.1875L17.1822 25.4575L11.8848 23.9057L15.6263 22.1875Z\" fill=\"#233447\"/><path d=\"M24.3739 22.1875L28.133 23.9053L22.8184 25.4567L24.3739 22.1875Z\" fill=\"#233447\"/><path d=\"M12.8169 27.0049L11.9606 34.0423L7.37109 27.1587L12.8169 27.0049Z\" fill=\"#CC6228\"/><path d=\"M27.1836 27.0049L32.6296 27.1587L28.0228 34.0425L27.1836 27.0049Z\" fill=\"#CC6228\"/><path d=\"M31.5799 20.0605L27.6165 24.0998L24.5608 22.7034L23.0978 25.779L22.1387 20.4901L31.5799 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.41797 20.0605L17.8608 20.4902L16.9017 25.779L15.4384 22.7038L12.3988 24.0999L8.41797 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.15039 19.2314L12.6345 23.7816L12.7899 28.2736L8.15039 19.2314Z\" fill=\"#E27525\"/><path d=\"M31.8538 19.2236L27.2061 28.2819L27.381 23.7819L31.8538 19.2236Z\" fill=\"#E27525\"/><path d=\"M17.6412 19.5088L17.8217 20.6447L18.2676 23.4745L17.9809 32.166L16.6254 25.1841L16.625 25.1119L17.6412 19.5088Z\" fill=\"#E27525\"/><path d=\"M22.3562 19.4932L23.3751 25.1119L23.3747 25.1841L22.0158 32.1835L21.962 30.4328L21.75 23.4231L22.3562 19.4932Z\" fill=\"#E27525\"/><path d=\"M27.7797 23.6011L27.628 27.5039L22.8977 31.1894L21.9414 30.5138L23.0133 24.9926L27.7797 23.6011Z\" fill=\"#F5841F\"/><path d=\"M12.2373 23.6011L16.9873 24.9926L18.0591 30.5137L17.1029 31.1893L12.3723 27.5035L12.2373 23.6011Z\" fill=\"#F5841F\"/><path d=\"M10.4717 32.6338L16.5236 35.5013L16.4979 34.2768L17.0043 33.8323H22.994L23.5187 34.2753L23.48 35.4989L29.4935 32.641L26.5673 35.0591L23.0289 37.4894H16.9558L13.4197 35.0492L10.4717 32.6338Z\" fill=\"#C0AC9D\"/><path d=\"M22.2191 30.231L23.0748 30.8354L23.5763 34.8361L22.8506 34.2234H17.1513L16.4395 34.8485L16.9244 30.8357L17.7804 30.231H22.2191Z\" fill=\"#161616\"/><path d=\"M37.9395 0.351562L39.9998 6.53242L38.7131 12.7819L39.6293 13.4887L38.3895 14.4346L39.3213 15.1542L38.0875 16.2779L38.8449 16.8264L36.8347 19.1742L28.5894 16.7735L28.5179 16.7352L22.5762 11.723L37.9395 0.351562Z\" fill=\"#763E1A\"/><path d=\"M2.06031 0.351562L17.4237 11.723L11.4819 16.7352L11.4105 16.7735L3.16512 19.1742L1.15488 16.8264L1.91176 16.2783L0.678517 15.1542L1.60852 14.4354L0.350209 13.4868L1.30098 12.7795L0 6.53265L2.06031 0.351562Z\" fill=\"#763E1A\"/><path d=\"M28.1861 16.2485L36.9226 18.7921L39.7609 27.5398L32.2728 27.5398L27.1133 27.6049L30.8655 20.2912L28.1861 16.2485Z\" fill=\"#F5841F\"/><path d=\"M11.8139 16.2485L9.13399 20.2912L12.8867 27.6049L7.72971 27.5398H0.254883L3.07728 18.7922L11.8139 16.2485Z\" fill=\"#F5841F\"/><path d=\"M25.5283 5.17383L23.0847 11.7736L22.5661 20.6894L22.3677 23.4839L22.352 30.6225H17.6471L17.6318 23.4973L17.4327 20.6869L16.9139 11.7736L14.4707 5.17383H25.5283Z\" fill=\"#F5841F\"/></svg>\n                <span class=\"flex-1 ms-3 whitespace-nowrap\">MetaMask</span>\n                <span class=\"bg-neutral-primary-soft border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Popular</span>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center p-3 text-lg font-semibold text-heading rounded-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium group\">\n                <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 292 292\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M145.7 291.66C226.146 291.66 291.36 226.446 291.36 146C291.36 65.5541 226.146 0.339844 145.7 0.339844C65.2542 0.339844 0.0400391 65.5541 0.0400391 146C0.0400391 226.446 65.2542 291.66 145.7 291.66Z\" fill=\"#3259A5\"/><path d=\"M195.94 155.5C191.49 179.08 170.8 196.91 145.93 196.91C117.81 196.91 95.0204 174.12 95.0204 146C95.0204 117.88 117.81 95.0897 145.93 95.0897C170.8 95.0897 191.49 112.93 195.94 136.5H247.31C242.52 84.7197 198.96 44.1797 145.93 44.1797C89.6904 44.1797 44.1104 89.7697 44.1104 146C44.1104 202.24 89.7004 247.82 145.93 247.82C198.96 247.82 242.52 207.28 247.31 155.5H195.94Z\" fill=\"white\"/></svg>\n                <span class=\"flex-1 ms-3 whitespace-nowrap\">Coinbase Wallet</span>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center p-3 text-lg font-semibold text-heading rounded-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium group\">\n                <svg aria-hidden=\"true\" svg class=\"h-5\"viewBox=\"0 0 75.591 75.591\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\n                <span class=\"flex-1 ms-3 whitespace-nowrap\">Opera Wallet</span>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center p-3 text-lg font-semibold text-heading rounded-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium group\">\n                <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><defs><radialGradient cx=\"0%\" cy=\"50%\" fx=\"0%\" fy=\"50%\" r=\"100%\" id=\"radialGradient-1\"><stop stop-color=\"#5D9DF6\" offset=\"0%\"></stop><stop stop-color=\"#006FFF\" offset=\"100%\"></stop></radialGradient></defs><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"logo\"><rect id=\"base\" fill=\"url(#radialGradient-1)\" x=\"0\" y=\"0\" width=\"512\" height=\"512\" rx=\"256\"></rect><path d=\"M169.209772,184.531136 C217.142772,137.600733 294.857519,137.600733 342.790517,184.531136 L348.559331,190.179285 C350.955981,192.525805 350.955981,196.330266 348.559331,198.676787 L328.82537,217.99798 C327.627045,219.171241 325.684176,219.171241 324.485851,217.99798 L316.547278,210.225455 C283.10802,177.485633 228.89227,177.485633 195.453011,210.225455 L186.951456,218.549188 C185.75313,219.722448 183.810261,219.722448 182.611937,218.549188 L162.877976,199.227995 C160.481326,196.881474 160.481326,193.077013 162.877976,190.730493 L169.209772,184.531136 Z M383.602212,224.489406 L401.165475,241.685365 C403.562113,244.031874 403.562127,247.836312 401.165506,250.182837 L321.971538,327.721548 C319.574905,330.068086 315.689168,330.068112 313.292501,327.721609 C313.292491,327.721599 313.29248,327.721588 313.29247,327.721578 L257.08541,272.690097 C256.486248,272.103467 255.514813,272.103467 254.915651,272.690097 C254.915647,272.690101 254.915644,272.690105 254.91564,272.690108 L198.709777,327.721548 C196.313151,330.068092 192.427413,330.068131 190.030739,327.721634 C190.030725,327.72162 190.03071,327.721606 190.030695,327.721591 L110.834524,250.181849 C108.437875,247.835329 108.437875,244.030868 110.834524,241.684348 L128.397819,224.488418 C130.794468,222.141898 134.680206,222.141898 137.076856,224.488418 L193.284734,279.520668 C193.883897,280.107298 194.85533,280.107298 195.454493,279.520668 C195.454502,279.520659 195.45451,279.520651 195.454519,279.520644 L251.65958,224.488418 C254.056175,222.141844 257.941913,222.141756 260.338618,224.488222 C260.338651,224.488255 260.338684,224.488288 260.338717,224.488321 L316.546521,279.520644 C317.145683,280.107273 318.117118,280.107273 318.71628,279.520644 L374.923175,224.489406 C377.319825,222.142885 381.205562,222.142885 383.602212,224.489406 Z\" id=\"WalletConnect\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path></g></g></svg>\n                <span class=\"flex-1 ms-3 whitespace-nowrap\">WalletConnect</span>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center p-3 text-lg font-semibold text-heading rounded-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium group\">\n                <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 96 96\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M72.0998 0.600098H48.3998H24.5998H0.799805V24.4001V48.2001V49.7001V71.8001V71.9001V95.5001H24.5998V72.0001V71.9001V49.8001V48.3001V24.5001H48.3998H72.1998H95.9998V0.700104H72.0998V0.600098Z\" fill=\"#617BFF\"/><path d=\"M48.5 71.8002H72.1V95.6002H73C79.1 95.6002 84.9 93.2002 89.2 88.9002C93.5 84.6002 95.9 78.8002 95.9 72.7002V48.2002H48.5V71.8002Z\" fill=\"#617BFF\"/></svg>\n                <span class=\"flex-1 ms-3 whitespace-nowrap\">Fortmatic</span>\n            </a>\n        </li>\n    </ul>\n    <div>\n    <a href=\"#\" class=\"inline-flex items-center text-sm text-body hover:underline tracking-normal\">\n        <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        Why do I need to connect my wallet?\n    </a>\n    </div>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/carousel.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Carousel - Flowbite\ndescription: Use the carousel component to slide through multiple elements and images using custom controls, indicators, intervals, and options\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Card\npreviousLink: components/card/\nnext: Chat bubble\nnextLink: components/chat-bubble/\n---\n\nThe carousel component can be used to cycle through a set of elements using custom options, controls, and indicators based on the JavaScript object from Flowbite.\n\n## Default slider\n\nThe carousel component can be initialized by using the `data-carousel={static|slide}` data attribute and by applying a unique `id` attribute to the parent element.\n\n-   `data-carousel=\"static\"` to prevent the carousel sliding by default\n-   `data-carousel=\"slide\"` to infinitely cycle through the items\n\nYou can add as many carousel items as you want, but make sure that you add the `data-carousel-item` data attribute to each of them and set a single item to active by applying the `active` value to the data attribute.\n\nUse the `duration-*` and the animation classes from Tailwind CSS to apply custom effects to the carousel items and don't forget to set the `hidden` class by default to prevent flickering.\n\n{{< example github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"default-carousel\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-base md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div class=\"absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse\">\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"true\" aria-label=\"Slide 1\" data-carousel-slide-to=\"0\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 2\" data-carousel-slide-to=\"1\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 3\" data-carousel-slide-to=\"2\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 4\" data-carousel-slide-to=\"3\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 5\" data-carousel-slide-to=\"4\"></button>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n## Controls\n\nUse the `data-carousel-prev` and `data-carousel-next` data attribute to listen to click events which will trigger the slide event from the carousel component to each direction.\n\nYou can customize the control elements with the classes from Tailwind CSS anyhow you want.\n\n{{< example github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"controls-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-base md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n## Indicators\n\nShow the carousel indicators by adding the `data-carousel-slide-to={position}` to any number or style of indicator elements where the value equals the position of the slider element.\n\n{{< example github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"indicators-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-base md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div class=\"absolute z-30 flex -translate-x-1/2 space-x-3 rtl:space-x-reverse bottom-5 left-1/2\">\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"true\" aria-label=\"Slide 1\" data-carousel-slide-to=\"0\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 2\" data-carousel-slide-to=\"1\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 3\" data-carousel-slide-to=\"2\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 4\" data-carousel-slide-to=\"3\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-base\" aria-current=\"false\" aria-label=\"Slide 5\" data-carousel-slide-to=\"4\"></button>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n## Animation\n\nYou can easily customize the duration and animation style of the carousel component by using the `duration-*` and `ease-*` utility classes from Tailwind CSS.\n\n{{< example github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"animation-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-base md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-base bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nUse the **Carousel** class from Flowbite to create an object that you can use to apply custom styles, change the active slide item, set callback functions directly from JavaScript.\n\n### Object parameters\n\nPass the object parameters for the Carousel object to set the carousel items and options.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"text-heading bg-neutral-secondary-soft\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">carouselElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Parent HTML element of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">items</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Array\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass an array of carousel item objects including the position and the element.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass an object of options to set the interval, indicators, and callback functions.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these options for the Carousel object to set the default position, interval, indicators, custom styles, and callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">defaultPosition</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the default active slider item based on its position (starts from [0-x]).\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">interval</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the interval duration in milliseconds when the carousel is cycling.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">indicators</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Array\n              </td>\n              <td class=\"px-6 py-4\">\n                 An optional object of indicator elements and custom classes.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onNext</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the next carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onPrev</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the previous carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onChange</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the position of the carousel item has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods on the Carousel object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">next()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go to the next slide of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">prev()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go to the previous slide of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">slideTo(position)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go the carousel with the position that you set as a parameter.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">cycle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to start cycling the carousel component based on the default interval duration.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">pause()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to stop the automatic cycling of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">getItem(position)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Get the carousel item based on the position number that you set as a parameter.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">getActiveItem()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Get the current active carousel item.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnNext(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the next carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnPrev(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the previous carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnChange(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the the slide item inside the carousel has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following example to learn how to programmatically create a new Carousel object by passing the parameters, using the methods, and the callback functions.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\nconst carouselElement = document.getElementById('carousel-example');\n\nconst items = [\n    {\n        position: 0,\n        el: document.getElementById('carousel-item-1'),\n    },\n    {\n        position: 1,\n        el: document.getElementById('carousel-item-2'),\n    },\n    {\n        position: 2,\n        el: document.getElementById('carousel-item-3'),\n    },\n    {\n        position: 3,\n        el: document.getElementById('carousel-item-4'),\n    },\n];\n\n// options with default values\nconst options = {\n    defaultPosition: 1,\n    interval: 3000,\n\n    indicators: {\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses:\n            'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n        items: [\n            {\n                position: 0,\n                el: document.getElementById('carousel-indicator-1'),\n            },\n            {\n                position: 1,\n                el: document.getElementById('carousel-indicator-2'),\n            },\n            {\n                position: 2,\n                el: document.getElementById('carousel-indicator-3'),\n            },\n            {\n                position: 3,\n                el: document.getElementById('carousel-indicator-4'),\n            },\n        ],\n    },\n\n    // callback functions\n    onNext: () => {\n        console.log('next slider item is shown');\n    },\n    onPrev: () => {\n        console.log('previous slider item is shown');\n    },\n    onChange: () => {\n        console.log('new slider item has been shown');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'carousel-example',\n  override: true\n};\n{{< /code >}}\n\nCreate a new carousel object using the options set above.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\nimport { Carousel } from 'flowbite';\n\nconst carousel = new Carousel(carouselElement, items, options, instanceOptions);\n{{< /code >}}\n\nUse the `next()` and `prev()` public methods on the carousel object to jump to the left or right carousel slide item based on the position of the current active item.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\n// goes to the next (right) slide\ncarousel.next();\n\n// goes to the previous (left) slide\ncarousel.prev();\n{{< /code >}}\n\nUse the `slideTo(position)` public method to jump to the carousel slide item with the specified position.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\n// jumps to the 3rd position (position starts from 0)\ncarousel.slideTo(2);\n{{< /code >}}\n\nUse the `cycle()` method to start an automated cycling where the duration is the milliseconds of time between each slide and the `pause()` method to clear the cycle event.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\n// starts or resumes the carousel cycling (automated sliding)\ncarousel.cycle();\n\n// pauses the cycling (automated sliding)\ncarousel.pause();\n{{< /code >}}\n\n### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above. Please note that you should use the `hidden` class from Tailwind CSS to hide the carousel items by default.\n\n{{< code lang=\"html\" file=\"carousel.html\" icon=\"file\" >}}\n<div id=\"carousel-example\" class=\"relative w-full\">\n    <!-- Carousel wrapper -->\n    <div\n        class=\"relative h-56 overflow-hidden rounded-base sm:h-64 xl:h-80 2xl:h-96\"\n    >\n        <!-- Item 1 -->\n        <div id=\"carousel-item-1\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-1.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 2 -->\n        <div id=\"carousel-item-2\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-2.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 3 -->\n        <div id=\"carousel-item-3\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-3.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 4 -->\n        <div id=\"carousel-item-4\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-4.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div\n        class=\"absolute bottom-5 left-1/2 z-30 flex -translate-x-1/2 space-x-3 rtl:space-x-reverse\"\n    >\n        <button\n            id=\"carousel-indicator-1\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-base\"\n            aria-current=\"true\"\n            aria-label=\"Slide 1\"\n        ></button>\n        <button\n            id=\"carousel-indicator-2\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-base\"\n            aria-current=\"false\"\n            aria-label=\"Slide 2\"\n        ></button>\n        <button\n            id=\"carousel-indicator-3\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-base\"\n            aria-current=\"false\"\n            aria-label=\"Slide 3\"\n        ></button>\n        <button\n            id=\"carousel-indicator-4\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-base\"\n            aria-current=\"false\"\n            aria-label=\"Slide 4\"\n        ></button>\n    </div>\n    <!-- Slider controls -->\n    <button\n        id=\"data-carousel-prev\"\n        type=\"button\"\n        class=\"group absolute left-0 top-0 z-30 flex h-full cursor-pointer items-center justify-center px-4 focus:outline-none\"\n    >\n        <span\n            class=\"inline-flex h-10 w-10 items-center justify-center rounded-base bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70\"\n        >\n            <svg\n                class=\"h-4 w-4 text-white dark:text-gray-800\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"none\"\n                viewBox=\"0 0 6 10\"\n            >\n                <path\n                    stroke=\"currentColor\"\n                    stroke-linecap=\"round\"\n                    stroke-linejoin=\"round\"\n                    stroke-width=\"2\"\n                    d=\"M5 1 1 5l4 4\"\n                />\n            </svg>\n            <span class=\"hidden\">Previous</span>\n        </span>\n    </button>\n    <button\n        id=\"data-carousel-next\"\n        type=\"button\"\n        class=\"group absolute right-0 top-0 z-30 flex h-full cursor-pointer items-center justify-center px-4 focus:outline-none\"\n    >\n        <span\n            class=\"inline-flex h-10 w-10 items-center justify-center rounded-base bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70\"\n        >\n            <svg\n                class=\"h-4 w-4 text-white dark:text-gray-800\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"none\"\n                viewBox=\"0 0 6 10\"\n            >\n                <path\n                    stroke=\"currentColor\"\n                    stroke-linecap=\"round\"\n                    stroke-linejoin=\"round\"\n                    stroke-width=\"2\"\n                    d=\"m1 9 4-4-4-4\"\n                />\n            </svg>\n            <span class=\"hidden\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /code >}}\n\nIf you want to set trigger the next or previous slide item for the any button, just add some event listeners and call the `next()` and `prev()` methods on the Carousel object.\n\n{{< code lang=\"javascript\" file=\"carousel.js\" icon=\"file\" >}}\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Carousel class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"carousel.ts\" icon=\"file\" >}}\nimport { Carousel } from 'flowbite';\nimport type {\n    CarouselItem,\n    CarouselOptions,\n    CarouselInterface,\n} from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst carouselElement: HTMLElement = document.getElementById('carousel-example');\n\nconst items: CarouselItem[] = [\n    {\n        position: 0,\n        el: document.getElementById('carousel-item-1'),\n    },\n    {\n        position: 1,\n        el: document.getElementById('carousel-item-2'),\n    },\n    {\n        position: 2,\n        el: document.getElementById('carousel-item-3'),\n    },\n    {\n        position: 3,\n        el: document.getElementById('carousel-item-4'),\n    },\n];\n\n// object options with default values\nconst options: CarouselOptions = {\n    defaultPosition: 1,\n    interval: 3000,\n\n    indicators: {\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses:\n            'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n        items: [\n            {\n                position: 0,\n                el: document.getElementById('carousel-indicator-1'),\n            },\n            {\n                position: 1,\n                el: document.getElementById('carousel-indicator-2'),\n            },\n            {\n                position: 2,\n                el: document.getElementById('carousel-indicator-3'),\n            },\n            {\n                position: 3,\n                el: document.getElementById('carousel-indicator-4'),\n            },\n        ],\n    },\n\n    // callback functions\n    onNext: () => {\n        console.log('next slider item is shown');\n    },\n    onPrev: () => {\n        console.log('previous slider item is shown');\n    },\n    onChange: () => {\n        console.log('new slider item has been shown');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'carousel-example',\n  override: true\n};\n\nconst carousel: CarouselInterface = new Carousel(carouselElement, items, options, instanceOptions);\n\ncarousel.cycle();\n\n// set event listeners for prev and next buttons\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n{{< /code >}}\n"
  },
  {
    "path": "content/components/chat-bubble.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Chat Bubble - Flowbite\ndescription: Use the chat bubble component to show chat messages in your web application including voice notes, images, galleries and other attachments based on multiple styles and variations\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Carousel\npreviousLink: components/carousel/\nnext: Clipboard\nnextLink: components/clipboard/\n---\n\nThe chat bubble component is the building block for creating chat interfaces where users can send messages to each other by text, voice notes, images, galleries and other attachments. These components are usually used in chat applications and social media platforms such as Facebook, Twitter/X, WhatsApp, and more.\n\nThe examples below provide multiple variations of default, outline, and clean styles coded with the utility classes from Tailwind CSS. Some of the components may require you to include the Flowbite JavaScript to enable the dropdowns and tooltips functionality.\n\n## Default chat bubble\n\nUse this example to show a simple chat bubble with a text message, user profile and a timestamp.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <p class=\"text-sm py-2.5 text-body\">That's awesome. I think our users will really appreciate the improvements.</p>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Voice note message\n\nThis example can be used to show a voice note message with control buttons and a dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-2.5 w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <button class=\"inline-flex self-center items-center text-body hover:text-heading\" type=\"button\">\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 9v6m4-6v6m7-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         </button>\n         <svg aria-hidden=\"true\" class=\"w-[145px] md:w-[185px] md:h-[40px] text-fg-brand\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n            <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"currentColor\"/>\n         </svg>\n         <span class=\"inline-flex self-center items-center text-sm font-medium text-heading\">3:42</span>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"shrink-0 inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## File attachment\n\nUse this example to send a file attachment inside a chat bubble with the ability to download the file.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n         <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n         </div>\n         <div class=\"flex items-start my-2.5 bg-neutral-tertiary rounded-base p-2\">\n            <div class=\"me-1.5\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-heading pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-heading gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"text-heading bg-neutral-tertiary box-border border border-transparent hover:bg-neutral-quaternary focus:ring-4 focus:ring-neutral-quaternary font-medium leading-5 rounded-base p-2 focus:outline-none\" type=\"button\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n               </button>\n            </div>\n         </div>\n         <span class=\"text-sm text-body\">Delivered</span>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Image attachment\n\nThis example can be used to show an image attachment with a download button when hovering over.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n         <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse mb-2\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n         </div>\n         <p class=\"text-sm text-body\">This is the new office <3</p>\n         <div class=\"group relative my-2.5\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none focus:ring-white\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-base\" />\n         </div>\n         <span class=\"text-sm text-body\">Delivered</span>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Image gallery\n\nUse this example to show an image gallery based on a grid layout with the ability to download images.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n         <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse mb-2\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n         </div>\n         <p class=\"text-sm text-body\">This is the new office <3</p>\n         <div class=\"grid gap-4 grid-cols-2 my-2.5\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-brand/90 hover:bg-brand/30 transition-all duration-300 rounded-base flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n         </div>\n         <div class=\"flex justify-between items-center\">\n            <span class=\"text-sm text-body\">Delivered</span>\n            <button class=\"text-sm text-fg-brand font-medium inline-flex items-center hover:underline\">\n               <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n               Save all\n            </button>\n         </div>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## URL preview sharing\n\nUse this example to show a OG preview of the URL that is being shared inside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"520\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <p class=\"text-sm py-2.5 text-body\">Check out this open-source UI component library based on Tailwind CSS:</p>\n      <p class=\"text-sm pb-2.5\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-fg-brand underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n      <a href=\"#\" class=\"bg-neutral-tertiary rounded-base p-4 mb-2 hover:bg-neutral-quaternary\">\n        <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-base mb-2\" />\n        <span class=\"text-sm font-medium text-heading\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n        <p class=\"text-xs text-body font-normal mt-2\">github.com</p>\n      </a>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Outline chat bubble\n\nUse this example to show a text message with the user profile and timestamp outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"370\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1 w-full max-w-[320px]\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex flex-col leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-bas\">\n         <p class=\"text-sm text-body\"> That's awesome. I think our users will really appreciate the improvements.</p>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Outline voice note\n\nThis example can be used to show a voice note with the user profile and timestamp outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"370\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col gap-1\">\n        <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n        </div>\n        <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n            <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n               <button class=\"inline-flex self-center items-center text-body hover:text-heading\" type=\"button\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 9v6m4-6v6m7-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n               </button>\n               <svg aria-hidden=\"true\" class=\"w-[145px] md:w-[185px] md:h-[40px] text-fg-brand\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                  <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"currentColor\"/>\n               </svg>\n               <span class=\"inline-flex self-center items-center text-sm font-medium text-heading\">3:42</span>\n            </div>\n        </div>\n        <span class=\"text-sm text-body\">Delivered</span>\n    </div>\n    <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n    </button>\n    <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n            <li>\n                <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n            </li>\n        </ul>\n    </div>\n</div>\n{{< /example >}}\n\n## Outline file attachment\n\nUse this example to show a file attachment with the user profile and timestamp outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n                 <div class=\"flex items-start my-2.5 bg-neutral-tertiary rounded-base p-2\">\n            <div class=\"me-1.5\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-heading pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-heading gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"text-heading bg-neutral-tertiary box-border border border-transparent hover:bg-neutral-quaternary focus:ring-4 focus:ring-neutral-quaternary font-medium leading-5 rounded-base p-2 focus:outline-none\" type=\"button\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n               </button>\n            </div>\n         </div>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Outline image attachment\n\nThis example can be used to send an image attachment with the user profile outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"460\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n        <p class=\"text-sm text-body\">I'm working from home today! 😅</p>\n        <div class=\"group relative my-2.5\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\"/>\n        </div>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Outline image gallery\n\nUse this example to show an image gallery with the user profile and timestamp outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-base\">\n        <p class=\"text-sm text-body\">I'm working from home today! 😅</p>\n        <div class=\"grid gap-4 grid-cols-2 my-2.5\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-brand/90 hover:bg-brand/30 transition-all duration-300 rounded-base flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n         </div>\n         <div class=\"flex justify-end items-center\">\n            <button class=\"text-sm text-fg-brand font-medium inline-flex items-center hover:underline\">\n               <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n               Save all\n            </button>\n         </div>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Outline URL preview sharing\n\nUse this example to show a URL preview with the user profile and timestamp outside the chat bubble.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"520\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1 w-full max-w-[320px]\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"flex flex-col leading-1.5 p-4 bg-neutral-secondary-soft rounded-e-base rounded-es-bas\">\n      <p class=\"text-sm py-2.5 text-body\">Check out this open-source UI component library based on Tailwind CSS:</p>\n      <p class=\"text-sm pb-2.5\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-fg-brand underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n      <a href=\"#\" class=\"bg-neutral-tertiary rounded-base p-4 mb-2 hover:bg-neutral-quaternary\">\n        <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-base mb-2\" />\n        <span class=\"text-sm font-medium text-heading\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n        <p class=\"text-xs text-body font-normal mt-2\">github.com</p>\n      </a>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center text-body hover:text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-tertiary focus:ring-4 focus:ring-neutral-tertiary rounded-base p-1.5 focus:outline-none\" type=\"button\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40 block hidden\">\n      <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Clean chat bubble\n\nUse this example to show a text message with the user profile and timestamp with a transparent background.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"180\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col w-full max-w-[320px] leading-1.5\">\n        <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n        </div>\n        <p class=\"text-sm py-2 text-heading\"> That's awesome. I think our users will really appreciate the improvements.</p>\n        <span class=\"text-sm text-body\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}\n\n## Clean voice note\n\nThis example can be used to show a voice note with a transparent background.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"180\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col gap-1\">\n        <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n        </div>\n        <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 py-2 rounded-e-base rounded-es-base\">\n            <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n               <button class=\"inline-flex self-center items-center text-body hover:text-heading\" type=\"button\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 9v6m4-6v6m7-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n               </button>\n               <svg aria-hidden=\"true\" class=\"w-[145px] md:w-[185px] md:h-[40px] text-fg-brand\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                  <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                  <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-quaternary\"/>\n                  <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"currentColor\"/>\n               </svg>\n               <span class=\"inline-flex self-center items-center text-sm font-medium text-heading\">3:42</span>\n            </div>\n        </div>\n        <span class=\"text-sm text-body\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}\n\n## Clean file attachment\n\nUse this example to show a file attachment and a download button with a transparent background.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"200\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <div class=\"flex items-start bg-neutral-secondary-soft rounded-xl p-2\">\n            <div class=\"me-1.5\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-heading pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-heading gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"text-heading bg-neutral-secondary-soft box-border border border-transparent hover:bg-neutral-quaternary focus:ring-4 focus:ring-neutral-quaternary font-medium leading-5 rounded-base p-2 focus:outline-none\" type=\"button\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n               </button>\n            </div>\n         </div>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n</div>\n{{< /example >}}\n\n## Clean image attachment\n\nThis example can be used to show an image and a download button with a transparent background.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <p class=\"text-sm text-body\">This is the new office <3</p>\n         <div class=\"group relative mt-2\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-base\" />\n         </div>\n      </div>\n      <span class=\"text-sm text-body\">Delivered</span>\n   </div>\n</div>\n{{< /example >}}\n\n## Clean image gallery\n\nUse this example to show an image gallery with a transparent background as a chat message.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"390\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n         <span class=\"text-sm text-body\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <p class=\"text-sm text-body\">This is the new office <3</p>\n         <div class=\"grid gap-4 grid-cols-2 mt-2\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-base flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                  <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-base\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-brand/90 hover:bg-brand/30 transition-all duration-300 rounded-base flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-base\" />\n            </div>\n         </div>\n      </div>\n      <div class=\"flex justify-between items-center\">\n        <span class=\"text-sm text-body\">Delivered</span>\n        <button class=\"text-sm text-fg-brand font-medium inline-flex items-center hover:underline\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n            Save all\n        </button>\n        </div>\n   </div>\n</div>\n{{< /example >}}\n\n## Clean URL preview sharing\n\nThis example can be used to show a URL preview with a transparent background.\n\n{{< example class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"450\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col w-full max-w-[320px] leading-1.5\">\n        <div class=\"flex items-center space-x-1.5 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-heading\">Bonnie Green</span>\n            <span class=\"text-sm text-body\">11:46</span>\n        </div>\n      <p class=\"text-sm py-2.5 text-body\">Check out this open-source UI component library based on Tailwind CSS:</p>\n      <p class=\"text-sm pb-2.5\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-fg-brand underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n      <a href=\"#\" class=\"bg-neutral-tertiary rounded-base p-4 mb-2 hover:bg-neutral-quaternary\">\n        <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-base mb-2\" />\n        <span class=\"text-sm font-medium text-heading\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n        <p class=\"text-xs text-body font-normal mt-2\">github.com</p>\n      </a>\n      <span class=\"text-sm text-body\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}"
  },
  {
    "path": "content/components/clipboard.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Copy to Clipboard - Flowbite\ndescription: Use the clipboard component to copy text, data or lines of code to the clipboard with a single click based on various styles and examples coded with Tailwind CSS and Flowbite\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Chat Bubble\npreviousLink: components/chat-bubble/\nnext: Datepicker\nnextLink: components/datepicker/\n---\n\nThe copy to clipboard component allows you to copy text, lines of code, contact details or any other data to the clipboard with a single click on a trigger element such as a button. This component can be used to copy text from an input field, textarea, code block or even address fields in a form element.\n\nUse cases for websites can be found in the examples below and they include copying code installation commands, API keys, URLs, addresses, contact details, sharing course URLs inside a modal and more. \n\nThese components are built with Tailwind CSS and Flowbite and can be found on the internet on websites such as Bitly, Cloudflare, Amazon AWS and almost all open-source projects and documentations.\n\n## Default copy to clipboard\n\nMake sure that you add the `data-copy-to-clipboard-target=\"elementID\"` data attribute to the trigger element (ie. the button) to initialize the JS behavior where the `elementID` is the ID of the element where the source text can be found (such as input field).\n\nUse this example to copy the content of an input text field by clicking on a button and update the button text by applying the JavaScript code from the tab below based on the `updateOnCopyCallback()` function callback from the Flowbite JS API.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install');\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n\n        // reset to default state\n        setTimeout(() => {\n            $defaultMessage.classList.remove('hidden');\n            $successMessage.classList.add('hidden');\n        }, 2000);\n    });\n})\n` >}}\n<div class=\"grid grid-cols-8 gap-2 w-full max-w-[23rem]\">\n    <label for=\"npm-install\" class=\"sr-only\">Label</label>\n    <input id=\"npm-install\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"npm install flowbite\" disabled readonly>\n    <button data-copy-to-clipboard-target=\"npm-install\" class=\"col-span-2 col-span-2 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm py-2.5 focus:outline-none sm:w-auto\">\n        <span id=\"default-message\">Copy</span>\n        <span id=\"success-message\" class=\"hidden\">\n            <div class=\"inline-flex items-center\">\n                <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n                Copied!\n            </div>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n## Input with copy button\n\nThis example can be used to copy the content of an input field by clicking on a button with an icon positioned inside the form element and also show a tooltip with a message when the text has been copied.\n\nIf you also want to update the text inside the tooltip and the icon, then you need to apply the JavaScript code based on the `updateOnCopyCallback()` function callback from the Flowbite JS API.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install-copy-button');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-copy-npm-install-copy-button');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-[16rem]\">\n    <div class=\"relative\">\n        <label for=\"npm-install-copy-button\" class=\"sr-only\">Label</label>\n        <input id=\"npm-install-copy-button\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"npm install flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"npm-install-copy-button\" data-tooltip-target=\"tooltip-copy-npm-install-copy-button\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-body hover:bg-neutral-quaternary rounded p-1.5 inline-flex items-center justify-center\">\n            <span id=\"default-icon\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            </span>\n            <span id=\"success-icon\" class=\"hidden\">\n                <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n            </span>\n        </button>\n        <div id=\"tooltip-copy-npm-install-copy-button\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            <span id=\"default-tooltip-message\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Copy button with text\n\nUse this example to show a copy button inside the input field with a text label and icon that updates to a success state when the text has been copied. Make sure that you also apply the custom JavaScript code below to enable the success and default message states.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install-copy-text');\n\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n    }\n\n    const resetToDefault = () => {\n        $defaultMessage.classList.remove('hidden');\n        $successMessage.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-[18rem]\">\n    <div class=\"relative\">\n        <label for=\"npm-install-copy-text\" class=\"sr-only\">Label</label>\n        <input id=\"npm-install-copy-text\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"npm install flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"npm-install-copy-text\" class=\"absolute flex items-center end-1.5 top-1/2 -translate-y-1/2 text-body bg-neutral-primary-strong border border-default-strong hover:bg-neutral-secondary-strong/70 hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n            <span id=\"default-message\">\n                <span class=\"flex items-center\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n                    <span class=\"text-xs font-semibold\">Copy</span>\n                </span>\n            </span>\n            <span id=\"success-message\" class=\"hidden\">\n                <span class=\"flex items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n                    <span class=\"text-xs font-semibold text-fg-brand\">Copied</span>\n                </span>\n            </span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Input group with copy\n\nThis example can be used to show a copy to clipboard button inside an input group which has a label positioned inside the input field. The icon inside the button will switch to a success state if you also apply the custom JavaScript code below.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'website-url');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-website-url');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-sm\">\n  <label for=\"website-url\" class=\"block mb-2.5 text-sm font-medium text-heading\">Verify your website:</label>\n  <div class=\"flex items-stretch rounded-base shadow-xs\">\n    <!-- Prefix -->\n    <span class=\"shrink-0 z-10 inline-flex items-center px-3 py-2.5 text-sm text-body bg-neutral-tertiary border border-default-medium border-e-0 rounded-s-base\">URL</span>\n    <!-- Input -->\n    <div class=\"relative w-full\">\n      <input id=\"website-url\" type=\"text\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-default-medium border-e-0 text-body text-sm focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" value=\"https://flowbite.com\" readonly disabled />\n    </div>\n    <!-- Button -->\n    <button data-tooltip-target=\"tooltip-website-url\" data-copy-to-clipboard-target=\"website-url\" type=\"button\" class=\"shrink-0 z-10 inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium font-medium rounded-e-base text-sm px-4 py-2.5 focus:outline-none border border-brand border-s-0\">\n      <span id=\"default-icon\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-3 5h3m-6 0h.01M12 16h3m-6 0h.01M10 3v4h4V3h-4Z\" /></svg>\n      </span>\n      <span id=\"success-icon\" class=\"hidden\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\" /></svg>\n      </span>\n    </button>\n    <!-- Tooltip -->\n    <div id=\"tooltip-website-url\" role=\"tooltip\"\n      class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      <span id=\"default-tooltip-message\">Copy link</span>\n      <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n  <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Security certificate is required for approval</p>\n</div>\n{{< /example >}}\n\n## URL shortener input group\n\nUse this example to copy a shortened URL to the clipboard by clicking on a button with an icon positioned inside the input field and also show a tooltip with a message when the text has been copied.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'url-shortener');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-url-shortener');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-sm\">\n    <label for=\"url-shortener\" class=\"block mb-2.5 text-sm font-medium text-heading\">Shorten URL:</label>\n  <div class=\"flex items-stretch shadow-xs rounded-base\">\n    <!-- Generate Button -->\n    <button class=\"shrink-0 z-10 inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium font-medium rounded-s-base text-sm px-4 py-2.5 focus:outline-none border border-brand\" type=\"button\">\n      Generate\n    </button>\n    <!-- Input -->\n    <div class=\"relative w-full\">\n      <input id=\"url-shortener\" type=\"text\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-default-medium border-s-0 border-e-0 text-body text-sm focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" value=\"https://bit.ly/3U2SXcF\" readonly disabled/>\n    </div>\n    <!-- Button -->\n    <button data-tooltip-target=\"tooltip-url-shortener\" data-copy-to-clipboard-target=\"url-shortener\" class=\"shrink-0 z-10 inline-flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium border-s-0 hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n      <span id=\"default-icon\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-3 5h3m-6 0h.01M12 16h3m-6 0h.01M10 3v4h4V3h-4Z\" /></svg>\n      </span>\n      <span id=\"success-icon\" class=\"hidden text-fg-brands\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\" /></svg>\n      </span>\n    </button>\n    <!-- Tooltip -->\n    <div id=\"tooltip-url-shortener\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      <span id=\"default-tooltip-message\">Copy link</span>\n      <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n  <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Make sure that your URL is valid</p>\n</div>\n{{< /example >}}\n\n## Copy source code block\n\nThis example can be used to copy and paste code inside a `<pre>` and `<code>` block by clicking on a button with an icon position inside the block and also show a tooltip with a message when the text has been copied.\n\nYou need to add an extra `data-copy-to-clipboard-content-type=\"innerHTML\"` data attribute to the trigger element (ie. the button) to specify that the content that is to be copied is from the `innerHTML` of the target element (ie. the code block). \n\nYou also need to add the `data-copy-to-clipboard-html-entities=\"true\"` option to the trigger element so that the copied text will be decoded from HTML entities to plain text that will work inside your code editor.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"480\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'code-block');\n\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n    }\n\n    const resetToDefault = () => {\n        $defaultMessage.classList.remove('hidden');\n        $successMessage.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-lg\">\n    <div class=\"mb-2 flex justify-between items-center\">\n        <p class=\"block mb-2.5 text-sm font-medium text-heading\">Card example with CTA button:</p>\n    </div>\n    <div class=\"relative bg-neutral-secondary-medium border border-default-medium rounded-base p-4 h-64\">\n        <div class=\"overflow-scroll max-h-full\">\n            <pre><code id=\"code-block\" class=\"text-sm text-body whitespace-pre\">&#x27;use client&#x27;;\n\nimport Link from &#x27;next/link&#x27;;\nimport { Navbar } from &#x27;flowbite-react&#x27;;\n\nfunction Component() {\n  return (\n    &#x3C;Navbar fluid rounded&#x3E;\n      &#x3C;Navbar.Brand as={Link} href=&#x22;https://flowbite-react.com&#x22;&#x3E;\n        &#x3C;img src=&#x22;/favicon.svg&#x22; className=&#x22;mr-3 h-6 sm:h-9&#x22; alt=&#x22;Flowbite React Logo&#x22; /&#x3E;\n        &#x3C;span className=&#x22;self-center whitespace-nowrap text-xl font-semibold dark:text-white&#x22;&#x3E;Flowbite React&#x3C;/span&#x3E;\n      &#x3C;/Navbar.Brand&#x3E;\n      &#x3C;Navbar.Toggle /&#x3E;\n      &#x3C;Navbar.Collapse&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22; active&#x3E;\n          Home\n        &#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link as={Link} href=&#x22;#&#x22;&#x3E;\n          About\n        &#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Services&#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Pricing&#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Contact&#x3C;/Navbar.Link&#x3E;\n      &#x3C;/Navbar.Collapse&#x3E;\n    &#x3C;/Navbar&#x3E;\n  );\n}\n</code></pre>\n        </div>\n    <div class=\"absolute top-2 end-2\">\n        <button data-copy-to-clipboard-target=\"code-block\" data-copy-to-clipboard-content-type=\"innerHTML\" data-copy-to-clipboard-html-entities=\"true\" class=\"flex items-center text-body bg-neutral-primary-strong border border-default-strong hover:bg-neutral-secondary-strong/70 hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n            <span id=\"default-message\">\n                <span class=\"flex items-center\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n                    <span class=\"text-xs font-semibold\">Copy</span>\n                </span>\n            </span>\n            <span id=\"success-message\" class=\"hidden\">\n                <span class=\"flex items-center\">\n                    <svg class=\"w-4 h-4 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n                    <span class=\"text-xs font-semibold text-fg-brand\">Copied</span>\n                </span>\n            </span>\n        </button>\n    </div>\n    </div>\n    <p class=\"mt-2.5 text-sm text-body\">Configure Tailwind CSS and Flowbite before copying the code</p>\n</div>\n{{< /example >}}\n\n## Card with API keys\n\nUse this example to show multiple input field elements that have the copy to clipboard button inside a card component for more complex applications where you need to copy API keys, account IDs and more.\n\nMake sure that you also apply the custom JavaScript code with the function callback to enable the success and default message states for each input field and copy button.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"580\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboardAccountID = FlowbiteInstances.getInstance('CopyClipboard', 'account-id');\n    const clipboardExternalID = FlowbiteInstances.getInstance('CopyClipboard', 'api-key');\n    const clipboardRoleARN = FlowbiteInstances.getInstance('CopyClipboard', 'role-arn');\n\n    const tooltipAccountID = FlowbiteInstances.getInstance('Tooltip', 'tooltip-account-id');\n    const tooltipExternalID = FlowbiteInstances.getInstance('Tooltip', 'tooltip-api-key');\n    const tooltipRoleARN = FlowbiteInstances.getInstance('Tooltip', 'tooltip-role-arn');\n\n    const clipboards = [\n        {\n            clipboard: clipboardAccountID,\n            tooltip: tooltipAccountID,\n            defaultMessage: document.getElementById('default-tooltip-message-account-id'),\n            successMessage: document.getElementById('success-tooltip-message-account-id'),\n            defaultIcon: document.getElementById('default-icon-account-id'),\n            successIcon: document.getElementById('success-icon-account-id')\n        },\n        {\n            clipboard: clipboardExternalID,\n            tooltip: tooltipExternalID,\n            defaultMessage: document.getElementById('default-tooltip-message-api-key'),\n            successMessage: document.getElementById('success-tooltip-message-api-key'),\n            defaultIcon: document.getElementById('default-icon-api-key'),\n            successIcon: document.getElementById('success-icon-api-key')\n        },\n        {\n            clipboard: clipboardRoleARN,\n            tooltip: tooltipRoleARN,\n            defaultMessage: document.getElementById('default-tooltip-message-role-arn'),\n            successMessage: document.getElementById('success-tooltip-message-role-arn'),\n            defaultIcon: document.getElementById('default-icon-role-arn'),\n            successIcon: document.getElementById('success-icon-role-arn')\n        }\n    ]\n\n    clipboards.forEach((item) => {\n        item.clipboard.updateOnCopyCallback(() => {\n            showSuccess(item.defaultMessage, item.successMessage);\n            showSuccess(item.defaultIcon, item.successIcon);\n            item.tooltip.show();\n\n            // reset to default state\n            setTimeout(() => {\n                resetToDefault(item.defaultMessage, item.successMessage);\n                resetToDefault(item.defaultIcon, item.successIcon);\n                item.tooltip.hide();\n            }, 2000);\n        })\n    })\n\n    const showSuccess = ($defaultEl, $successEl) => {\n        $defaultEl.classList.add('hidden');\n        $successEl.classList.remove('hidden');\n    }\n\n    const resetToDefault = ($defaultEl, $successEl) => {\n        $defaultEl.classList.remove('hidden');\n        $successEl.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-lg bg-neutral-primary-soft border border-default shadow-xs rounded-base p-4 sm:p-6\">\n    <h2 class=\"text-lg font-semibold text-heading mb-2\">Create a role with read only in-line policies</h2>\n    <p class=\"text-body mb-6\">To give Flowbite read access, please create an IAM Role following <a href=\"#\" class=\"text-fg-brand underline hover:no-underline font-medium\">trust relationship</a> and <a href=\"#\" class=\"text-fg-brand underline hover:no-underline font-medium\">inline policy</a>.</p>\n    <label for=\"account-id\" class=\"block mb-2.5 text-sm font-medium text-heading mb-2 block\">Flowbite account ID:</label>\n    <div class=\"relative mb-4\">\n        <input id=\"account-id\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"756593826\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"account-id\" data-tooltip-target=\"tooltip-account-id\" class=\"absolute end-1.5 top-1/2 -translate-y-1/2 text-body hover:bg-neutral-quaternary hover:text-heading rounded p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-account-id\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            </span>\n            <span id=\"success-icon-account-id\" class=\"hidden\">\n                <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n            </span>\n        </button>\n        <div id=\"tooltip-account-id\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            <span id=\"default-tooltip-message-account-id\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-account-id\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <label for=\"api-key\" class=\"block mb-2.5 text-sm font-medium text-heading mb-2 block\">API key:</label>\n    <div class=\"relative mb-4\">\n        <input id=\"api-key\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"f4h6sd3t-jsy63ind-hsgdt7rs-jdhf76st\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"api-key\" data-tooltip-target=\"tooltip-api-key\" class=\"absolute end-1.5 top-1/2 -translate-y-1/2 text-body hover:bg-neutral-quaternary hover:text-heading rounded p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-api-key\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            </span>\n            <span id=\"success-icon-api-key\" class=\"hidden\">\n                <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n            </span>\n        </button>\n        <div id=\"tooltip-api-key\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            <span id=\"default-tooltip-message-api-key\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-api-key\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <label for=\"role-arn\" class=\"block mb-2.5 text-sm font-medium text-heading mb-2 block\">Role ARN:</label>\n    <div class=\"relative mb-6\">\n        <input id=\"role-arn\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"123456789012:user/Flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"role-arn\" data-tooltip-target=\"tooltip-role-arn\" class=\"absolute end-1.5 top-1/2 -translate-y-1/2 text-body hover:bg-neutral-quaternary hover:text-heading rounded p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-role-arn\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            </span>\n            <span id=\"success-icon-role-arn\" class=\"hidden\">\n                <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n            </span>\n        </button>\n        <div id=\"tooltip-role-arn\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            <span id=\"default-tooltip-message-role-arn\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-role-arn\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Cancel</button>\n        <button type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Next step</button>\n    </div>\n</div>\n{{< /example >}}\n\n## Copy contact details\n\nThis example can be used to copy the text content (ie. contact details) inside of the `<address>` field by clicking on the copy to clipboard button positioned inside of the address card.\n\nMake sure that you set the `data-copy-to-clipboard-content-type=\"textContent\"` data attribute to the trigger element (ie. the button) to specify the source of the content that is to be copied.\n\n{{< example class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"380\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'contact-details');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-contact-details');\n\n    const $defaultIcon = document.getElementById('default-icon-contact-details');\n    const $successIcon = document.getElementById('success-icon-contact-details');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message-contact-details');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message-contact-details');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-md bg-neutral-primary-soft border border-default shadow-xs rounded-base p-4 sm:p-6\">\n    <h2 class=\"text-lg font-semibold text-heading mb-4\">Contact details</h2>\n    <address class=\"relative bg-neutral-secondary-medium p-4 rounded-base border border-default-medium font-italic grid grid-cols-2\">\n        <div class=\"space-y-2 text-body leading-loose hidden sm:block\">\n            Name <br />\n            Email <br />\n            Phone Number\n        </div>\n        <div id=\"contact-details\" class=\"space-y-2 text-heading font-medium leading-loose\">\n            Bonnie Green <br />\n            name@flowbite.com <br />\n            + 12 345 67890\n        </div>\n        <button data-copy-to-clipboard-target=\"contact-details\" data-copy-to-clipboard-content-type=\"textContent\" data-tooltip-target=\"tooltip-contact-details\" class=\"absolute end-2 top-2 text-body hover:bg-neutral-quaternary hover:text-heading rounded-base p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-contact-details\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            </span>\n            <span id=\"success-icon-contact-details\" class=\"hidden\">\n                <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n            </span>\n        </button>\n        <div id=\"tooltip-contact-details\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            <span id=\"default-tooltip-message-contact-details\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-contact-details\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </address>\n</div>\n{{< /example >}}\n\n## Copy button with modal\n\nUse this example to show an input field where you can copy the URL of the current page and also show a modal with the copied URL when the copy button is clicked.\n\n{{< example class=\"bg-neutral-primary flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"580\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'course-url');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-course-url');\n\n    const $defaultIcon = document.getElementById('default-icon-course-url');\n    const $successIcon = document.getElementById('success-icon-course-url');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message-course-url');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message-course-url');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<button type=\"button\" data-modal-target=\"course-modal\" data-modal-toggle=\"course-modal\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n    Share course\n</button>\n\n<!-- Main modal -->\n<div id=\"course-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-lg max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft rounded-base shadow-xs border border-default\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5\">\n                <h3 class=\"text-lg text-heading font-medium\">\n                    Share course\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm h-8 w-8 ms-auto inline-flex justify-center items-center\" data-modal-toggle=\"course-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"px-4 pb-4 md:px-5 md:pb-5\">\n                <label for=\"course-url\" class=\"block mb-2.5 text-sm font-medium text-heading\">Share the course link below with your friends:</label>\n                <div class=\"relative mb-4\">\n                    <input id=\"course-url\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"https://flowbite.com/docs/components/alerts/\" disabled readonly>\n                    <button data-copy-to-clipboard-target=\"course-url\" data-tooltip-target=\"tooltip-course-url\" class=\"absolute end-1.5 top-1/2 -translate-y-1/2 text-body bg-neutral-secondary-medium hover:bg-neutral-quaternary hover:text-heading rounded p-2 inline-flex items-center justify-center\">\n                        <span id=\"default-icon-course-url\">\n                            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n                        </span>\n                        <span id=\"success-icon-course-url\" class=\"hidden\">\n                            <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n                        </span>\n                    </button>\n                    <div id=\"tooltip-course-url\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n                        <span id=\"default-tooltip-message-course-url\">Copy to clipboard</span>\n                        <span id=\"success-tooltip-message-course-url\" class=\"hidden\">Copied!</span>\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <button type=\"button\" data-modal-hide=\"course-modal\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Close</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nUse the **CopyClipboard** object from the Flowbite JS API to create a component with a trigger element (ie. an input field, code blocks, address tag) and target element (ie. button or text) where the content of the target element is copied to the clipboard when the trigger element is clicked.\n\n### Object parameters\n\nUse the object parameters from the CopyClipboard object to set options such as the content type of the text that is to be copied (ie. value of an input field, text content or inner HTML) and other options.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the trigger element (ie. a button or text) that will trigger the copy to clipboard event when being clicked.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the target element where the text that will be copied to the clipboard is located (ie. an input field, code block, address tag).\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to set the the content type, HTML decoder and callback function for the copy to clipboard event.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these optional options for the CopyClipboard object to set the content type from where the text will be copied from, an optional HTML decoder for code blocks and function callbacks to set success and default messages.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">contentType</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the source of the text that will be copied: input (default), innerHTML or textContent.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">htmlEntities</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set this option to true if you want to decode the HTML entities for code blocks. Default is false.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onCopy</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the text has been copied to the clipboard.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods from the CopyClipboard component to programmatically work with the component such as copying the text on demand or updating the callback function.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">getTargetValue()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                 Get the value of the target element (ie. input field, code block, address tag).\n              </td>\n          </tr>\n        <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">copy()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this method to copy the text from the target element to the clipboard.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">decodeHTML()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to decode the HTML entities from the target element.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnCopyCallback(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to update the callback function that is called when the text has been copied to the clipboard.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following example to learn how to create a new CopyClipboard component via the Flowbite JavaScript API and set up the class, options, and methods to programmatically work with the component.\n\n{{< code lang=\"javascript\" file=\"clipboard.js\" icon=\"file\" >}}\n// set the trigger element such as a button or text field\nconst $triggerEl = document.getElementById('copy-clipboard-button');\n\n// set the trigger element such as an input field or code block\nconst $targetEl = document.getElementById('copy-text');\n\n// optional options with default values and callback functions\nconst options = {\n    contentType: 'input',\n    htmlEntities: false, // infinite\n    onCopy: () => {\n        console.log('text copied successfully!');\n    }\n};\n\nconst instanceOptions = {\n  id: 'copy-clipboard-example',\n  override: true\n};\n{{< /code >}}\n\nNext step is to create a new instance of a CopyClipboard object using the parameters we have set above.\n\n{{< code lang=\"javascript\" file=\"clipboard.js\" icon=\"file\" >}}\nimport { CopyClipboard } from 'flowbite';\n\n/*\n * $triggerEl: required\n * $targetEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst clipboard = new CopyClipboard($triggerEl, $targetEl, options, instanceOptions);\n{{< /code >}}\n\nSet the event listeners on the button to copy the text from the input field:\n\n{{< code lang=\"javascript\" file=\"clipboard.js\" icon=\"file\" >}}\n$triggerEl.addEventListener('click', () => {\n    clipboard.copy();\n});\n{{< /code >}}\n\nNow you can programmatically call the methods of the CopyClipboard component:\n\n{{< code lang=\"javascript\" file=\"clipboard.js\" icon=\"file\" >}}\n// get the value, inner HTML or text content of the target element\nclipboard.getTargetValue();\n\n// copy the target element text value\nclipboard.copy();\n\n// update the on copy function callback\nclipboard.updateOnCopyCallback(() => {\n    // do something when the text has been copied to the clipboard\n    console.log('updated on copy callback success message');\n});\n{{< /code >}}\n\n### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"clipboard.html\" icon=\"file\" >}}\n<div class=\"grid grid-cols-8 gap-2 w-full max-w-[23rem]\">\n    <label for=\"copy-text\" class=\"sr-only\">Label</label>\n    <input id=\"copy-text\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-base focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"npm install flowbite\" disabled readonly>\n    <button id=\"copy-clipboard-button\" class=\"col-span-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-base text-sm w-full sm:w-auto py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 items-center inline-flex justify-center\">\n        <span id=\"default-message\">Copy</span>\n        <span id=\"success-message\" class=\"hidden inline-flex items-center\">\n            <svg class=\"w-3 h-3 text-white me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n            </svg>\n            Copied!\n        </span>\n    </button>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the CopyClipboard object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"clipboard.ts\" icon=\"file\" >}}\nimport { CopyClipboard } from 'flowbite';\nimport type { CopyClipboardOptions, CopyClipboardInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the trigger element which will be clicked (ie. a button or text)\nconst $triggerEl: HTMLElement = document.getElementById('copy-clipboard-button') as HTMLElement;\n\n// set the target element where the text will be copied from (ie. input field, code block)\nconst $targetEl: HTMLInputElement = document.getElementById('copy-text') as HTMLInputElement;\n\n// optional options with default values and callback functions\nconst options: CopyClipboardOptions = {\n    contentType: 'input',\n    htmlEntities: false, // infinite\n    onCopy: () => {\n        console.log('text copied successfully!');\n    }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'copy-clipboard-example',\n  override: true\n};\n\n/*\n * $triggerEl: required\n * $targetEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst clipboard: CopyClipboardInterface = new CopyClipboard(\n    $triggerEl,\n    $targetEl,\n    options,\n    instanceOptions\n);\n\n// copy the value of the target element\nclipboard.copy();\n{{< /code >}}"
  },
  {
    "path": "content/components/datepicker.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Datepicker - Flowbite\ndescription: Start receiving date and time data from your users using this free datepicker element based on Tailwind utility-classes and vanilla JavaScript\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Clipboard\npreviousLink: components/clipboard/\nnext: Device mockups\nnextLink: components/device-mockups/\n---\n\nThe Tailwind CSS datepicker component developed by Flowbite is built with vanilla JavaScript and using the utility-first classes from Tailwind. The datepicker features both inline and a date range picker functionality and some extra options such as autohide, custom format, positioning, and more. Check out the [timepicker component](https://flowbite.com/docs/forms/timepicker/) to select time alongside dates.\n\n## Getting started\n\nIf you want to use the datepicker component from Flowbite you have to include the Flowbite JavaScript file either via NPM or CDN. For versions before `2.4.0` please continue using the dedicated CDN and component.\n\nFollow the [quickstart guide]({{< ref \"getting-started/quickstart\" >}}) and then include the following JavaScript file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nAlternatively you can also use CDN to include the datepicker JavaScript.\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nAlso make sure that you add the source files for Tailwind in your main CSS file:\n\n{{< code lang=\"css\" file=\"style.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@source \"../node_modules/flowbite-datepicker\";\n{{< /code >}}\n\nIf you'd like to manually be able to manipulate the datepicker component using JavaScript then you should <a href=\"#javascript\">install the component using NPM</a> and include it into your JavaScript code.\n\n## Datepicker example\n\nUse the following example of an input element to create a datepicker component. All you need to do is to add the `datepicker` data attribute to any `input` element.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"500\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input datepicker id=\"default-datepicker\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n## Inline datepicker\n\nUse the `inline-datepicker` and `data-date` data attributes to initialize and set the default date for an inline datepicker inside a block element such as a `div`.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true initDatepicker=true >}}\n<div id=\"datepicker-inline\" inline-datepicker data-date=\"02/25/2024\"></div>\n{{< /example >}}\n\n## Date range picker\n\nUse the `date-rangepicker` data attribute and the following markup to initialize two datepickers as a range.\n\n{{< example class=\"flex justify-center \" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div id=\"date-range-picker\" date-rangepicker class=\"flex items-center\">\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n    </div>\n    <input id=\"datepicker-range-start\" name=\"start\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date start\">\n  </div>\n  <span class=\"mx-4 text-body\">to</span>\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n    </div>\n    <input id=\"datepicker-range-end\" name=\"end\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date end\">\n</div>\n</div>\n{{< /example >}}\n\n## Options\n\nLearn more about the options that you can use with the Tailwind datepicker to enable features such as autohide, action buttons, date format, orientation, and more based on the vanilla JavaScript from Flowbite.\n\n### Autohide\n\nUse the `datepicker-autohide` data attribute to make the datepicker disappear right after selecting a date.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-autohide\" datepicker datepicker-autohide type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Action buttons\n\nBy adding the `datepicker-buttons` data attribute you will enable the `today` and `clear` buttons:\n\n- clicking on the `today` button will browse back to the current day/month/year\n- clicking on the `clear` button will reset all selections\n\nIf you want the button to additionally select today's date, add `datepicker-autoselect-today` data attribute.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"530\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-actions\" datepicker datepicker-buttons datepicker-autoselect-today type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Date format\n\nIf you want to use a custom format such as `mm-dd-yyyy`then you can use the `datepicker-format=\"{format}\"` data attribute to change it.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-format\" datepicker datepicker-format=\"mm-dd-yyyy\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Max and min dates\n\nUse the `datepicker-min-date={format}` and `datepicker-max-date={format}` to set the minimum and maximum dates that can be selected inside the datepicker.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-format\" datepicker datepicker-min-date=\"06/04/2024\" datepicker-max-date=\"05/05/2025\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Orientation\n\nYou can override the default positioning algorithm by using the `datepicker-orientation=\"{top|right|bottom|left}\"` data attributes. You can even combine right with bottom or left with top.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-orientation\" datepicker datepicker-orientation=\"bottom right\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Title\n\nYou can also add a title to the datepicker by using the `datepicker-title=\"{title}\"` data attribute.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"530\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n  </div>\n  <input id=\"datepicker-title\" datepicker datepicker-title=\"Flowbite datepicker\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n### Custom colors\n\nYou can set the `primary` color class which is by default set to blue to add your own colors.\n\n### Language (i18n)\n\nWe are working on the API to provide language support for the datepicker. \n\nUntil then, please refer to this [solution from GitHub](https://github.com/themesberg/flowbite/issues/32#issuecomment-1420422922).\n\n## Timepicker\n\nUse the native browser timepicker input field to select a time alongside the datepicker. Check out more examples on the [timepicker](https://flowbite.com/docs/forms/timepicker/) component page from Flowbite.\n\n{{< example github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        </div>\n        <input type=\"time\" id=\"time\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n    </div>\n</form>\n{{< /example >}}\n\n## Dark mode\n\nIf you would like to enable dark mode for the datepicker please follow the [dark mode]({{< ref \"customize/dark-mode\" >}}) guide on Flowbite and enable it either manually or by using a dark mode switcher.\n\n## JavaScript Behaviour\n\nUse the **Tailwind CSS Datepicker** component from Flowbite to select a date or range of dates based on the Datepicker API and configure the component using the methods and options that you can pass when creating the object using JavaScript.\n\n### Object parameters\n\nUse the object parameters from the Datepicker component to set the datepicker parent input element and the options associated with it when creating a new instance.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">datepickerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the main HTML element that will be rendered for the datepicker. It can be an input element or a `div` for inline rendering.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use the options parameter to set custom datepicker options such as the default date, minimum and maximum values, action buttons and callback functions.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these optional options for the Datepicker object to set options such as the date format, orientation, max and min dates, custom buttons, callback functions and more.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">rangePicker</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Boolean\n              </td>\n              <td class=\"px-6 py-4\">\n                  If set to true then the datepicker will be converted to a date range picker. By default it's false.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">format</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this option to set a custom format for the datepicker. By default it's `mm/dd/yyyy`.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">maxDate</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this option to set the maximum selectable date of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">minDate</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this option to set the minimum selectable date of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">orientation</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set the orientation of the datepicker component when it's not inline. It can be top, bottom, left, or right.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">buttons</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Boolean\n              </td>\n              <td class=\"px-6 py-4\">\n                 If set to true then the \"today\" and \"clear\" action buttons will be shown that lets you select today's date or clear selections.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">autoSelectToday</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                 If set to 1 then it will automatically have today's date preselected.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">title</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set a custom title for the datepicker component. By default it's null.\n              </td>\n          </tr>\n          <!-- <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">language</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set the language of the datepicker using country codes like `es`, `fr`, or `de`. By default it's set to english.\n              </td>\n          </tr> -->\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods of the Datepicker object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n        <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">getDate()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the currenctly select date from the datepicker.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">setDate()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set the date value of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">show()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this function to programatically show the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this function to programatically hide the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">getDatepickerInstance()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the parent datepicker instance with the extended collection of methods and options.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the datepicker component has been shown.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the datepicker component has been hidden.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following examples to learn how to use a basic HTML markup together with the Flowbite Datepicker API JS.\n\nFirst of all, you need to select the datepicker element (it can be an input field or div for inline datepickers) and set up the options object.\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\n// set the target element of the input field\nconst $datepickerEl = document.getElementById('datepicker-custom');\n\n// optional options with default values and callback functions\nconst options = {\n    defaultDatepickerId: null,\n    autohide: false,\n    format: 'mm/dd/yyyy',\n    maxDate: null,\n    minDate: null,\n    orientation: 'bottom',\n    buttons: false,\n    autoSelectToday: false,\n    title: null,\n    rangePicker: false,\n    onShow: () => {},\n    onHide: () => {},\n};\n\nconst instanceOptions = {\n  id: 'datepicker-custom-example',\n  override: true\n};\n{{< /code >}}\n\nNext step is to create a new instance of a Datepicker object using the parameters we have set above.\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\nimport { Datepicker } from 'flowbite';\n\n/*\n * $datepickerEl: required\n * options: optional\n */\nconst datepicker = new Datepicker($datepickerEl, options, instanceOptions);\n{{< /code >}}\n\nUse the following methods to show and hide the datepicker, set or get the currently selected date and get access to the instance.\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\n// get the currently selected date (undefined if not selected)\ndatepicker.getDate();\n\n// set the date (or dates if date range picker)\ndatepicker.setDate('05/31/2024');\n\n// programatically show the datepicker\ndatepicker.show();\n\n// programatically hide the datepicker\ndatepicker.hide();\n\n// use this method to get the parent datepicker instance from https://mymth.github.io/vanillajs-datepicker/#/\ndatepicker.getDatepickerInstance();\n{{< /code >}}\n\n### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"datepicker.html\" icon=\"file\" >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n    </svg>\n  </div>\n  <input id=\"datepicker-custom\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Datepicker object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"datepicker.ts\" icon=\"file\" >}}\nimport { Datepicker } from 'flowbite';\nimport type { DatepickerOptions, DatepickerInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element of the input field or div\nconst $datepickerEl: HTMLInputElement = document.getElementById('datepicker-custom') as HTMLInputElement;\n\n// optional options with default values and callback functions\nconst options: DatepickerOptions = {\n    defaultDatepickerId: null,\n    autohide: false,\n    format: 'mm/dd/yyyy',\n    maxDate: null,\n    minDate: null,\n    orientation: 'bottom',\n    buttons: false,\n    autoSelectToday: 0,\n    title: null,\n    rangePicker: false,\n    onShow: () => {},\n    onHide: () => {},\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'datepicker-custom-example',\n  override: true\n};\n\n/*\n * $datepickerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst datepicker: DatepickerInterface = new Datepicker(\n    $datepickerEl,\n    options,\n    instanceOptions\n);\n\n// get the currently selected date (undefined if not selected)\ndatepicker.getDate();\n\n// set the date (or dates if date range picker)\ndatepicker.setDate('05/31/2024');\n\n// programatically show the datepicker\ndatepicker.show();\n\n// programatically hide the datepicker\ndatepicker.hide();\n\n// use this method to get the parent datepicker instance from https://mymth.github.io/vanillajs-datepicker/#/\ndatepicker.getDatepickerInstance();\n{{< /code >}}\n\n### Parent library\n\nIf you want to directly use the main Datepicker component instance you can either install it via NPM and import it or use the `getDatepickerInstance()` method using our Instance Manager to call all of the extra options and methods from the [parent plugin library](https://github.com/themesberg/flowbite-datepicker):\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite-datepicker --save\n{{< /code >}}\n\nAfter you've installed the NPM library, you will need to import the `Datepicker` module:\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\nimport Datepicker from 'flowbite-datepicker';\n{{< /code >}}\n\nInitialize a new element using the `Datepicker` constructor and optionally add your own options based on your needs:\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\nconst datepickerEl = document.getElementById('datepickerId');\nnew Datepicker(datepickerEl, {\n    // options\n}); \n{{< /code >}}\n\nIf you want to use the **Tailwind Date Range Picker** you have to import the `DateRangePicker` module:\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\nimport DateRangePicker from 'flowbite-datepicker';\n{{< /code >}}\n\nThen in the same fashion you can initialize a date range picker component by using the `DateRangePicker` constructor:\n\n{{< code lang=\"javascript\" file=\"datepicker.js\" icon=\"file\" >}}\nconst dateRangePickerEl = document.getElementById('dateRangePickerId');\nnew DateRangePicker(dateRangePickerEl, {\n    // options\n}); \n{{< /code >}}\n\n### React support\n\nOne of our community members built the React version of the Flowbite Datepicker and you can learn more about it on <a href=\"https://github.com/OMikkel/tailwind-datepicker-react\" rel=\"nofollow\">this repository on GitHub</a>.\n\n### Turbo load support \n\nIn order to support turbo load from Ruby on Rails 7, you have to include the `flowbite.turbo.js` file either from NPM or CDN into your project.\n\nFollow the [quickstart guide]({{< ref \"getting-started/rails\" >}}) and then include the following JavaScript file:\n\n{{< code lang=\"ruby\" file=\"Gemfile\" icon=\"file\" >}}\npin \"flowbite\", to: \"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.turbo.min.js\"\n{{< /code >}}\n\nDon't forget to also import it inside your `application.js` file:\n\n{{< code lang=\"javascript\" file=\"application.js\" icon=\"file\" >}}\nimport \"flowbite/dist/flowbite.turbo.js\";\n{{< /code >}}\n"
  },
  {
    "path": "content/components/device-mockups.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Device Mockups - Flowbite\ndescription: Use the device mockups component to add content and screenshot previews of your application inside phone and tablet frames coded with Tailwind CSS and Flowbite\ngroup: components\ntoc: true\n\nprevious: Datepicker\npreviousLink: components/datepicker/\nnext: Drawer\nnextLink: components/drawer/\n---\n\nThe device mockup component can be used to feature a preview and screenshot of your application as if you would already use it on a mobile phone and it's a great use case for hero and CTA sections.\n\nThis component is built using only the utility classes from Tailwind CSS and has built-in dark mode support so it's easy to customize, it loads very fast and integrates perfectly with Tailwind CSS and Flowbite.\n\nYou can choose from multiple examples of mockups including phone, tablet, laptop, and even desktop devices with iOS or Android support.\n\n## Default mockup\n\nUse this example to show a standard phone mockup based on Tailwind CSS and add your app screenshot inside of it with dark mode support included.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[14px] rounded-[2.5rem] h-[600px] w-[300px]\">\n    <div class=\"h-[32px] w-[3px] bg-base absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-base absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n## iPhone 12 mockup (iOS)\n\nUse this example to clearly show that the preview of your application is being used on an iPhone with iOS.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[14px] rounded-[2.5rem] h-[600px] w-[300px] shadow-xl\">\n    <div class=\"w-[148px] h-[18px] bg-base top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-base absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-2-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-2-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n## Google Pixel (Android)\n\nUse this alternative phone mockup example if you want to feature previews for android gadgets.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[14px] rounded-xl h-[600px] w-[300px] shadow-xl\">\n    <div class=\"w-[148px] h-[18px] bg-base top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute\"></div>\n    <div class=\"h-[32px] w-[3px] bg-base absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-base absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-xl overflow-hidden w-[272px] h-[572px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n## Tablet mockup\n\nThis component can be used to show an application preview inside of a responsive tablet mockup.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[14px] rounded-[2.5rem] h-[454px] max-w-[341px] md:h-[682px] md:max-w-[512px]\">\n    <div class=\"h-[32px] w-[3px] bg-base absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-base absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden h-[426px] md:h-[654px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/tablet-mockup-image.png\" class=\"dark:hidden h-[426px] md:h-[654px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/tablet-mockup-image-dark.png\" class=\"hidden dark:block h-[426px] md:h-[654px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n## Laptop mockup\n\nThis example can be used to show a screenshot of your application inside a laptop mockup.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[8px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]\">\n    <div class=\"rounded-lg overflow-hidden h-[156px] md:h-[278px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/laptop-screen.png\" class=\"dark:hidden h-[156px] md:h-[278px] w-full rounded-lg\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/laptop-screen-dark.png\" class=\"hidden dark:block h-[156px] md:h-[278px] w-full rounded-lg\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-base rounded-b-xl rounded-t-sm h-[17px] max-w-[351px] md:h-[21px] md:max-w-[597px]\">\n    <div class=\"absolute left-1/2 top-0 -translate-x-1/2 rounded-b-xl w-[56px] h-[5px] md:w-[96px] md:h-[8px] bg-base\"></div>\n</div>\n{{< /example >}}\n\n## Desktop mockup\n\nUse this example to show a preview of your application inside a desktop device such as an iMac.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base border-[16px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]\">\n    <div class=\"rounded-xl overflow-hidden h-[140px] md:h-[262px]\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/screen-image-imac.png\" class=\"dark:hidden h-[140px] md:h-[262px] w-full rounded-xl\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/screen-image-imac-dark.png\" class=\"hidden dark:block h-[140px] md:h-[262px] w-full rounded-xl\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-base rounded-b-xl h-[24px] max-w-[301px] md:h-[42px] md:max-w-[512px]\"></div>\n<div class=\"relative mx-auto bg-base rounded-b-xl h-[55px] max-w-[83px] md:h-[95px] md:max-w-[142px]\"></div>\n{{< /example >}}\n\n## Smartwatch mockup\n\nThis component can be used to showcase applications built for smartwatches.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto bg-base rounded-t-[2.5rem] h-[63px] max-w-[133px]\"></div>\n<div class=\"relative mx-auto bg-base border-default border-[10px] rounded-[2.5rem] h-[213px] w-[208px]\">\n    <div class=\"h-[41px] w-[6px] bg-base absolute -end-[16px] top-[40px] rounded-e-lg\"></div>\n    <div class=\"h-[32px] w-[6px] bg-base absolute -end-[16px] top-[88px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden h-[193px] w-[188px]\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/watch-screen-image.png\" class=\"dark:hidden h-[193px] w-[188px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/watch-screen-image-dark.png\" class=\"hidden dark:block h-[193px] w-[188px]\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-base rounded-b-[2.5rem] h-[63px] max-w-[133px]\"></div>\n{{< /example >}}\n\n## Mockup colors\n\nYou can easily update the color of the mockup by changing the background color with Tailwind CSS.\n\n{{< example github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-default bg-base dark:bg-base border-[14px] rounded-[2.5rem] h-[600px] w-[300px]\">\n    <div class=\"h-[32px] w-[3px] bg-base absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-base absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-base absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-neutral-primary \">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}"
  },
  {
    "path": "content/components/drawer.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Drawer (offcanvas) - Flowbite\ndescription: The Drawer component can be used as a hidden off-canvas sidebar for navigation and to show other information based on multiple styles and placements\ngroup: components\nrequires_js: true\ntoc: true\n\nprevious: Device mockups\npreviousLink: components/device-mockups/\nnext: Dropdowns\nnextLink: components/dropdowns/\n---\n\nUse the Drawer component (or \"off-canvas\") to show a fixed element relative to the document page from any side for navigation, contact forms, informational purposes or other user actions.\n\nYou can set multiple options such as the placement, activate body scrolling, show or hide the backdrop and even use the swipeable edge functionality to show a small part of the drawer when it is not shown completely.\n\nTo enable interactivity via data attributes and the Drawer API you need to include [Flowbite's JavaScript file]({{< ref \"getting-started/quickstart\" >}}).\n\n## Default drawer\n\nTo initiate the drawer component you need to set the `data-drawer-target=\"{id}\"` data attribute to an element such as a button where the value needs to be the id of the drawer component itself.\n\nThen you can use the following attributes to either show, hide or toggle the drawer visibility where the value is the id of the drawer component:\n\n-   `data-drawer-show=\"{id}\"` - show the drawer component\n-   `data-drawer-hide=\"{id}\"` - hide the drawer component\n-   `data-drawer-toggle=\"{id}\"` - toggle the visibility of the drawer component\n\nFor accessibility you should also apply the `aria-controls={id}` attribute to the element that triggers the drawer and the `aria-labelledby={id}` attribute to the drawer component where the value is the id of the drawer title.\n\nYou can also avoid the drawer flickering and hide it by default by applying the following classes to the Drawer element: `transition-transform left-0 top-0 -translate-x-full`. This will set the component off-canvas.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-example\" data-drawer-show=\"drawer-example\" aria-controls=\"drawer-example\">\n   Show drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-example\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-96 border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-label\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Drawer heading\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-example\" aria-controls=\"drawer-example\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <p class=\"mb-3 text-sm text-body\">Upgrade your Figma toolkit with a design system built on top <a href=\"#\" class=\"font-medium text-heading underline hover:no-underline\">Flowbite CSS</a> featuring variants, style guide and auto layout.</p>\n   <p class=\"mb-5 text-sm text-body\">Recommended for professional developers and companies building enterprise-level.</p>\n   <div class=\"flex items-center gap-4\">\n      <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pricing & FAQ</button>\n      <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Get access\n         <svg class=\"rtl:rotate-180 w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </button>\n   </div>\n</div>\n{{< /example >}}\n\n## Drawer navigation\n\nUse this example to show a navigational sidebar inside the drawer component.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-navigation\" data-drawer-show=\"drawer-navigation\" aria-controls=\"drawer-navigation\">\n   Show navigation\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-navigation\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-80 border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-navigation-label\">\n   <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-navigation\" aria-controls=\"drawer-navigation\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Contact form\n\nUse this example to show a contact form inside the drawer component.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"840\" iframeMaxHeight=\"840\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-contact\" data-drawer-show=\"drawer-contact\" aria-controls=\"drawer-contact\">\n   Show contact form\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-contact\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-80 border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-contact-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-label-contact\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.283 8h-4.285m3.85 3h-3.85m4.061-6H11v11h8.27l1.715-9.847A.983.983 0 0 0 20.059 5ZM6.581 13.23h-.838A13.752 13.752 0 0 1 5.622 11c-.02-.745.02-1.49.12-2.23h1.04c.252 0 .496-.088.683-.245a.927.927 0 0 0 .329-.61l.2-1.872a.888.888 0 0 0-.045-.39.936.936 0 0 0-.212-.34 1.017 1.017 0 0 0-.341-.231A1.08 1.08 0 0 0 6.983 5h-2.06a1.27 1.27 0 0 0-.699.204 1.135 1.135 0 0 0-.442.543A15.066 15.066 0 0 0 3.007 11a15.656 15.656 0 0 0 .795 5.229c.165.462 1.342.771 1.864.771h1.116c.142 0 .283-.028.413-.082.13-.053.246-.132.341-.23a.936.936 0 0 0 .212-.34.889.889 0 0 0 .046-.391l-.201-1.873a.927.927 0 0 0-.33-.609 1.059 1.059 0 0 0-.682-.245ZM10 18v1h10v-1a2 2 0 0 0-2-2h-6a2 2 0 0 0-2 2Z\"/></svg>\n         Contact Us\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-contact\" aria-controls=\"drawer-contact\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <form class=\"mb-6 space-y-4\">\n      <label for=\"input-group-1\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your Email<span class=\"ms-1 text-fg-danger\">*</span></label>\n      <div class=\"relative\">\n         <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n         </div>\n         <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\" required>\n      </div>\n      <label for=\"input-group-2\" class=\"block mb-2.5 text-sm font-medium text-heading\">Subject<span class=\"ms-1 text-fg-danger\">*</span></label>\n      <div class=\"relative\">\n         <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n         </div>\n         <input type=\"text\" id=\"input-group-2\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Let us know how we can help you\" required>\n      </div>\n      <label for=\"message\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your message</label>\n      <textarea id=\"message\" rows=\"4\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write your thoughts here...\"></textarea>\n      <button type=\"submit\" class=\"w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Send message</button>\n   </form>\n   <p class=\"mb-2 text-sm text-body\">\n      <a href=\"#\" class=\"hover:underline\">info@company.com</a>\n   </p>\n   <p class=\"text-sm text-body\">\n      <a href=\"#\" class=\"hover:underline\">212-456-7890</a>\n   </p>\n</div>\n{{< /example >}}\n\n## Form elements\n\nUse this example if you want to add form elements inside the drawer component including datepickers.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"840\" iframeMaxHeight=\"840\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-form\" data-drawer-show=\"drawer-form\" aria-controls=\"drawer-form\">\n   Show drawer form\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-form\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-80 border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-form-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-label-event\" class=\"text-lg font-medium text-body\">\n         New event\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-form\" aria-controls=\"drawer-form\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <form class=\"mb-6 space-y-4\">\n        <div>\n            <label for=\"title\" class=\"block mb-2.5 text-sm font-medium text-heading\">Title<span class=\"ms-1 text-fg-danger\">*</span></label>\n            <input type=\"text\" id=\"title\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Apple Keynote\" required />\n        </div>\n      <label for=\"description\" class=\"block mb-2.5 text-sm font-medium text-heading\">Description</label>\n      <textarea id=\"description\" rows=\"4\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write your description here...\"></textarea>\n      <div class=\"relative max-w-sm\">\n         <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n         </div>\n         <input datepicker id=\"default-datepicker\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Select date\">\n      </div>\n      <div class=\"mb-4\">\n         <label for=\"guests\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Invite guests</label>\n         <div class=\"relative\">\n            <input type=\"search\" id=\"guests\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Add guest email\" required />\n            <button class=\"absolute flex items-center end-1.5 top-1/2 -translate-y-1/2 text-body bg-neutral-primary-strong border border-default-strong hover:bg-neutral-secondary-strong/70 hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n               <span class=\"flex items-center\">\n                  <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12h4m-2 2v-4M4 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                  <span class=\"text-xs font-semibold\">Add</span>\n               </span>\n            </button>\n         </div>\n      </div>\n      <div class=\"flex mb-4 -space-x-4 rtl:space-x-reverse\">\n         <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"\">\n      </div>\n      <button type=\"submit\" class=\"inline-flex items-center justify-center w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M4 9.05H3v2h1v-2Zm16 2h1v-2h-1v2ZM10 14a1 1 0 1 0 0 2v-2Zm4 2a1 1 0 1 0 0-2v2Zm-3 1a1 1 0 1 0 2 0h-2Zm2-4a1 1 0 1 0-2 0h2Zm-2-5.95a1 1 0 1 0 2 0h-2Zm2-3a1 1 0 1 0-2 0h2Zm-7 3a1 1 0 0 0 2 0H6Zm2-3a1 1 0 1 0-2 0h2Zm8 3a1 1 0 1 0 2 0h-2Zm2-3a1 1 0 1 0-2 0h2Zm-13 3h14v-2H5v2Zm14 0v12h2v-12h-2Zm0 12H5v2h14v-2Zm-14 0v-12H3v12h2Zm0 0H3a2 2 0 0 0 2 2v-2Zm14 0v2a2 2 0 0 0 2-2h-2Zm0-12h2a2 2 0 0 0-2-2v2Zm-14-2a2 2 0 0 0-2 2h2v-2Zm-1 6h16v-2H4v2ZM10 16h4v-2h-4v2Zm3 1v-4h-2v4h2Zm0-9.95v-3h-2v3h2Zm-5 0v-3H6v3h2Zm10 0v-3h-2v3h2Z\"/></svg>\n         Create event\n      </button>\n   </form>\n</div>\n{{< /example >}}\n\n## Placement\n\nUse the placement options to position the drawer component either on the top, right, bottom, or left side of the document page. This can be done using the `data-drawer-placement=\"{top|right|bottom|left}\"` data attribute where the default value is \"left\".\n\n### Left drawer\n\nUse this example where you can position the drawer component on the left side of the page.\n\nTo span the full height of the page you'll have to add the `h-screen` class to the drawer component.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-left-example\" data-drawer-show=\"drawer-left-example\" data-drawer-placement=\"left\" aria-controls=\"drawer-left-example\">\n  Show left drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-left-example\" class=\"fixed top-0 left-0 z-40 h-screen bg-neutral-primary-soft p-4 overflow-y-auto transition-transform -translate-x-full w-96\" tabindex=\"-1\" aria-labelledby=\"drawer-left-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-left-example\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Left drawer\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-left-example\" aria-controls=\"drawer-left-example\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <p class=\"mb-3 text-sm text-body\">Upgrade your Figma toolkit with a design system built on top <a href=\"#\" class=\"font-medium text-heading underline hover:no-underline\">Flowbite CSS</a> featuring variants, style guide and auto layout.</p>\n   <p class=\"mb-5 text-sm text-body\">Recommended for professional developers and companies building enterprise-level.</p>\n   <div class=\"flex items-center gap-4\">\n      <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pricing & FAQ</button>\n      <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Get access\n         <svg class=\"rtl:rotate-180 w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </button>\n   </div>\n</div>\n{{< /example >}}\n\n### Right drawer\n\nUse this example to show the drawer component on the right side of the page.\n\nTo span the full height of the page you'll have to add the `h-screen` class to the drawer component.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-right-example\" data-drawer-show=\"drawer-right-example\" data-drawer-placement=\"right\" aria-controls=\"drawer-right-example\">\n   Show right drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-right-example\" class=\"fixed top-0 right-0 z-40 h-screen p-4 overflow-y-auto transition-transform translate-x-full bg-neutral-primary-soft w-96\" tabindex=\"-1\" aria-labelledby=\"drawer-right-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-right-example\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Right drawer\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-right-example\" aria-controls=\"drawer-right-example\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <p class=\"mb-3 text-sm text-body\">Upgrade your Figma toolkit with a design system built on top <a href=\"#\" class=\"font-medium text-heading underline hover:no-underline\">Flowbite CSS</a> featuring variants, style guide and auto layout.</p>\n   <p class=\"mb-5 text-sm text-body\">Recommended for professional developers and companies building enterprise-level.</p>\n   <div class=\"flex items-center gap-4\">\n      <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pricing & FAQ</button>\n      <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Get access\n         <svg class=\"rtl:rotate-180 w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </button>\n   </div>\n</div>\n{{< /example >}}\n\n### Top drawer\n\nUse this example to show the drawer on the top side of the page.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"overflow-y-auto inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-top-example\" data-drawer-show=\"drawer-top-example\" data-drawer-placement=\"top\" aria-controls=\"drawer-top-example\">\n   Show top drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-top-example\" class=\"fixed top-0 left-0 right-0 z-40 w-full p-4 transition-transform -translate-y-full bg-neutral-primary-soft border-b border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-top-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-top-example\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Top drawer\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-top-example\" aria-controls=\"drawer-top-example\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <p class=\"mb-3 text-sm text-body max-w-xl\">Upgrade your Figma toolkit with a design system built on top <a href=\"#\" class=\"font-medium text-heading underline hover:no-underline\">Flowbite CSS</a> featuring variants, style guide and auto layout.</p>\n   <p class=\"mb-5 text-sm text-body max-w-xl\">Recommended for professional developers and companies building enterprise-level.</p>\n   <div class=\"flex items-center gap-4\">\n      <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pricing & FAQ</button>\n      <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Get access\n         <svg class=\"rtl:rotate-180 w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </button>\n   </div>\n</div>\n{{< /example >}}\n\n### Bottom drawer\n\nUse this example to show the drawer on the bottom side of the page.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<div class=\"text-center\">\n   <button class=\"overflow-y-auto inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-bottom-example\" data-drawer-show=\"drawer-bottom-example\" data-drawer-placement=\"bottom\" aria-controls=\"drawer-bottom-example\">\n   Show bottom drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-bottom-example\" class=\"fixed bottom-0 left-0 right-0 z-40 w-full p-4 overflow-y-auto transition-transform bg-neutral-primary-soft border-t border-default transform-none\" tabindex=\"-1\" aria-labelledby=\"drawer-bottom-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-bottom-example\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Top drawer\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-bottom-example\" aria-controls=\"drawer-bottom-example\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <p class=\"mb-3 text-sm text-body max-w-xl\">Upgrade your Figma toolkit with a design system built on top <a href=\"#\" class=\"font-medium text-heading underline hover:no-underline\">Flowbite CSS</a> featuring variants, style guide and auto layout.</p>\n   <p class=\"mb-5 text-sm text-body max-w-xl\">Recommended for professional developers and companies building enterprise-level.</p>\n   <div class=\"flex items-center gap-4\">\n      <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pricing & FAQ</button>\n      <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Get access\n         <svg class=\"rtl:rotate-180 w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </button>\n   </div>\n</div>\n{{< /example >}}\n\n## Body scrolling\n\nBy default, body scrolling is disabled when the drawer is visible, however, you can choose to enable it using the `data-drawer-body-scrolling=\"{true|false}\"` data attribute.\n\n### Disabled (default)\n\nThis is an example where the body scrolling behaviour is disabled when the drawer is visible.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-disable-body-scrolling\" data-drawer-show=\"drawer-disable-body-scrolling\" data-drawer-body-scrolling=\"false\" aria-controls=\"drawer-disable-body-scrolling\">\n   Show body scrolling disabled\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-disable-body-scrolling\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-80 border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-disable-body-scrolling-label\">\n  <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-disable-body-scrolling\" aria-controls=\"drawer-disable-body-scrolling\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n### Enabled\n\nGet started with this example in order to enable body scrolling even if the drawer component is visible by using the `data-drawer-body-scrolling=\"false\"` data attribute.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-body-scrolling\" data-drawer-show=\"drawer-body-scrolling\" data-drawer-body-scrolling=\"true\" aria-controls=\"drawer-body-scrolling\">\n   Show body scrolling\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-body-scrolling\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft border-e border-default w-80\" tabindex=\"-1\" aria-labelledby=\"drawer-body-scrolling-label\">\n    <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-body-scrolling\" aria-controls=\"drawer-body-scrolling\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Backdrop\n\nThe backdrop element can be used to dim out the background elements when the drawer is visible and also automatically hide the component when clicking outside of it.\n\nUse the `data-drawer-backdrop=\"{true|false}\"` data attribute where you can disable or enable the backdrop element.\n\n### Enabled (default)\n\nUse this example to enable the backdrop element by default.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-backdrop\" data-drawer-show=\"drawer-backdrop\" data-drawer-backdrop=\"true\" aria-controls=\"drawer-backdrop\">\n   Show drawer with backdrop\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-backdrop\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft border-e border-default w-80 tabindex=\"-1\" aria-labelledby=\"drawer-backdrop-label\">\n    <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-backdrop\" aria-controls=\"drawer-backdrop\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n### Disabled\n\nUse the `data-drawer-backdrop=\"false\"` data attribute to disable the backdrop element when the drawer is shown.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-disabled-backdrop\" data-drawer-show=\"drawer-disabled-backdrop\" data-drawer-backdrop=\"false\" aria-controls=\"drawer-disabled-backdrop\">\n   Show drawer without backdrop\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-disabled-backdrop\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft border-e border-default w-80\" tabindex=\"-1\" aria-labelledby=\"drawer-disabled-backdrop-label\">\n    <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-disabled-backdrop\" aria-controls=\"drawer-disabled-backdrop\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Swipeable edge\n\nThe drawer edge functionality allows you to show a small part of the drawer when it is not shown completely by applying the `data-drawer-edge=\"{true|false}\"` data attribute.\n\nIn this example we also use the `data-drawer-toggle=\"id\"` option to toggle the visibility of the drawer component by clicking on the \"edge\" part of the element.\n\nUse the `data-drawer-edge-offset=\"bottom-[*px]\"` data attribute where you can apply a class from Tailwind CSS to set the offset. Default value is `bottom-[60px]`.\n\n{{< example github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-swipe\" data-drawer-show=\"drawer-swipe\" data-drawer-placement=\"bottom\" data-drawer-edge=\"true\" data-drawer-edge-offset=\"bottom-[60px]\" aria-controls=\"drawer-swipe\">\n   Show swipeable drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-swipe\" class=\"fixed z-40 w-full overflow-y-auto bg-neutral-primary-soft border-t border-default rounded-t-base transition-transform bottom-0 left-0 right-0 translate-y-full bottom-[60px]\" tabindex=\"-1\" aria-labelledby=\"drawer-swipe-label\">\n   <div class=\"p-4 cursor-pointer hover:bg-neutral-secondary-soft\" data-drawer-toggle=\"drawer-swipe\">\n      <span class=\"absolute w-8 h-1 -translate-x-1/2 bg-neutral-quaternary rounded-lg top-3 left-1/2\"></span>\n      <h5 id=\"drawer-swipe-label\" class=\"inline-flex items-center text-base text-body font-medium\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 17h6m-3 3v-6M4.857 4h4.286c.473 0 .857.384.857.857v4.286a.857.857 0 0 1-.857.857H4.857A.857.857 0 0 1 4 9.143V4.857C4 4.384 4.384 4 4.857 4Zm10 0h4.286c.473 0 .857.384.857.857v4.286a.857.857 0 0 1-.857.857h-4.286A.857.857 0 0 1 14 9.143V4.857c0-.473.384-.857.857-.857Zm-10 10h4.286c.473 0 .857.384.857.857v4.286a.857.857 0 0 1-.857.857H4.857A.857.857 0 0 1 4 19.143v-4.286c0-.473.384-.857.857-.857Z\"/></svg>\n         Add widget\n      </h5>\n   </div>\n   <div class=\"grid grid-cols-3 gap-4 p-4 lg:grid-cols-4\">\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Chart</div>\n      </div>\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M3 11h18M3 15h18M8 10.792V19m4-8.208V19m4-8.208V19M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Table</div>\n      </div>\n      <div class=\"hidden p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium lg:block\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.5 12A2.5 2.5 0 0 1 21 9.5V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v2.5a2.5 2.5 0 0 1 0 5V17a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-2.5a2.5 2.5 0 0 1-2.5-2.5Z\"/></svg>\n         </div>\n         <div class=\"hidden font-medium text-center text-body\">Ticket</div>\n      </div>\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">List</div>\n      </div>\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M8 7V6a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1M3 18v-7a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Price</div>\n      </div>\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M4.5 17H4a1 1 0 0 1-1-1 3 3 0 0 1 3-3h1m0-3.05A2.5 2.5 0 1 1 9 5.5M19.5 17h.5a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-1m0-3.05a2.5 2.5 0 1 0-2-4.45m.5 13.5h-7a1 1 0 0 1-1-1 3 3 0 0 1 3-3h3a3 3 0 0 1 3 3 1 1 0 0 1-1 1Zm-1-9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Users</div>\n      </div>\n      <div class=\"hidden p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium lg:block\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-3 5h3m-6 0h.01M12 16h3m-6 0h.01M10 3v4h4V3h-4Z\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Task</div>\n      </div>\n      <div class=\"p-4 rounded-base cursor-pointer bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-neutral-primary-strong border border-default-strong rounded-full w-12 h-12\">\n            <svg class=\"w-7 h-7 inline text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n         </div>\n         <div class=\"font-medium text-center text-body\">Custom</div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## More examples\n\nFor more drawer component examples you can check out the following resources from Flowbite Blocks:\n\n-   [CRUD read drawers](https://flowbite.com/blocks/application/crud-read-drawers/)\n-   [CRUD create drawers](https://flowbite.com/blocks/application/crud-create-drawers/)\n-   [CRUD update drawers](https://flowbite.com/blocks/application/crud-update-drawers/)\n-   [Application shell layouts](https://flowbite.com/blocks/application/shells/)\n\n## JavaScript behaviour\n\nThe Drawer API can be used to create an instance of the class, use methods to manipulate the component by showing or hiding it on demand and also set custom behaviour options for placement, enabling or disabling the backdrop element, enabling or disabling the body scroll, and more.\n\n### Object parameters\n\nInitialize a Drawer object with parameters such as the target element and the options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the main drawer element as a JavaScript object.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the default state of the drawer, placement, and other options.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options for the Drawer object to set the placement, enable or disable the backdrop, enable or disable body scrolling, and more.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">placement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the drawer component relative to the document body by choosing one of the values from <code class=\"text-fg-brand\">{top|right|bottom|left}</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">backdrop</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                  Enable or disable the backdrop element. Values can be <code class=\"text-fg-brand\">true</code> or <code class=\"text-fg-brand\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">bodyScrolling</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Enable or disable body scrolling behaviour when the drawer is active. Values can be <code class=\"text-fg-brand\">true</code> or <code class=\"text-fg-brand\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">edge</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Enable or disable the edge functionality by showing a small part of the drawer component even when inactive. Values can be <code class=\"text-fg-brand\">true</code> or <code class=\"text-fg-brand\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">edgeOffset</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the offset height that should be shown when the drawer is inactive. Default value is <code class=\"text-fg-brand\">bottom-[60px]</code>\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">backdropClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS utility classes to override the custom backdrop classes.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onHide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been hidden.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onToggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the following methods on the Drawer object to show, hide or check the visibility.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function to show the drawer element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the hide function to hide the drawer element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the toggle function to toggle the drawer element's visibility.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the isVisible function to check whether the element is visible or not.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been hidden.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Drawer object.\n\nFirst of all, create a new JavaScript element object for the first parameter of the Drawer object and another options object to set the placement, backdrop settings, and callback functions.\n\n{{< code lang=\"javascript\" file=\"drawer.js\" icon=\"file\" >}}\n// set the drawer menu element\nconst $targetEl = document.getElementById('drawer-js-example');\n\n// options with default values\nconst options = {\n    placement: 'right',\n    backdrop: true,\n    bodyScrolling: false,\n    edge: false,\n    edgeOffset: '',\n    backdropClasses:\n        'bg-dark/50 fixed inset-0 z-30',\n    onHide: () => {\n        console.log('drawer is hidden');\n    },\n    onShow: () => {\n        console.log('drawer is shown');\n    },\n    onToggle: () => {\n        console.log('drawer has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'drawer-js-example',\n  override: true\n};\n{{< /code >}}\n\nInitialize the Drawer positioning by creating a new object:\n\n{{< code lang=\"javascript\" file=\"drawer.js\" icon=\"file\" >}}\nimport { Drawer } from 'flowbite';\n\n/*\n * $targetEl (required)\n * options (optional)\n * instanceOptions (optional)\n */\nconst drawer = new Drawer($targetEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show` and `hide` methods to show and hide the drawer component directly from JavaScript.\n\n{{< code lang=\"javascript\" file=\"drawer.js\" icon=\"file\" >}}\n// show the drawer\ndrawer.show();\n\n// hide the drawer\ndrawer.hide();\n{{< /code >}}\n\nUse the `toggle` method to toggle the visibility of the drawer.\n\n{{< code lang=\"javascript\" file=\"drawer.js\" icon=\"file\" >}}\n// toggle the drawer\ndrawer.toggle();\n{{< /code >}}\n\nUse the `isVisible` method to check the visibility of the drawer:\n\n{{< code lang=\"javascript\" file=\"drawer.js\" icon=\"file\" >}}\n// true or false\ndrawer.isVisible();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"drawer.html\" icon=\"file\" >}}\n<!-- drawer component -->\n<div id=\"drawer-js-example\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft border-e border-default w-80\" tabindex=\"-1\" aria-labelledby=\"drawer-js-example\">\n    <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-js-example-backdrop\" aria-controls=\"drawer-js-example-backdrop\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Drawer (off-canvas) class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"drawer.ts\" icon=\"file\" >}}\nimport { Drawer } from 'flowbite';\nimport type { DrawerOptions, DrawerInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the drawer menu element\nconst $targetEl: HTMLElement = document.getElementById('drawer-js-example');\n\n// options with default values\nconst options: DrawerOptions = {\n    placement: 'right',\n    backdrop: true,\n    bodyScrolling: false,\n    edge: false,\n    edgeOffset: '',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30',\n    onHide: () => {\n        console.log('drawer is hidden');\n    },\n    onShow: () => {\n        console.log('drawer is shown');\n    },\n    onToggle: () => {\n        console.log('drawer has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'drawer-js-example',\n  override: true\n};\n\n/*\n * $targetEl (required)\n * options (optional)\n * instanceOptions (optional)\n */\nconst drawer: DrawerInterface = new Drawer($targetEl, options, instanceOptions);\n\n// show the drawer\ndrawer.show();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/dropdowns.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Dropdown - Flowbite\ndescription: Get started with the dropdown component to show a list of menu items when clicking on the trigger element based on multiple layouts, styles, and placements\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Drawer\npreviousLink: components/drawer/\nnext: Footer\nnextLink: components/footer/\n---\n\nThe dropdown component can be used to show a list of menu items when clicking on an element such as a button and hiding it when focusing outside of the triggering element.\n\nMake sure to include <a href=\"{{< ref \"getting-started/quickstart\" >}}\">Flowbite's JavaScript file</a> inside your project to enable dropdowns.\n\n## Dropdown example\n\nIf you want to show a dropdown menu when clicking on an element make sure that you add the data attribute `data-dropdown-toggle=\"dropdownId\"` to the element (ie. a button) that will trigger the dropdown menu.\n\nThe `dropdownId` is the id of the dropdown menu element.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown hover\n\nUse the `data-dropdown-trigger=\"{hover|click}\"` data attribute options to set whether the dropdown should be shown when hovering or clicking on the trigger element (ie. button).\n\nThere's a 300ms default delay when showing or hiding the dropdown due to UI/UX reasons and how it may affect the interaction with other components on the page. Generally, we recommend using the `click` method.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownHoverButton\" data-dropdown-toggle=\"dropdownHover\" data-dropdown-trigger=\"hover\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHover\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownHoverButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Delay duration\n\nYou can use the `data-dropdown-delay={milliseconds}` data attribute to set they delay on when to show or hide the dropdown menu when using hover. You may want to use this depending on how the users interact with your interface. In this example we add 500 milliseconds instead of the default 300.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownDelayButton\" data-dropdown-toggle=\"dropdownDelay\" data-dropdown-delay=\"500\" data-dropdown-trigger=\"hover\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDelay\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDelayButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown divider\n\nYou can use the `divide-y divide-gray-100` classes to add separate elements inside the dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"320\" >}}\n<button id=\"dropdownDividerButton\" data-dropdown-toggle=\"dropdownDivider\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDivider\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base divide-y divide-default-medium shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDividerButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"p-2 text-sm text-body font-medium\">\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Separated link</a>\n    </div>\n</div>\n{{< /example >}}\n\n## Dropdown header\n\nUse this example to show extra information outside of the list of menu items inside the dropdown.\n\n{{< example class=\"flex justify-center \" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"520\" >}}\n<button id=\"dropdownInformationButton\" data-dropdown-toggle=\"dropdownInformation\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n<!-- Dropdown menu -->\n<div id=\"dropdownInformation\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n    <div class=\"p-2\">\n      <div class=\"flex items-center px-2.5 p-2 space-x-1.5 text-sm bg-neutral-secondary-strong rounded\">\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n        <div class=\"text-sm\">\n          <div class=\"font-medium text-heading\">Bonnie Green</div>\n          <div class=\"truncate text-body\">name@flowbite.com</div>\n        </div>\n        <span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded ms-auto\">PRO</span>\n      </div>\n    </div>\n    <ul class=\"px-2 pb-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownInformationButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M7 17v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-4a3 3 0 0 0-3 3Zm8-9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n          Account\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n          Settings\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 14v3m-3-6V7a3 3 0 1 1 6 0v4m-8 0h10a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1Z\"/></svg>\n          Privacy\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\"/></svg>\n          Notifications\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          Help center\n        </a>\n      </li>\n      <li class=\"flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded mb-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\"/></svg>\n          Dark mode\n        </a>\n        <label class=\"inline-flex items-center cursor-pointer ms-auto\">\n          <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n          <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n          <span class=\"ms-3 text-sm font-medium text-heading sr-only\">Toggle me</span>\n        </label>\n      </li>\n      <li class=\"border-t border-default-medium pt-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.051 8.102-3.778.322-1.994 1.994a.94.94 0 0 0 .533 1.6l2.698.316m8.39 1.617-.322 3.78-1.994 1.994a.94.94 0 0 1-1.595-.533l-.4-2.652m8.166-11.174a1.366 1.366 0 0 0-1.12-1.12c-1.616-.279-4.906-.623-6.38.853-1.671 1.672-5.211 8.015-6.31 10.023a.932.932 0 0 0 .162 1.111l.828.835.833.832a.932.932 0 0 0 1.111.163c2.008-1.102 8.35-4.642 10.021-6.312 1.475-1.478 1.133-4.77.855-6.385Zm-2.961 3.722a1.88 1.88 0 1 1-3.76 0 1.88 1.88 0 0 1 3.76 0Z\"/></svg>\n          Upgrade to PRO\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 12H8m12 0-4 4m4-4-4-4M9 4H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h2\"/></svg>\n          Sign out\n        </a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Multi-level dropdown\n\nUse this example to enable multi-level dropdown menus by adding stacked elements inside of each other.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"350\" >}}\n<button id=\"multiLevelDropdownButton\" data-dropdown-toggle=\"multi-dropdown\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"multi-dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"multiLevelDropdownButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <button id=\"doubleDropdownButton\" data-dropdown-toggle=\"doubleDropdown\" data-dropdown-placement=\"right-start\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          Dropdown\n          <svg class=\"h-4 w-4 ms-auto rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        </button>\n          <div id=\"doubleDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"doubleDropdownButton\">\n              <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Overview</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">My downloads</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Billing</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Rewards</a>\n              </li>\n            </ul>\n        </div>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown with checkbox\n\nAdd multiple checkbox elements inside your dropdown menu to enable more advanced input interaction.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"290\" >}}\n<button id=\"dropdownCheckboxButton\" data-dropdown-toggle=\"dropdownDefaultCheckbox\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n<!-- Dropdown menu -->\n<div id=\"dropdownDefaultCheckbox\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-52\">\n    <ul class=\"p-4 text-sm text-body font-medium space-y-4\" aria-labelledby=\"dropdownCheckboxButton\">\n      <li>\n        <div class=\"flex items-center\">\n          <input id=\"dropdown-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox\" class=\"ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n          <input checked id=\"dropdown-checkbox-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox-2\" class=\"ms-2 text-sm font-medium text-heading\">Checked state</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n          <input id=\"dropdown-checkbox-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox-3\" class=\"ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Background hover\n\nUse this example to update the background color of a menu item when using a list of checkbox elements.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownBgHoverButton\" data-dropdown-toggle=\"dropdownBgHover\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownBgHover\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-52\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownBgHoverButton\">\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input id=\"dropdown-checkbox-4\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox-4\" class=\"ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input checked id=\"dropdown-checkbox-5\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox-5\" class=\"ms-2 text-sm font-medium text-heading\">Checked state</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input id=\"dropdown-checkbox-6\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"dropdown-checkbox-6\" class=\"ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Helper text\n\nAdd an extra helper text to each checkbox element inside the dropdown menu list with this example.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownHelperButton\" data-dropdown-toggle=\"dropdownHelper\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n<!-- Dropdown menu -->\n<div id=\"dropdownHelper\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-60\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownHelperButton\">\n      <li>\n        <div class=\"inline-flex items-start w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n            <input id=\"dropdown-checkbox-7\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"dropdown-checkbox-7\" class=\"font-medium text-heading select-none\">\n                <div class=\"mb-0.5\">Enable notifications</div>\n                <p id=\"helper-checkbox-text-1\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-start w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n            <input id=\"dropdown-checkbox-8\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"dropdown-checkbox-8\" class=\"font-medium text-heading select-none\">\n                <div class=\"mb-0.5\">Enable 2FA auth</div>\n                <p id=\"helper-checkbox-text-2\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-start w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n            <input id=\"dropdown-checkbox-9\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"dropdown-checkbox-9\" class=\"font-medium text-heading select-none\">\n                <div class=\"mb-0.5\">Subscribe newsletter</div>\n                <p id=\"helper-checkbox-text-3\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown with radio\n\nEnable more advanced interaction with your users by adding radio input elements inside the dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"250\" >}}\n<button id=\"dropdownRadioButton\" data-dropdown-toggle=\"dropdownDefaultRadio\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown radio \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDefaultRadio\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-3 text-sm text-body font-medium space-y-3\" aria-labelledby=\"dropdownRadioButton\">\n      <li>\n        <div class=\"inline-flex items-center\">\n          <input id=\"dropdown-radio-1\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          <label for=\"dropdown-radio-1\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center\">\n          <input id=\"dropdown-radio-2\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          <label for=\"dropdown-radio-2\" class=\"select-none ms-2 text-sm font-medium text-heading\">Checked radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center\">\n          <input id=\"dropdown-radio-3\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          <label for=\"dropdown-radio-3\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Background hover\n\nUse this example to update the background color when hovering over a menu item when using radio elements.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"280\" >}}\n<button id=\"dropdownRadioBgHoverButton\" data-dropdown-toggle=\"dropdownRadioBgHover\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRadioBgHover\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownRadioBgHoverButton\">\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input id=\"dropdown-radio-4\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          <label for=\"dropdown-radio-4\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input id=\"dropdown-radio-5\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\" checked>\n          <label for=\"dropdown-radio-5\" class=\"select-none ms-2 text-sm font-medium text-heading\">Checked radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <input id=\"dropdown-radio-6\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          <label for=\"dropdown-radio-6\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Helper text\n\nThis example can be used to add an extra helper text inside of each radio element from the dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n\n<button id=\"dropdownHelperRadioButton\" data-dropdown-toggle=\"dropdownHelperRadio\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHelperRadio\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-56\" data-popper-reference-hidden=\"\" data-popper-escaped=\"\" data-popper-placement=\"top\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownHelperRadioButton\">\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-4\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-4\" class=\"font-medium text-heading\">\n                <div class=\"mb-1\">Individual</div>\n                <p id=\"helper-radio-text-4\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-5\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-5\" class=\"font-medium text-heading\">\n                <div class=\"mb-1\">Company</div>\n                <p id=\"helper-radio-text-5\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-6\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-6\" class=\"font-medium text-heading\">\n                <div class=\"mb-1\">Non profit</div>\n                <p id=\"helper-radio-text-6\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown with toggle switch\n\nShow a list of toggle switch elements inside the dropdown menu to enable a yes or no type of choice.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"280\" >}}\n<button id=\"dropdownToggleButton\" data-dropdown-toggle=\"dropdownToggle\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownToggle\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n    <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"dropdownToggleButton\">\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <label class=\"inline-flex items-center cursor-pointer\">\n          <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n          <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n          <span class=\"ms-3 text-sm font-medium text-heading\">Enable notifications</span>\n        </label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <label class=\"inline-flex items-center cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n            <span class=\"ms-3 text-sm font-medium text-heading\">Enable 2FA authentication</span>\n          </label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <label class=\"inline-flex items-center cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n            <span class=\"ms-3 text-sm font-medium text-heading\">Subscribe to newsletter</span>\n          </label>\n        </div>\n      </li>\n    </ul>\n</div>\n\n{{< /example >}}\n\n## Dropdown with scrolling\n\nThis example can be used when you want to show a long list of items that won't affect the height of the dropdown menu by enabling a scrolling behaviour.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownUsersButton\" data-dropdown-toggle=\"dropdownUsers\" data-dropdown-placement=\"bottom\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownUsers\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n  <ul class=\"h-48 p-2 text-sm text-body font-medium overflow-y-auto\" aria-labelledby=\"dropdownUsersButton\">\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        Jese Leos\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n        Robert Gough\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n        Bonnie Green\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n        Leslie Livingston\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n        Michael Gough\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n        Joseph Mcfall\n      </a>\n    </li>\n          <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n        Roberta Casas\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n        <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        Neil Sims\n      </a>\n    </li>\n  </ul>\n  <div class=\"bg-neutral-primary-medium border-t border-default-medium p-2 rounded-b-base\">\n      <button type=\"button\" class=\"inline-flex items-center w-full justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n        <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12h4m-2 2v-4M4 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        Add new user\n      </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Scrollable checkboxes\n\nUse this example to show multiple dropdown items in a scrollable container with checkboxes.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownUsersAdvancedButton\" data-dropdown-toggle=\"dropdownAdvanced\" data-dropdown-placement=\"bottom\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownAdvanced\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n  <ul class=\"h-48 p-2 text-sm text-body font-medium overflow-y-auto\" aria-labelledby=\"dropdownAdvancedButton\">\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-1\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n          Jese Leos\n        </div>\n        <input id=\"dropdown-user-1\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>    \n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-2\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Robert image\">\n          Robert Gough\n        </div>\n        <input id=\"dropdown-user-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-3\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n          Bonnie Green\n        </div>\n        <input id=\"dropdown-user-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-4\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie image\">\n          Leslie Livingston\n        </div>\n        <input id=\"dropdown-user-4\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-5\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Michael image\">\n          Michael Gough\n        </div>\n        <input id=\"dropdown-user-5\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-6\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph image\">\n          Joseph Mcfall\n        </div>\n        <input id=\"dropdown-user-6\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-7\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Roberta image\">\n          Roberta Casas\n        </div>\n        <input id=\"dropdown-user-7\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-7\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n          Neil Sims\n        </div>\n        <input id=\"dropdown-user-8\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n  </ul>\n  <div class=\"bg-neutral-primary-medium border-t border-default-medium p-2 rounded-b-base\">\n      <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n        <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n        Delete user\n      </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Dropdown with search\n\nUse this example if you want to add a search bar inside the dropdown menu to be able to filter through a long list of menu items with scrolling behaviour.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"440\" >}}\n<button id=\"dropdownUsersSearchButton\" data-dropdown-toggle=\"dropdownSearch\" data-dropdown-placement=\"bottom\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSearch\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n  <div class=\"bg-neutral-primary-medium border-b border-default-medium p-2 rounded-t-base\">\n    <label for=\"search\" class=\"sr-only\">Search</label>\n    <input type=\"text\" id=\"search\" class=\"bg-neutral-secondary-strong border border-default-strong text-heading text-sm rounded focus:ring-brand focus:border-brand block w-full px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"Search for users\" required />\n  </div>\n  <ul class=\"h-48 p-2 text-sm text-body font-medium overflow-y-auto\" aria-labelledby=\"dropdownSearchButton\">\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-9\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n          Jese Leos\n        </div>\n        <input id=\"dropdown-user-9\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>    \n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-10\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Robert image\">\n          Robert Gough\n        </div>\n        <input id=\"dropdown-user-10\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-11\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n          Bonnie Green\n        </div>\n        <input id=\"dropdown-user-11\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-12\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie image\">\n          Leslie Livingston\n        </div>\n        <input id=\"dropdown-user-12\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-13\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Michael image\">\n          Michael Gough\n        </div>\n        <input id=\"dropdown-user-13\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-14\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph image\">\n          Joseph Mcfall\n        </div>\n        <input id=\"dropdown-user-14\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-15\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Roberta image\">\n          Roberta Casas\n        </div>\n        <input id=\"dropdown-user-15\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n    <li class=\"w-full flex items-center p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n      <label for=\"dropdown-user-16\" class=\"w-full flex items-center justify-between\">\n        <div class=\"inline-flex items-center font-medium\">\n          <img class=\"w-5 h-5 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n          Neil Sims\n        </div>\n        <input id=\"dropdown-user-16\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n      </label>\n    </li>\n  </ul>\n  <div class=\"bg-neutral-primary-medium border-t border-default-medium p-2 rounded-b-base\">\n      <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">\n        <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n        Delete user\n      </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Menu icon\n\nUse the menu icon trigger element on components such as cards as an alternative element to the button.\n\n{{< example class=\"flex justify-center space-x-4 rtl:space-x-reverse\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"320\" >}}\n<button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" class=\"text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm p-2 focus:outline-none\" type=\"button\">\n  <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M12 6h.01M12 12h.01M12 18h.01\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDots\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"p-2 text-sm text-body font-medium border-t border-default-medium\">\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Separated link</a>\n    </div>\n</div>\n\n<button id=\"dropdownMenuIconHorizontalButton\" data-dropdown-toggle=\"dropdownDotsHorizontal\" class=\"text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm p-2 focus:outline-none\" type=\"button\"> \n  <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M6 12h.01m6 0h.01m5.99 0h.01\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDotsHorizontal\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44 dark:divide-gray-600\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMenuIconHorizontalButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"p-2 text-sm text-body font-medium border-t border-default\">\n      <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Separated link</a>\n    </div>\n</div>\n{{< /example >}}\n\n## Notification bell\n\nUse this example to show a list of notifications inside your application by providing more detailed information such as the user avatar, content and time of notification triggered by a notification bell icon.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"660\" >}}\n\n<button id=\"dropdownNotificationButton\" data-dropdown-toggle=\"dropdownNotification\" class=\"relative inline-flex items-center text-sm font-medium text-center text-body hover:text-heading focus:outline-none\" type=\"button\">\n  <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\"/></svg>\n</svg>\n<div class=\"absolute block w-3 h-3 bg-danger border-2 border-buffer rounded-full top-0 start-3\"></div>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownNotification\" class=\"z-20 hidden w-full max-w-sm bg-neutral-primary-soft divide-y divide-default-medium rounded-base shadow\" aria-labelledby=\"dropdownNotificationButton\">\n  <div class=\"block px-4 py-2 font-medium text-center text-body rounded-t-base bg-neutral-secondary-medium\">\n      Notifications\n  </div>\n  <div class=\"divide-y divide-default\">\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-neutral-secondary-medium\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-brand border border-buffer-medium rounded-full\">\n          <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M5.024 3.783A1 1 0 0 1 6 3h12a1 1 0 0 1 .976.783L20.802 12h-4.244a1.99 1.99 0 0 0-1.824 1.205 2.978 2.978 0 0 1-5.468 0A1.991 1.991 0 0 0 7.442 12H3.198l1.826-8.217ZM3 14v5a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5h-4.43a4.978 4.978 0 0 1-9.14 0H3Zm5-7a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm0 2a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H8Z\" clip-rule=\"evenodd\"/></svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-body text-sm mb-1.5\">New message from <span class=\"font-semibold text-heading\">Jese Leos</span>: \"Hey, what's up? All set for the presentation?\"</div>\n          <div class=\"text-xs text-fg-brand\">a few moments ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-neutral-secondary-medium\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-dark border border-buffer-medium rounded-full\">\n          <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M9 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 9a4 4 0 0 0-4 4v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-1a4 4 0 0 0-4-4H7Zm8-1a1 1 0 0 1 1-1h1v-1a1 1 0 1 1 2 0v1h1a1 1 0 1 1 0 2h-1v1a1 1 0 1 1-2 0v-1h-1a1 1 0 0 1-1-1Z\" clip-rule=\"evenodd\"/></svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-body text-sm mb-1.5\"><span class=\"font-semibold text-heading\">Joseph Mcfall</span> and <span class=\"font-medium text-heading\">5 others</span> started following you.</div>\n          <div class=\"text-xs text-fg-brand\">10 minutes ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-neutral-secondary-medium\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-danger border border-buffer-medium rounded-full\">\n          <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"m12.75 20.66 6.184-7.098c2.677-2.884 2.559-6.506.754-8.705-.898-1.095-2.206-1.816-3.72-1.855-1.293-.034-2.652.43-3.963 1.442-1.315-1.012-2.678-1.476-3.973-1.442-1.515.04-2.825.76-3.724 1.855-1.806 2.201-1.915 5.823.772 8.706l6.183 7.097c.19.216.46.34.743.34a.985.985 0 0 0 .743-.34Z\"/></svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-body text-sm mb-1.5\"><span class=\"font-semibold text-heading\">Bonnie Green</span> and <span class=\"font-medium text-heading\">141 others</span> love your story. See it and view more stories.</div>\n          <div class=\"text-xs text-fg-brand\">44 minutes ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-neutral-secondary-medium\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-success border border-buffer-medium rounded-full\">\n          <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-6.616l-2.88 2.592C8.537 20.461 7 19.776 7 18.477V17H5a2 2 0 0 1-2-2V6Zm4 2a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2H7Zm8 0a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2h-2Zm-8 3a1 1 0 1 0 0 2h2a1 1 0 1 0 0-2H7Zm5 0a1 1 0 1 0 0 2h5a1 1 0 1 0 0-2h-5Z\" clip-rule=\"evenodd\"/></svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-body text-sm mb-1.5\"><span class=\"font-semibold text-heading\">Leslie Livingston</span> mentioned you in a comment: <span class=\"font-medium text-fg-brand\" href=\"#\">@bonnie.green</span> what do you say?</div>\n          <div class=\"text-xs text-fg-brand\">1 hour ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-neutral-secondary-medium\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Robert image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-purple border border-buffer-medium rounded-full\">\n          <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z\" clip-rule=\"evenodd\"/></svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-body text-sm mb-1.5\"><span class=\"font-semibold text-heading\">Robert Brown</span> posted a new video: Glassmorphism - learn how to implement the new design trend.</div>\n          <div class=\"text-xs text-fg-brand\">3 hours ago</div>\n      </div>\n    </a>\n  </div>\n  <a href=\"#\" class=\"block py-2 font-medium text-center text-body rounded-b-base bg-neutral-secondary-medium hover:bg-neutral-tertiary-medium\">\n    <div class=\"inline-flex items-center \">\n      <svg class=\"w-5 h-5 me-1.5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        View all\n    </div>\n  </a>\n</div>\n{{< /example >}}\n\n## User avatar\n\nThis example can be used to show a list of menu items and options when a user is logged into your application.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"520\" >}}\n<button id=\"dropdownUserAvatarButton\" data-dropdown-toggle=\"dropdownAvatar\" class=\"flex text-sm bg-dark rounded-full md:me-0 focus:ring-4 focus:ring-neutral-quaternary\" type=\"button\">\n  <span class=\"sr-only\">Open user menu</span>\n  <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"user photo\">\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownAvatar\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n    <div class=\"p-2\">\n      <div class=\"flex items-center px-2.5 p-2 space-x-1.5 text-sm bg-neutral-secondary-strong rounded\">\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n        <div class=\"text-sm\">\n          <div class=\"font-medium text-heading\">Joseph McFall</div>\n          <div class=\"truncate text-body\">name@flowbite.com</div>\n        </div>\n        <span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded ms-auto\">PRO</span>\n      </div>\n    </div>\n    <ul class=\"px-2 pb-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownAvatarButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M7 17v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-4a3 3 0 0 0-3 3Zm8-9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n          Account\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n          Settings\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 14v3m-3-6V7a3 3 0 1 1 6 0v4m-8 0h10a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1Z\"/></svg>\n          Privacy\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\"/></svg>\n          Notifications\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          Help center\n        </a>\n      </li>\n      <li class=\"flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded mb-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\"/></svg>\n          Dark mode\n        </a>\n        <label class=\"inline-flex items-center cursor-pointer ms-auto\">\n          <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n          <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n          <span class=\"ms-3 text-sm font-medium text-heading sr-only\">Toggle me</span>\n        </label>\n      </li>\n      <li class=\"border-t border-default-medium pt-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.051 8.102-3.778.322-1.994 1.994a.94.94 0 0 0 .533 1.6l2.698.316m8.39 1.617-.322 3.78-1.994 1.994a.94.94 0 0 1-1.595-.533l-.4-2.652m8.166-11.174a1.366 1.366 0 0 0-1.12-1.12c-1.616-.279-4.906-.623-6.38.853-1.671 1.672-5.211 8.015-6.31 10.023a.932.932 0 0 0 .162 1.111l.828.835.833.832a.932.932 0 0 0 1.111.163c2.008-1.102 8.35-4.642 10.021-6.312 1.475-1.478 1.133-4.77.855-6.385Zm-2.961 3.722a1.88 1.88 0 1 1-3.76 0 1.88 1.88 0 0 1 3.76 0Z\"/></svg>\n          Upgrade to PRO\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 12H8m12 0-4 4m4-4-4-4M9 4H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h2\"/></svg>\n          Sign out\n        </a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Avatar with name\n\nUse this example to also show the name or email of the user next to the avatar for the dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"520\" >}}\n<button id=\"dropdownAvatarNameButton\" data-dropdown-toggle=\"dropdownAvatarName\" class=\"flex items-center text-sm pe-1 font-medium text-heading rounded-full hover:text-fg-brand md:me-0 focus:ring-4 focus:ring-neutral-tertiary\" type=\"button\">\n  <span class=\"sr-only\">Open user menu</span>\n  <img class=\"w-8 h-8 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"user photo\">\n  Joseph McFall\n  <svg class=\"w-4 h-4 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownAvatarName\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n    <div class=\"p-2\">\n      <div class=\"flex items-center px-2.5 p-2 space-x-1.5 text-sm bg-neutral-secondary-strong rounded\">\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n        <div class=\"text-sm\">\n          <div class=\"font-medium text-heading\">Joseph McFall</div>\n          <div class=\"truncate text-body\">name@flowbite.com</div>\n        </div>\n        <span class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded ms-auto\">PRO</span>\n      </div>\n    </div>\n    <ul class=\"px-2 pb-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownAvatarNameButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M7 17v1a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-4a3 3 0 0 0-3 3Zm8-9a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n          Account\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n          Settings\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 14v3m-3-6V7a3 3 0 1 1 6 0v4m-8 0h10a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1Z\"/></svg>\n          Privacy\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5.365V3m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175 0 .593 0 1.292-.538 1.292H5.538C5 18 5 17.301 5 16.708c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 12 5.365ZM8.733 18c.094.852.306 1.54.944 2.112a3.48 3.48 0 0 0 4.646 0c.638-.572 1.236-1.26 1.33-2.112h-6.92Z\"/></svg>\n          Notifications\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          Help center\n        </a>\n      </li>\n      <li class=\"flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded mb-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\"/></svg>\n          Dark mode\n        </a>\n        <label class=\"inline-flex items-center cursor-pointer ms-auto\">\n          <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n          <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n          <span class=\"ms-3 text-sm font-medium text-heading sr-only\">Toggle me</span>\n        </label>\n      </li>\n      <li class=\"border-t border-default-medium pt-1.5\">\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.051 8.102-3.778.322-1.994 1.994a.94.94 0 0 0 .533 1.6l2.698.316m8.39 1.617-.322 3.78-1.994 1.994a.94.94 0 0 1-1.595-.533l-.4-2.652m8.166-11.174a1.366 1.366 0 0 0-1.12-1.12c-1.616-.279-4.906-.623-6.38.853-1.671 1.672-5.211 8.015-6.31 10.023a.932.932 0 0 0 .162 1.111l.828.835.833.832a.932.932 0 0 0 1.111.163c2.008-1.102 8.35-4.642 10.021-6.312 1.475-1.478 1.133-4.77.855-6.385Zm-2.961 3.722a1.88 1.88 0 1 1-3.76 0 1.88 1.88 0 0 1 3.76 0Z\"/></svg>\n          Upgrade to PRO\n        </a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded\">\n          <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 12H8m12 0-4 4m4-4-4-4M9 4H7a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h2\"/></svg>\n          Sign out\n        </a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown navbar\n\nYou can also use the dropdown element inside a navigation bar and add a second level of navigation hierarchy, but make sure to use a `button` element.\n\n{{< example bodyClass=\"!p-0\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n\n<nav class=\"bg-neutral-primary border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto px-4 py-2.5\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-headings font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-dropdown\" type=\"button\" class=\"inline-flex items-center p-2 ms-3 w-10 h-10 justify-center inline-flex items-center p-2 ms-3 w-10 h-10 justify-center text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base focus:outline-none md:hidden\" aria-controls=\"navbar-dropdown\" aria-expanded=\"false\">\n      <span class=\"sr-only\">Open main menu</span>\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-dropdown\">\n      <ul class=\"flex flex-col font-medium p-4 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:mt-0 md:text-sm  md:border-0 md:bg-neutral-primary md:space-x-8 md:rtl:space-x-reverse space-y-1\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0 md:text-fg-brand md:dark:bg-transparent\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"dropdownNavbarLink\" data-dropdown-toggle=\"dropdownNavbar\" class=\"flex items-center justify-between w-full py-2 px-3 text-body rounded hover:bg-neutral-tertiary-medium md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:w-auto md:dark:hover:bg-transparent\">\n              Dropdown \n              <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownNavbar\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n                <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLargeButton\">\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n                  </li>\n                </ul>\n            </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-body rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0  md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-body rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0  md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-body rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0  md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Dropdown datepicker\n\nUse this example to show a date range picker inside a dropdown menu. Use the `data-dropdown-ignore-click-outside-class={class}` option to keep the dropdown menu open when interacting with the datepicker component by setting the element's parent class name.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"520\" >}}\n<button id=\"dateRangeButton\" data-dropdown-toggle=\"dateRangeDropdown\" data-dropdown-ignore-click-outside-class=\"datepicker\" type=\"button\" class=\"inline-flex items-center text-fg-brand font-medium hover:underline\">\n31 Nov <p class=\"ms-1\"> - 31 Dev </p> \n  <svg class=\"w-5 h-5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<div id=\"dateRangeDropdown\" class=\"z-10 hidden bg-neutral-primary-soft border border-default rounded-base shadow-sm w-96\">\n  <div class=\"p-3\" aria-labelledby=\"dateRangeButton\">\n    <div id=\"date-range-picker\" date-rangepicker class=\"flex items-center\">\n      <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n        </div>\n        <input id=\"datepicker-range-start\" name=\"start\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Date start\">\n      </div>\n      <span class=\"mx-4 text-body\">to</span>\n      <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n        </div>\n        <input id=\"datepicker-range-end\" name=\"end\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Date end\">\n      </div>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Sizes\n\nThe dropdown menus work with buttons of all sizes including smaller or larger ones.\n\n{{< example github=\"components/dropdowns.md\" class=\"space-x-2 space-y-2\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownSmallButton\" data-dropdown-toggle=\"dropdownSmall\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Small dropdown \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSmall\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownSmallButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownLargeButton\" data-dropdown-toggle=\"dropdownLarge\" class=\"inline-flex items-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\" type=\"button\">\n  Large dropdown \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLarge\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLargeButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Placement\n\nYou can also use the `data-dropdown-placement={top|right|bottom|left}` data attribute options to choose the placement of the dropdown menu. By default the positioning is set to the bottom side of the button.\n\n{{< example class=\"flex flex-wrap space-x-4 justify-center py-48\" github=\"components/dropdowns.md\" show_dark=true >}}\n<button id=\"dropdownTopButton\" data-dropdown-toggle=\"dropdownTop\" data-dropdown-placement=\"top\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown top \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15 7-7 7 7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownTop\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownTopButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownRightButton\" data-dropdown-toggle=\"dropdownRight\" data-dropdown-placement=\"right\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown right \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRight\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownRightButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownBottomButton\" data-dropdown-toggle=\"dropdownBottom\" data-dropdown-placement=\"bottom\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown bottom \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownBottom\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownBottomButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownLeftButton\" data-dropdown-toggle=\"dropdownLeft\" data-dropdown-placement=\"left\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n  Dropdown left\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLeft\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLeftButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Double placement\n\nYou can combine the placement options by using the `top|right|bottom|left-{start|end}` values. For example, `left-end` will position the dropdown on the left bottom, whereas `right-end` will position it on the right bottom side.\n\n{{< example class=\"flex flex-wrap justify-center space-x-4\" github=\"components/dropdowns.md\" iframeHeight=\"240\" show_dark=true >}}\n<button id=\"dropdownLeftEndButton\" data-dropdown-toggle=\"dropdownLeftEnd\" data-dropdown-placement=\"left-end\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n  Dropdown left end\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLeftEnd\" class=\"z-20 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLeftEndButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownRightEndButton\" data-dropdown-toggle=\"dropdownRightEnd\" data-dropdown-placement=\"right-end\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown right end\n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRightEnd\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownRightEndButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Dropdown offset\n\nUse the offset options on the dropdown component to set the distance and skidding of the menu relative to the trigger element.\n\n### Distance\n\nUse the `data-dropdown-offset-distance={pixels}` data attribute to set the number of pixels you want the dropdown menu to be offset from the trigger element.\n\n{{< example class=\"flex flex-wrap justify-center\" github=\"components/dropdowns.md\" iframeHeight=\"320\" show_dark=true >}}\n<button id=\"dropdownOffsetButton\" data-dropdown-toggle=\"dropdownDistance\" data-dropdown-offset-distance=\"35\" data-dropdown-offset-skidding=\"0\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDistance\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefault\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n### Skidding\n\nThe `data-dropdown-offset-skidding={pixels}` data attribute can be used to move up or down (or left and right) the dropdown menu along and relative to the trigger element.\n\n{{< example class=\"flex flex-wrap justify-center\" github=\"components/dropdowns.md\" iframeHeight=\"320\" show_dark=true >}}\n<button id=\"dropdownOffsetButton\" data-dropdown-toggle=\"dropdownSkidding\" data-dropdown-offset-distance=\"10\" data-dropdown-offset-skidding=\"100\" data-dropdown-placement=\"right\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSkidding\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefault\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## More examples\n\nFor more dropdown examples you can check out the [dropdown filter](https://flowbite.com/blocks/application/filter/) components from Flowbite Blocks.\n\n## JavaScript behaviour\n\nThe **Dropdown** class from Flowbite can be used to create an object that will show a dropdown menu relative to the main trigger element (eg. a button) based on the parameters, options, and methods that you provide.\n\n### Object parameters\n\nInitialize a Dropdown object with the object parameters such as the main target dropdown menu, a trigger element (eg. a button) and options to set the placement relative to the trigger element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">targetElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Apply the main dropdown menu element as the first parameter of the Dropdown object.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">triggerElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Apply the trigger element, such as a button, which is required to position the dropdown menu and set a click event.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use the options parameter to set the positioning of the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse the following options as the third parameter for the Dropdown class to set the placement of the dropdown menu.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">placement</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the position of the dropdown menu relative to the trigger element choosing from <code class=\"text-fg-brand\">top|right|bottom|left</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">triggerType</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the event type that will trigger the dropdown menu choosing between <code class=\"text-fg-brand\">hover|click|none</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">offsetDistance</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the amount of pixels the dropdown menu should be offset relative to the trigger element on the X horizontal axis.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">offsetSkidding</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the number of pixels the dropdown menu should be offset relative to the trigger element on the Y horizontal axis.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">delay</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Number\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the milliseconds for which the showing or hiding of the dropdown will be delayed for when using the hover trigger type.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">ignoreClickOutsideClass</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a class for one or more elements that when they are clicked should ignore closing the dropdown (ie. offcanvas datepicker).\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onHide</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown has been hidden.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onShow</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown has been shown.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">onToggle</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown visibility has been toggled.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the methods from the Dropdown object to programmatically show or hide the dropdown menu directly from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">show()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to show the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to hide the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">toggle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to toggle the visibility of the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">isVisible()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Returns true or false based on the visibility of the dropdown.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown has been hidden.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown visibility has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Dropdown object.\n\nFirst of all, you need to set the main target element which will be the dropdown menu and the trigger element which will can be a button or a text.\n\nAfter that, you can also optionally set an options object to set the placement of the dropdown menu and callback functions.\n\n{{< code lang=\"javascript\" file=\"dropdown.js\" icon=\"file\" >}}\n// set the dropdown menu element\nconst $targetEl = document.getElementById('dropdownMenu');\n\n// set the element that trigger the dropdown menu on click\nconst $triggerEl = document.getElementById('dropdownButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'click',\n    offsetSkidding: 0,\n    offsetDistance: 10,\n    delay: 300,\n    ignoreClickOutsideClass: false,\n    onHide: () => {\n        console.log('dropdown has been hidden');\n    },\n    onShow: () => {\n        console.log('dropdown has been shown');\n    },\n    onToggle: () => {\n        console.log('dropdown has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'dropdownMenu',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Dropdown object based on the options above.\n\n{{< code lang=\"javascript\" file=\"dropdown.js\" icon=\"file\" >}}\nimport { Dropdown } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dropdown = new Dropdown($targetEl, $triggerEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show` and `hide` methods on the Dropdown object to programmatically show or hide the dropdown menu directly from JavaScript.\n\n{{< code lang=\"javascript\" file=\"dropdown.js\" icon=\"file\" >}}\n// show the dropdown menu\ndropdown.show();\n\n// hide the dropdown menu\ndropdown.hide();\n\n// toggle the dropdown menu\ndropdown.toggle();\n\n// check if dropdown is visible/open\ndropdown.isVisible();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"dropdown.html\" icon=\"file\" >}}\n<button id=\"dropdownButton\" data-dropdown-toggle=\"dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownMenu\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownButton\">\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Dropdown class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"dropdown.ts\" icon=\"file\" >}}\nimport { Dropdown } from 'flowbite';\nimport type { DropdownOptions, DropdownInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the dropdown menu element\nconst $targetEl: HTMLElement = document.getElementById('dropdownMenu');\n\n// set the element that trigger the dropdown menu on click\nconst $triggerEl: HTMLElement = document.getElementById('dropdownButton');\n\n// options with default values\nconst options: DropdownOptions = {\n    placement: 'bottom',\n    triggerType: 'click',\n    offsetSkidding: 0,\n    offsetDistance: 10,\n    delay: 300,\n    onHide: () => {\n        console.log('dropdown has been hidden');\n    },\n    onShow: () => {\n        console.log('dropdown has been shown');\n    },\n    onToggle: () => {\n        console.log('dropdown has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'dropdownMenu',\n  override: true\n};\n\n/*\n * targetEl: required\n * triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dropdown: DropdownInterface = new Dropdown(\n    $targetEl,\n    $triggerEl,\n    options,\n    instanceOptions\n);\n\n// show the dropdown\ndropdown.show();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/footer.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Footer - Flowbite\ndescription: Use the footer section at the bottom of every page to show valuable information to your users, such as sitemap links, a copyright notice, and a logo\ngroup: components\ntoc: true\n\nprevious: Dropdowns\npreviousLink: components/dropdowns/\nnext: Forms\nnextLink: components/forms/\n---\n\nThe footer is one of the most underestimated sections of a website being located at the very bottom of every page, however, it can be used as a way to try to convince users to stay on your website if they haven't found the information they've been looking for inside the main content area.\n\nUse these footer sections coded with the utility classes from Tailwind CSS and components from Flowbite to offer valuable information to your users such as the brand's logo, sitemap links, copyright notice, social media profiles, and more.\n\n## Default footer\n\nUse this footer component to show a copyright notice and some helpful website links.\n\n{{< example bodyClass=\"!p-0\" github=\"components/footer.md\" class=\"p-2\" show_dark=true >}}\n\n<footer class=\"bg-neutral-primary-soft rounded-base shadow-xs border border-default m-4\">\n    <div class=\"w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-between\">\n      <span class=\"text-sm text-body sm:text-center\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n    </span>\n    <ul class=\"flex flex-wrap items-center mt-3 text-sm font-medium text-body sm:mt-0\">\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline\">Contact</a>\n        </li>\n    </ul>\n    </div>\n</footer>\n{{< /example >}}\n\n## Footer with logo\n\nUse this component to show your brand's logo, a few website links and the copyright notice on a second row.\n\n{{< example bodyClass=\"!p-0\" github=\"components/footer.md\" class=\"p-2\" show_dark=true >}}\n\n<footer class=\"bg-neutral-primary-soft rounded-base shadow-xs border border-default m-4\">\n    <div class=\"w-full max-w-screen-xl mx-auto p-4 md:py-8\">\n        <div class=\"sm:flex sm:items-center sm:justify-between\">\n            <a href=\"https://flowbite.com/\" class=\"flex items-center mb-4 sm:mb-0 space-x-3 rtl:space-x-reverse\">\n                <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n                <span class=\"text-heading self-center text-2xl font-semibold whitespace-nowrap\">Flowbite</span>\n            </a>\n            <ul class=\"flex flex-wrap items-center mb-6 text-sm font-medium text-body sm:mb-0\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline\">Contact</a>\n                </li>\n            </ul>\n        </div>\n        <hr class=\"my-6 border-default sm:mx-auto lg:my-8\" />\n        <span class=\"block text-sm text-body sm:text-center\">© 2023 <a href=\"https://flowbite.com/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.</span>\n    </div>\n</footer>\n\n{{< /example >}}\n\n## Social media icons\n\nThis footer component can be used to show your brand's logo, multiple rows of website links, a copyright notice and social media profile icons including Twitter, Facebook, Instagram, and more.\n\n{{< example bodyClass=\"!p-0\" github=\"components/footer.md\" show_dark=true >}}\n\n<footer class=\"bg-neutral-primary-soft\">\n    <div class=\"mx-auto w-full max-w-screen-xl p-4 py-6 lg:py-8\">\n        <div class=\"md:flex md:justify-between\">\n          <div class=\"mb-6 md:mb-0\">\n              <a href=\"{{< param homepage >}}/\" class=\"flex items-center\">\n                  <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7 me-3\" alt=\"FlowBite Logo\" />\n                  <span class=\"text-heading self-center text-2xl font-semibold whitespace-nowrap\">Flowbite</span>\n              </a>\n          </div>\n          <div class=\"grid grid-cols-2 gap-8 sm:gap-6 sm:grid-cols-3\">\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Resources</h2>\n                  <ul class=\"text-body font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite</a>\n                      </li>\n                      <li>\n                          <a href=\"https://tailwindcss.com/\" class=\"hover:underline\">Tailwind CSS</a>\n                      </li>\n                  </ul>\n              </div>\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Follow us</h2>\n                  <ul class=\"text-body font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"https://github.com/themesberg/flowbite\" class=\"hover:underline \">Github</a>\n                      </li>\n                      <li>\n                          <a href=\"https://discord.gg/4eeurUVvTy\" class=\"hover:underline\">Discord</a>\n                      </li>\n                  </ul>\n              </div>\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Legal</h2>\n                  <ul class=\"text-body font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"#\" class=\"hover:underline\">Privacy Policy</a>\n                      </li>\n                      <li>\n                          <a href=\"#\" class=\"hover:underline\">Terms &amp; Conditions</a>\n                      </li>\n                  </ul>\n              </div>\n          </div>\n      </div>\n      <hr class=\"my-6 border-default sm:mx-auto lg:my-8\" />\n      <div class=\"sm:flex sm:items-center sm:justify-between\">\n          <span class=\"text-sm text-body sm:text-center\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n          </span>\n          <div class=\"flex mt-4 sm:justify-center sm:mt-0\">\n            <a href=\"#\" class=\"text-body hover:text-heading\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M13.135 6H15V3h-1.865a4.147 4.147 0 0 0-4.142 4.142V9H7v3h2v9.938h3V12h2.021l.592-3H12V6.591A.6.6 0 0 1 12.592 6h.543Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">Facebook page</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M18.942 5.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.586 11.586 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3 17.392 17.392 0 0 0-2.868 11.662 15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.638 10.638 0 0 1-1.706-.83c.143-.106.283-.217.418-.331a11.664 11.664 0 0 0 10.118 0c.137.114.277.225.418.331-.544.328-1.116.606-1.71.832a12.58 12.58 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM8.678 14.813a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.929 1.929 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z\"/></svg>\n                <span class=\"sr-only\">Discord community</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.795 10.533 20.68 2h-3.073l-5.255 6.517L7.69 2H1l7.806 10.91L1.47 22h3.074l5.705-7.07L15.31 22H22l-8.205-11.467Zm-2.38 2.95L9.97 11.464 4.36 3.627h2.31l4.528 6.317 1.443 2.02 6.018 8.409h-2.31l-4.934-6.89Z\"/></svg>\n            <span class=\"sr-only\">Twitter page</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.006 2a9.847 9.847 0 0 0-6.484 2.44 10.32 10.32 0 0 0-3.393 6.17 10.48 10.48 0 0 0 1.317 6.955 10.045 10.045 0 0 0 5.4 4.418c.504.095.683-.223.683-.494 0-.245-.01-1.052-.014-1.908-2.78.62-3.366-1.21-3.366-1.21a2.711 2.711 0 0 0-1.11-1.5c-.907-.637.07-.621.07-.621.317.044.62.163.885.346.266.183.487.426.647.71.135.253.318.476.538.655a2.079 2.079 0 0 0 2.37.196c.045-.52.27-1.006.635-1.37-2.219-.259-4.554-1.138-4.554-5.07a4.022 4.022 0 0 1 1.031-2.75 3.77 3.77 0 0 1 .096-2.713s.839-.275 2.749 1.05a9.26 9.26 0 0 1 5.004 0c1.906-1.325 2.74-1.05 2.74-1.05.37.858.406 1.828.101 2.713a4.017 4.017 0 0 1 1.029 2.75c0 3.939-2.339 4.805-4.564 5.058a2.471 2.471 0 0 1 .679 1.897c0 1.372-.012 2.477-.012 2.814 0 .272.18.592.687.492a10.05 10.05 0 0 0 5.388-4.421 10.473 10.473 0 0 0 1.313-6.948 10.32 10.32 0 0 0-3.39-6.165A9.847 9.847 0 0 0 12.007 2Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">GitHub account</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12 2a10 10 0 1 0 10 10A10.009 10.009 0 0 0 12 2Zm6.613 4.614a8.523 8.523 0 0 1 1.93 5.32 20.093 20.093 0 0 0-5.949-.274c-.059-.149-.122-.292-.184-.441a23.879 23.879 0 0 0-.566-1.239 11.41 11.41 0 0 0 4.769-3.366ZM10 3.707a8.82 8.82 0 0 1 2-.238 8.5 8.5 0 0 1 5.664 2.152 9.608 9.608 0 0 1-4.476 3.087A45.755 45.755 0 0 0 10 3.707Zm-6.358 6.555a8.57 8.57 0 0 1 4.73-5.981 53.99 53.99 0 0 1 3.168 4.941 32.078 32.078 0 0 1-7.9 1.04h.002Zm2.01 7.46a8.51 8.51 0 0 1-2.2-5.707v-.262a31.641 31.641 0 0 0 8.777-1.219c.243.477.477.964.692 1.449-.114.032-.227.067-.336.1a13.569 13.569 0 0 0-6.942 5.636l.009.003ZM12 20.556a8.508 8.508 0 0 1-5.243-1.8 11.717 11.717 0 0 1 6.7-5.332.509.509 0 0 1 .055-.02 35.65 35.65 0 0 1 1.819 6.476 8.476 8.476 0 0 1-3.331.676Zm4.772-1.462A37.232 37.232 0 0 0 15.113 13a12.513 12.513 0 0 1 5.321.364 8.56 8.56 0 0 1-3.66 5.73h-.002Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">Dribbble account</span>\n            </a>\n          </div>\n      </div>\n    </div>\n</footer>\n{{< /example >}}\n\n## Sitemap links\n\nIf you have a website with many pages you can use this footer component to show a sitemap spanning the entire width of a row followed below by a copyright notice and social media icons.\n\n{{< example bodyClass=\"!p-0\" github=\"components/footer.md\" show_dark=true >}}\n\n<footer class=\"bg-neutral-primary\">\n    <div class=\"mx-auto w-full max-w-screen-xl\">\n      <div class=\"grid grid-cols-2 gap-8 px-4 py-6 lg:py-8 md:grid-cols-4\">\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Company</h2>\n            <ul class=\"text-body font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\" hover:underline\">About</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Careers</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Brand Center</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Blog</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Help center</h2>\n            <ul class=\"text-body font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Discord Server</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Twitter</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Facebook</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Contact Us</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Legal</h2>\n            <ul class=\"text-body font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Privacy Policy</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Licensing</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Terms &amp; Conditions</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-heading uppercase\">Download</h2>\n            <ul class=\"text-body font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">iOS</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Android</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Windows</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">MacOS</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div class=\"px-4 py-6 bg-neutral-secondary-soft md:flex md:items-center md:justify-between\">\n        <span class=\"text-sm text-body sm:text-center\">© 2023 <a href=\"{{< param homepage >}}/\">Flowbite™</a>. All Rights Reserved.\n        </span>\n        <div class=\"flex mt-4 sm:justify-center md:mt-0 space-x-2 rtl:space-x-reverse\">\n          <a href=\"#\" class=\"text-body hover:text-heading\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M13.135 6H15V3h-1.865a4.147 4.147 0 0 0-4.142 4.142V9H7v3h2v9.938h3V12h2.021l.592-3H12V6.591A.6.6 0 0 1 12.592 6h.543Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">Facebook page</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M18.942 5.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.586 11.586 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3 17.392 17.392 0 0 0-2.868 11.662 15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.638 10.638 0 0 1-1.706-.83c.143-.106.283-.217.418-.331a11.664 11.664 0 0 0 10.118 0c.137.114.277.225.418.331-.544.328-1.116.606-1.71.832a12.58 12.58 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM8.678 14.813a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.929 1.929 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z\"/></svg>\n                <span class=\"sr-only\">Discord community</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.795 10.533 20.68 2h-3.073l-5.255 6.517L7.69 2H1l7.806 10.91L1.47 22h3.074l5.705-7.07L15.31 22H22l-8.205-11.467Zm-2.38 2.95L9.97 11.464 4.36 3.627h2.31l4.528 6.317 1.443 2.02 6.018 8.409h-2.31l-4.934-6.89Z\"/></svg>\n            <span class=\"sr-only\">Twitter page</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.006 2a9.847 9.847 0 0 0-6.484 2.44 10.32 10.32 0 0 0-3.393 6.17 10.48 10.48 0 0 0 1.317 6.955 10.045 10.045 0 0 0 5.4 4.418c.504.095.683-.223.683-.494 0-.245-.01-1.052-.014-1.908-2.78.62-3.366-1.21-3.366-1.21a2.711 2.711 0 0 0-1.11-1.5c-.907-.637.07-.621.07-.621.317.044.62.163.885.346.266.183.487.426.647.71.135.253.318.476.538.655a2.079 2.079 0 0 0 2.37.196c.045-.52.27-1.006.635-1.37-2.219-.259-4.554-1.138-4.554-5.07a4.022 4.022 0 0 1 1.031-2.75 3.77 3.77 0 0 1 .096-2.713s.839-.275 2.749 1.05a9.26 9.26 0 0 1 5.004 0c1.906-1.325 2.74-1.05 2.74-1.05.37.858.406 1.828.101 2.713a4.017 4.017 0 0 1 1.029 2.75c0 3.939-2.339 4.805-4.564 5.058a2.471 2.471 0 0 1 .679 1.897c0 1.372-.012 2.477-.012 2.814 0 .272.18.592.687.492a10.05 10.05 0 0 0 5.388-4.421 10.473 10.473 0 0 0 1.313-6.948 10.32 10.32 0 0 0-3.39-6.165A9.847 9.847 0 0 0 12.007 2Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">GitHub account</span>\n            </a>\n            <a href=\"#\" class=\"text-body hover:text-heading ms-5\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12 2a10 10 0 1 0 10 10A10.009 10.009 0 0 0 12 2Zm6.613 4.614a8.523 8.523 0 0 1 1.93 5.32 20.093 20.093 0 0 0-5.949-.274c-.059-.149-.122-.292-.184-.441a23.879 23.879 0 0 0-.566-1.239 11.41 11.41 0 0 0 4.769-3.366ZM10 3.707a8.82 8.82 0 0 1 2-.238 8.5 8.5 0 0 1 5.664 2.152 9.608 9.608 0 0 1-4.476 3.087A45.755 45.755 0 0 0 10 3.707Zm-6.358 6.555a8.57 8.57 0 0 1 4.73-5.981 53.99 53.99 0 0 1 3.168 4.941 32.078 32.078 0 0 1-7.9 1.04h.002Zm2.01 7.46a8.51 8.51 0 0 1-2.2-5.707v-.262a31.641 31.641 0 0 0 8.777-1.219c.243.477.477.964.692 1.449-.114.032-.227.067-.336.1a13.569 13.569 0 0 0-6.942 5.636l.009.003ZM12 20.556a8.508 8.508 0 0 1-5.243-1.8 11.717 11.717 0 0 1 6.7-5.332.509.509 0 0 1 .055-.02 35.65 35.65 0 0 1 1.819 6.476 8.476 8.476 0 0 1-3.331.676Zm4.772-1.462A37.232 37.232 0 0 0 15.113 13a12.513 12.513 0 0 1 5.321.364 8.56 8.56 0 0 1-3.66 5.73h-.002Z\" clip-rule=\"evenodd\"/></svg>\n                <span class=\"sr-only\">Dribbble account</span>\n            </a>\n        </div>\n      </div>\n    </div>\n</footer>\n{{< /example >}}\n\n## Sticky footer\n\nUse this example to set create a sticky footer by using a fixed position to the bottom of the document page as the user scrolls up or down the main content area.\n\n{{< example bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<footer class=\"fixed bottom-0 left-0 z-20 w-full p-4 bg-neutral-primary-soft border-t border-default shadow-sm md:flex md:items-center md:justify-between md:p-6\">\n    <span class=\"text-sm text-body sm:text-center\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n    </span>\n    <ul class=\"flex flex-wrap items-center mt-3 text-sm font-medium text-body sm:mt-0\">\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline\">Contact</a>\n        </li>\n    </ul>\n</footer>\n{{< /example >}}\n\n## More examples\n\nFor more footer examples you can check out the footer sections from Flowbite Blocks:\n\n-   [Footers for dashboard](https://flowbite.com/blocks/application/dashboard-footer/)\n-   [Footers for marketing](https://flowbite.com/blocks/marketing/footer/)\n"
  },
  {
    "path": "content/components/forms.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Forms - Flowbite\ndescription: Use the Tailwind CSS form and input elements such as checkboxes, radios, textarea, text inputs to collect information from users with Flowbite\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Footer\npreviousLink: components/footer/\nnext: Gallery\nnextLink: components/gallery/\n---\n\nGet started with these custom Tailwind CSS form components to gather information from your users using input text elements, checkboxes, radios, textareas, selects, file uploads, toggle switches, and more.\n\n## Default form\n\nThis is an example of a form component including an email, password, checkbox, and submit button that you can use as a starting point for any form element in your website using Flowbite and Tailwind CSS.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n    <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n    <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n    <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"••••••••\" required />\n  </div>\n  <label for=\"remember\" class=\"flex items-center mb-5\">\n    <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" required />\n    <p class=\"ms-2 text-sm font-medium text-heading select-none\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</p>\n  </label>\n  <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Submit</button>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n## Floating labels\n\nUse these form elements inspired by material design from Google to adjust the `label` tag as the visual placeholder for the input elements using the `peer-placeholder-shown` and `peer-focus` utility classes. These components require Tailwind CSS v3.x and above.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n\n<form class=\"max-w-md mx-auto\">\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"email\" name=\"floating_email\" id=\"floating_email\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n      <label for=\"floating_email\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Email address</label>\n  </div>\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"password\" name=\"floating_password\" id=\"floating_password\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n      <label for=\"floating_password\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Password</label>\n  </div>\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"password\" name=\"repeat_password\" id=\"floating_repeat_password\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n      <label for=\"floating_repeat_password\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Confirm password</label>\n  </div>\n  <div class=\"grid md:grid-cols-2 md:gap-6\">\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_first_name\" id=\"floating_first_name\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n        <label for=\"floating_first_name\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">First name</label>\n    </div>\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_last_name\" id=\"floating_last_name\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n        <label for=\"floating_last_name\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Last name</label>\n    </div>\n  </div>\n  <div class=\"grid md:grid-cols-2 md:gap-6\">\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"tel\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" name=\"floating_phone\" id=\"floating_phone\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n        <label for=\"floating_phone\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Phone number</label>\n    </div>\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_company\" id=\"floating_company\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" required />\n        <label for=\"floating_company\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Company (Ex. Google)</label>\n    </div>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Submit</button>\n</form>\n{{< /example >}}\n\n## Input Sizes\n\nUse the following utility classes to create three different sizing options (large, base, and small) for your form input elements.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto space-y-4\">\n    <div>\n        <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Small Input</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n    </div>\n    <div>\n        <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Base Input</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n    </div>\n    <div>\n        <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Large Input</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-base rounded-base focus:ring-brand focus:border-brand block w-full px-3.5 py-3 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n    </div>\n    <div>\n        <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Extra Large Input</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-base rounded-base focus:ring-brand focus:border-brand block w-full px-4 py-3.5 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n    </div>\n</form>\n{{< /example >}}\n\n## Disabled inputs\n\nUse the following utility classes to indicate a disabled form input item.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto space-y-4\">\n  <input type=\"text\" id=\"disabled-input\" aria-label=\"disabled input\" class=\"bg-neutral-secondary-medium border border-default-medium text-fg-disabled text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"Disabled input\" disabled>\n  <input type=\"text\" id=\"disabled-input-2\" aria-label=\"disabled input 2\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"Disabled readonly input\" disabled readonly>\n</form>\n{{< /example >}}\n\n## Shadow inputs\n\nAlternatively, you can decide to apply a shadow styling using the `shadow-xs` class to any of your form input elements.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n    <label for=\"email-alternative\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n    <input type=\"email\" id=\"email-alternative\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow placeholder:text-body\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"password-alternative\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n    <input type=\"password\" id=\"password-alternative\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow placeholder:text-body\" placeholder=\"••••••••\" required />\n  </div>\n  <div class=\"flex items-start mb-5\">\n    <label for=\"remember-alternative\" class=\"flex items-center h-5\">\n      <input id=\"remember-alternative\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" required />\n      <p class=\"ms-2 text-sm font-medium text-heading select-none\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</p>\n    </label>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Submit</button>\n</form>\n\n{{< /example >}}\n\n## Helper text\n\nUse the following markup to also add a helper text below your form input item. Usually used for newsletter signup elements.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\"> \n  <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n  <input type=\"email\" id=\"email\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\">\n\n  <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Read our <a href=\"#\" class=\"font-medium text-fg-brand hover:underline \">Privacy Policy</a>.</p>\n</form>\n{{< /example >}}\n\n## Input element with icon\n\nUse the following Tailwind utility classes and [SVG icon](https://flowbite.com/icons/) to add an icon inside input form elements.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"input-group-1\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your Email</label>\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n      <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n    </div>\n    <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\">\n  </div>\n</form>\n{{< /example >}}\n\n## Input element with addon\n\nUse this example to add a SVG icon or special character with an addon style to the input element.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"website-admin\" class=\"block mb-2.5 text-sm font-medium text-heading\">Username</label>\n  <div class=\"flex shadow-xs rounded-base\">\n    <span class=\"inline-flex items-center px-3 text-sm text-body bg-neutral-tertiary border rounded-e-0 border-default-medium border-e-0 rounded-s-base\">\n      <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n    </span>\n    <input type=\"text\" id=\"website-admin\" class=\"rounded-none rounded-e-base block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand placeholder:text-body\" placeholder=\"elonmusk\">\n  </div>\n</form>\n{{< /example >}}\n\n## Form validation\n\nUse the following two success and error styles when validation your forms.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-6\">\n    <label for=\"success\" class=\"block mb-2.5 text-sm font-medium text-fg-success-strong\">Your name</label>\n    <input type=\"text\" id=\"success\" class=\"bg-success-soft border border-success-subtle text-fg-success-strong text-sm rounded-base focus:ring-success focus:border-success block w-full px-3 py-2.5 shadow-xs placeholder:text-fg-success-strong\" placeholder=\"Success input\">\n    <p class=\"mt-2.5 text-sm text-fg-success-strong\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n  </div>\n  <div class=\"mb-6\">\n    <label for=\"danger\" class=\"block mb-2.5 text-sm font-medium text-fg-danger-strong\">Your name</label>\n    <input type=\"text\" id=\"danger\" class=\"bg-danger-soft border border-danger-subtle text-fg-danger-strong text-sm rounded-base focus:ring-danger focus:border-danger block w-full px-3 py-2.5 shadow-xs placeholder:text-fg-danger-strong\" placeholder=\"Error input\">\n    <p class=\"mt-2.5 text-sm text-fg-danger-strong\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n  </div>\n</form>\n{{< /example >}}\n\n## Textarea\n\nUse the following code to create a textarea form element.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"message\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your message</label>\n  <textarea id=\"message\" rows=\"4\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write your thoughts here...\"></textarea>\n</form>\n{{< /example >}}\n\n## Select input\n\nUse the following select input element to show selectable list of items.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select an option</label>\n  <select id=\"countries\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n## Checkbox\n\nThe code below can be used to create a fieldset of checkbox elements inside a form. We also created a checkbox variant with extra description and one in a disabled form.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n\n<fieldset>\n  <legend class=\"sr-only\">Checkbox variants</legend>\n\n  <div class=\"flex items-center mb-4\">\n      <input checked id=\"checkbox-1\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" >\n      <label for=\"checkbox-1\" class=\"ms-2 text-sm font-medium text-heading select-none\">I agree to the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n      <input id=\"checkbox-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n      <label for=\"checkbox-2\" class=\"ms-2 text-sm font-medium text-heading select-none\">I want to get promotional offers</label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n      <input id=\"checkbox-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n      <label for=\"checkbox-3\" class=\"ms-2 text-sm font-medium text-heading select-none\">I am 18 years or older</label>\n  </div>\n  \n  <div class=\"flex mb-4\">\n      <div class=\"flex items-center h-5\">\n          <input id=\"helper-checkbox\" aria-describedby=\"helper-checkbox-text\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n      </div>\n      <div class=\"ms-2 text-sm select-none\">\n          <label for=\"helper-checkbox\" class=\"text-sm font-medium text-heading\">Free shipping via Flowbite</label>\n          <p id=\"helper-checkbox-text\" class=\"text-xs text-body\">For orders shipped from $25 in books or $29 in other categories</p>\n      </div>\n  </div>\n\n  <div class=\"flex items-center\">\n      <input id=\"international-shipping-disabled\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" disabled>\n      <label for=\"international-shipping-disabled\" class=\"ms-2 text-sm font-medium text-fg-disabled select-none\">Eligible for international shipping (disabled)</label>\n  </div>\n</fieldset>\n{{< /example >}}\n\n## Radio buttons\n\nGroup a series of buttons together on a single line or stack them in a vertical column.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n\n<fieldset>\n  <legend class=\"sr-only\">Countries</legend>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-1\" type=\"radio\" name=\"countries\" value=\"USA\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\" checked>\n    <label for=\"country-option-1\" class=\"select-none ms-2 text-sm font-medium text-heading\">\n      United States\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-2\" type=\"radio\" name=\"countries\" value=\"Germany\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"country-option-2\" class=\"select-none ms-2 text-sm font-medium text-heading\">\n      Germany\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-3\" type=\"radio\" name=\"countries\" value=\"Spain\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"country-option-3\" class=\"select-none ms-2 text-sm font-medium text-heading\">\n      Spain\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-4\" type=\"radio\" name=\"countries\" value=\"United Kingdom\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"country-option-4\" class=\"select-none ms-2 text-sm font-medium text-heading\">\n      United Kingdom\n    </label>\n  </div>\n\n  <div class=\"flex items-center\">\n    <input id=\"option-disabled\" type=\"radio\" name=\"countries\" value=\"China\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\" disabled>\n    <label for=\"option-disabled\" class=\"block ms-2 text-sm font-medium text-fg-disabled select-none\">\n      China (disabled)\n    </label>\n  </div>\n</fieldset>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## File upload\n\nUse the following Tailwind CSS file upload element to receive any type of file from users.\n\n{{< example github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-lg mx-auto\">\n  <label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"file_input\">Upload file</label>\n  <input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" id=\"file_input\" type=\"file\">\n</form>\n{{< /example >}}\n\n## Toggle Switch\n\nUse the following toggle switch component to ask for a yes or no type of input from your users without the use of JavaScript.\n\n{{< example class=\"flex flex-col flex-wrap space-y-4\" github=\"components/forms.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"ms-3 text-sm font-medium text-heading select-none\">Toggle me</span>\n</label>\n\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"ms-3 text-sm font-medium text-heading select-none\">Checked toggle</span>\n</label>\n{{< /example >}}\n\n## More examples\n\nYou can check out the following resources for more form components from Flowbite Blocks:\n\n-   [Register forms](https://flowbite.com/blocks/marketing/register/)\n-   [Login forms](https://flowbite.com/blocks/marketing/login/)\n-   [Reset password forms](https://flowbite.com/blocks/marketing/reset-password/)\n-   [Account recovery forms](https://flowbite.com/blocks/marketing/account-recovery/)\n-   [Contact forms](https://flowbite.com/blocks/marketing/contact/)\n-   [CRUD create forms](https://flowbite.com/blocks/application/crud-create-forms/)\n-   [CRUD update forms](https://flowbite.com/blocks/application/crud-update-forms/)\n-   [User onboarding forms](https://flowbite.com/blocks/marketing/user-onboarding/)\n"
  },
  {
    "path": "content/components/gallery.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Gallery (Masonry) - Flowbite\ndescription: Use the image gallery component based on a masonry grid layout using flex and grid classes from Tailwind CSS to show multiple pictures based on various styles\ngroup: components\ntoc: true\n\nprevious: Forms\npreviousLink: components/forms/\nnext: Indicators\nnextLink: components/indicators/\n---\n\nThe gallery component can be used to show multiple images inside a masonry grid layout styles with the utility-first classes from Tailwind CSS to show a collection of pictures to your users based on various layouts, styles, sizes, and colors.\n\nThis component is recommended for usage within marketing UI interfaces and website sections when you want to show pictures of your team members, office pictures, or even case study images.\n\n## Default gallery\n\nUse this component to show a collection of images inside a gallery with three pictures on a row.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 md:grid-cols-3 gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-9.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-10.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-11.jpg\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n## Masonry grid\n\nThis example can be used to show the images inside a masonry grid layouts with four columns.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 md:grid-cols-4 gap-4\">\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-2.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-4.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-5.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-6.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-7.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-8.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-9.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-10.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-11.jpg\" alt=\"\">\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Featured image\n\nThis example can be used to feature the most important image and show a row of five pictures below.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/featured/image.jpg\" alt=\"\">\n    </div>\n    <div class=\"grid grid-cols-5 gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Quad gallery\n\nUse this example to show four larger images with two items on a row.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 gap-2\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n        </div>\n    </div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Gallery with slider\n\nThis example uses the [carousel slider](https://flowbite.com/docs/components/carousel/) functionality to show multiple images inside a slider gallery.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div id=\"gallery\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-5 h-5 text-white rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Custom slider controls\n\nThis example uses an alternative style for the control button for the carousel slider component.\n\n{{< example class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div id=\"custom-controls-gallery\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"flex justify-center items-center pt-4\">\n        <button type=\"button\" class=\"flex justify-center items-center me-4 h-full cursor-pointer group focus:outline-none\" data-carousel-prev>\n            <span class=\"text-body hover:text-heading group-focus:text-heading\">\n                <svg class=\"rtl:rotate-180 w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n                <span class=\"sr-only\">Previous</span>\n            </span>\n        </button>\n        <button type=\"button\" class=\"flex justify-center items-center h-full cursor-pointer group focus:outline-none\" data-carousel-next>\n            <span class=\"text-body hover:text-heading group-focus:text-heading\">\n                <svg class=\"rtl:rotate-180 w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                <span class=\"sr-only\">Next</span>\n            </span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Gallery with tag filters\n\nUse this example to show a list of tags and filter the images below based on the activately selected tag.\n\n{{< example bodyClass=\"mt-0\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center py-4 md:py-8 flex-wrap\">\n    <button type=\"button\" class=\"text-fg-brand border border-brand bg-neutral-primary focus:ring-4 focus:outline-none focus:ring-neutral-tertiary rounded-base text-base font-medium px-5 py-2.5 text-center me-3 mb-3\">All categories</button>\n    <button type=\"button\" class=\"text-heading border border-buffer hover:border-default bg-neutral-primary focus:ring-4 focus:outline-none focus:ring-neutral-tertiary rounded-base text-base font-medium px-5 py-2.5 text-center me-3 mb-3\">Shoes</button>\n    <button type=\"button\" class=\"text-heading border border-buffer hover:border-default bg-neutral-primary focus:ring-4 focus:outline-none focus:ring-neutral-tertiary rounded-base text-base font-medium px-5 py-2.5 text-center me-3 mb-3\">Bags</button>\n    <button type=\"button\" class=\"text-heading border border-buffer hover:border-default bg-neutral-primary focus:ring-4 focus:outline-none focus:ring-neutral-tertiary rounded-base text-base font-medium px-5 py-2.5 text-center me-3 mb-3\">Electronics</button>\n    <button type=\"button\" class=\"text-heading border border-buffer hover:border-default bg-neutral-primary focus:ring-4 focus:outline-none focus:ring-neutral-tertiary rounded-base text-base font-medium px-5 py-2.5 text-center me-3 mb-3\">Gaming</button>\n</div>\n<div class=\"grid grid-cols-2 md:grid-cols-3 gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-9.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-10.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-base\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-11.jpg\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/indicators.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Indicators - Flowbite\ndescription: Use the indicator component to show a number count, account status, or as a loading label positioned relative to the parent component coded with Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Gallery\npreviousLink: components/gallery/\nnext: Jumbotron\nnextLink: components/jumbotron/\n---\n\nThe indicator component can be used as a small element positioned absolutely relative to another component such as a button or card and show a number count, account status (red for offline, green for online) and other useful information.\n\nCheck out the following examples for multiple sizes, colors, positionings, styles, and more all coded with Tailwind CSS and Flowbite.\n\n## Default indicator\n\nUse this example to create a simple indicator with multiple colors and position it anywhere on the website.\n\n{{< example class=\"flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n<span class=\"flex w-3 h-3 me-3 bg-neutral-quaternary rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-dark rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-brand rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-success rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-danger rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-purple rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-indigo rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-warning rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-teal rounded-full\"></span>\n{{< /example >}}\n\n## Legend indicator\n\nThis example can be used as a legend indicator for charts to also add a text next to the bullet point.\n\n{{< example class=\"flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n<span class=\"flex items-center text-sm font-medium text-heading me-3\"><span class=\"flex w-2.5 h-2.5 bg-brand rounded-full me-1.5 shrink-0\"></span>Visitors</span>\n<span class=\"flex items-center text-sm font-medium text-heading me-3\"><span class=\"flex w-2.5 h-2.5 bg-purple rounded-full me-1.5 shrink-0\"></span>Sessions</span>\n<span class=\"flex items-center text-sm font-medium text-heading me-3\"><span class=\"flex w-2.5 h-2.5 bg-indigo rounded-full me-1.5 shrink-0\"></span>Customers</span>\n<span class=\"flex items-center text-sm font-medium text-heading me-3\"><span class=\"flex w-2.5 h-2.5 bg-teal rounded-full me-1.5 shrink-0\"></span>Revenue</span>\n{{< /example >}}\n\n## Indicator count\n\nThis example can be used to show a number count inside the indicator and position it relative to a button component.\n\n{{< example github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n<button type=\"button\" class=\"relative inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n    <span class=\"sr-only\">Notifications</span>\n    Messages\n  <div class=\"absolute inline-flex items-center justify-center w-6 h-6 text-xs font-bold text-white bg-danger border-2 border-buffer rounded-full -top-2 -end-2\">8</div>\n</button>\n{{< /example >}}\n\n## Status indicator\n\nUse this example to show a status indicator for the currently logged in user by showing red for offline and green for online.\n\n{{< example github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n\n<div class=\"relative me-4\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"profile image\">\n    <span class=\"top-0 start-7 absolute w-3.5 h-3.5 bg-success border-2 border-buffer rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"profile image\">\n    <span class=\"top-0 start-7 absolute w-3.5 h-3.5 bg-danger border-2 border-buffer rounded-full\"></span>\n</div>\n{{< /example >}}\n\n## Badge indicator\n\nThis example can be used to add an indicator inside of a badge component.\n\n{{< example github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n\n<ul role=\"list\" class=\"max-w-md divide-y divide-default\">\n    <li class=\"py-3 sm:py-4\">\n        <div class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <div class=\"shrink-0\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Neil image\">\n            </div>\n            <div class=\"flex-1 min-w-0\">\n                <p class=\"text-sm font-semibold text-heading truncate\">\n                    Neil Sims\n                </p>\n                <p class=\"text-sm text-body truncate \">\n                    email@flowbite.com\n                </p>\n            </div>\n            <span class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n                <span class=\"w-2 h-2 me-1 bg-success rounded-full\"></span>\n                Available\n            </span>\n        </div>\n    </li>\n    <li class=\"py-3 sm:py-4\">\n        <div class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <div class=\"shrink-0\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Neil image\">\n            </div>\n            <div class=\"flex-1 min-w-0\">\n                <p class=\"text-sm font-semibold text-heading truncate\">\n                    Bonnie Green\n                </p>\n                <p class=\"text-sm text-body truncate \">\n                    email@flowbite.com\n                </p>\n            </div>\n            <span class=\"inline-flex items-center bg-danger-soft border border-danger-subtle text-fg-danger-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n                <span class=\"w-2 h-2 me-1 bg-danger rounded-full\"></span>\n                Unavailable\n            </span>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n## Stepper indicator\n\nYou can also use the indicators inside of a stepper component when completing a form element.\n\n{{< example class=\"space-y-8\" github=\"components/indicators.md\" show_dark=true >}}\n\n<ol class=\"flex items-center\">\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 1</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-neutral-tertiary rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 3</h3>\n        </div>\n    </li>\n</ol>\n<ol class=\"flex items-center\">\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-subtle rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-brand rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 1</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-subtle rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-brand rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-subtle rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-brand rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-base h-0.5\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-neutral-tertiary rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-heading rounded-full\"></span>\n            </div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-heading\">Step 3</h3>\n        </div>\n    </li>\n</ol>\n{{< /example >}}\n\n## Loading indicator\n\nUse this animated loading indicator when content inside of a card is still loading.\n\n{{< example class=\"space-y-8 flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center bg-neutral-secondary-soft h-56 w-56 border border-default text-fg-brand-strong text-xs font-medium rounded-base\">\n    <div class=\"px-2 py-px ring-1 ring-inset ring-brand-subtle text-fg-brand-strong text-xs font-medium rounded-sm bg-brand-softer animate-pulse\">loading...</div>\n</div>\n{{< /example >}}\n\n## Spinner indicator\n\nUse this animated spinner component inside of a card component that hasn't loaded yet.\n\n{{< example class=\"space-y-8 flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center bg-neutral-secondary-soft h-56 w-56 border border-default text-fg-brand-strong text-xs font-medium rounded-base\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"w-8 h-8 text-neutral-quaternary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n## Indicator position\n\nUse these examples to position the indicator component anywhere relative to the parent element.\n\n{{< example class=\"flex items-center justify-center space-y-8\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"relative bg-neutral-secondary-soft h-56 w-56 border border-default text-fg-brand-strong text-xs font-medium rounded-base\">\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 translate-x-1/2 right-1/2\">top-center</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 -translate-x-1/2 right-auto top-0 left-0\">top-left</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 translate-x-1/2 left-auto top-0 right-0\">top-right</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 -translate-x-1/2 top-2/4 left-1/2\">middle-center</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 -translate-x-1/2 right-auto left-0 top-2/4\">middle-left</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute -translate-y-1/2 translate-x-1/2 left-auto right-0 top-2/4\">middle-right</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute translate-y-1/2 translate-x-1/2 bottom-0 right-1/2\">bottom-center</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute translate-y-1/2 -translate-x-1/2 right-auto bottom-0 left-0\">bottom-left</span>\n    <span class=\"bg-brand-softer text-xs font-medium text-fg-brand text-center p-0.5 ring-1 ring-inset ring-brand-subtle rounded-base px-2 absolute translate-y-1/2 translate-x-1/2 left-auto bottom-0 right-0\">bottom-right</span>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/jumbotron.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Jumbotron - Flowbite\ndescription: Use the jumbotron component to show a marketing message to your users based on a headline and image inside of a card box based on Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Indicators\npreviousLink: components/indicators/\nnext: KBD (Keyboard)\nnextLink: components/kbd/\n---\n\nThe Jumbotron (hero) component can be used as the first section of your website with a focus on a marketing message to increase the likelihood of the user to continue browsing your website.\n\nThis UI component features a heading title, a short description, an optional CTA button, background image, gradient or solid background color and it's generally inside of a card element.\n\nThe jumbotron component from Flowbite is responsive on all devices, natively supports dark mode and is coded with the utility classes from Tailwind CSS.\n\n## Default jumbotron\n\nUse this default example to show a title, description, and two CTA buttons for the jumbotron component.\n\n{{< example bodyClass=\"p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-neutral-primary\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-2xl text-center lg:py-16\">\n        <h1 class=\"mb-6 text-4xl font-bold tracking-tighter text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-base font-normal text-body md:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0 md:space-x-4\">\n            <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">\n                Getting started\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </button>\n            <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">Learn more</button>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n## Background image\n\nUse this jumbotron to apply a background image with a darkening opacity effect to improve readability.\n\n{{< example bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-center bg-no-repeat bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/conference.jpg')] bg-dark bg-blend-multiply\">\n    <div class=\"px-4 mx-auto max-w-screen-xl text-center py-24 lg:py-56\">\n        <h1 class=\"mb-6 text-4xl font-bold tracking-tighter text-white md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-base font-normal text-white md:text-xl sm:px-16 lg:px-48\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0 md:space-x-4\">\n            <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">\n                Getting started\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </button>\n            <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">Learn more</button>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n## Featured video\n\nThis component can be used to feature a video together with a heading title, description, and CTA buttons.\n\n{{< example bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-neutral-primary\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16 grid lg:grid-cols-2 gap-8 lg:gap-16\">\n        <div class=\"flex flex-col justify-center\">\n            <h1 class=\"mb-6 text-4xl font-bold tracking-tighter text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n            <p class=\"mb-8 text-base font-normal text-body md:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <div class=\"flex flex-col space-y-4 sm:flex-row sm:space-y-0 md:space-x-4\">\n                <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">\n                    Getting started\n                    <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </button>\n                <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">Learn more</button>\n            </div>\n        </div>\n        <div>\n            <iframe class=\"mx-auto w-full lg:max-w-xl h-64 rounded-base sm:h-96 shadow-xl\" src=\"https://www.youtube.com/embed/KaLxCiilHns\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n## Authentication form\n\nUse this component to show a sign in or register form as the first section of your website.\n\n{{< example bodyClass=\"!p-0 bg-gray-50 dark:bg-gray-900\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-neutral-primary\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16 grid lg:grid-cols-2 gap-8 lg:gap-16\">\n        <div class=\"flex flex-col justify-center\">\n            <h1 class=\"mb-6 text-4xl font-bold tracking-tighter text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n            <p class=\"mb-8 text-base font-normal text-body md:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <a href=\"#\" class=\"text-fg-brand hover:underline font-medium text-lg inline-flex items-center\">Read more about our app \n            <svg class=\"w-6 h-6 rtl:rotate-180 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </a>\n        </div>\n        <div>\n            <div class=\"w-full bg-neutral-primary-soft p-6 border border-default rounded-base shadow-xs\">\n                <form action=\"#\">\n                    <h5 class=\"text-xl font-semibold text-heading mb-6\">Sign in to our platform</h5>\n                    <div class=\"mb-4\">\n                        <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n                        <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"example@company.com\" required />\n                    </div>\n                    <div>\n                        <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n                        <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"•••••••••\" required />\n                    </div>\n                    <div class=\"flex items-start my-6\">\n                        <div class=\"flex items-center\">\n                            <input id=\"checkbox-remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                            <label for=\"checkbox-remember\" class=\"ms-2 text-sm font-medium text-heading\">Remember me</label>\n                        </div>\n                        <a href=\"#\" class=\"ms-auto text-sm font-medium text-fg-brand hover:underline\">Lost Password?</a>\n                    </div>\n                    <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none w-full mb-3\">Login to your account</button>\n                    <div class=\"text-sm font-medium text-body\">Not registered? <a href=\"#\" class=\"text-fg-brand hover:underline\">Create account</a></div>\n                </form>\n            </div>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n## Gradient background\n\nUse this component to show a hero pattern with a linear gradient layout as an overlay for added effects.\n\n{{< example bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-neutral-primary bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/hero-pattern.svg')] dark:bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/hero-pattern-dark.svg')]\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 z-10 relative\">\n        <div class=\"w-auto inline-flex items-center p-1 pe-2 mb-4 text-sm text-fg-brand-strong rounded-full bg-brand-softer border border-brand-subtle\" role=\"alert\">\n            <span class=\"bg-brand-soft text-fg-brand-strong py-0.5 px-2 rounded-full\">New</span>\n            <div class=\"ms-2 text-sm\">\n                Great job! You've acknowledged this <a href=\"#\" class=\"font-medium underline hover:no-underline\">significant</a> alert message.\n            </div>\n            <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        </div>\n        <h1 class=\"mb-6 text-4xl font-bold tracking-tighter text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-base font-normal text-body md:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <form class=\"max-w-md mx-auto\">   \n            <label for=\"search\" class=\"block mb-2.5 text-sm font-medium text-heading sr-only \">Search</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n                </div>\n                <input type=\"search\" id=\"search\" class=\"block w-full p-3 ps-9 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\" required />\n                <button type=\"button\" class=\"absolute end-1.5 bottom-1.5 text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">Search</button>\n            </div>\n        </form>\n    </div>\n    <div class=\"bg-gradient-to-b from-blue-50 to-transparent dark:from-blue-900 w-full h-full absolute top-0 left-0 z-0\"></div>\n</section>\n{{< /example >}}\n\n## Jumbotron with cards\n\nThis example can be used to show cards with headings, descriptions, and CTA buttons inside a grid layout.\n\n{{< example bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-neutral-primary\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">\n        <div class=\"bg-neutral-secondary-soft border border-default rounded-base p-8 md:p-12 mb-8\">\n            <span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n                <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 6H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1Zm7 11-6-2V9l6-2v10Z\"/></svg>\n                Tutorial\n            </span>\n            <h1 class=\"text-heading tracking-tighter text-3xl md:text-5xl font-bold my-6\">How to quickly deploy <br>a static website</h1>\n            <p class=\"md:text-lg font-normal text-body mb-6\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence web designers.</p>\n            <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base text-base px-5 py-3 focus:outline-none\">\n                Getting started\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </button>\n        </div>\n        <div class=\"grid md:grid-cols-2 gap-8\">\n            <div class=\"bg-neutral-secondary-soft border border-default rounded-base p-8 md:p-12\">\n                <span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n                    <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 7h.01m3.486 1.513h.01m-6.978 0h.01M6.99 12H7m9 4h2.706a1.957 1.957 0 0 0 1.883-1.325A9 9 0 1 0 3.043 12.89 9.1 9.1 0 0 0 8.2 20.1a8.62 8.62 0 0 0 3.769.9 2.013 2.013 0 0 0 2.03-2v-.857A2.036 2.036 0 0 1 16 16Z\"/></svg>\n                    Design\n                </span>\n                <h2 class=\"text-heading text-3xl font-semobild my-4\">Start with Flowbite Design System</h2>\n                <p class=\" font-normal text-body mb-4\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence both web designers and developers.</p>\n                <a href=\"#\" class=\"text-fg-brand hover:underline font-medium text-lg inline-flex items-center\">Read more\n                    <svg class=\"w-6 h-6 rtl:rotate-180 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </div>\n            <div class=\"bg-neutral-secondary-soft border border-default rounded-base p-8 md:p-12\">\n                <span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n                    <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/></svg>\n                    Code\n                </span>\n                <h2 class=\"text-heading text-3xl font-semobild my-4\">Best react libraries around the web</h2>\n                <p class=\" font-normal text-body mb-4\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence both web designers and developers.</p>\n                <a href=\"#\" class=\"text-fg-brand hover:underline font-medium text-lg inline-flex items-center\">Read more\n                    <svg class=\"w-6 h-6 rtl:rotate-180 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n## More examples\n\nFor more jumbotron examples you can check out the [hero sections](https://flowbite.com/blocks/marketing/hero/) from Flowbite Blocks.\n"
  },
  {
    "path": "content/components/kbd.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS KBD (Keyboard) - Flowbite\ndescription: Use the KBD component as an inline element to denote textual user input from the keyboard inside paragraphs, tables, and other components\ngroup: components\ntoc: true\n\nprevious: Jumbotron\npreviousLink: components/jumbotron/\nnext: List group\nnextLink: components/list-group/\n---\n\nThe KBD (Keyboard) component can be used to indicate a textual user input from the keyboard inside other elements such as in text, tables, cards, and more.\n\nUse the semantic `<kbd>` keyboard input tag to use the default monospace font which is best suited for representing input keys.\n\n## Default KBD\n\nHere's a list of KBD components that you can use inside any other element.\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Shift</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Ctrl</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Tab</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Caps Lock</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Esc</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Spacebar</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Enter</kbd>\n{{< /example >}}\n\n## KBD inside text\n\nUse this example by nesting an inline KBD component inside a paragraph.\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n\n<p class=\"text-body\">\n    Please press <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Ctrl</kbd> + <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Shift</kbd> + <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">R</kbd> to re-render an MDN page.\n</p>\n{{< /example >}}\n\n## KBD inside table\n\nThe KBD component can also be used inside table components to denote what type of key can be pressed for certain descriptions.\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-xs text-body uppercase bg-neutral-tertiary\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Key\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-body whitespace-nowrap\">\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Shift</kbd>\n                        <span class=\"mx-2\">or</span>\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Tab</kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Navigate to interactive elements\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-body whitespace-nowrap\">\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Enter</kbd>\n                    <span class=\"mx-2\">or</span>\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Spacebar</kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Ensure elements with ARIA role=\"button\" can be activated with both key commands.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"inline-flex items-center px-6 py-4 font-medium text-body whitespace-nowrap\">\n                    <kbd class=\"inline-flex items-center me-1 px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n                            <path d=\"M9.207 1A2 2 0 0 0 6.38 1L.793 6.586A2 2 0 0 0 2.207 10H13.38a2 2 0 0 0 1.414-3.414L9.207 1Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key up</span>\n                    </kbd>\n                    <kbd class=\"inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n                            <path d=\"M15.434 1.235A2 2 0 0 0 13.586 0H2.414A2 2 0 0 0 1 3.414L6.586 9a2 2 0 0 0 2.828 0L15 3.414a2 2 0 0 0 .434-2.179Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key down</span>\n                    </kbd>\n                    <span class=\"mx-2\">or</span>\n                    <kbd class=\"rtl:rotate-180 inline-flex items-center me-1 px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n                            <path d=\"M8.766.566A2 2 0 0 0 6.586 1L1 6.586a2 2 0 0 0 0 2.828L6.586 15A2 2 0 0 0 10 13.586V2.414A2 2 0 0 0 8.766.566Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key left</span>\n                    </kbd>\n                    <kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n                            <path d=\"M3.414 1A2 2 0 0 0 0 2.414v11.172A2 2 0 0 0 3.414 15L9 9.414a2 2 0 0 0 0-2.828L3.414 1Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key right</span>\n                    </kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Choose and activate previous/next tab.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Arrow keys\n\nUse this example to show arrow keys inside the KBD styled element.\n\n{{< example github=\"components/list-group.md\" show_dark=true >}}\n<kbd class=\"inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n<path d=\"M9.207 1A2 2 0 0 0 6.38 1L.793 6.586A2 2 0 0 0 2.207 10H13.38a2 2 0 0 0 1.414-3.414L9.207 1Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key up</span>\n</kbd>\n<kbd class=\"inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n<path d=\"M15.434 1.235A2 2 0 0 0 13.586 0H2.414A2 2 0 0 0 1 3.414L6.586 9a2 2 0 0 0 2.828 0L15 3.414a2 2 0 0 0 .434-2.179Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key down</span>\n</kbd>\n<kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n<path d=\"M8.766.566A2 2 0 0 0 6.586 1L1 6.586a2 2 0 0 0 0 2.828L6.586 15A2 2 0 0 0 10 13.586V2.414A2 2 0 0 0 8.766.566Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key left</span>\n</kbd>\n<kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n<path d=\"M3.414 1A2 2 0 0 0 0 2.414v11.172A2 2 0 0 0 3.414 15L9 9.414a2 2 0 0 0 0-2.828L3.414 1Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key right</span>\n</kbd>\n{{< /example >}}\n\n## Letter keys\n\nUse this example if you need to show a key from the latin alphabet\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Q</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">W</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">E</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">R</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">T</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Y</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">U</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">I</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">O</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">P</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">A</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">S</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">D</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">G</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">H</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">J</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">K</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">L</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">Z</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">X</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">C</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">V</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">B</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">N</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">M</kbd>\n{{< /example >}}\n\n## Number keys\n\nUse this example to show a key inside a KBD component from the english numeral system.\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">1</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">2</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">3</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">4</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">5</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">6</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">7</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">8</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">9</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">0</kbd>\n{{< /example >}}\n\n## Function keys\n\nThis example can be used to denote function keys inside the KBD component.\n\n{{< example github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F1</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F2</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F3</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F4</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F5</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F6</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F7</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F8</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F9</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F10</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F11</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-heading bg-neutral-tertiary border border-default-medium rounded-base\">F12</kbd>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/list-group.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS List Group - Flowbite\ndescription: Use the list group component to display a series of items, buttons or links inside a single element\ngroup: components\ntoc: true\n\nprevious: KBD (Keyboard)\npreviousLink: components/kbd/\nnext: Mega menu\nnextLink: components/mega-menu/\n---\n\nThe list group component can be used to display a series of elements, buttons or links inside a single card component similar to a sidebar.\n\n## Default list group\n\nHere's an example of a list group that you can use right away.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<ul class=\"w-48 text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base\">\n    <li class=\"w-full px-4 py-2 border-b border-default rounded-t-lg\">Profile</li>\n    <li class=\"w-full px-4 py-2 border-b border-default\">Settings</li>\n    <li class=\"w-full px-4 py-2 border-b border-default\">Messages</li>\n    <li class=\"w-full px-4 py-2 rounded-b-lg\">Download</li>\n</ul>\n{{< /example >}}\n\n## List group with links\n\nYou can also display a series of links inside the list group element.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base\">\n    <a href=\"#\" aria-current=\"true\" class=\"block w-full px-4 py-2 text-fg-brand bg-neutral-secondary-medium border-b border-default rounded-t-base cursor-pointer\">\n        Profile\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Settings\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Messages\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 rounded-b-base cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Download\n    </a>\n</div>\n{{< /example >}}\n\n## List group with buttons\n\nIt is also possible to display a list of button element inside the list group component. The following example includes an active and disabled item as well.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base\">\n    <button aria-current=\"true\" type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right text-fg-brand bg-neutral-secondary-medium border-b border-default rounded-t-base cursor-pointer focus:outline-none\">\n        Profile\n    </button>\n    <button type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Settings\n    </button>\n    <button type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Messages\n    </button>\n    <button type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        Options\n    </button>\n    <button disabled type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right rounded-b-base cursor-not-allowed text-fg-disabled\">\n        Download\n    </button>\n</div>\n{{< /example >}}\n\n## List group with icons\n\nUse the following example to create a list of buttons as a menu together with [SVG icons](https://flowbite.com/icons/).\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base\">\n    <a href=\"#\" aria-current=\"true\" class=\"flex items-center w-full px-4 py-2 text-fg-brand bg-neutral-secondary-medium border-b border-default rounded-t-base cursor-pointer\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        Profile\n    </a>\n    <a href=\"#\" class=\"flex items-center w-full px-4 py-2 border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n        Settings\n    </a>\n    <a href=\"#\" class=\"flex items-center w-full px-4 py-2 border-b border-default cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n        Messages\n    </a>\n    <a href=\"#\" class=\"flex items-center w-full px-4 py-2 rounded-b-base cursor-pointer hover:bg-neutral-secondary-medium hover:text-fg-brand focus:outline-none focus:ring-2 focus:ring-brand focus:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n        Download\n    </a>\n</div>\n{{< /example >}}\n\n\n## Features list group\n\nUse this example to show a list of features with icons in a card component.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-72 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <ul role=\"list\" class=\"space-y-4 p-6\">\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">2 team members</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">20GB Cloud storage</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Integration help</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Sketch Files</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">API Access</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Complete documentation</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">24×7 phone support</span>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Statistic list with divider\n\nThis example can be used to show a list of statistical data in a card component.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-96 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <ul role=\"list\" class=\"space-y-3 p-6 divide-y divide-default\">\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 15v5m-3 0h6M4 11h16M5 15h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1Z\"/></svg>\n                <span>Electronics</span>\n            </div>\n            <span class=\"text-body font-medium\">$5B</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5h-.16667c-.86548 0-1.70761.28071-2.4.8L3.5 8l2 3.5L8 10v9h8v-9l2.5 1.5 2-3.5-2.9333-2.2c-.6924-.51929-1.5346-.8-2.4-.8H15M9 5c0 1.5 1.5 3 3 3s3-1.5 3-3M9 5h6\"></svg>\n                <span>Fashion</span>\n            </div>\n            <span class=\"text-body font-medium\">$2.78B</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n                <span>Home Furnishings</span>\n            </div>\n            <span class=\"text-body font-medium\">$1.8B</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 7h6l2 4m-8-4v8m0-8V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v9h2m8 0H9m4 0h2m4 0h2v-4m0 0h-5m3.5 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm-10 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n                <span>Auto & Moto</span>\n            </div>\n            <span class=\"text-body font-medium\">$1.1B</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 14c2.7614 0 5-2.6679 5-5.42928C17 7.18458 15.8809 4.06255 15.5 3h-7C8.15198 4.02095 7 7.17202 7 8.57072 7 11.3321 9.23858 14 12 14Zm0 0v7m0 0H9m3 0h3M7 9h9\"/></svg>\n                <span>Food and Beverage</span>\n            </div>\n            <span class=\"text-body font-medium\">$987</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.5 15C6.11929 15 5 16.1193 5 17.5S6.11929 20 7.5 20s2.5-1.1193 2.5-2.5S8.88071 15 7.5 15Zm0 0 1.67693-4.1693m6.69787-3.82761C17.0117 7.00309 18 6.10457 18 5c0-1.10457-.9217-2-2.0586-2-.8963 0-1.6853.74312-1.9679 1.51992M8.12719 6.99544C7.00181 6.99544 6 6.10457 6 5s.9123-2 2.03768-2c.93446 0 1.70666.67806 1.94698 1.51992M14 18h-4m6-3-1.4578-3.8912m-6.63506 2.8789-.44889.1929C6.24889 14.5837 5 13.6836 5 12.4088c0-.8339.55278-1.5667 1.35457-1.7958L8.5 10m7.1055 3.9877.4133.1446c1.2127.4242 2.4812-.476 2.4812-1.7607 0-.8159-.5302-1.5371-1.309-1.7805l-1.7458-.5575M12 9.06243v-.01m-1.3779-1.55397v-.01m3.0337.01v-.01M16 8c0 2.2091-1.7909 4-4 4-2.20914 0-4-1.7909-4-4 0-2.20914 1.79086-4 4-4 2.2091 0 4 1.79086 4 4Zm3 9.5c0 1.3807-1.1193 2.5-2.5 2.5S14 18.8807 14 17.5s1.1193-2.5 2.5-2.5 2.5 1.1193 2.5 2.5Z\"/></svg>\n                <span>Toys</span>\n            </div>\n            <span class=\"text-body font-medium\">$705</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 19V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v13H7a2 2 0 0 0-2 2Zm0 0a2 2 0 0 0 2 2h12M9 3v14m7 0v4\"/></svg>\n                <span>Books & Music</span>\n            </div>\n            <span class=\"text-body font-medium\">$688</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 12v1h4v-1m4 7H6a1 1 0 0 1-1-1V9h14v9a1 1 0 0 1-1 1ZM4 5h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n                <span>Office Equipment</span>\n            </div>\n            <span class=\"text-body font-medium\">$534</span>\n        </li>\n        <li class=\"flex items-center justify-between pb-3\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 6H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1Zm7 11-6-2V9l6-2v10Z\"/></svg>\n                <span>Audio & Video Equipment</span>\n            </div>\n            <span class=\"text-body font-medium\">$502</span>\n        </li>\n        <li class=\"flex items-center justify-between\">\n            <div class=\"flex items-center text-body\">\n                <svg class=\"w-5 h-5 me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.143 4H4.857A.857.857 0 0 0 4 4.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 10 9.143V4.857A.857.857 0 0 0 9.143 4Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 20 9.143V4.857A.857.857 0 0 0 19.143 4Zm-10 10H4.857a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286A.857.857 0 0 0 9.143 14Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286a.857.857 0 0 0-.857-.857Z\"/></svg>\n                <span>Other Categories</span>\n            </div>\n            <span class=\"text-body font-medium\">$95M</span>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## List with avatars and CTA\n\nUse this component to show a list of users with avatars and CTA buttons.\n\n{{< example class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <h5 class=\"text-xl font-semibold text-heading mb-6\">Latest users</h5>\n    <div class=\"flow-root\">\n        <ul role=\"list\" class=\"divide-y divide-default\">\n            <li class=\"pb-4 sm:pb-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Neil Sims\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            neil@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center space-x-1.5\">\n                        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none shrink-0\">Follow</button>\n                        <button data-tooltip-target=\"tooltip-remove-1\" type=\"button\" class=\"inline-flex items-center justify-center text-fg-danger bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base h-9 w-9 focus:outline-none\">\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                        </button>\n                        <div id=\"tooltip-remove-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs force:opacity-0 tooltip\">\n                           Remove\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Bonnie Green\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            bonnie@flowbite.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center space-x-1.5\">\n                        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none shrink-0\">Follow</button>\n                        <button data-tooltip-target=\"tooltip-remove-2\" type=\"button\" class=\"inline-flex items-center justify-center text-fg-danger bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base h-9 w-9 focus:outline-none\">\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                        </button>\n                        <div id=\"tooltip-remove-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs force:opacity-0 tooltip\">\n                           Remove\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Michael image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Michael Gough\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            michael@themesberg.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center space-x-1.5\">\n                        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none shrink-0\">Follow</button>\n                        <button data-tooltip-target=\"tooltip-remove-3\" type=\"button\" class=\"inline-flex items-center justify-center text-fg-danger bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base h-9 w-9 focus:outline-none\">\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                        </button>\n                        <div id=\"tooltip-remove-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs force:opacity-0 tooltip\">\n                           Remove\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-4 sm:py-4\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Lana image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Lana Byrd\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            lana@apple.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center space-x-1.5\">\n                        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none shrink-0\">Follow</button>\n                        <button data-tooltip-target=\"tooltip-remove-4\" type=\"button\" class=\"inline-flex items-center justify-center text-fg-danger bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base h-9 w-9 focus:outline-none\">\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                        </button>\n                        <div id=\"tooltip-remove-4\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs force:opacity-0 tooltip\">\n                           Remove\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n            </li>\n            <li class=\"pt-4 pb-0\">\n                <div class=\"flex items-center gap-2\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Thomas image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0\">\n                        <p class=\"font-medium text-heading truncate\">\n                            Thomas Lean\n                        </p>\n                        <p class=\"text-sm text-body truncate\">\n                            thomas@google.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center space-x-1.5\">\n                        <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none shrink-0\">Follow</button>\n                        <button data-tooltip-target=\"tooltip-remove-5\" type=\"button\" class=\"inline-flex items-center justify-center text-fg-danger bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base h-9 w-9 focus:outline-none\">\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                        </button>\n                        <div id=\"tooltip-remove-5\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs force:opacity-0 tooltip\">\n                           Remove\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n            </li>\n        </ul>\n    </div>\n</div>\n\n{{< /example >}}\n"
  },
  {
    "path": "content/components/mega-menu.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Mega Menu - Flowbite\ndescription: Use the mega menu component as a full-width dropdown inside the navbar to show a list of menu items based on multiple sizes, variants, and styles.\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: List group\npreviousLink: components/list-group/\nnext: Modal\nnextLink: components/modal/\n---\n\nThe mega menu component is a full-width dropdown that can be triggered by clicking on the menu item and it shows a list of links that you can use to navigate through the pages on a website.\n\nMake sure that you have included the Flowbite JavaScript file inside your project to enable the interactivity of the hamburger icon on mobile devices and the dropdown functionality.\n\n## Default mega menu\n\nUse this example to show a list of links aligned on three columns inside the mega menu dropdown.\n\n{{< example bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-neutral-primary border-default\">\n    <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <div class=\"flex items-center md:order-2 space-x-1 md:space-x-2 rtl:space-x-reverse\">\n            <a href=\"#\" class=\"text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Login</a>\n            <a href=\"#\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Sign Up</a>\n            <button data-collapse-toggle=\"mega-menu\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu\" aria-expanded=\"false\">\n                <span class=\"sr-only\">Open main menu</span>\n                <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n            </button>\n        </div>\n        <div id=\"mega-menu\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-dropdown-button\" data-dropdown-toggle=\"mega-menu-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company \n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                    <div id=\"mega-menu-dropdown\" class=\"absolute z-10 grid hidden w-auto grid-cols-2 text-sm bg-neutral-primary-soft border border-default rounded-base shadow md:grid-cols-3\">\n                        <div class=\"p-4 pb-0 text-heading md:pb-4\">\n                            <ul class=\"space-y-3\" aria-labelledby=\"mega-menu-dropdown-button\">\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        About Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Library\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Resources\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Pro Version\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4 pb-0 md:pb-4\">\n                            <ul class=\"space-y-3\">\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Blog\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Newsletter\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Playground\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        License\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4\">\n                            <ul class=\"space-y-3\">\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Contact Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Support Center\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-body hover:text-fg-brand\">\n                                        Terms\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                    </div>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Team</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## Mega menu with icons\n\nThis example of a mega menu dropdown can be used to also show an icon near the text of the link.\n\n{{< example bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-neutral-primary border-default\">\n    <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <div class=\"flex items-center md:order-2 space-x-1 md:space-x-2 rtl:space-x-reverse\">\n            <a href=\"#\" class=\"text-heading bg-neutral-primary box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Login</a>\n            <a href=\"#\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Sign Up</a>\n            <button data-collapse-toggle=\"mega-menu-icons\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu-icons\" aria-expanded=\"false\">\n                <span class=\"sr-only\">Open main menu</span>\n                <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n            </button>\n        </div>\n        <div id=\"mega-menu-icons\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-icons-dropdown-button\" data-dropdown-toggle=\"mega-menu-icons-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company \n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                    <div id=\"mega-menu-icons-dropdown\" class=\"absolute z-10 grid hidden w-auto grid-cols-2 text-sm bg-neutral-primary-soft border border-default rounded-base shadow md:grid-cols-3\">\n                        <div class=\"p-4 pb-0 text-heading md:pb-4\">\n                            <ul class=\"space-y-3 font-normal\" aria-labelledby=\"mega-menu-icons-dropdown-button\">\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                                        About Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.03v13m0-13c-2.819-.831-4.715-1.076-8.029-1.023A.99.99 0 0 0 3 6v11c0 .563.466 1.014 1.03 1.007 3.122-.043 5.018.212 7.97 1.023m0-13c2.819-.831 4.715-1.076 8.029-1.023A.99.99 0 0 1 21 6v11c0 .563-.466 1.014-1.03 1.007-3.122-.043-5.018.212-7.97 1.023\"/></svg>\n                                        Library\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 11H4m15.5 5a.5.5 0 0 0 .5-.5V8a1 1 0 0 0-1-1h-3.75a1 1 0 0 1-.829-.44l-1.436-2.12a1 1 0 0 0-.828-.44H8a1 1 0 0 0-1 1M4 9v10a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1h-3.75a1 1 0 0 1-.829-.44L9.985 8.44A1 1 0 0 0 9.157 8H5a1 1 0 0 0-1 1Z\"/></svg>\n                                        Resources\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.051 8.102-3.778.322-1.994 1.994a.94.94 0 0 0 .533 1.6l2.698.316m8.39 1.617-.322 3.78-1.994 1.994a.94.94 0 0 1-1.595-.533l-.4-2.652m8.166-11.174a1.366 1.366 0 0 0-1.12-1.12c-1.616-.279-4.906-.623-6.38.853-1.671 1.672-5.211 8.015-6.31 10.023a.932.932 0 0 0 .162 1.111l.828.835.833.832a.932.932 0 0 0 1.111.163c2.008-1.102 8.35-4.642 10.021-6.312 1.475-1.478 1.133-4.77.855-6.385Zm-2.961 3.722a1.88 1.88 0 1 1-3.76 0 1.88 1.88 0 0 1 3.76 0Z\"/></svg>\n                                        Pro Version\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4 pb-0 md:pb-4\">\n                            <ul class=\"space-y-3 font-normal\">\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m4 8h6m-6-4h6m4-8v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/></svg>\n                                        Blog\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11 16v-5.5A3.5 3.5 0 0 0 7.5 7m3.5 9H4v-5.5A3.5 3.5 0 0 1 7.5 7m3.5 9v4M7.5 7H14m0 0V4h2.5M14 7v3m-3.5 6H20v-6a3 3 0 0 0-3-3m-2 9v4m-8-6.5h1\"/></svg>\n                                        Newsletter\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4.07141 14v6h5.99999v-6H4.07141Zm4.5-4h6.99999l-3.5-6-3.49999 6Zm7.99999 10c1.933 0 3.5-1.567 3.5-3.5s-1.567-3.5-3.5-3.5-3.5 1.567-3.5 3.5 1.567 3.5 3.5 3.5Z\"/></svg>\n                                        Playground\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5.5 21h13M12 21V7m0 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm2-1.8c3.073.661 2.467 2.8 5 2.8M5 8c3.359 0 2.192-2.115 5.012-2.793M7 9.556V7.75m0 1.806-1.95 4.393a.773.773 0 0 0 .37.962.785.785 0 0 0 .362.089h2.436a.785.785 0 0 0 .643-.335.776.776 0 0 0 .09-.716L7 9.556Zm10 0V7.313m0 2.243-1.95 4.393a.773.773 0 0 0 .37.962.786.786 0 0 0 .362.089h2.436a.785.785 0 0 0 .643-.335.775.775 0 0 0 .09-.716L17 9.556Z\"/></svg>\n                                        License\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4\">\n                            <ul class=\"space-y-3 font-normal\">\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.427 14.768 17.2 13.542a1.733 1.733 0 0 0-2.45 0l-.613.613a1.732 1.732 0 0 1-2.45 0l-1.838-1.84a1.735 1.735 0 0 1 0-2.452l.612-.613a1.735 1.735 0 0 0 0-2.452L9.237 5.572a1.6 1.6 0 0 0-2.45 0c-3.223 3.2-1.702 6.896 1.519 10.117 3.22 3.221 6.914 4.745 10.12 1.535a1.601 1.601 0 0 0 0-2.456Z\"/></svg>\n                                        Contact Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                                        Support Center\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"inline-flex items-center text-body hover:text-fg-brand\">\n                                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m8-2h3m-3 3h3m-4 3v6m4-3H8M19 4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM8 12v6h8v-6H8Z\"/></svg>\n                                        Terms\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                    </div>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Team</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## Full width dropdown\n\nUse this example to show a mega menu dropdown that spans the entire width of the document page.\n\n{{< example bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"440\" >}}\n\n<nav class=\"bg-neutral-primary-soft border-default\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu-full\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n        </button>\n        <div id=\"mega-menu-full\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-dropdown-button\" data-collapse-toggle=\"mega-menu-full-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company \n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-dropdown\" class=\"mt-1 bg-neutral-primary-soft border-default shadow-xs border-y\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-heading sm:grid-cols-2 md:grid-cols-3 md:px-6\">\n            <ul aria-labelledby=\"mega-menu-full-dropdown-button\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"hidden md:block\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Audience Management</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Creative Tools</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing Automation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## Full width with CTA\n\nThis example can be used to also show a CTA button or link next to the menu items inside the dropdown.\n\n{{< example bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"360\" >}}\n\n<nav class=\"bg-neutral-primary-soft border-default\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full-cta\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu-full-cta\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n        </button>\n        <div id=\"mega-menu-full-cta\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-cta-dropdown-button\" data-collapse-toggle=\"mega-menu-full-cta-dropdown\" data-dropdown-placement=\"bottom\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft hover:text-fg-brand md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company\n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-cta-dropdown\" class=\"mt-1 bg-neutral-primary-soft border-default shadow-xs border-y\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-sm text-body md:grid-cols-3 md:px-6\">\n            <ul class=\"space-y-3 sm:mb-4 md:mb-0\" aria-labelledby=\"mega-menu-full-cta-button\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Online Stores\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Segmentation\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Marketing CRM\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Online Stores\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"hidden mb-4 space-y-3 md:mb-0 sm:block\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Our Blog\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Terms & Conditions\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        License\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Resources\n                    </a>\n                </li>\n            </ul>\n            <div class=\"mt-4 md:mt-0\">\n                <h2 class=\"mb-2.5 font-semibold text-heading\">Our brands</h2>\n                <p class=\"mb-2.5 text-body\">At Flowbite, we have a portfolio of brands that cater to a variety of preferences.</p>\n                <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-fg-brand hover:underline\">\n                    Explore our brands \n                    <span class=\"sr-only\">Explore our brands </span>\n                    <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## Full width with image\n\nThis example can be used to also show a CTA with a backdround image inside the dropdown next to the other menu items and links.\n\n{{< example bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"360\" >}}\n\n<nav class=\"bg-neutral-primary-soft border-default\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full-image\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu-full-image\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n        </button>\n        <div id=\"mega-menu-full-image\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-cta-image-button\" data-collapse-toggle=\"mega-menu-full-image-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft hover:text-fg-brand md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company \n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-image-dropdown\" class=\"mt-1 bg-neutral-primary-soft border-default shadow-xs border-y\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-sm text-body md:grid-cols-3 md:px-6\">\n            <ul class=\"hidden mb-4 space-y-4 md:mb-0 md:block\" aria-labelledby=\"mega-menu-full-image-button\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Online Stores\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Segmentation\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Marketing CRM\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Online Stores\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"mb-4 space-y-4 md:mb-0\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Our Blog\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Terms & Conditions\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        License\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-fg-brand\">\n                        Resources\n                    </a>\n                </li>\n            </ul>\n            <a href=\"#\" class=\"p-8 bg-local bg-dark bg-center bg-no-repeat bg-cover rounded-lg bg-blend-multiply\" style=\"background-image: url(/docs/images/dashboard-overview.png)\">\n                <p class=\"max-w-xl mb-5 font-medium leading-tight tracking-tight text-white\">Preview the new Flowbite dashboard navigation.</p>\n                <button type=\"button\" class=\"inline-flex items-center px-3 py-1.5 text-xs font-medium text-center text-white border border-white rounded-lg hover:bg-white hover:text-dark focus:ring-4 focus:outline-none\">\n                    Get started\n                    <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </button>\n            </a>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## More examples\n\nYou can check out more mega menu examples on the [header components](https://flowbite.com/blocks/marketing/header/) page from Flowbite Blocks.\n"
  },
  {
    "path": "content/components/modal.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Modal - Flowbite\ndescription: Use the modal component to show interactive dialogs and notifications to your website users available in multiple sizes, colors, and styles\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Mega menu\npreviousLink: components/mega-menu/\nnext: Navbar\nnextLink: components/navbar/\n---\n\nThe modal component can be used as an interactive dialog on top of the main content area of the website to show notifications and gather information using form elements from your website users.\n\nGet started with multiple sizes, colors, and styles built with the utility classes from Tailwind CSS and the components from Flowbite.\n\n## Default modal\n\nIn order to create a modal with Tailwind CSS you only have to add `data-modal-target=\"modalId\"` data attribute where `modalId` is the ID of the modal that you are targeting.\n\nIf you want to toggle the visibility, show, or hide the modal you can use the following data attributes where the value is the unique ID of the modal component:\n\n-   `data-modal-toggle=\"modalID\"` - toggle the modal\n-   `data-modal-show=\"modalID\"` - show the modal\n-   `data-modal-hide=\"modalID\"` - close the modal\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"default-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Static modal\n\nUse the `data-modal-backdrop=\"static\"` data attribute to prevent the modal from closing when clicking outside of it. This can be used with situations where you want to force the user to choose an option such as a cookie notice or when taking a survey.\n\n{{< example class=\"dark:bg-gray-900\" github=\"components/modal.md\" class=\"flex justify-center\" iframeHeight=\"600\" show_dark=true >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"static-modal\" data-modal-toggle=\"static-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"static-modal\" data-modal-backdrop=\"static\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Static modal\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"static-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"static-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"static-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Pop-up modal\n\nYou can use this modal example to show a pop-up decision dialog to your users especially when deleting an item and making sure if the user really wants to do that by double confirming.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"500\" >}}\n<button data-modal-target=\"popup-modal\" data-modal-toggle=\"popup-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\nToggle modal\n</button>\n\n<div id=\"popup-modal\" tabindex=\"-1\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n                <button type=\"button\" class=\"absolute top-3 end-2.5 text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"popup-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            <div class=\"p-4 md:p-5 text-center\">\n                <svg class=\"mx-auto mb-4 text-fg-disabled w-12 h-12\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V8m0 8h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                <h3 class=\"mb-6 text-body\">Are you sure you want to delete this product from your account?</h3>\n                <div class=\"flex items-center space-x-4 justify-center\">\n                    <button data-modal-hide=\"popup-modal\" type=\"button\" class=\"text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                    Yes, I'm sure\n                    </button>\n                    <button data-modal-hide=\"popup-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">No, cancel</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Form element\n\nUse this modal example with form input element to receive information from your users with the advantage of not having to link to another page but keeping the user on the currently active page. A great example would be a login or a register form.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"authentication-modal\" data-modal-toggle=\"authentication-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"authentication-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Sign in to our platform\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"authentication-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\" class=\"pt-4 md:pt-6\">\n                <div class=\"mb-4\">\n                    <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n                    <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"example@company.com\" required />\n                </div>\n                <div>\n                    <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n                    <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"•••••••••\" required />\n                </div>\n                <div class=\"flex items-start my-6\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"checkbox-remember\" class=\"ms-2 text-sm font-medium text-heading\">Remember me</label>\n                    </div>\n                    <a href=\"#\" class=\"ms-auto text-sm font-medium text-fg-brand hover:underline\">Lost Password?</a>\n                </div>\n                <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none w-full mb-3\">Login to your account</button>\n                <div class=\"text-sm font-medium text-body\">Not registered? <a href=\"#\" class=\"text-fg-brand hover:underline\">Create account</a></div>\n            </form>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n## Modal with CRUD\n\nUse this example of a modal to use within CRUD (Create, Read, Update, Delete) operations to create new items, update existing ones, or delete them with a form inside of the modal.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"620\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"crud-modal\" data-modal-toggle=\"crud-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"crud-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Create new product\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"crud-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\">\n                <div class=\"grid gap-4 grid-cols-2 py-4 md:py-6\">\n                    <div class=\"col-span-2\">\n                        <label for=\"name\" class=\"block mb-2.5 text-sm font-medium text-heading\">Name</label>\n                        <input type=\"text\" name=\"name\" id=\"name\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Type product name\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"price\" class=\"block mb-2.5 text-sm font-medium text-heading\">Price</label>\n                        <input type=\"number\" name=\"price\" id=\"price\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"$2999\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"category\" class=\"block mb-2.5 text-sm font-medium text-heading\">Category</label>\n                        <select id=\"category\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n                            <option selected=\"\">Select category</option>\n                            <option value=\"TV\">TV/Monitors</option>\n                            <option value=\"PC\">PC</option>\n                            <option value=\"GA\">Gaming/Console</option>\n                            <option value=\"PH\">Phones</option>\n                        </select>\n                    </div>\n                    <div class=\"col-span-2\">\n                        <label for=\"description\" class=\"block mb-2.5 text-sm font-medium text-heading\">Product Description</label>\n                        <textarea id=\"description\" rows=\"4\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write product description here\"></textarea>                    \n                    </div>\n                </div>\n                <div class=\"flex items-center space-x-4 border-t border-default pt-4 md:pt-6\">\n                    <button type=\"submit\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                        <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                        Add new product\n                    </button>\n                    <button data-modal-hide=\"crud-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Cancel</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n## Modal with radio inputs\n\nThis example can be used to show a list of options to your users by using advanced radio inputs with a custom design.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"select-modal\" data-modal-toggle=\"select-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"select-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Open positions\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"select-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"pt-4 md:pt-6\">\n                <p class=\"text-body mb-4\">Select your desired position:</p>\n                <ul class=\"space-y-4 mb-4\">\n                    <li>\n                        <input type=\"radio\" id=\"job-1\" name=\"job\" value=\"job-1\" class=\"hidden peer\" required />\n                        <label for=\"job-1\" class=\"inline-flex items-center w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n                            <div class=\"flex items-center justify-center w-9 h-9 rounded bg-brand-soft text-fg-brand-strong\">\n                                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.111 20A3.111 3.111 0 0 1 4 16.889v-12C4 4.398 4.398 4 4.889 4h4.444a.89.89 0 0 1 .89.889v12A3.111 3.111 0 0 1 7.11 20Zm0 0h12a.889.889 0 0 0 .889-.889v-4.444a.889.889 0 0 0-.889-.89h-4.389a.889.889 0 0 0-.62.253l-3.767 3.665a.933.933 0 0 0-.146.185c-.868 1.433-1.581 1.858-3.078 2.12Zm0-3.556h.009m7.933-10.927 3.143 3.143a.889.889 0 0 1 0 1.257l-7.974 7.974v-8.8l3.574-3.574a.889.889 0 0 1 1.257 0Z\"/></svg>\n                            </div>                           \n                            <div class=\"block ms-2.5\">\n                                <div class=\"w-full text-base font-medium\">UI/UX Engineer</div>\n                                <div class=\"w-full font-normal\">Flowbite</div>\n                            </div>\n                            <svg class=\"w-5 h-5 ms-3 rtl:rotate-180 ms-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"job-2\" name=\"job\" value=\"job-2\" class=\"hidden peer\">\n                        <label for=\"job-2\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n                            <div class=\"flex items-center justify-center w-9 h-9 rounded bg-brand-soft text-fg-brand-strong\">\n                                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/></svg>\n                            </div> \n                            <div class=\"block ms-2.5\">\n                                <div class=\"w-full text-base font-medium\">React Developer</div>\n                                <div class=\"w-full font-normal\">Alphabet</div>\n                            </div>\n                            <svg class=\"w-5 h-5 ms-auto rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"job-3\" name=\"job\" value=\"job-3\" class=\"hidden peer\">\n                        <label for=\"job-3\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n                            <div class=\"flex items-center justify-center w-9 h-9 rounded bg-brand-soft text-fg-brand-strong\">\n                                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n                            </div> \n                            <div class=\"block ms-2.5\">\n                                <div class=\"w-full text-base font-medium\">Full Stack Engineer</div>\n                                <div class=\"w-full font-normal\">Apple</div>\n                            </div>\n                            <svg class=\"w-5 h-5 ms-auto rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                        </label>\n                    </li>\n                </ul>\n                <button type=\"submit\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                    Next step\n                    <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </button>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n## Modal with timeline\n\nUse this example to show a timeline of events to your users with a modal. This can be used to show a changelog of your product or a timeline of events.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"760\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"timeline-modal\" data-modal-toggle=\"timeline-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"timeline-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-lg max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Changelog\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"timeline-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"py-4 md:py-6\">\n                <ol class=\"relative border-s border-default ms-3.5 mb-4 md:mb-5\">                  \n                    <li class=\"mb-11 ms-6\">            \n                        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer text-fg-brand rounded-full -start-3 ring-8 ring-buffer-medium\">\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n                        </span>\n                        <h3 class=\"flex items-start my-2 text-lg font-semibold text-heading\">Flowbite Figma Design System v.2.10</h3>\n                        <p class=\"text-body mb-5\">500+ components & over 50 new pages</p>\n                        <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                            <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n                            Download\n                        </button>\n                    </li>\n                    <li class=\"mb-11 ms-6\">\n                        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer text-fg-brand rounded-full -start-3 ring-8 ring-buffer-medium\">\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n                        </span>\n                        <h3 class=\"flex items-start my-2 text-lg font-semibold text-heading\">Flowbite Application UI</h3>\n                        <p class=\"text-body mb-5\">Over 70 new pages</p>\n                        <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                            <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n                            Download\n                        </button>\n                    </li>\n                    <li class=\"ms-6\">\n                        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer text-fg-brand rounded-full -start-3 ring-8 ring-buffer-medium\">\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n                        </span>\n                        <h3 class=\"flex items-start my-2 text-lg font-semibold text-heading\">Flowbite Design System Free</h3>\n                        <p class=\"text-body mb-5\">All atomic components and variables</p>\n                        <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                            <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8 8C8 7.46957 8.21071 6.96086 8.58579 6.58579C8.96086 6.21071 9.46957 6 10 6C10.5304 6 11.0391 6.21071 11.4142 6.58579C11.7893 6.96086 12 7.46957 12 8C12 8.53043 11.7893 9.03914 11.4142 9.41421C11.0391 9.78929 10.5304 10 10 10C9.46957 10 8.96086 9.78929 8.58579 9.41421C8.21071 9.03914 8 8.53043 8 8V8Z\" fill=\"#86A6FF\"/><path d=\"M4 12C4 11.4696 4.21071 10.9609 4.58579 10.5858C4.96086 10.2107 5.46957 10 6 10H8V12C8 12.5304 7.78929 13.0391 7.41421 13.4142C7.03914 13.7893 6.53043 14 6 14C5.46957 14 4.96086 13.7893 4.58579 13.4142C4.21071 13.0391 4 12.5304 4 12V12Z\" fill=\"#0ACF83\"/><path d=\"M8 2V6H10C10.5304 6 11.0391 5.78929 11.4142 5.41421C11.7893 5.03914 12 4.53043 12 4C12 3.46957 11.7893 2.96086 11.4142 2.58579C11.0391 2.21071 10.5304 2 10 2H8Z\" fill=\"#FF7262\"/><path d=\"M4 4C4 4.53043 4.21071 5.03914 4.58579 5.41421C4.96086 5.78929 5.46957 6 6 6H8V2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V4Z\" fill=\"#F24E1E\"/><path d=\"M4 8C4 8.53043 4.21071 9.03914 4.58579 9.41421C4.96086 9.78929 5.46957 10 6 10H8V6H6C5.46957 6 4.96086 6.21071 4.58579 6.58579C4.21071 6.96086 4 7.46957 4 8V8Z\" fill=\"#A259FF\"/></svg>\n                            Duplicate in Figma\n                        </button>\n                    </li>\n                </ol>\n            </div>\n            <button type=\"button\" class=\"w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">My Downloads</button>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n## Modal with progress bar\n\nThis modal can be used to show the progress of a task to your users. It can be used to show the progress of a file upload or a task that is being processed.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"progress-modal\" data-modal-toggle=\"progress-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"progress-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n                <button type=\"button\" class=\"absolute top-3 end-2.5 text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"timeline-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            <div>\n                <svg class=\"w-12 h-12 text-fg-disabled mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n                <h3 class=\"mb-1 text-lg font-semibold text-heading\">Approaching Full Capacity</h3>\n                <p class=\"text-body\">Choosing the right server storage solution is essential for maintaining data integrity.<p>\n                <div class=\"flex justify-between mb-1.5 text-sm text-body mt-6\">\n                    <span class=\"font-normal\">My storage</span>\n                    <span class=\"font-medium\">376,3 of 500 GB used</span>\n                </div>\n                <div class=\"w-full bg-neutral-quaternary rounded-full h-2.5 mb-6\">\n                    <div class=\"bg-danger h-2.5 rounded-full\" style=\"width: 85%\"></div>\n                </div>\n                <!-- Modal footer -->\n                <div class=\"flex items-center mt-6 space-x-4 rtl:space-x-reverse\">\n                    <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Upgrade to PRO</button>\n                    <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Cancel</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n\n## Crypto wallet\n\nUse this web3 modal component to show crypto wallet connection options like MetaMask or WalletConnect when building a website based on NFT authentication and collectibles.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"700\" >}}\n<button type=\"button\" data-modal-target=\"crypto-modal\" data-modal-toggle=\"crypto-modal\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 8H5m12 0a1 1 0 0 1 1 1v2.6M17 8l-4-4M5 8a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.6M5 8l4-4 4 4m6 4h-4a2 2 0 1 0 0 4h4a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1Z\"/></svg>\n    Connect wallet\n</button>\n\n<!-- Main modal -->\n<div id=\"crypto-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Connect wallet\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"crypto-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"pt-4 md:pt-6\">\n                <p class=\"text-body\">Connect with one of our available wallet providers or create a new one.</p>\n                <ul class=\"my-4 space-y-3\">\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-4 text-base font-semibold text-heading rounded-base border border-default-medium hover:border-brand-subtle bg-neutral-secondary-medium hover:bg-brand-softer hover:text-fg-brand\">\n                            <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 40 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M39.0728 0L21.9092 12.6999L25.1009 5.21543L39.0728 0Z\" fill=\"#E17726\"/><path d=\"M0.966797 0.0151367L14.9013 5.21656L17.932 12.7992L0.966797 0.0151367Z\" fill=\"#E27625\"/><path d=\"M32.1656 27.0093L39.7516 27.1537L37.1004 36.1603L27.8438 33.6116L32.1656 27.0093Z\" fill=\"#E27625\"/><path d=\"M7.83409 27.0093L12.1399 33.6116L2.89876 36.1604L0.263672 27.1537L7.83409 27.0093Z\" fill=\"#E27625\"/><path d=\"M17.5203 10.8677L17.8304 20.8807L8.55371 20.4587L11.1924 16.4778L11.2258 16.4394L17.5203 10.8677Z\" fill=\"#E27625\"/><path d=\"M22.3831 10.7559L28.7737 16.4397L28.8067 16.4778L31.4455 20.4586L22.1709 20.8806L22.3831 10.7559Z\" fill=\"#E27625\"/><path d=\"M12.4115 27.0381L17.4768 30.9848L11.5928 33.8257L12.4115 27.0381Z\" fill=\"#E27625\"/><path d=\"M27.5893 27.0376L28.391 33.8258L22.5234 30.9847L27.5893 27.0376Z\" fill=\"#E27625\"/><path d=\"M22.6523 30.6128L28.6066 33.4959L23.0679 36.1282L23.1255 34.3884L22.6523 30.6128Z\" fill=\"#D5BFB2\"/><path d=\"M17.3458 30.6143L16.8913 34.3601L16.9286 36.1263L11.377 33.4961L17.3458 30.6143Z\" fill=\"#D5BFB2\"/><path d=\"M15.6263 22.1875L17.1822 25.4575L11.8848 23.9057L15.6263 22.1875Z\" fill=\"#233447\"/><path d=\"M24.3739 22.1875L28.133 23.9053L22.8184 25.4567L24.3739 22.1875Z\" fill=\"#233447\"/><path d=\"M12.8169 27.0049L11.9606 34.0423L7.37109 27.1587L12.8169 27.0049Z\" fill=\"#CC6228\"/><path d=\"M27.1836 27.0049L32.6296 27.1587L28.0228 34.0425L27.1836 27.0049Z\" fill=\"#CC6228\"/><path d=\"M31.5799 20.0605L27.6165 24.0998L24.5608 22.7034L23.0978 25.779L22.1387 20.4901L31.5799 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.41797 20.0605L17.8608 20.4902L16.9017 25.779L15.4384 22.7038L12.3988 24.0999L8.41797 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.15039 19.2314L12.6345 23.7816L12.7899 28.2736L8.15039 19.2314Z\" fill=\"#E27525\"/><path d=\"M31.8538 19.2236L27.2061 28.2819L27.381 23.7819L31.8538 19.2236Z\" fill=\"#E27525\"/><path d=\"M17.6412 19.5088L17.8217 20.6447L18.2676 23.4745L17.9809 32.166L16.6254 25.1841L16.625 25.1119L17.6412 19.5088Z\" fill=\"#E27525\"/><path d=\"M22.3562 19.4932L23.3751 25.1119L23.3747 25.1841L22.0158 32.1835L21.962 30.4328L21.75 23.4231L22.3562 19.4932Z\" fill=\"#E27525\"/><path d=\"M27.7797 23.6011L27.628 27.5039L22.8977 31.1894L21.9414 30.5138L23.0133 24.9926L27.7797 23.6011Z\" fill=\"#F5841F\"/><path d=\"M12.2373 23.6011L16.9873 24.9926L18.0591 30.5137L17.1029 31.1893L12.3723 27.5035L12.2373 23.6011Z\" fill=\"#F5841F\"/><path d=\"M10.4717 32.6338L16.5236 35.5013L16.4979 34.2768L17.0043 33.8323H22.994L23.5187 34.2753L23.48 35.4989L29.4935 32.641L26.5673 35.0591L23.0289 37.4894H16.9558L13.4197 35.0492L10.4717 32.6338Z\" fill=\"#C0AC9D\"/><path d=\"M22.2191 30.231L23.0748 30.8354L23.5763 34.8361L22.8506 34.2234H17.1513L16.4395 34.8485L16.9244 30.8357L17.7804 30.231H22.2191Z\" fill=\"#161616\"/><path d=\"M37.9395 0.351562L39.9998 6.53242L38.7131 12.7819L39.6293 13.4887L38.3895 14.4346L39.3213 15.1542L38.0875 16.2779L38.8449 16.8264L36.8347 19.1742L28.5894 16.7735L28.5179 16.7352L22.5762 11.723L37.9395 0.351562Z\" fill=\"#763E1A\"/><path d=\"M2.06031 0.351562L17.4237 11.723L11.4819 16.7352L11.4105 16.7735L3.16512 19.1742L1.15488 16.8264L1.91176 16.2783L0.678517 15.1542L1.60852 14.4354L0.350209 13.4868L1.30098 12.7795L0 6.53265L2.06031 0.351562Z\" fill=\"#763E1A\"/><path d=\"M28.1861 16.2485L36.9226 18.7921L39.7609 27.5398L32.2728 27.5398L27.1133 27.6049L30.8655 20.2912L28.1861 16.2485Z\" fill=\"#F5841F\"/><path d=\"M11.8139 16.2485L9.13399 20.2912L12.8867 27.6049L7.72971 27.5398H0.254883L3.07728 18.7922L11.8139 16.2485Z\" fill=\"#F5841F\"/><path d=\"M25.5283 5.17383L23.0847 11.7736L22.5661 20.6894L22.3677 23.4839L22.352 30.6225H17.6471L17.6318 23.4973L17.4327 20.6869L16.9139 11.7736L14.4707 5.17383H25.5283Z\" fill=\"#F5841F\"/></svg>\n                            <span class=\"flex-1 ms-2 whitespace-nowrap border-s border-default-medium ps-2\">MetaMask</span>\n                            <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Popular</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-4 text-base font-semibold text-heading rounded-base border border-default-medium hover:border-brand-subtle bg-neutral-secondary-medium hover:bg-brand-softer hover:text-fg-brand\">\n                            <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 292 292\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M145.7 291.66C226.146 291.66 291.36 226.446 291.36 146C291.36 65.5541 226.146 0.339844 145.7 0.339844C65.2542 0.339844 0.0400391 65.5541 0.0400391 146C0.0400391 226.446 65.2542 291.66 145.7 291.66Z\" fill=\"#3259A5\"/><path d=\"M195.94 155.5C191.49 179.08 170.8 196.91 145.93 196.91C117.81 196.91 95.0204 174.12 95.0204 146C95.0204 117.88 117.81 95.0897 145.93 95.0897C170.8 95.0897 191.49 112.93 195.94 136.5H247.31C242.52 84.7197 198.96 44.1797 145.93 44.1797C89.6904 44.1797 44.1104 89.7697 44.1104 146C44.1104 202.24 89.7004 247.82 145.93 247.82C198.96 247.82 242.52 207.28 247.31 155.5H195.94Z\" fill=\"white\"/></svg>\n                            <span class=\"flex-1 ms-2 whitespace-nowrap border-s border-default-medium ps-2\">Coinbase Wallet</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-4 text-base font-semibold text-heading rounded-base border border-default-medium hover:border-brand-subtle bg-neutral-secondary-medium hover:bg-brand-softer hover:text-fg-brand\">\n                            <svg aria-hidden=\"true\" svg class=\"h-5\"viewBox=\"0 0 75.591 75.591\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\n                            <span class=\"flex-1 ms-2 whitespace-nowrap border-s border-default-medium ps-2\">Opera Wallet</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-4 text-base font-semibold text-heading rounded-base border border-default-medium hover:border-brand-subtle bg-neutral-secondary-medium hover:bg-brand-softer hover:text-fg-brand\">\n                            <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><defs><radialGradient cx=\"0%\" cy=\"50%\" fx=\"0%\" fy=\"50%\" r=\"100%\" id=\"radialGradient-1\"><stop stop-color=\"#5D9DF6\" offset=\"0%\"></stop><stop stop-color=\"#006FFF\" offset=\"100%\"></stop></radialGradient></defs><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"logo\"><rect id=\"base\" fill=\"url(#radialGradient-1)\" x=\"0\" y=\"0\" width=\"512\" height=\"512\" rx=\"256\"></rect><path d=\"M169.209772,184.531136 C217.142772,137.600733 294.857519,137.600733 342.790517,184.531136 L348.559331,190.179285 C350.955981,192.525805 350.955981,196.330266 348.559331,198.676787 L328.82537,217.99798 C327.627045,219.171241 325.684176,219.171241 324.485851,217.99798 L316.547278,210.225455 C283.10802,177.485633 228.89227,177.485633 195.453011,210.225455 L186.951456,218.549188 C185.75313,219.722448 183.810261,219.722448 182.611937,218.549188 L162.877976,199.227995 C160.481326,196.881474 160.481326,193.077013 162.877976,190.730493 L169.209772,184.531136 Z M383.602212,224.489406 L401.165475,241.685365 C403.562113,244.031874 403.562127,247.836312 401.165506,250.182837 L321.971538,327.721548 C319.574905,330.068086 315.689168,330.068112 313.292501,327.721609 C313.292491,327.721599 313.29248,327.721588 313.29247,327.721578 L257.08541,272.690097 C256.486248,272.103467 255.514813,272.103467 254.915651,272.690097 C254.915647,272.690101 254.915644,272.690105 254.91564,272.690108 L198.709777,327.721548 C196.313151,330.068092 192.427413,330.068131 190.030739,327.721634 C190.030725,327.72162 190.03071,327.721606 190.030695,327.721591 L110.834524,250.181849 C108.437875,247.835329 108.437875,244.030868 110.834524,241.684348 L128.397819,224.488418 C130.794468,222.141898 134.680206,222.141898 137.076856,224.488418 L193.284734,279.520668 C193.883897,280.107298 194.85533,280.107298 195.454493,279.520668 C195.454502,279.520659 195.45451,279.520651 195.454519,279.520644 L251.65958,224.488418 C254.056175,222.141844 257.941913,222.141756 260.338618,224.488222 C260.338651,224.488255 260.338684,224.488288 260.338717,224.488321 L316.546521,279.520644 C317.145683,280.107273 318.117118,280.107273 318.71628,279.520644 L374.923175,224.489406 C377.319825,222.142885 381.205562,222.142885 383.602212,224.489406 Z\" id=\"WalletConnect\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path></g></g></svg>\n                            <span class=\"flex-1 ms-2 whitespace-nowrap border-s border-default-medium ps-2\">WalletConnect</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-4 text-base font-semibold text-heading rounded-base border border-default-medium hover:border-brand-subtle bg-neutral-secondary-medium hover:bg-brand-softer hover:text-fg-brand\">\n                            <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 96 96\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M72.0998 0.600098H48.3998H24.5998H0.799805V24.4001V48.2001V49.7001V71.8001V71.9001V95.5001H24.5998V72.0001V71.9001V49.8001V48.3001V24.5001H48.3998H72.1998H95.9998V0.700104H72.0998V0.600098Z\" fill=\"#617BFF\"/><path d=\"M48.5 71.8002H72.1V95.6002H73C79.1 95.6002 84.9 93.2002 89.2 88.9002C93.5 84.6002 95.9 78.8002 95.9 72.7002V48.2002H48.5V71.8002Z\" fill=\"#617BFF\"/></svg>\n                            <span class=\"flex-1 ms-2 whitespace-nowrap border-s border-default-medium ps-2\">Fortmatic</span>\n                        </a>\n                    </li>\n                </ul>\n                <div>\n                    <a href=\"#\" class=\"inline-flex items-center text-xs font-normal text-body hover:underline\">\n                        <svg class=\"w-3.5 h-3.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                        Why do I need to connect with my wallet?\n                    </a>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Sizes\n\nYou can use four different modal sizing options starting from small to extra large, but keep in mind that the width of these modals will remain the same when browsing on smaller devices.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"900\" >}}\n\n<div class=\"block space-y-4 md:flex md:space-y-0 md:space-x-4 rtl:space-x-reverse\">\n    <!-- Modal toggle -->\n    <button data-modal-target=\"small-modal\" data-modal-toggle=\"small-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Small modal\n    </button>\n    <button data-modal-target=\"medium-modal\" data-modal-toggle=\"medium-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" >\n    Default modal\n    </button>\n    <button data-modal-target=\"large-modal\" data-modal-toggle=\"large-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Large modal\n    </button>\n    <button data-modal-target=\"extralarge-modal\" data-modal-toggle=\"extralarge-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Extra large modal\n    </button>\n</div>\n\n<!-- Small Modal -->\n<div id=\"small-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"small-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"small-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"small-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Default Modal -->\n<div id=\"medium-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-lg max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"medium-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"medium-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"medium-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Large Modal -->\n<div id=\"large-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-4xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"large-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"large-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"large-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Extra Large Modal -->\n<div id=\"extralarge-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-7xl max-h-full\">\n         <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"extralarge-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"extralarge-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"extralarge-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Placement\n\nUse the `data-modal-placement` data attribute on the modal element to set the position relative to the document body based on the available values from `{top|center|bottom}-{left|center|right}` (eg. `top-left` or `bottom-right`).\n\nThe default position is the center of the page.\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"800\">}}\n\n<div class=\"block space-y-4 md:flex md:space-y-0 md:space-x-4 md:rtl:space-x-reverse\">\n    <!-- Modal toggle -->\n    <button data-modal-target=\"top-left-modal\" data-modal-toggle=\"top-left-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Top left\n    </button>\n    <button data-modal-target=\"top-right-modal\" data-modal-toggle=\"top-right-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Top right\n    </button>\n    <button data-modal-target=\"bottom-left-modal\" data-modal-toggle=\"bottom-left-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Bottom left\n    </button>\n    <button data-modal-target=\"bottom-right-modal\" data-modal-toggle=\"bottom-right-modal\" class=\"inline-flex text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Bottom right\n    </button>\n</div>\n\n<!-- Top Left Modal -->\n<div id=\"top-left-modal\" data-modal-placement=\"top-left\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"top-left-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"top-left-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"top-left-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Top Right Modal -->\n<div id=\"top-right-modal\" data-modal-placement=\"top-right\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"top-right-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"top-right-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"top-right-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Bottom Left Modal -->\n<div id=\"bottom-left-modal\" data-modal-placement=\"bottom-left\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n         <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"bottom-left-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"bottom-left-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"bottom-left-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Bottom Right Modal -->\n<div id=\"bottom-right-modal\" data-modal-placement=\"bottom-right\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n         <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"bottom-right-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"bottom-right-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"bottom-right-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## More examples\n\nYou can check out more modal component examples from the following resources from Flowbite Blocks:\n\n-   [CRUD read modals](https://flowbite.com/blocks/application/crud-read-modals/)\n-   [CRUD create modals](https://flowbite.com/blocks/application/crud-create-modals/)\n-   [CRUD update modals](https://flowbite.com/blocks/application/crud-update-modals/)\n-   [Faceted search modals](https://flowbite.com/blocks/application/faceted-search-modals/)\n\n## JavaScript behaviour\n\nThe **Modal** class from Flowbite can be used to create an object that will launch an interactive modal based on the object parameters, options, and methods that you choose to apply.\n\n### Object parameters\n\nInitialize a Modal object with parameters such as the modal element and the optional options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the main modal element as a JavaScript object.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the default state of the modal, placement, and animations.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the second parameter for the Modal object to set the position of the modal, custom classes for the backdrop element and the callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">placement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the modal element relative to the document body by choosing one of the values from <code class=\"text-fg-brand\">{top|center|right}-{left|center|right}</code>. (eg. top-left or bottom-right)\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">backdrop</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Choose between <code class=\"text-fg-brand\">static</code> or <code class=\"text-fg-brand\">dynamic</code> to prevent closing the modal when clicking outside.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">backdropClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS classes for the backdrop element (eg. <code class=\"text-fg-brand\">'bg-blue-500 dark:bg-blue-400'</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">closable</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set to <code class=\"text-fg-brand\">false</code> to disable closing the modal on hitting ESC or clicking on the backdrop.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal has been shown.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the methods from the Modal object to show, hide, and toggle the visibility directly from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the toggle function on the Modal object to toggle the modal element's visibility.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function on the Modal object to show the modal element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the hide function on the Modal object to hide the modal element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">isHidden()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the modal is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the modal is visible.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal has been closed.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Modal object.\n\nFirst of all, create a new JavaScript element object for the first parameter of the Modal object and another options object to set the placement, backdrop styles, and callback functions.\n\n{{< code lang=\"javascript\" file=\"modal.js\" icon=\"file\" >}}\n// set the modal menu element\nconst $targetEl = document.getElementById('modalEl');\n\n// options with default values\nconst options = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    closable: true,\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'modalEl',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Modal object based on the options above.\n\n{{< code lang=\"javascript\" file=\"modal.js\" icon=\"file\" >}}\nimport { Modal } from 'flowbite';\n\n/*\n * $targetEl: required\n * options: optional\n */\nconst modal = new Modal($targetEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show` and `hide` methods to show and hide the modal component directly from JavaScript.\n\n{{< code lang=\"javascript\" file=\"modal.js\" icon=\"file\" >}}\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n{{< /code >}}\n\nUse the `toggle` method to toggle the visibility of the modal.\n\n{{< code lang=\"javascript\" file=\"modal.js\" icon=\"file\" >}}\n// toggle the modal\nmodal.toggle();\n{{< /code >}}\n\nUse the `isHidden` or `isVisible` method to check if the modal is visible or not.\n\n{{< code lang=\"javascript\" file=\"modal.js\" icon=\"file\" >}}\n// true if hidden\nmodal.isHidden();\n\n// true if visible\nmodal.isVisible();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"modal.html\" icon=\"file\" >}}\n<div\n    id=\"modalEl\"\n    tabindex=\"-1\"\n    aria-hidden=\"true\"\n    class=\"fixed left-0 right-0 top-0 z-50 hidden h-[calc(100%-1rem)] max-h-full w-full overflow-y-auto overflow-x-hidden p-4 md:inset-0\"\n>\n    <div class=\"relative max-h-full w-full max-w-2xl\">\n        <!-- Modal content -->\n        <div class=\"relative rounded-lg bg-white shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div\n                class=\"flex items-start justify-between rounded-t border-b p-5 dark:border-gray-600\"\n            >\n                <h3\n                    class=\"text-xl font-semibold text-gray-900 dark:text-white lg:text-2xl\"\n                >\n                    Terms of Service\n                </h3>\n                <button\n                    type=\"button\"\n                    class=\"ms-auto inline-flex h-8 w-8 items-center justify-center rounded-lg bg-transparent text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white\"\n                >\n                    <svg\n                        class=\"h-3 w-3\"\n                        aria-hidden=\"true\"\n                        xmlns=\"http://www.w3.org/2000/svg\"\n                        fill=\"none\"\n                        viewBox=\"0 0 14 14\"\n                    >\n                        <path\n                            stroke=\"currentColor\"\n                            stroke-linecap=\"round\"\n                            stroke-linejoin=\"round\"\n                            stroke-width=\"2\"\n                            d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"\n                        />\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-6 p-6\">\n                <p\n                    class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\"\n                >\n                    With less than a month to go before the European Union\n                    enacts new consumer privacy laws for its citizens, companies\n                    around the world are updating their terms of service\n                    agreements to comply.\n                </p>\n                <p\n                    class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\"\n                >\n                    The European Union’s General Data Protection Regulation\n                    (G.D.P.R.) goes into effect on May 25 and is meant to ensure\n                    a common set of data rights in the European Union. It\n                    requires organizations to notify users as soon as possible\n                    of high-risk data breaches that could personally affect\n                    them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div\n                class=\"flex items-center space-x-2 rtl:space-x-reverse rounded-b border-t border-gray-200 p-6 dark:border-gray-600\"\n            >\n                <button\n                    type=\"button\"\n                    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"\n                >\n                    I accept\n                </button>\n                <button\n                    type=\"button\"\n                    class=\"rounded-lg border border-gray-200 bg-white px-5 py-2.5 text-sm font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-900 focus:z-10 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:border-gray-500 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\"\n                >\n                    Decline\n                </button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Modal class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"modal.ts\" icon=\"file\" >}}\nimport { Modal } from 'flowbite';\nimport type { ModalOptions, ModalInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst $modalElement: HTMLElement = document.querySelector('#modalEl');\n\nconst modalOptions: ModalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    closable: true,\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'modalEl',\n  override: true\n};\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions, instanceOptions);\n\nmodal.show();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/navbar.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Navbar - Flowbite\ndescription: The navbar component can be used to show a list of navigation links positioned on the top side of your page based on multiple layouts, sizes, and dropdowns\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Modal\npreviousLink: components/modal/\nnext: Pagination\nnextLink: components/pagination/\n---\n\nGet started with the responsive navbar component from Flowbite to quickly set up a navigation menu for your website and set up the logo, list of pages, CTA button, search input, user profile options with a dropdown, and more.\n\n## Default navbar\n\nUse this example of a navigation bar built with the utility classes from Tailwind CSS to enable users to navigate across the pages of your website.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Navbar with dropdown\n\nThis example can be used to show a secondary dropdown menu when clicking on one of the navigation links.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-dropdown\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-dropdown\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-dropdown\">\n      <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"dropdownNvbarButton\" data-dropdown-toggle=\"dropdownNavbar\" class=\"flex items-center justify-between w-full py-2 px-3 rounded font-medium text-heading md:w-auto hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n              Dropdown \n              <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n          </button>\n          <!-- Dropdown menu -->\n          <div id=\"dropdownNavbar\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n              <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownNvbarButton\">\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n                </li>\n              </ul>\n          </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Multi-level dropdown\n\nUse this example to show multiple layers of dropdown menu by stacking them inside of each other.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-multi-level-dropdown\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-multi-level-dropdown\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-multi-level-dropdown\">\n      <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"multiLevelDropdownButton\" data-dropdown-toggle=\"multi-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 rounded font-medium text-heading md:w-auto hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n              Dropdown \n              <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n          </button>\n            <!-- Dropdown menu -->\n            <div id=\"multi-dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n                <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"multiLevelDropdownButton\">\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n                  </li>\n                  <li>\n                    <button id=\"doubleDropdownButton\" data-dropdown-toggle=\"doubleDropdown\" data-dropdown-placement=\"right-start\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                      Dropdown\n                      <svg class=\"h-4 w-4 ms-auto rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n                    </button>\n                      <div id=\"doubleDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n                        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownMultiLevelButton\">\n                          <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Overview</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">My downloads</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Billing</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Rewards</a>\n                          </li>\n                        </ul>\n                    </div>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n                  </li>\n                </ul>\n            </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Sticky navbar\n\nUse this example to keep the navbar positioned fixed to the top side as you scroll down the document page.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\">\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <div class=\"flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n        <button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Get started</button>\n        <button data-collapse-toggle=\"navbar-sticky\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-sticky\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n        </button>\n    </div>\n    <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-sticky\">\n      <ul class=\"flex flex-col p-4 md:p-0 mt-4 font-medium border border-default rounded-base bg-neutral-secondary-soft md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded-sm md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Navbar with submenu\n\nUse this example to show another subnav below the main navbar element.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n<header class=\"fixed w-full z-20 top-0 start-0\">\n  <nav class=\"bg-neutral-primary\">\n      <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n          <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n              <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n              <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n          </a>\n          <div class=\"flex items-center space-x-6 rtl:space-x-reverse\">\n              <a href=\"tel:5541251234\" class=\"text-sm  text-body hover:underline\">(555) 412-1234</a>\n              <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline\">Login</a>\n          </div>\n      </div>\n  </nav>\n  <nav class=\"bg-neutral-secondary-soft border-y border-default border-default\">\n      <div class=\"max-w-screen-xl px-4 py-3 mx-auto\">\n          <div class=\"flex items-center\">\n              <ul class=\"flex flex-row font-medium mt-0 space-x-8 rtl:space-x-reverse text-sm\">\n                  <li>\n                      <a href=\"#\" class=\"text-heading hover:underline\" aria-current=\"page\">Home</a>\n                  </li>\n                  <li>\n                      <a href=\"#\" class=\"text-heading hover:underline\">Company</a>\n                  </li>\n                  <li>\n                      <a href=\"#\" class=\"text-heading hover:underline\">Team</a>\n                  </li>\n                  <li>\n                      <a href=\"#\" class=\"text-heading hover:underline\">Features</a>\n                  </li>\n              </ul>\n          </div>\n      </div>\n  </nav>\n</header>\n{{< /example >}}\n\n## Navbar with search\n\nUse this example of a navbar element to also show a search input element that you can integrate for a site-wide search.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n  </a>\n  <div class=\"flex items-center md:order-2\">\n    <button type=\"button\" data-collapse-toggle=\"navbar-search\" aria-controls=\"navbar-search\" aria-expanded=\"false\" class=\"flex items-center justify-center md:hidden text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-2 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm w-10 h-10 focus:outline-none\">\n      <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n      <span class=\"sr-only\">Search</span>\n    </button>\n    <label for=\"input-group-1\" class=\"sr-only\">Your Email</label>\n    <div class=\"relative hidden md:block\">\n      <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n      </div>\n      <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"Search\">\n    </div>\n    <button data-collapse-toggle=\"navbar-search\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-search\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n  </div>\n    <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-search\">\n      <div class=\"relative mt-3 md:hidden\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n          <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        </div>\n        <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"Search\">\n      </div>\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Navbar with CTA button\n\nUse the following navbar element to show a call to action button alongside the logo and page links.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n  </a>\n  <div class=\"inline-flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Get started</button>\n      <button data-collapse-toggle=\"navbar-cta\" type=\"button\" class=\"inline-flex items-center p-2 w-9 h-9 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-cta\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-cta\">\n    <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Language dropdown\n\nGet started with this example to show a language dropdown selector in the navbar component.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n  </a>\n  <div class=\"flex items-center md:order-2 space-x-1 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" data-dropdown-toggle=\"language-dropdown-menu\" class=\"flex items-center text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        <svg class=\"h-4 w-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.00023 16.5C13.1425 16.5 16.5005 13.1421 16.5005 9C16.5005 4.85786 13.1425 1.5 9.00023 1.5C4.85797 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85797 16.5 9.00023 16.5Z\" fill=\"white\"/><path d=\"M8.67548 8.99996H16.5012C16.5012 8.32308 16.4109 7.66735 16.2428 7.04358H8.67548V8.99996Z\" fill=\"#D80027\"/><path d=\"M8.67548 5.08712H15.4004C14.9413 4.338 14.3543 3.67585 13.6699 3.13074H8.67548V5.08712Z\" fill=\"#D80027\"/><path d=\"M9.0005 16.5001C10.7655 16.5001 12.3878 15.89 13.6689 14.8698H4.33209C5.61318 15.89 7.23548 16.5001 9.0005 16.5001Z\" fill=\"#D80027\"/><path d=\"M2.60125 12.9132H15.4C15.7686 12.3118 16.0545 11.6543 16.2425 10.9567H1.75879C1.94679 11.6543 2.23265 12.3118 2.60125 12.9132Z\" fill=\"#D80027\"/><path d=\"M4.97397 2.67114H5.65741L5.0217 3.13297L5.26453 3.88024L4.62884 3.41841L3.99316 3.88024L4.20292 3.23468C3.6432 3.7009 3.15262 4.24713 2.74834 4.85575H2.96732L2.56266 5.14972C2.49962 5.25489 2.43915 5.36173 2.38121 5.47015L2.57444 6.06485L2.21393 5.80293C2.12432 5.99279 2.04235 6.18692 1.96867 6.3851L2.18156 7.04036H2.96732L2.33161 7.50219L2.57444 8.24947L1.93876 7.78764L1.55798 8.0643C1.51986 8.37066 1.5 8.6827 1.5 8.99941H8.99964C8.99964 4.85763 8.99964 4.36934 8.99964 1.5C7.51811 1.5 6.13703 1.92975 4.97397 2.67114ZM5.26453 8.24947L4.62884 7.78764L3.99316 8.24947L4.23599 7.50219L3.60028 7.04036H4.38604L4.62884 6.29309L4.87165 7.04036H5.65741L5.0217 7.50219L5.26453 8.24947ZM5.0217 5.31758L5.26453 6.06485L4.62884 5.60303L3.99316 6.06485L4.23599 5.31758L3.60028 4.85575H4.38604L4.62884 4.10848L4.87165 4.85575H5.65741L5.0217 5.31758ZM7.95461 8.24947L7.31893 7.78764L6.68325 8.24947L6.92608 7.50219L6.29037 7.04036H7.07613L7.31893 6.29309L7.56173 7.04036H8.34749L7.71178 7.50219L7.95461 8.24947ZM7.71178 5.31758L7.95461 6.06485L7.31893 5.60303L6.68325 6.06485L6.92608 5.31758L6.29037 4.85575H7.07613L7.31893 4.10848L7.56173 4.85575H8.34749L7.71178 5.31758ZM7.71178 3.13297L7.95461 3.88024L7.31893 3.41841L6.68325 3.88024L6.92608 3.13297L6.29037 2.67114H7.07613L7.31893 1.92386L7.56173 2.67114H8.34749L7.71178 3.13297Z\" fill=\"#1A47B8\"/></svg>\n        English (US)\n      </button>\n      <!-- Dropdown -->\n      <div class=\"z-50 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\" id=\"language-dropdown-menu\">\n        <ul class=\"p-2 text-sm text-body font-medium\" role=\"none\">\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-4 w-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.00023 16.5C13.1425 16.5 16.5005 13.1421 16.5005 9C16.5005 4.85786 13.1425 1.5 9.00023 1.5C4.85797 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85797 16.5 9.00023 16.5Z\" fill=\"white\"/><path d=\"M8.67548 8.99996H16.5012C16.5012 8.32308 16.4109 7.66735 16.2428 7.04358H8.67548V8.99996Z\" fill=\"#D80027\"/><path d=\"M8.67548 5.08712H15.4004C14.9413 4.338 14.3543 3.67585 13.6699 3.13074H8.67548V5.08712Z\" fill=\"#D80027\"/><path d=\"M9.0005 16.5001C10.7655 16.5001 12.3878 15.89 13.6689 14.8698H4.33209C5.61318 15.89 7.23548 16.5001 9.0005 16.5001Z\" fill=\"#D80027\"/><path d=\"M2.60125 12.9132H15.4C15.7686 12.3118 16.0545 11.6543 16.2425 10.9567H1.75879C1.94679 11.6543 2.23265 12.3118 2.60125 12.9132Z\" fill=\"#D80027\"/><path d=\"M4.97397 2.67114H5.65741L5.0217 3.13297L5.26453 3.88024L4.62884 3.41841L3.99316 3.88024L4.20292 3.23468C3.6432 3.7009 3.15262 4.24713 2.74834 4.85575H2.96732L2.56266 5.14972C2.49962 5.25489 2.43915 5.36173 2.38121 5.47015L2.57444 6.06485L2.21393 5.80293C2.12432 5.99279 2.04235 6.18692 1.96867 6.3851L2.18156 7.04036H2.96732L2.33161 7.50219L2.57444 8.24947L1.93876 7.78764L1.55798 8.0643C1.51986 8.37066 1.5 8.6827 1.5 8.99941H8.99964C8.99964 4.85763 8.99964 4.36934 8.99964 1.5C7.51811 1.5 6.13703 1.92975 4.97397 2.67114ZM5.26453 8.24947L4.62884 7.78764L3.99316 8.24947L4.23599 7.50219L3.60028 7.04036H4.38604L4.62884 6.29309L4.87165 7.04036H5.65741L5.0217 7.50219L5.26453 8.24947ZM5.0217 5.31758L5.26453 6.06485L4.62884 5.60303L3.99316 6.06485L4.23599 5.31758L3.60028 4.85575H4.38604L4.62884 4.10848L4.87165 4.85575H5.65741L5.0217 5.31758ZM7.95461 8.24947L7.31893 7.78764L6.68325 8.24947L6.92608 7.50219L6.29037 7.04036H7.07613L7.31893 6.29309L7.56173 7.04036H8.34749L7.71178 7.50219L7.95461 8.24947ZM7.71178 5.31758L7.95461 6.06485L7.31893 5.60303L6.68325 6.06485L6.92608 5.31758L6.29037 4.85575H7.07613L7.31893 4.10848L7.56173 4.85575H8.34749L7.71178 5.31758ZM7.71178 3.13297L7.95461 3.88024L7.31893 3.41841L6.68325 3.88024L6.92608 3.13297L6.29037 2.67114H7.07613L7.31893 1.92386L7.56173 2.67114H8.34749L7.71178 3.13297Z\" fill=\"#1A47B8\"/></svg>             \n                English (US)\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-4 w-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1.96631 11.6087C3.02601 14.4647 5.77508 16.5 8.99981 16.5C12.2245 16.5 14.9736 14.4647 16.0333 11.6087L8.99981 10.9565L1.96631 11.6087Z\" fill=\"#FFDA44\"/><path d=\"M8.99981 1.5C5.77508 1.5 3.02601 3.53531 1.96631 6.39132L8.99981 7.04347L16.0333 6.39129C14.9736 3.53531 12.2245 1.5 8.99981 1.5Z\" fill=\"black\"/><path d=\"M1.96649 6.39136C1.66503 7.20385 1.5 8.08264 1.5 9.00004C1.5 9.91744 1.66503 10.7962 1.96649 11.6087H16.0335C16.335 10.7962 16.5 9.91744 16.5 9.00004C16.5 8.08264 16.335 7.20385 16.0335 6.39136H1.96649Z\" fill=\"#D80027\"/></svg>\n                Deutsch\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-4 w-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/><path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/><path d=\"M1.5 8.99994C1.5 12.2247 3.53531 14.9737 6.39132 16.0334V1.96643C3.53531 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#249F58\"/></svg>            \n                Italiano\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-4 w-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"#D80027\"/><path d=\"M5.60449 6.06458L6.25195 8.05676H8.34668L6.65332 9.29016L7.30078 11.2823L5.60449 10.0519L3.9082 11.2823L4.55859 9.29016L2.8623 8.05676H4.95703L5.60449 6.06458Z\" fill=\"#FFDA44\"/><path d=\"M10.3906 13.1162L9.89551 12.5068L9.16309 12.791L9.58789 12.1318L9.09277 11.5195L9.85156 11.7217L10.2793 11.0625L10.3203 11.8477L11.082 12.0498L10.3467 12.3311L10.3906 13.1162Z\" fill=\"#FFDA44\"/><path d=\"M11.375 11.3291L11.6094 10.5791L10.9678 10.125L11.7529 10.1133L11.9844 9.36328L12.2393 10.1074L13.0244 10.0986L12.3945 10.5674L12.6465 11.3115L12.0049 10.8574L11.375 11.3291Z\" fill=\"#FFDA44\"/><path d=\"M12.7041 7.00488L12.3584 7.71094L12.9209 8.25879L12.1445 8.14746L11.7988 8.85059L11.6641 8.07715L10.8848 7.96582L11.582 7.59961L11.4473 6.82324L12.0098 7.37109L12.7041 7.00488Z\" fill=\"#FFDA44\"/><path d=\"M10.4126 4.86621L10.354 5.64844L11.0835 5.94434L10.3188 6.13184L10.2632 6.91699L9.8501 6.24902L9.08545 6.43652L9.59229 5.83594L9.17627 5.1709L9.90576 5.4668L10.4126 4.86621Z\" fill=\"#FFDA44\"/></svg>\n                中文 (繁體)\n              </div>\n            </a>\n          </li>\n        </ul>\n      </div>\n    <button data-collapse-toggle=\"navbar-language\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-language\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-language\">\n    <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## User menu dropdown\n\nUse this example to create a navigation bar with a user profile or button to toggle a dropdown menu.\n\n{{< example github=\"components/navbar.md\" show_dark=true skeletonPlaceholders=true iframeHeight=\"380\" >}}\n\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n  </a>\n  <div class=\"flex items-center md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" class=\"flex text-sm bg-neutral-primary rounded-full md:me-0 focus:ring-4 focus:ring-neutral-tertiary\" id=\"user-menu-button\" aria-expanded=\"false\" data-dropdown-toggle=\"user-dropdown\" data-dropdown-placement=\"bottom\">\n        <span class=\"sr-only\">Open user menu</span>\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"user photo\">\n      </button>\n      <!-- Dropdown menu -->\n      <div class=\"z-50 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\" id=\"user-dropdown\">\n        <div class=\"px-4 py-3 text-sm border-b border-default\">\n          <span class=\"block text-heading font-medium\">Joseph McFall</span>\n          <span class=\"block text-body truncate\">name@flowbite.com</span>\n        </div>\n        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"user-menu-button\">\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Dashboard</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Settings</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Earnings</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n          </li>\n        </ul>\n      </div>\n      <button data-collapse-toggle=\"navbar-user\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-user\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n      </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-user\">\n    <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Mega menu navbar\n\nYou can also use the dropdown element inside a navigation bar and add a second level of navigation hierarchy, but make sure to use a `button` element.\n\n{{< example github=\"components/navbar.md\" show_dark=true skeletonPlaceholders=true iframeHeight=\"340\" >}}\n<nav class=\"bg-neutral-primary fixed w-full z-20 top-0 start-0 border-b border-default\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-xl font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-lg md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-default\" aria-controls=\"mega-menu-full\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n        </button>\n        <div id=\"mega-menu-full\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-dropdown-button\" data-collapse-toggle=\"mega-menu-full-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-heading border-b border-light md:w-auto hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">\n                        Company \n                        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n                    </button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-heading hover:text-fg-brand border-b border-light hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-dropdown\" class=\"mt-1 bg-neutral-primary-soft border-default shadow-xs border-y\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-heading sm:grid-cols-2 md:grid-cols-3 md:px-6\">\n            <ul aria-labelledby=\"mega-menu-full-dropdown-button\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"hidden md:block\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Audience Management</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Creative Tools</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-neutral-secondary-medium\">\n                        <div class=\"font-semibold\">Marketing Automation</div>\n                        <span class=\"text-sm text-body\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n## Solid background\n\nUse this example to show a solid background for the navbar component instead of being transparent.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" skeletonPlaceholders=true >}}\n<nav class=\"bg-neutral-secondary-soft fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-solid\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-solid\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-solid\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-secondary-soft\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Hamburger menu\n\nAll of the navbar components from this page have a responsive hamburger menu included which by default appears when the screen goes below 768px in width based on the `md` utility class from Tailwind CSS.\n\nHere's an example where you can show the hamburger icon and the menu on all screen sizes.\n\n{{< example github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-neutral-secondary-soft fixed w-full z-20 top-0 start-0 border-b border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-hamburger\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base hover:bg-neutral-tertiary hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-hamburger\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full\" id=\"navbar-hamburger\">\n      <ul class=\"flex flex-col font-medium mt-4 pt-4 bg-neutral-secondary-soft space-y-2 border-t border-default\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## More examples\n\nYou can check out more navbar component examples from the following resources from Flowbite Blocks:\n\n-   [Headers for marketing](https://flowbite.com/blocks/marketing/header/)\n-   [Navbars for dashboard](https://flowbite.com/blocks/application/navbar/)\n-   [Application shell layouts](https://flowbite.com/blocks/application/shells/)\n\n## JavaScript behaviour\n\nUse the **Collapse** class to create an object with a trigger and target element, where the target element will be collapsed or expanded based on the events dispatched on the trigger element. This can be used to toggle another element such as a dropdown menu or a hamburger navbar.\n\n### Object parameters\n\nUse the object parameters from the Collapse object to set the trigger element, target element, and the options including callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the target element object that will be expanded or collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the trigger element that will expand or collapse the target element based on click event. \n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to override the default transition, duration, and timing function of the collapse animation.\n              </td>\n          </tr>\n          <tr>\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these optional options for the Collapse object to set the transition, duration, and timing function types based on the utility classes from Tailwind CSS.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onCollapse</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onExpand</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been expanded.\n              </td>\n          </tr>\n          <tr>\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onToggle</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has either been expanded or collapsed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods on the Dismiss object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">collapse()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object to hide the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">expand()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object to show the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">toggle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object toggle the current visibility of the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnCollapse(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnExpand(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been expanded.\n              </td>\n          </tr>\n          <tr>\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been toggled.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following example to learn how to initialize and use the methods of the **Collapse** object to manually expand and collapse elements on the page.\n\nFirst of all, you need to set the object parameters where the target element is required and the other two are optional.\n\n{{< code lang=\"javascript\" file=\"navbar.js\" icon=\"file\" >}}\n// set the target element that will be collapsed or expanded (eg. navbar menu)\nconst $targetEl = document.getElementById('targetEl');\n\n// optionally set a trigger element (eg. a button, hamburger icon)\nconst $triggerEl = document.getElementById('triggerEl');\n\n// optional options with default values and callback functions\nconst options = {\n    onCollapse: () => {\n        console.log('element has been collapsed');\n    },\n    onExpand: () => {\n        console.log('element has been expanded');\n    },\n    onToggle: () => {\n        console.log('element has been toggled');\n    },\n};\n\nconst instanceOptions = {\n  id: 'targetEl',\n  override: true\n};\n\n{{< /code >}}\n\nNext step is to create a new instance of a Collapse object using the parameters we have set above.\n\n{{< code lang=\"javascript\" file=\"navbar.js\" icon=\"file\" >}}\nimport { Collapse } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: optional\n * options: optional\n */\nconst collapse = new Collapse($targetEl, $triggerEl, options, instanceOptions);\n{{< /code >}}\n\nNow you can programmatically expand or collapse the target element using the methods of the Collapse object.\n\n{{< code lang=\"javascript\" file=\"navbar.js\" icon=\"file\" >}}\n// show the target element\ncollapse.expand();\n\n// hide the target element\ncollapse.collapse();\n\n// toggle the visibility of the target element\ncollapse.toggle();\n{{< /code >}}\n\n### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above. Please note that you should use the `hidden` class from Tailwind CSS to hide the target element by default.\n\n{{< code lang=\"html\" file=\"navbar.html\" icon=\"file\" >}}\n<button type=\"button\" id=\"triggerEl\" aria-expanded=\"false\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Trigger collapse</button>\n\n<!-- Target element -->\n<div id=\"targetEl\" class=\"hidden\">\n    <ul\n        class=\"w-48 rounded-base  border border-gray-200 bg-white text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white\"\n    >\n        <li\n            class=\"w-full rounded-t-lg border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Profile\n        </li>\n        <li\n            class=\"w-full border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Settings\n        </li>\n        <li\n            class=\"w-full border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Messages\n        </li>\n        <li class=\"w-full rounded-b-lg px-4 py-2\">Download</li>\n    </ul>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Collapse object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"navbar.ts\" icon=\"file\" >}}\nimport { Collapse } from 'flowbite';\nimport type { CollapseOptions, CollapseInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element that will be collapsed or expanded (eg. navbar menu)\nconst $targetEl: HTMLElement = document.getElementById('targetEl');\n\n// optionally set a trigger element (eg. a button, hamburger icon)\nconst $triggerEl: HTMLElement = document.getElementById('triggerEl');\n\n// optional options with default values and callback functions\nconst options: CollapseOptions = {\n    onCollapse: () => {\n        console.log('element has been collapsed');\n    },\n    onExpand: () => {\n        console.log('element has been expanded');\n    },\n    onToggle: () => {\n        console.log('element has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'targetEl',\n  override: true\n};\n\n/*\n * $targetEl: required\n * $triggerEl: optional\n * options: optional\n * instanceOptions: optional\n */\nconst collapse: CollapseInterface = new Collapse(\n    $targetEl,\n    $triggerEl,\n    options,\n    instanceOptions\n);\n\n// show the target element\ncollapse.expand();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/pagination.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Pagination - Flowbite\ndescription: Use the Tailwind CSS pagination element to indicate a series of content across various pages based on multiple styles and sizes\ngroup: components\ntoc: true\n\nprevious: Navbar\npreviousLink: components/navbar/\nnext: Popover\nnextLink: components/popover/\n---\n\nThe pagination component can be used to navigate across a series of content and data sets for various pages such as blog posts, products, and more. You can use multiple variants of this component with or without icons and even for paginating table data entries.\n\n## Default pagination\n\nUse the following list of pagination items based on two sizes powered by Tailwind CSS utility classes to indicate a series of content for your website.\n\n{{< example class=\"flex flex-col space-y-6 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-s-base text-sm px-3 h-9 focus:outline-none\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-9 h-9 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-e-base text-sm px-3 h-9 focus:outline-none\">Next</a>\n    </li>\n  </ul>\n</nav>\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-s-base text-sm px-3 h-10 focus:outline-none\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-10 h-10 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-e-base text-sm px-3 h-10 focus:outline-none\">Next</a>\n    </li>\n  </ul>\n</nav>\n\n{{< /example >}}\n\n## Pagination with icons\n\nThe following pagination component example shows how you can use [SVG icons](https://flowbite.com/icons/) instead of text to show the previous and next pages.\n\n{{< example class=\"flex flex-col space-y-6 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-s-base text-sm w-9 h-9 focus:outline-none\">\n        <span class=\"sr-only\">Previous</span>\n        <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-9 h-9 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-e-base text-sm w-9 h-9 focus:outline-none\">\n        <span class=\"sr-only\">Next</span>\n        <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n      </a>\n    </li>\n  </ul>\n</nav>\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-s-base text-sm w-10 h-10 focus:outline-none\">\n        <span class=\"sr-only\">Previous</span>\n        <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-10 h-10 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-10 h-10 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-e-base text-sm w-10 h-10 focus:outline-none\">\n        <span class=\"sr-only\">Next</span>\n        <svg class=\"w-4 h-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n      </a>\n    </li>\n  </ul>\n</nav>\n{{< /example >}}\n\n## Previous and next\n\nUse the following markup to show simple previous and next elements.\n\n{{< example class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex space-x-2\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n    Next\n  </a>\n</div>\n\n<div class=\"flex space-x-2\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    Next\n  </a>\n</div>\n{{< /example >}}\n\n## Previous and next with icons\n\nUse the following code to show simple previous and next elements with icons.\n\n{{< example class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n<div class=\"flex space-x-2\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n    Next\n    <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n  </a>\n</div>\n\n<div class=\"flex space-x-2\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    Next\n    <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n  </a>\n</div>\n{{< /example >}}\n\n## Table data pagination\n\nYou can use the following markup to show the number of data shown inside a table element and also the previous and next action buttons.\n\n{{< example class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-body\">\n      Showing <span class=\"font-semibold text-heading\">1</span> to <span class=\"font-semibold text-heading\">10</span> of <span class=\"font-semibold text-heading\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-4 -space-x-px\">\n    <!-- Previous Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n      Previous\n    </button>\n    <!-- Next Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n      Next\n    </button>\n  </div>\n</div>\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-body\">\n      Showing <span class=\"font-semibold text-heading\">1</span> to <span class=\"font-semibold text-heading\">10</span> of <span class=\"font-semibold text-heading\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-4 -space-x-px\">\n    <!-- Previous Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n      Previous\n    </button>\n    <!-- Next Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n      Next\n    </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Table pagination with icons\n\nYou can use the following code to show the number of data shown inside a table element and also the previous and next action buttons coupled with icons.\n\n{{< example class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-body\">\n      Showing <span class=\"font-semibold text-heading\">1</span> to <span class=\"font-semibold text-heading\">10</span> of <span class=\"font-semibold text-heading\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-4 -space-x-px\">\n    <!-- Previous Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-3 py-2 focus:outline-none\">\n      <svg class=\"w-4 h-4 me-1.5 -ms-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n      Previous\n    </button>\n    <!-- Next Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-3 py-2 focus:outline-none\">\n      Next\n      <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n    </button>\n  </div>\n</div>\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-body\">\n      Showing <span class=\"font-semibold text-heading\">1</span> to <span class=\"font-semibold text-heading\">10</span> of <span class=\"font-semibold text-heading\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-4 -space-x-px\">\n    <!-- Previous Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n      <svg class=\"w-4 h-4 me-1.5 -ms-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n      Previous\n    </button>\n    <!-- Next Button -->\n    <button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n      Next\n      <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n    </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Pagination with dropdown\n\nUse this example of a pagination component with a dropdown to select the number of items per page.\n\n{{< example class=\"flex flex-col space-y-6 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\" class=\"flex items-center space-x-4\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-3 h-9 focus:outline-none\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-9 h-9 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-3 h-9 focus:outline-none\">Next</a>\n    </li>\n  </ul>\n  <form class=\"w-32 mx-auto\">\n    <label for=\"countries\" class=\"sr-only\">Select an option</label>\n    <select id=\"countries\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm leading-4 rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\">\n      <option selected>10 per page</option>\n      <option value=\"25\">25 per page</option>\n      <option value=\"50\">50 per page</option>\n      <option value=\"100\">100 per page</option>\n    </select>\n  </form>\n</nav>\n\n{{< /example >}}\n\n## Pagination with input\n\nUse this pagination component with an input field to navigate through pages directly.\n\n{{< example class=\"flex flex-col space-y-6 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\" class=\"flex items-center space-x-4\">\n  <ul class=\"flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-s-base text-sm px-3 h-9 focus:outline-none\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-neutral-tertiary-medium box-border border border-default-medium hover:text-fg-brand font-medium text-sm w-9 h-9 focus:outline-none\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 text-sm w-9 h-9 focus:outline-none\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading shadow-xs font-medium leading-5 rounded-e-base text-sm px-3 h-9 focus:outline-none\">Next</a>\n    </li>\n  </ul>\n  <form class=\"mx-auto\">\n    <div class=\"flex items-center space-x-2\">\n        <label for=\"visitors\" class=\"text-sm font-medium text-body shrink-0\">Go to</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium w-10 border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"99\" required />\n        <span class=\"text-sm font-medium text-body\">page</span>\n    </div>\n  </form>\n</nav>\n\n{{< /example >}}\n\n## Input field and button\n\nThis example can be used to introduce the page number inside the input field and navigate by clicking on a button.\n\n{{< example class=\"flex flex-col space-y-6 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <form class=\"mx-auto flex items-center space-x-3\">\n    <div class=\"flex items-center space-x-2\">\n        <label for=\"visitors\" class=\"text-sm font-medium text-heading shrink-0\">Go to</label>\n        <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium w-10 border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"99\" />\n        <span class=\"text-sm font-medium text-heading\">page</span>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Go</button>\n  </form>\n</nav>\n\n{{< /example >}}\n\n## Select input and buttons\n\nThis example can be used to select the number of pages and navigate using the left and right arrows.\n\n{{< example class=\"flex flex-col space-y-6 py-8 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <form class=\"mx-auto flex items-center space-x-3\">\n    <label for=\"countries\" class=\"sr-only\">Select an option</label>\n    <select id=\"countries\" class=\"block w-16 px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm leading-4 rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\">\n      <option selected>03</option>\n      <option value=\"4\">04</option>\n      <option value=\"5\">05</option>\n      <option value=\"6\">06</option>\n      <option value=\"7\">07</option>\n      <option value=\"8\">08</option>\n      <option value=\"9\">09</option>\n      <option value=\"10\">10</option>\n    </select>\n    <input type=\"text\" id=\"visitors\" class=\"bg-disabled w-28 border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block px-2.5 py-2 shadow-xs placeholder:text-fg-disabled\" placeholder=\"of 99 pages\" disabled/>\n    <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n      <button data-tooltip-target=\"tooltip-previous\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-s-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n      </button>\n      <div id=\"tooltip-previous\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n        Previous\n        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n      </div>\n      <button data-tooltip-target=\"tooltip-next\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-e-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n      </button>\n      <div id=\"tooltip-next\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n        Next\n        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n      </div>\n    </div>\n  </form>\n</nav>\n\n{{< /example >}}\n\n## Single pagination\n\nThis example can be used to show an interval of items per page and navigate using the left and right arrows.\n\n{{< example class=\"flex flex-col space-y-6 py-8 items-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button data-tooltip-target=\"tooltip-previous\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-s-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19-7-7 7-7\"/></svg>\n    </button>\n    <div id=\"tooltip-previous\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Previous\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n    <button type=\"button\" class=\"inline-flex shrink-0 text-sm items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading leading-5 px-3 h-9 focus:outline-none\">\n      1 of 99\n    </button>\n    <button data-tooltip-target=\"tooltip-next\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium rounded-e-base box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary leading-5 w-9 h-9 focus:outline-none\">\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n    </button>\n    <div id=\"tooltip-next\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm leading-4 font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n      Next\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n    </div>\n  </div>\n</nav>\n\n{{< /example >}}"
  },
  {
    "path": "content/components/popover.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Popover - Flowbite\ndescription: Use the popover component to show detailed information inside a pop-up box relative to the element that is being clicked or hovered based on multiple styles\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Pagination\npreviousLink: components/pagination/\n\nnext: Progress bar\nnextLink: components/progress/\n---\n\nGet started with the popover component to show any type of content inside a pop-up box when hovering or clicking over a trigger element. There are multiple examples that you can choose from, such as showing more information about a user profile, company profile, password strength, and more.\n\nMake sure that you have the Flowbite JavaScript included in your project to enable the popover interactivity by following the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a>.\n\n## Default popover\n\nInitialize a new popover by adding the `data-popover-target=\"{elementId}\"` data attribute to the trigger element where `elementId` is the id of the popover component.\n\n{{< example class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-default\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Default popover</button>\n\n<div data-popover id=\"popover-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover title</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## User profile\n\nUse this example to show more information about a user profile when hovering over the trigger component.\n\n{{< example class=\"flex justify-center pt-60\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-user-profile\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">User profile</button>\n\n<div data-popover id=\"popover-user-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"p-3\">\n        <div class=\"flex items-center justify-between mb-2\">\n            <a href=\"#\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos\">\n            </a>\n            <div>\n                <button type=\"button\" class=\"text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">Follow</button>\n            </div>\n        </div>\n        <p class=\"text-sm font-semibold text-heading\">\n            <a href=\"#\">Jese Leos</a>\n        </p>\n        <p class=\"mb-3 text-sm font-normal text-body\">\n            <a href=\"#\" class=\"hover:underline\">@jeseleos</a>\n        </p>\n        <p class=\"mb-4 text-sm\">Open-source contributor & CEO. Building <a href=\"#\" class=\"text-fg-brand hover:underline\">flowbite.com</a>.</p>\n        <ul class=\"flex text-sm\">\n            <li class=\"me-2.5\">\n                <a href=\"#\" class=\"hover:underline\">\n                    <span class=\"font-medium text-heading\">799</span>\n                    <span>Following</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"hover:underline\">\n                    <span class=\"font-medium text-heading\">3,758</span>\n                    <span>Followers</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Company profile\n\nThis example can be used to show more information about a company profile.\n\n{{< example class=\"flex justify-center pt-80\" github=\"components/popover.md\" disable_init_js=true show_dark=true >}}\n<button data-popover-target=\"popover-company-profile\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Company profile</button>\n\n<div data-popover id=\"popover-company-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-80 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"p-3\">\n        <div class=\"flex\">\n            <div class=\"me-3 shrink-0\">\n                <a href=\"#\" class=\"block w-10 h-10 flex items-center justify-center p-2 bg-neutral-tertiary rounded\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"https://flowbite.com/docs/images/logo.svg\" alt=\"Flowbite logo\">\n            </a>\n            </div>\n            <div>\n                <p class=\"text-base font-semibold text-heading\">\n                    <a href=\"#\" class=\"hover:underline\">Flowbite</a>\n                </p>\n                <p class=\"mb-3 text-sm font-normal\">\n                    Tech company\n                </p>\n                <p class=\"mb-3 text-sm\">Breaking news alerts and the most talked about stories.</p>\n                <ul class=\"text-sm\">\n                    <li class=\"flex items-center mb-2\">\n                        <span class=\"me-2 font-semibold text-body\">\n                            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961\"/></svg>\n                        </span>\n                        <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">https://flowbite.com/</a>\n                    </li>\n                    <li class=\"flex items-start mb-2\">\n                        <span class=\"me-2 text-body\">\n                            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12.01 6.001C6.5 1 1 8 5.782 13.001L12.011 20l6.23-7C23 8 17.5 1 12.01 6.002Z\"/></svg>\n                        </span>\n                        <span class=\"-mt-1\">102,567,936 people like this including 5 of your friends</span>\n                    </li>\n                </ul>\n                <div class=\"flex mb-4 -space-x-3 rtl:space-x-reverse\">\n                    <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n                    <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n                    <img class=\"w-8 h-8 border-2 border-buffer-medium rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n                    <a class=\"flex items-center justify-center w-8 h-8 text-xs font-medium text-heading bg-neutral-tertiary border-2 border-buffer-medium rounded-full hover:bg-neutral-quaternary\" href=\"#\">+3</a>\n                </div>\n                <div class=\"flex space-x-2\">\n                    <button type=\"button\" class=\"flex items-center justify-center w-full text-body bg-neutral-primary-medium border border-default-medium hover:bg-neutral-secondary-strong hover:text-heading hover:border-default-strong focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                        <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 11c.889-.086 1.416-.543 2.156-1.057a22.323 22.323 0 0 0 3.958-5.084 1.6 1.6 0 0 1 .582-.628 1.549 1.549 0 0 1 1.466-.087c.205.095.388.233.537.406a1.64 1.64 0 0 1 .384 1.279l-1.388 4.114M7 11H4v6.5A1.5 1.5 0 0 0 5.5 19v0A1.5 1.5 0 0 0 7 17.5V11Zm6.5-1h4.915c.286 0 .372.014.626.15.254.135.472.332.637.572a1.874 1.874 0 0 1 .215 1.673l-2.098 6.4C17.538 19.52 17.368 20 16.12 20c-2.303 0-4.79-.943-6.67-1.475\"/></svg>\n                        Like page\n                    </button>\n                    <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown-menu\" data-dropdown-placement=\"right\" type=\"button\" class=\"flex items-center justify-center text-body bg-neutral-primary-medium border border-default-medium hover:bg-neutral-secondary-strong hover:text-heading hover:border-default-strong focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base w-9 h-9 shrink-0 focus:outline-none\">\n                        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M6 12h.01m6 0h.01m5.99 0h.01\"/></svg>\n                    </button>\n                </div>\n                <div id=\"dropdown-menu\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n                    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button\">\n                        <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Report this page</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Add to favorites</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Block this page</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Invite users</a>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n        </div>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Image popover\n\nUse this example to trigger a popover component with detailed information and an image when hovering over a portion of highlighted text inspired by Wikipedia and other large news outlets.\n\n{{< example class=\"flex justify-center pt-72\" github=\"components/popover.md\" show_dark=true >}}\n\n<p class=\"text-body\">Due to its central geographic location in Southern Europe, <a href=\"#\" class=\"text-fg-brand font-medium underline hover:no-underline\" data-popover-target=\"popover-image\">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>\n<div data-popover id=\"popover-image\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-lg shadow-xs opacity-0 w-96\">\n    <div class=\"grid grid-cols-5\">\n        <div class=\"col-span-3 pe-3\">\n            <div class=\"space-y-2\">\n                <h3 class=\"font-semibold text-heading\">About Italy</h3>\n                <p class=\"mb-2\">Italy is located in the middle of the Mediterranean Sea, in Southern Europe it is also part of Western Europe.</p>\n                <p>A unitary parliamentary republic with Rome as its capital and largest city.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                    Read more \n                    <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </div>\n        </div>\n        <img src=\"/docs/images/popovers/italy.png\" class=\"h-full col-span-2 rounded\" alt=\"Italy map\" />\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Description popover\n\nShow helpful information inside a popover when hovering over a question mark button.\n\n{{< example class=\"pb-96\" github=\"components/popover.md\" show_dark=true >}}\n\n<p class=\"flex items-center text-sm text-body\">This is just some informational text <button data-popover-target=\"popover-description\" data-popover-placement=\"bottom-end\" type=\"button\"><svg class=\"w-4 h-4 text-body hover:text-heading ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg><span class=\"sr-only\">Show information</span></button></p>\n<div data-popover id=\"popover-description\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n    <div>\n        <h3 class=\"font-semibold text-heading mb-2\">Activity growth - Incremental</h3>\n        <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n        <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n        <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n        <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n            Read more \n            <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </a>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Progress popover\n\nShow a progress bar with details inside a popover when hovering over a settings button.\n\n{{< example class=\"flex justify-center pt-52\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-description\" type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n    Storage status\n</button>\n\n<div data-popover id=\"popover-description\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"space-y-2.5\">\n        <h3 class=\"font-semibold text-heading\">Available storage</h3>\n        <p>This server has <span class=\"font-semibold text-heading\">30</span> of <span class=\"font-semibold text-heading\">150 GB</span> of block storage remaining.</p>\n        <div class=\"w-full bg-neutral-quaternary rounded-full h-1.5 mb-4\">\n            <div class=\"bg-danger h-1.5 rounded-full\" style=\"width: 85%\"></div>\n        </div>\n    </div>\n    <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n        Upgrade now\n        <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n    </a>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Password strength\n\nDynamically show the password strength progress when creating a new password positioned relative to the input element.\n\n{{< example github=\"components/popover.md\" iframeHeight=\"480\" show_dark=true >}}\n\n<form>\n    <div class=\"mb-6\">\n        <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n        <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\" required />\n    </div>\n    <div class=\"mb-6\">\n        <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n        <input data-popover-target=\"popover-password\" data-popover-placement=\"bottom\" type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" required />\n        <div data-popover id=\"popover-password\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block w-72 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n            <div>\n                <h3 class=\"font-semibold text-heading mb-3\">Must have at least 6 characters</h3>\n                <div class=\"grid grid-cols-4 gap-2 mb-3\">\n                    <div class=\"h-1 bg-warning rounded-full\"></div>\n                    <div class=\"h-1 bg-warning rounded-full\"></div>\n                    <div class=\"h-1 bg-neutral-quaternary rounded-full\"></div>\n                    <div class=\"h-1 bg-neutral-quaternary rounded-full\"></div>\n                </div>\n                <p class=\"mb-2\">It’s better to have:</p>\n                <ul>\n                    <li class=\"flex items-center mb-1\">\n                        <svg class=\"w-4 h-4 me-1.5 text-success\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n                        Upper & lower case letters\n                    </li>\n                    <li class=\"flex items-center mb-1\">\n                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                        A symbol (#$&)\n                    </li>\n                    <li class=\"flex items-center\">\n                        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                        A longer password (min. 12 chars.)\n                    </li>\n                </ul>\n            </div>\n            <div data-popper-arrow></div>\n        </div>\n    </div>\n    <div class=\"flex items-start mb-6\">\n        <div class=\"flex items-center h-5\">\n        <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\" required />\n        </div>\n        <label for=\"remember\" class=\"ms-2 text-sm font-medium text-heading\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</label>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Submit</button>\n</form>\n{{< /example >}}\n\n## Placement\n\nSet the position of the popover component relative to the trigger element by using the `data-popover-placement=\"{top|right|bottom|left}\"` data attribute and its values.\n\n{{< example class=\"flex flex-wrap justify-center py-24 space-x-4\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-top\" data-popover-placement=\"top\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Top popover</button>\n\n<div data-popover id=\"popover-top\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover top</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-right\" data-popover-placement=\"right\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Right popover</button>\n<div data-popover id=\"popover-right\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover right</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-bottom\" data-popover-placement=\"bottom\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Bottom popover</button>\n<div data-popover id=\"popover-bottom\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover bottom</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-left\" data-popover-placement=\"left\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Left popover</button>\n<div data-popover id=\"popover-left\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Triggering\n\nManually set the trigger event by adding the `data-popover-trigger=\"{hover|click}\"` data attribute to the trigger element choosing between a hover or click event. By default it is set to `hover`.\n\n{{< example class=\"flex justify-center space-x-4 pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-hover\" data-popover-trigger=\"hover\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Hover popover</button>\n\n<div data-popover id=\"popover-hover\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n\n<button data-popover-target=\"popover-click\" data-popover-trigger=\"click\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Click popover</button>\n\n<div data-popover id=\"popover-click\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Offset\n\nIncrease or decrease the default offset by adding the `data-popover-offset=\"{offset}\"` data attribute where the value is an integer.\n\n{{< example class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-offset\" data-popover-offset=\"30\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Offset popover</button>\n\n<div data-popover id=\"popover-offset\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Animation\n\nCustomize the animation of the popover component by using the utility classes from Tailwind CSS such as `transition-opacity` and `duration-{x}`.\n\n{{< example class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-animation\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Animated popover</button>\n\n<div data-popover id=\"popover-animation\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Disable arrow\n\nYou can also disable the popover arrow by not including the `data-popper-arrow` element.\n\n{{< example class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-no-arrow\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Default popover</button>\n\n<div data-popover id=\"popover-no-arrow\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n    <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n        <h3 class=\"font-medium text-heading\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nThe Popover API from Flowbite can be used to create an object that will show a pop-up box relative to the main trigger element based on the parameters, options, and methods that you provide.\n\n### Object parameters\n\nCreate a new Popover object with the object parameters like the trigger element, the popover content element, and extra options to set the placement and offset.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the popover component as the target element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an element to trigger the popover when clicking or hovering (ie. a button, text).\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the positioning of the popover element, trigger type, offset, and more.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the third parameter for the Popover object to set the positioning, offset, and the trigger type (hover or click).\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">placement</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the popover element relative to the trigger element choosing from <code class=\"text-purple-600 dark:text-purple-400\">top|right|bottom|left</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the popover content choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">offset</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Integer\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the offset distance between the popover and the trigger element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover is shown.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the methods from the Popover object to programmatically show or hide the popover from directly JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to show the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to hide the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to toggle the visibility of the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the popover is visible or not.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been hidden.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nUse following JavaScript as an example to learn how to initialize, set the options, and use the methods for the Popover object.\n\nFirst of all, set the target element as the popover itself and the trigger element which can be a button or text element.\n\nAfter that you can also set the options object to change the placement and trigger type of the popover, alongside with the callback functions.\n\n{{< code lang=\"javascript\" file=\"popover.js\" icon=\"file\" >}}\n// set the popover content element\nconst $targetEl = document.getElementById('popoverContent');\n\n// set the element that trigger the popover using hover or click\nconst $triggerEl = document.getElementById('popoverButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'hover',\n    offset: 10,\n    onHide: () => {\n        console.log('popover is shown');\n    },\n    onShow: () => {\n        console.log('popover is hidden');\n    },\n    onToggle: () => {\n        console.log('popover is toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'popoverContent',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Popover object based on the options above.\n\n{{< code lang=\"javascript\" file=\"popover.js\" icon=\"file\" >}}\nimport { Popover } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst popover = new Popover($targetEl, $triggerEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show` and `hide` methods on the Popover object to programmatically show and hide the popover element using JavaScript.\n\n{{< code lang=\"javascript\" file=\"popover.js\" icon=\"file\" >}}\n// show the popover\npopover.show();\n\n// hide the popover\npopover.hide();\n\n// toggle the popover\npopover.toggle();\n\n// check if popover is visible\npopover.isVisible();\n\n// destroy popover object (removes event listeners and off-canvas Popper.js)\ntooltip.destroy();\n\n// re-initialize popover object\ntooltip.init();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"popover.html\" icon=\"file\" >}}\n<button\n    id=\"popoverButton\"\n    type=\"button\"\n    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n    Default popover\n</button>\n<div\n    data-popover\n    id=\"popoverContent\"\n    role=\"tooltip\"\n    class=\"invisible absolute z-10 inline-block w-64 rounded-lg border border-gray-200 bg-white text-sm text-gray-500 opacity-0 shadow-xs transition-opacity duration-300 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400\"\n>\n    <div\n        class=\"rounded-t-lg border-b border-gray-200 bg-gray-100 px-3 py-2 dark:border-gray-600 dark:bg-gray-700\"\n    >\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">\n            Popover title\n        </h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Popover class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"popover.ts\" icon=\"file\" >}}\nimport { Popover } from 'flowbite';\nimport type { PopoverOptions, PopoverInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the popover content element\nconst $targetEl: HTMLElement = document.getElementById('popoverContent');\n\n// set the element that trigger the popover using hover or click\nconst $triggerEl: HTMLElement = document.getElementById('popoverButton');\n\n// options with default values\nconst options: PopoverOptions = {\n    placement: 'top',\n    triggerType: 'hover',\n    offset: 10,\n    onHide: () => {\n        console.log('popover is shown');\n    },\n    onShow: () => {\n        console.log('popover is hidden');\n    },\n    onToggle: () => {\n        console.log('popover is toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'popoverContent',\n  override: true\n};\n\nif ($targetEl) {\n    /*\n     * targetEl: required\n     * triggerEl: required\n     * options: optional\n     * instanceOptions: optional\n     */\n    const popover: PopoverInterface = new Popover(\n        $targetEl,\n        $triggerEl,\n        options,\n        instanceOptions\n    );\n\n    popover.show();\n}\n{{< /code >}}\n"
  },
  {
    "path": "content/components/progress.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Progress Bar - Flowbite\ndescription: Use the progress bar component to show the completion rate of a data indicator or use it as a loader element\ngroup: components\ntoc: true\n\nprevious: Popover\npreviousLink: components/popover/\nnext: Rating\nnextLink: components/rating/\n---\n\nThe progress bar component can be used as an indicator to show the completion rate of data sets or it can be used as an animated loader component. There are multiple sizes, colors, and styles available.\n\n## Default progress bar\n\nUse the following example of a progress bar element to show a completion rate of 45% by using an inline style and the utility classes from Tailwind CSS.\n\n{{< example github=\"components/progress.md\" show_dark=true >}}\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-brand h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n## Sizes\n\nYou can also use different sizes by using various sizing utility classes from Flowbite and Tailwind CSS.\n\n{{< example class=\"space-y-4\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"mb-1 text-sm font-medium text-heading\">Small</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-1.5\">\n  <div class=\"bg-brand h-1.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-sm font-medium text-heading\">Default</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-brand h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-heading\">Large</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2.5\">\n  <div class=\"bg-brand h-2.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n## With label inside\n\nHere is an example of using a progress bar with the label inside the bar.\n\n{{< example github=\"components/progress.md\" show_dark=true >}}\n  <div class=\"w-full bg-neutral-quaternary rounded-full\">\n    <div class=\"bg-brand text-xs font-medium text-white text-center p-0.5 leading-none rounded-full h-4 flex items-center justify-center\" style=\"width: 45%\"> 45%</div>\n  </div>\n{{< /example >}}\n\n## With label outside\n\nAnd this is an example of using a progress bar outside the bar.\n\n{{< example github=\"components/progress.md\" show_dark=true >}}\n<div class=\"flex justify-between mb-1\">\n  <span class=\"text-sm font-medium text-body\">Flowbite</span>\n  <span class=\"text-sm font-medium text-body\">45%</span>\n</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-brand h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n## Colors\n\nYou can also apply any color using the `bg-{color}` utility classes from Tailwind CSS and Flowbite.\n\n{{< example class=\"space-y-4\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"mb-1 text-sm font-medium text-heading\">Dark</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-dark h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-sm font-medium text-fg-brand\">Brand</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-brand h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-sm font-medium text-fg-success\">Success</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-success h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-sm font-medium text-fg-danger\">Danger</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-danger h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-sm font-medium text-fg-warning\">Danger</div>\n<div class=\"w-full bg-neutral-quaternary rounded-full h-2\">\n  <div class=\"bg-warning h-2 rounded-full\" style=\"width: 45%\"></div>\n</div>\n\n{{< /example >}}\n"
  },
  {
    "path": "content/components/qr-code.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS QR Code Generator - Flowbite\ndescription: Use this component to generate and show QR codes based on text or URL that can be scanned with device phone cameras and other devices using the Flowbite library based on Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Typography\npreviousLink: components/typography/\nnext: Video\nnextLink: components/video/\n---\n\n<div class=\"grid sm:grid-cols-2 gap-8 sm:bg-neutral-primary sm:border border-light-subtle sm:rounded-base sm:p-8 mb-8\">\n  <div class=\"space-y-4\">\n    <p class=\"text-body\">Generate QR codes from text or URLs.</p>\n    <label for=\"qr_code_value\" class=\"block mb-2.5 text-sm font-medium text-heading\">Value:</label>\n    <input type=\"text\" id=\"qr_code_value\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"https://flowbite.com\" required />\n    <label for=\"qr_code_correction\" class=\"block mb-2.5 text-sm font-medium text-heading\">Correction level:</label>\n    \n  <div class=\"inline-flex rounded-base shadow-xs -space-x-px\" role=\"group\">\n    <button data-popover-target=\"popover-qr-l\" data-qr-code-level=\"L\" data-qr-code-active=\"false\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm w-9 h-9 focus:outline-none data-[qr-code-active=true]:text-fg-brand\">\n      L\n    </button>\n    <div data-popover id=\"popover-qr-l\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-72 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n        <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n            <h3 class=\"font-medium text-heading\">L (Low) – Recovers 7% of data</h3>\n        </div>\n        <div class=\"px-3 py-2\">\n            <p>Best for simple, high-quality printing where space efficiency is important.</p>\n        </div>\n        <div data-popper-arrow></div>\n    </div>\n    <button data-popover-target=\"popover-qr-m\" data-qr-code-level=\"M\" data-qr-code-active=\"true\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none data-[qr-code-active=true]:text-fg-brand\">\n      M\n    </button>\n    <div data-popover id=\"popover-qr-m\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-72 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n        <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n            <h3 class=\"font-medium text-heading\">M (Medium) – Recovers 15% of data</h3>\n        </div>\n        <div class=\"px-3 py-2\">\n            <p>Most commonly used; good balance of size and robustness.</p>\n        </div>\n        <div data-popper-arrow></div>\n    </div>\n    <button data-popover-target=\"popover-qr-q\" data-qr-code-level=\"Q\" data-qr-code-active=\"false\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 text-sm w-9 h-9 focus:outline-none data-[qr-code-active=true]:text-fg-brand\">\n      Q\n    </button>\n    <div data-popover id=\"popover-qr-q\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-72 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n        <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n            <h3 class=\"font-medium text-heading\">Q (Quartile) – Recovers 25% of data</h3>\n        </div>\n        <div class=\"px-3 py-2\">\n            <p>More resilient; useful when the code may get smudged or partially covered.</p>\n        </div>\n        <div data-popper-arrow></div>\n    </div>\n    <button data-popover-target=\"popover-qr-h\" data-qr-code-level=\"H\" data-qr-code-active=\"false\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-sm w-9 h-9 focus:outline-none data-[qr-code-active=true]:text-fg-brand\">\n      H\n    </button>\n    <div data-popover id=\"popover-qr-h\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-72 text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0\">\n        <div class=\"px-3 py-2 bg-neutral-tertiary border-b border-default rounded-t-base\">\n            <h3 class=\"font-medium text-heading\">H (High) – Recovers 30% of data</h3>\n        </div>\n        <div class=\"px-3 py-2\">\n            <p>Highest durability; used when maximum protection is needed (e.g., logos in the center of the code or harsh conditions).</p>\n        </div>\n        <div data-popper-arrow></div>\n    </div>\n  </div>\n  </div>\n  <div class=\"flex justify-center flex-col\">\n    <div class=\"flex justify-center p-2 bg-neutral-secondary-medium rounded-base mb-4\">\n      <div id=\"qrcode\" class=\"w-56 h-56\"></div>\n    </div>\n    <div class=\"grid grid-cols-2 gap-4\">\n      <button type=\"button\" id=\"copy-qr-code-button\" class=\"text-white inline-flex items-center justify-center gap-2 bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg id=\"default-copy-qr-code-icon\" class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n          <path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 8v3a1 1 0 0 1-1 1H5m11 4h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v1m4 3v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-7.13a1 1 0 0 1 .24-.65L7.7 8.35A1 1 0 0 1 8.46 8H13a1 1 0 0 1 1 1Z\"/>\n        </svg>\n        <svg id=\"success-copy-qr-code-icon\" class=\"w-4 h-4 hidden text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/>\n        </svg>\n        <span id=\"copy-qr-code-text\">Copy as SVG</span>\n      </button>\n      <button id=\"save-qr-code-button\" type=\"button\" class=\"text-body inline-flex items-center justify-center gap-2 bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\"><svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/>\n</svg>\nSave as file</button>\n    </div>\n  </div>\n</div>\n\nQR codes are a popular way to encode information such as website links, texts, and other data into a two-dimensional barcode that can be scanned with a phone camera or other devices. The Flowbite component allows you to couple them with other elements such as input fields, tooltips, tab selectors, and more.\n\nUse this free QR code generator and customize the parameters to see the live preview.\n\nThe component examples below are generated using the data you provided in the generator tool and can be used directly in your website layouts with different use cases such as sharing URLs, contact information, or text messages.\n\n## Default QR code\n\nUse this example as a simple QR code with SVG embedded directly in the HTML.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div id=\"qrcode\" class=\"w-48 h-48\">\n  <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n</div>\n{{< /example >}}\n\n## QR code with input\n\nUse this example to show a QR code with SVG and a copy to clipboard input element below.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true javascript=`\n\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install-copy-button');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-copy-npm-install-copy-button');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-56 flex justify-center items-center flex-col\">\n  <div id=\"qrcode\" class=\"w-48 h-48\">\n    <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n  </div>\n\n  <div class=\"w-full max-w-[18rem]\">\n      <div class=\"relative\">\n          <label for=\"npm-install-copy-button\" class=\"sr-only\">Label</label>\n          <input id=\"npm-install-copy-button\" type=\"text\" class=\"col-span-6 bg-neutral-secondary-medium border border-default-medium text-body text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"flowbite.com\" disabled readonly>\n          <button data-copy-to-clipboard-target=\"npm-install-copy-button\" data-tooltip-target=\"tooltip-copy-npm-install-copy-button\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-body hover:bg-neutral-quaternary rounded p-1.5 inline-flex items-center justify-center\">\n              <span id=\"default-icon\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n              </span>\n              <span id=\"success-icon\" class=\"hidden\">\n                  <svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n              </span>\n          </button>\n          <div id=\"tooltip-copy-npm-install-copy-button\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n              <span id=\"default-tooltip-message\">Copy to clipboard</span>\n              <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n              <div class=\"tooltip-arrow\" data-popper-arrow></div>\n          </div>\n      </div>\n  </div>\n</div>\n{{< /example >}}\n\n## QR code with card\n\nThis example can be used to show a QR code inside a card element with a title and description.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <a href=\"#\">\n        <div class=\"rounded-base bg-brand flex justify-center items-center\">\n          <div id=\"qrcode\" class=\"w-56 h-56 [&>svg]:!text-white\">\n            <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n          </div>\n        </div>\n    </a>\n    <a href=\"#\">\n        <h5 class=\"mt-6 mb-2 text-2xl font-semibold tracking-tight text-heading\">Start listening instantly</h5>\n    </a>\n    <p class=\"mb-6 text-body\">Use your phone’s camera to scan the QR code and instantly open our app and explore trending tracks.</p>\n    <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n        What's a QR code?\n    </a>\n</div>\n{{< /example >}}\n\n## Share profile with QR\n\nUse this example to share profile information using a QR code with profile details.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <div class=\"flex flex-col items-center justify-center gap-2\">\n      <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n      <span class=\"text-heading font-semibold text-2xl\">Jese Leos</span>\n    </div>\n    <a href=\"#\" class=\"block mx-auto flex justify-center items-center\">\n        <div id=\"qrcode\" class=\"w-56 h-56\">\n          <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n        </div>\n    </a>\n    <p class=\"text-body text-center\">Share your QR code and make it easy for others to follow you.</p>\n</div>\n{{< /example >}}\n\n## Loading state\n\nThis example can be used to show a loading state right after the QR code was scanned with the camera.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div class=\"relative\">\n  <div class=\"absolute top-0 start-0 w-full h-full bg-neutral-primary/95 z-10 gap-2 flex items-center justify-center flex-col\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n  </div>\n  <div id=\"qrcode\" class=\"w-48 h-48\">\n    <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n  </div>\n</div>\n{{< /example >}}\n\n## Success state\n\nUse this component to show a success state after the QR code was scanned and the data was processed.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div class=\"relative\">\n  <div class=\"absolute top-0 start-0 w-full h-full bg-neutral-primary/95 z-10 gap-2 flex items-center justify-center flex-col\">\n    <svg class=\"w-6 h-6 text-fg-success\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n    </svg>\n    <span class=\"font-medium text-heading text-sm\">Scanned</span>\n  </div>\n  <div id=\"qrcode\" class=\"w-48 h-48\">\n    <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n  </div>\n</div>\n{{< /example >}}\n\n## Expired state\n\nYou can use this component to show that the QR code has expired and allow the user to refresh the code.\n\n{{< example github=\"components/alerts.md\" class=\"flex justify-center\" show_dark=true >}}\n<div class=\"relative\">\n  <div class=\"absolute top-0 start-0 w-full h-full bg-neutral-primary/95 z-10 gap-2 flex items-center justify-center flex-col\">\n    <svg class=\"w-6 h-6 text-fg-danger\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 9-6 6m0-6 6 6m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n    </svg>\n    <span class=\"font-medium text-heading text-sm\">QR code expired</span>\n    <button class=\"text-fg-brand hover:underline flex items-center gap-1 text-sm\"><svg class=\"w-4 h-4 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.651 7.65a7.131 7.131 0 0 0-12.68 3.15M18.001 4v4h-4m-7.652 8.35a7.13 7.13 0 0 0 12.68-3.15M6 20v-4h4\"/>\n</svg>\nRefresh</button>\n  </div>\n  <div id=\"qrcode\" class=\"w-48 h-48\">\n    <svg class=\"text-heading\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 29 29\" shape-rendering=\"crispEdges\"><path fill=\"none\" d=\"M0 0h29v29H0z\"></path><path stroke=\"currentColor\" d=\"M4 4.5h7m1 0h1m1 0h2m2 0h7M4 5.5h1m5 0h1m4 0h2m1 0h1m5 0h1M4 6.5h1m1 0h3m1 0h1m2 0h1m2 0h1m1 0h1m1 0h3m1 0h1M4 7.5h1m1 0h3m1 0h1m3 0h1m3 0h1m1 0h3m1 0h1M4 8.5h1m1 0h3m1 0h1m1 0h1m2 0h1m2 0h1m1 0h3m1 0h1M4 9.5h1m5 0h1m1 0h1m5 0h1m5 0h1M4 10.5h7m1 0h1m1 0h1m1 0h1m1 0h7M13 11.5h2M5 12.5h7m3 0h2m2 0h2m3 0h1M6 13.5h1m1 0h1m6 0h1m1 0h1m2 0h5M4 14.5h3m1 0h3m1 0h2m3 0h2m2 0h1m1 0h1M4 15.5h1m2 0h1m3 0h1m5 0h1m1 0h4m1 0h1M4 16.5h1m1 0h2m2 0h2m3 0h1m2 0h1m4 0h1M12 17.5h2m2 0h2m1 0h4m1 0h1M4 18.5h7m1 0h3m2 0h1m3 0h3M4 19.5h1m5 0h1m1 0h1m2 0h1m1 0h1m3 0h2m1 0h1M4 20.5h1m1 0h3m1 0h1m1 0h2m1 0h1m2 0h1m5 0h1M4 21.5h1m1 0h3m1 0h1m1 0h2m2 0h2m1 0h4M4 22.5h1m1 0h3m1 0h1m1 0h1m1 0h2m2 0h1M4 23.5h1m5 0h1m1 0h1m1 0h1m5 0h3M4 24.5h7m2 0h3m5 0h1m1 0h1\"></path></svg>\n  </div>\n</div>\n{{< /example >}}"
  },
  {
    "path": "content/components/rating.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Rating - Flowbite\ndescription: Use the rating component to show reviews and testimonials from your users using stars and scores based on multiple styles and sizes\ngroup: components\ntoc: true\n\nprevious: Progress bar\npreviousLink: components/progress/\nnext: Sidebar\nnextLink: components/sidebar/\n---\n\nGet started with the rating component to show an aggregate of reviews and scores in the forms of stars or numbers using the utility classes from Tailwind CSS and components from Flowbite.\n\nYou can find multiple examples on this page including different styles, sizes, and variants of the rating component and other associated elements such as a comment or card.\n\n## Default rating\n\nUse this simple example of a star rating component for showing review results.\n\n{{< example class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center space-x-1\">\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n</div>\n{{< /example >}}\n\n## Rating with text\n\nIf you also want to show a text near the stars you can use this example as a reference.\n\n{{< example class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center\">\n    <div class=\"flex items-center space-x-1\">\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    </div>\n    <p class=\"ms-2 text-sm font-medium text-body\">4.95 out of 5</p>\n</div>\n{{< /example >}}\n\n## Rating count\n\nAggregate more results by using this example to show the amount of reviews and the average score.\n\n{{< example class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center\">\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <p class=\"ms-2 text-sm font-bold text-heading\">4.95</p>\n    <span class=\"w-1 h-1 mx-1.5 bg-neutral-quaternary rounded-full\"></span>\n    <a href=\"#\" class=\"text-sm font-medium text-heading underline hover:no-underline\">73 reviews</a>\n</div>\n{{< /example >}}\n\n## Star sizes\n\nCheck out the different sizing options for the star review component from small, medium, and large.\n\n{{< example class=\"flex flex-col items-center space-y-4\" github=\"components/rating.md\" show_dark=true >}}\n<div class=\"flex items-center space-x-1\">\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n</div>\n<div class=\"flex items-center space-x-1\">\n    <svg class=\"w-6 h-6 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-6 h-6 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-6 h-6 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-6 h-6 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-6 h-6 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n</div>\n<div class=\"flex items-center space-x-1\">\n    <svg class=\"w-7 h-7 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-7 h-7 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-7 h-7 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-7 h-7 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    <svg class=\"w-7 h-7 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n</div>\n{{< /example >}}\n\n## Advanced rating\n\nThis advanced rating component can be used to also show how many reviews have been posted for each star rating (eg. 4% for the 2 star ratings, 17% for 4 star rating etc).\n\n{{< example github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center mb-3\">\n    <div class=\"flex items-center space-x-1\">\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    </div>\n    <p class=\"ms-2 text-sm font-medium text-body\">4.95 out of 5</p>\n</div>\n<p class=\"text-sm font-medium text-body\">1,745 global ratings</p>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline w-14\">5 star</a>\n    <div class=\"w-2/4 h-4 mx-4 bg-neutral-quaternary rounded-base\">\n        <div class=\"h-4 bg-warning rounded-base\" style=\"width: 70%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-body\">70%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline w-14\">4 star</a>\n    <div class=\"w-2/4 h-4 mx-4 bg-neutral-quaternary rounded-base\">\n        <div class=\"h-4 bg-warning rounded-base\" style=\"width: 17%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-body\">17%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline w-14\">3 star</a>\n    <div class=\"w-2/4 h-4 mx-4 bg-neutral-quaternary rounded-base\">\n        <div class=\"h-4 bg-warning rounded-base\" style=\"width: 8%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-body\">8%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline w-14\">2 star</a>\n    <div class=\"w-2/4 h-4 mx-4 bg-neutral-quaternary rounded-base\">\n        <div class=\"h-4 bg-warning rounded-base\" style=\"width:4%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-body\">4%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-fg-brand hover:underline w-14\">1 star</a>\n    <div class=\"w-2/4 h-4 mx-4 bg-neutral-quaternary rounded-base\">\n        <div class=\"h-4 bg-warning rounded-base\" style=\"width:1%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-body\">1%</span>\n</div>\n{{< /example >}}\n\n## Score rating\n\nThis component can be used to break up a general rating score into multiple categories using progress bars.\n\n{{< example github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center mb-5\">\n    <p class=\"bg-brand-softer text-fg-brand-strong text-sm font-semibold inline-flex items-center p-1.5 rounded-base\">8.7</p>\n    <p class=\"ms-2 font-medium text-heading\">Excellent</p>\n    <span class=\"w-1 h-1 mx-2 rounded-full bg-neutral-quaternary\"></span>\n    <p class=\"text-sm font-medium text-body\">376 reviews</p>\n    <a href=\"#\" class=\"ms-auto text-sm font-medium text-fg-brand hover:underline\">Read all reviews</a>\n</div>\n<div class=\"gap-8 sm:grid sm:grid-cols-2\">\n    <div>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Staff</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 88%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">8.8</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Comfort</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">8.9</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Free WiFi</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 88%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">8.8</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Facilities</dt>\n            <dd class=\"flex items-center\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 54%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">5.4</span>\n            </dd>\n        </dl>\n    </div>\n    <div>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Value for money</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">8.9</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Cleanliness</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 70%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">7.0</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-body\">Location</dt>\n            <dd class=\"flex items-center\">\n                <div class=\"w-full bg-neutral-quaternary rounded-base h-2.5 me-2\">\n                    <div class=\"bg-brand h-2.5 rounded-base\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-body\">8.9</span>\n            </dd>\n        </dl>\n    </div>\n</div>\n{{< /example >}}\n\n## Rating comment\n\nUse this component to show a single rating comment and its score alongside other components such as the user profile avatar, name, post date, and more.\n\n{{< example github=\"components/rating.md\" show_dark=true >}}\n\n<article>\n    <div class=\"flex items-center mb-4\">\n        <img class=\"w-10 h-10 me-3 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n        <div class=\"font-medium text-heading\">\n            <p>Jese Leos <time datetime=\"2014-08-16 19:00\" class=\"block text-sm text-body\">Joined on August 2014</time></p>\n        </div>\n    </div>\n    <div class=\"flex items-center mb-1 space-x-1 rtl:space-x-reverse\">\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <h3 class=\"ms-2 text-sm font-semibold text-heading leading-none\">Thinking to buy another one!</h3>\n    </div>\n    <footer class=\"mb-5 text-sm text-body mt-1\"><p>Reviewed in the United Kingdom on <time datetime=\"2017-03-03 19:00\">March 3, 2017</time></p></footer>\n    <p class=\"mb-2 text-body\">This is my third Invicta Pro Diver. They are just fantastic value for money. This one arrived yesterday and the first thing I did was set the time, popped on an identical strap from another Invicta and went in the shower with it to test the waterproofing.... No problems.</p>\n    <p class=\"mb-3 text-body\">It is obviously not the same build quality as those very expensive watches. But that is like comparing a Citroën to a Ferrari. This watch was well under £100! An absolute bargain.</p>\n    <a href=\"#\" class=\"block mb-5 text-sm font-medium text-fg-brand hover:underline\">Read more</a>\n    <aside>\n        <p class=\"mt-1 text-xs text-body\">19 people found this helpful</p>\n        <div class=\"flex items-center mt-3\">\n            <button type=\"button\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Helpful</button>\n            <a href=\"#\" class=\"ps-4 text-sm font-medium text-fg-brand hover:underline border-default ms-4 border-s md:mb-0\">Report abuse</a>\n        </div>\n    </aside>\n</article>\n{{< /example >}}\n\n## Review content\n\nUse this component to show the review content from a user alongside the avatar, location, details, and the score inside a card element.\n\n{{< example github=\"components/rating.md\" show_dark=true >}}\n\n<article class=\"md:gap-8 md:grid md:grid-cols-3\">\n    <div>\n        <div class=\"flex items-center mb-6\">\n            <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n            <div class=\"ms-3 font-medium text-heading\">\n                <p>Jese Leos</p>\n                <div class=\"flex items-center text-sm text-body\">\n                    <svg class=\"w-4 h-4 me-1\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9.00023 16.5C13.1425 16.5 16.5005 13.1421 16.5005 9C16.5005 4.85786 13.1425 1.5 9.00023 1.5C4.85797 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85797 16.5 9.00023 16.5Z\" fill=\"white\"/><path d=\"M8.67548 8.99996H16.5012C16.5012 8.32308 16.4109 7.66735 16.2428 7.04358H8.67548V8.99996Z\" fill=\"#D80027\"/><path d=\"M8.67548 5.08712H15.4004C14.9413 4.338 14.3543 3.67585 13.6699 3.13074H8.67548V5.08712Z\" fill=\"#D80027\"/><path d=\"M9.0005 16.5001C10.7655 16.5001 12.3878 15.89 13.6689 14.8698H4.33209C5.61318 15.89 7.23548 16.5001 9.0005 16.5001Z\" fill=\"#D80027\"/><path d=\"M2.60125 12.9132H15.4C15.7686 12.3118 16.0545 11.6543 16.2425 10.9567H1.75879C1.94679 11.6543 2.23265 12.3118 2.60125 12.9132Z\" fill=\"#D80027\"/><path d=\"M4.97397 2.67114H5.65741L5.0217 3.13297L5.26453 3.88024L4.62884 3.41841L3.99316 3.88024L4.20292 3.23468C3.6432 3.7009 3.15262 4.24713 2.74834 4.85575H2.96732L2.56266 5.14972C2.49962 5.25489 2.43915 5.36173 2.38121 5.47015L2.57444 6.06485L2.21393 5.80293C2.12432 5.99279 2.04235 6.18692 1.96867 6.3851L2.18156 7.04036H2.96732L2.33161 7.50219L2.57444 8.24947L1.93876 7.78764L1.55798 8.0643C1.51986 8.37066 1.5 8.6827 1.5 8.99941H8.99964C8.99964 4.85763 8.99964 4.36934 8.99964 1.5C7.51811 1.5 6.13703 1.92975 4.97397 2.67114ZM5.26453 8.24947L4.62884 7.78764L3.99316 8.24947L4.23599 7.50219L3.60028 7.04036H4.38604L4.62884 6.29309L4.87165 7.04036H5.65741L5.0217 7.50219L5.26453 8.24947ZM5.0217 5.31758L5.26453 6.06485L4.62884 5.60303L3.99316 6.06485L4.23599 5.31758L3.60028 4.85575H4.38604L4.62884 4.10848L4.87165 4.85575H5.65741L5.0217 5.31758ZM7.95461 8.24947L7.31893 7.78764L6.68325 8.24947L6.92608 7.50219L6.29037 7.04036H7.07613L7.31893 6.29309L7.56173 7.04036H8.34749L7.71178 7.50219L7.95461 8.24947ZM7.71178 5.31758L7.95461 6.06485L7.31893 5.60303L6.68325 6.06485L6.92608 5.31758L6.29037 4.85575H7.07613L7.31893 4.10848L7.56173 4.85575H8.34749L7.71178 5.31758ZM7.71178 3.13297L7.95461 3.88024L7.31893 3.41841L6.68325 3.88024L6.92608 3.13297L6.29037 2.67114H7.07613L7.31893 1.92386L7.56173 2.67114H8.34749L7.71178 3.13297Z\" fill=\"#1A47B8\"/></svg>\n                    United States\n                </div>\n            </div>\n        </div>\n        <ul class=\"space-y-4 text-sm text-body\">\n            <li class=\"flex items-center\">\n                <svg class=\"w-4 h-4 text-body me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 4h12M6 4v16M6 4H5m13 0v16m0-16h1m-1 16H6m12 0h1M6 20H5M9 7h1v1H9V7Zm5 0h1v1h-1V7Zm-5 4h1v1H9v-1Zm5 0h1v1h-1v-1Zm-3 4h2a1 1 0 0 1 1 1v4h-4v-4a1 1 0 0 1 1-1Z\"/></svg>\n                Apartament with city view\n            </li>\n            <li class=\"flex items-center\">\n                <svg class=\"w-4 h-4 text-body me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n                3 nights December 2021\n            </li>\n            <li class=\"flex items-center\">\n                <svg class=\"w-4 h-4 text-body me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M4.5 17H4a1 1 0 0 1-1-1 3 3 0 0 1 3-3h1m0-3.05A2.5 2.5 0 1 1 9 5.5M19.5 17h.5a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-1m0-3.05a2.5 2.5 0 1 0-2-4.45m.5 13.5h-7a1 1 0 0 1-1-1 3 3 0 0 1 3-3h3a3 3 0 0 1 3 3 1 1 0 0 1-1 1Zm-1-9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n                Family\n            </li>\n        </ul>\n    </div>\n    <div class=\"col-span-2 mt-6 md:mt-0\">\n        <div class=\"flex items-start mb-5\">\n            <div class=\"pe-4\">\n                <footer>\n                    <p class=\"mb-2 text-sm text-body\">Reviewed: <time datetime=\"2022-01-20 19:00\">January 20, 2022</time></p>\n                </footer>\n                <h4 class=\"text-xl font-semibold text-heading\">Spotless, good appliances, excellent layout, host was genuinely nice and helpful.</h4>\n            </div>\n            <p class=\"bg-brand-softer text-fg-brand-strong text-sm font-semibold inline-flex items-center p-1.5 rounded-base\">8.7</p>\n        </div>\n        <p class=\"mb-4 text-body\">The flat was spotless, very comfortable, and the host was amazing. I highly recommend this accommodation for anyone visiting New York city centre. It's quite a while since we are no longer using hotel facilities but self contained places. And the main reason is poor cleanliness and staff not being trained properly. This place exceeded our expectation and will return for sure.</p>\n        <p class=\"mb-4 text-body\">It is obviously not the same build quality as those very expensive watches. But that is like comparing a Citroën to a Ferrari. This watch was well under £100! An absolute bargain.</p>\n        <aside class=\"flex items-center space-x-4\">\n            <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-fg-brand hover:underline\">\n                <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 11c.889-.086 1.416-.543 2.156-1.057a22.323 22.323 0 0 0 3.958-5.084 1.6 1.6 0 0 1 .582-.628 1.549 1.549 0 0 1 1.466-.087c.205.095.388.233.537.406a1.64 1.64 0 0 1 .384 1.279l-1.388 4.114M7 11H4v6.5A1.5 1.5 0 0 0 5.5 19v0A1.5 1.5 0 0 0 7 17.5V11Zm6.5-1h4.915c.286 0 .372.014.626.15.254.135.472.332.637.572a1.874 1.874 0 0 1 .215 1.673l-2.098 6.4C17.538 19.52 17.368 20 16.12 20c-2.303 0-4.79-.943-6.67-1.475\"/></svg>\n                Helpful\n            </a>\n            <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-fg-brand hover:underline\">\n                <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 13c-.889.086-1.416.543-2.156 1.057a22.322 22.322 0 0 0-3.958 5.084 1.6 1.6 0 0 1-.582.628 1.549 1.549 0 0 1-1.466.087 1.587 1.587 0 0 1-.537-.406 1.666 1.666 0 0 1-.384-1.279l1.389-4.114M17 13h3V6.5A1.5 1.5 0 0 0 18.5 5v0A1.5 1.5 0 0 0 17 6.5V13Zm-6.5 1H5.585c-.286 0-.372-.014-.626-.15a1.797 1.797 0 0 1-.637-.572 1.873 1.873 0 0 1-.215-1.673l2.098-6.4C6.462 4.48 6.632 4 7.88 4c2.302 0 4.79.943 6.67 1.475\"/></svg>\n                Not helpful\n            </a>\n        </aside>\n    </div>\n</article>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/sidebar.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Sidebar - Flowbite\ndescription: Use the sidebar component to show a list of menu items and multi-level menu items on either side of the page to navigate on your website\ngroup: components\ntoc: true\n\nprevious: Rating\npreviousLink: components/rating/\nnext: Skeleton\nnextLink: components/skeleton/\n---\n\nThe sidebar component can be used as a complementary element relative to the navbar shown on either the left or right side of the page used for the navigation on your web application, including menu items, multi-level menu items, call to actions elements, and more.\n\n## Default sidebar\n\nUse this example to show a responsive list of menu items inside the sidebar with icons and labels.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"600\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"default-sidebar\" data-drawer-toggle=\"default-sidebar\" aria-controls=\"default-sidebar\" type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base ms-3 mt-3 text-sm p-2 focus:outline-none inline-flex sm:hidden\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n</button>\n\n<aside id=\"default-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-full transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Multi-level menu\n\nUse this sidebar example to create multi-level menu items by applying the `data-collapse-toggle=\"id\"` data attribute from Flowbite and toggle the second-level menu item.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"sidebar-multi-level-sidebar\" data-drawer-toggle=\"sidebar-multi-level-sidebar\" aria-controls=\"sidebar-multi-level-sidebar\" type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base ms-3 mt-3 text-sm p-2 focus:outline-none inline-flex sm:hidden\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n</button>\n\n<aside id=\"sidebar-multi-level-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## Content separator\n\nSeparate the content inside the sidebar component by applying a border separator between the two menus.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button  data-drawer-target=\"separator-sidebar\" data-drawer-toggle=\"separator-sidebar\" aria-controls=\"separator-sidebar\" type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base ms-3 mt-3 text-sm p-2 focus:outline-none inline-flex sm:hidden\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n</button>\n\n<aside id=\"separator-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n      <ul class=\"space-y-2 font-medium border-t border-default pt-4 mt-4\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 19V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v13H7a2 2 0 0 0-2 2Zm0 0a2 2 0 0 0 2 2h12M9 3v14m7 0v4\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Documentation</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m13.46 8.291 3.849-3.849a1.5 1.5 0 0 1 2.122 0l.127.127a1.5 1.5 0 0 1 0 2.122l-3.84 3.838a4 4 0 0 0-2.258-2.238Zm0 0a4 4 0 0 1 2.263 2.238l3.662-3.662a8.961 8.961 0 0 1 0 10.27l-3.676-3.676m-2.25-5.17 3.678-3.676a8.961 8.961 0 0 0-10.27 0l3.662 3.662a4 4 0 0 0-2.238 2.258L4.615 6.863a8.96 8.96 0 0 0 0 10.27l3.662-3.662a4 4 0 0 0 2.258 2.238l-3.672 3.676a8.96 8.96 0 0 0 10.27 0l-3.662-3.662a4.001 4.001 0 0 0 2.238-2.262m0 0 3.849 3.848a1.5 1.5 0 0 1 0 2.122l-.127.126a1.499 1.499 0 0 1-2.122 0l-3.838-3.838a4 4 0 0 0 2.238-2.258Zm.29-1.461a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm-7.718 1.471-3.84 3.838a1.5 1.5 0 0 0 0 2.122l.128.126a1.5 1.5 0 0 0 2.122 0l3.848-3.848a4 4 0 0 1-2.258-2.238Zm2.248-5.19L6.69 4.442a1.5 1.5 0 0 0-2.122 0l-.127.127a1.5 1.5 0 0 0 0 2.122l3.849 3.848a4 4 0 0 1 2.238-2.258Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Support</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.051 8.102-3.778.322-1.994 1.994a.94.94 0 0 0 .533 1.6l2.698.316m8.39 1.617-.322 3.78-1.994 1.994a.94.94 0 0 1-1.595-.533l-.4-2.652m8.166-11.174a1.366 1.366 0 0 0-1.12-1.12c-1.616-.279-4.906-.623-6.38.853-1.671 1.672-5.211 8.015-6.31 10.023a.932.932 0 0 0 .162 1.111l.828.835.833.832a.932.932 0 0 0 1.111.163c2.008-1.102 8.35-4.642 10.021-6.312 1.475-1.478 1.133-4.77.855-6.385Zm-2.961 3.722a1.88 1.88 0 1 1-3.76 0 1.88 1.88 0 0 1 3.76 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">PRO version</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## CTA button\n\nUse this example to add a CTA button inside the sidebar component and encourage your users to visit the dedicated page.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n\n<button data-drawer-target=\"cta-button-sidebar\" data-drawer-toggle=\"cta-button-sidebar\" aria-controls=\"cta-button-sidebar\" type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base ms-3 mt-3 text-sm p-2 focus:outline-none inline-flex sm:hidden\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n</button>\n\n<aside id=\"cta-button-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n      <div id=\"alert-additional-content-1\" class=\"p-4 mb-4 text-sm text-fg-brand-strong rounded-base bg-brand-softer border border-brand-subtle mt-4\" role=\"alert\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center\">\n               <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n               <span class=\"sr-only\">Info</span>\n               <h3 class=\"font-medium\">Beta version</h3>\n            </div>\n            <button type=\"button\" data-dismiss-target=\"#alert-additional-content-1\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 rounded focus:ring-2 focus:ring-brand-medium hover:bg-brand-soft inline-flex items-center justify-center h-8 w-8\">\n               <span class=\"sr-only\">Close</span>\n               <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n            </button>\n         </div>\n         <div class=\"mt-2 mb-4\">\n            Preview the new Flowbite navigation! You can turn the new navigation off for a limited time in your profile.\n         </div>\n         <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n         Turn off now\n         </button>\n      </div>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## Logo branding\n\nShow the logo of your brand and link back to the homepage from the top part of the sidebar.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"logo-sidebar\" data-drawer-toggle=\"logo-sidebar\" aria-controls=\"logo-sidebar\" type=\"button\" class=\"text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base ms-3 mt-3 text-sm p-2 focus:outline-none inline-flex sm:hidden\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n</button>\n\n<aside id=\"logo-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-full transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center ps-2.5 mb-5\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-3\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n      </a>\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## Sidebar with navbar\n\nUse this example to show a navbar together with a sidebar layout for your web application.\n\n{{< example github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n\n<nav class=\"fixed top-0 z-50 w-full bg-neutral-primary-soft border-b border-default\">\n  <div class=\"px-3 py-3 lg:px-5 lg:pl-3\">\n    <div class=\"flex items-center justify-between\">\n      <div class=\"flex items-center justify-start rtl:justify-end\">\n        <button data-drawer-target=\"top-bar-sidebar\" data-drawer-toggle=\"top-bar-sidebar\" aria-controls=\"top-bar-sidebar\" type=\"button\" class=\"sm:hidden text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm p-2 focus:outline-none\">\n            <span class=\"sr-only\">Open sidebar</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h10\"/>\n   </svg>\n         </button>\n        <a href=\"https://flowbite.com\" class=\"flex ms-2 md:me-24\">\n          <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-3\" alt=\"FlowBite Logo\" />\n          <span class=\"self-center text-lg font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n      </div>\n      <div class=\"flex items-center\">\n          <div class=\"flex items-center ms-3\">\n            <div>\n              <button type=\"button\" class=\"flex text-sm bg-gray-800 rounded-full focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600\" aria-expanded=\"false\" data-dropdown-toggle=\"dropdown-user\">\n                <span class=\"sr-only\">Open user menu</span>\n                <img class=\"w-8 h-8 rounded-full\" src=\"https://flowbite.com/docs/images/people/profile-picture-5.jpg\" alt=\"user photo\">\n              </button>\n            </div>\n            <div class=\"z-50 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\" id=\"dropdown-user\">\n              <div class=\"px-4 py-3 border-b border-default-medium\" role=\"none\">\n                <p class=\"text-sm font-medium text-heading\" role=\"none\">\n                  Neil Sims\n                </p>\n                <p class=\"text-sm text-body truncate\" role=\"none\">\n                  neil.sims@flowbite.com\n                </p>\n              </div>\n              <ul class=\"p-2 text-sm text-body font-medium\" role=\"none\">\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">Dashboard</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">Settings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">Earnings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">Sign out</a>\n                </li>\n              </ul>\n            </div>\n          </div>\n        </div>\n    </div>\n  </div>\n</nav>\n\n<aside id=\"top-bar-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-full transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-neutral-primary-soft border-e border-default\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center ps-2.5 mb-5\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-3\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n      </a>\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64 mt-14\">\n   <div class=\"p-4 border-1 border-default border-dashed rounded-base\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 rounded-base bg-neutral-secondary-soft mb-4\">\n         <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-base bg-neutral-secondary-soft\">\n            <p class=\"text-fg-disabled\">\n               <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n## Off-canvas sidebar\n\nUse this example to show the navigation as an off-canvas drawer component when clicking on an element.\n\n{{< example github=\"components/sidebar.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-navigation\" data-drawer-show=\"drawer-navigation\" aria-controls=\"drawer-navigation\">\n   Show navigation\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-navigation\" class=\"fixed top-0 left-0 z-40 w-64 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft border-e border-default\" tabindex=\"-1\" aria-labelledby=\"drawer-navigation-label\">\n  <div class=\"border-b border-default pb-4 flex items-center\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 w-6\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-lg font-semibold whitespace-nowrap text-heading\">Flowbite</span>\n      </a>\n      <button type=\"button\" data-drawer-hide=\"drawer-navigation\" aria-controls=\"drawer-navigation\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n  <div class=\"py-5 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 6.025A7.5 7.5 0 1 0 17.975 14H10V6.025Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.5 3c-.169 0-.334.014-.5.025V11h7.975c.011-.166.025-.331.025-.5A7.5 7.5 0 0 0 13.5 3Z\"/></svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full justify-between px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4h1.5L9 16m0 0h8m-8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-8.5-3h9.25L19 7H7.312\"/></svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"pl-10 flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5v14M9 5v14M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded-sm\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 13h3.439a.991.991 0 0 1 .908.6 3.978 3.978 0 0 0 7.306 0 .99.99 0 0 1 .908-.6H20M4 13v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6M4 13l2-9h12l2 9M9 7h6m-7 3h8\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-4.5 h-4.5 ms-2 text-xs font-medium text-fg-danger-strong bg-danger-soft border border-danger-subtle rounded-full\">2</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M16 19h4a1 1 0 0 0 1-1v-1a3 3 0 0 0-3-3h-2m-2.236-4a3 3 0 1 0 0-4M3 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 10V6a3 3 0 0 1 3-3v0a3 3 0 0 1 3 3v4m3-2 .917 11.923A1 1 0 0 1 17.92 21H6.08a1 1 0 0 1-.997-1.077L6 8h12Z\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center px-2 py-1.5 text-body rounded-base hover:bg-neutral-tertiary hover:text-fg-brand group\">\n               <svg class=\"shrink-0 w-5 h-5 transition duration-75 group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12H4m12 0-4 4m4-4-4-4m3-4h2a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2\"/></svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## More examples\n\nYou can check out more [sidenav component](https://flowbite.com/blocks/application/sidenav/) examples and [application shell layouts](https://flowbite.com/blocks/application/shells/) from Flowbite Blocks.\n\n## Dashboard Layout\n\nThese sidebar examples can be viewed in action and used by checking out the [Flowbite Admin Dashboard](https://github.com/themesberg/flowbite-admin-dashboard) template and use it as a solid starting point for you web application.\n"
  },
  {
    "path": "content/components/skeleton.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Skeleton - Flowbite\ndescription: The skeleton component can be used as an alternative loading indicator to the spinner by mimicking the content that will be loaded such as text, images, or video\ngroup: components\ntoc: true\n\nprevious: Sidebar\npreviousLink: components/sidebar/\nnext: Speed Dial\nnextLink: components/speed-dial/\n---\n\nUse the skeleton component to indicate a loading status with placeholder elements that look very similar to the type of content that is being loaded such as paragraphs, heading, images, videos, and more.\n\nYou can set the width and height of these skeleton components based on the size of the content and element that it is being loaded in, such as a card or an article page.\n\nYou can also animate the skeleton component by using the `.animate-pulse` utility class from Tailwind CSS.\n\n## Default skeleton\n\nUse this example to show a placeholder when loading text content.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm animate-pulse\">\n    <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-48 mb-4\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[360px] mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[330px] mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[300px] mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[360px]\"></div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n\n{{< /example >}}\n\n## Image placeholder\n\nThis example can be used to show a placeholder when loading an image and text content.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"space-y-8 animate-pulse md:space-y-0 md:space-x-8 rtl:space-x-reverse md:flex md:items-center\">\n    <div class=\"flex items-center justify-center w-full h-48 bg-neutral-quaternary rounded-base sm:w-96\">\n        <svg class=\"w-11 h-11 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m3 16 5-7 6 6.5m6.5 2.5L16 13l-4.286 6M14 10h.01M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n    </div>\n    <div class=\"w-full\">\n        <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-48 mb-4\"></div>\n        <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[480px] mb-2.5\"></div>\n        <div class=\"h-2 bg-neutral-quaternary rounded-full mb-2.5\"></div>\n        <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[440px] mb-2.5\"></div>\n        <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[460px] mb-2.5\"></div>\n        <div class=\"h-2 bg-neutral-quaternary rounded-full max-w-[360px]\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n\n{{< /example >}}\n\n## Video placeholder\n\nUse this example to show a skeleton placeholder when loading video content.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n\n<div role=\"status\" class=\"flex items-center justify-center h-56 max-w-sm bg-neutral-quaternary rounded-base animate-pulse\">\n    <svg class=\"w-11 h-11 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM9 12h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Zm5.697 2.395v-.733l1.269-1.219v2.984l-1.268-1.032Z\"/></svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Text placeholder\n\nUse this example to show a placeholder when loading longer pagraphs and headings.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"space-y-2.5 animate-pulse max-w-lg\">\n    <div class=\"flex items-center w-full\">\n        <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-32\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-24\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[480px]\">\n        <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-full\"></div>\n                <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-24\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[400px]\">\n        <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-80\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[480px]\">\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n                <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-24\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[440px]\">\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-32\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-24\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[360px]\">\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-80\"></div>\n        <div class=\"h-2.5 ms-2 bg-neutral-quaternary rounded-full w-full\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Card placeholder\n\nUse this example to show a placeholder when loading content inside a card.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm p-4 border border-default rounded-base shadow-xs animate-pulse md:p-6\">\n    <div role=\"status\" class=\"flex items-center justify-center h-48 max-w-sm bg-neutral-quaternary rounded-base animate-pulse mb-4 sm:mb-6\">\n        <svg class=\"w-11 h-11 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM9 12h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Zm5.697 2.395v-.733l1.269-1.219v2.984l-1.268-1.032Z\"/></svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n    <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-48 mb-4\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full mb-2.5\"></div>\n    <div class=\"h-2 bg-neutral-quaternary rounded-full\"></div>\n    <div class=\"flex items-center mt-4\">\n        <svg class=\"w-8 h-8 text-fg-disabled me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-32 mb-2\"></div>\n            <div class=\"w-48 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Widget placeholder\n\nThis example can be used to show a placeholder of skeleton when fetching data for widgets and cards inside an application.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm p-4 border border-default rounded-base shadow-xs animate-pulse md:p-6\">\n    <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-32 mb-2.5\"></div>\n    <div class=\"w-48 h-2 mb-10 bg-neutral-quaternary rounded-full\"></div>\n    <div class=\"flex items-baseline mt-4\">\n        <div class=\"w-full bg-neutral-quaternary rounded-t-full h-72\"></div>\n        <div class=\"w-full h-56 ms-6 bg-neutral-quaternary rounded-t-full\"></div>\n        <div class=\"w-full bg-neutral-quaternary rounded-t-full h-72 ms-6\"></div>\n        <div class=\"w-full h-64 ms-6 bg-neutral-quaternary rounded-t-full\"></div>\n        <div class=\"w-full bg-neutral-quaternary rounded-t-full h-80 ms-6\"></div>\n        <div class=\"w-full bg-neutral-quaternary rounded-t-full h-72 ms-6\"></div>\n        <div class=\"w-full bg-neutral-quaternary rounded-t-full h-80 ms-6\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## List placeholder\n\nUse this example to show a placeholder when loading a list of items.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-md p-4 border border-default divide-y divide-default rounded-base shadow-xs animate-pulse md:p-6\">\n    <div class=\"flex items-center justify-between pb-4\">\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n        <div class=\"h-2.5 bg-default rounded-full w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between py-4\">\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n        <div class=\"h-2.5 bg-default rounded-full w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between py-4\">\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n        <div class=\"h-2.5 bg-default rounded-full w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between py-4\">\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n        <div class=\"h-2.5 bg-default rounded-full w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between py-4\">\n        <div>\n            <div class=\"h-2.5 bg-neutral-quaternary rounded-full w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-neutral-quaternary rounded-full\"></div>\n        </div>\n        <div class=\"h-2.5 bg-default rounded-full w-12\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Testimonial placeholder\n\nThis example can be used to show a skeleton placeholder when loading data for a testimonial section.\n\n{{< example github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"animate-pulse\">\n    <div class=\"h-2.5 bg-default rounded-full max-w-[640px] mb-2.5 mx-auto\"></div>\n    <div class=\"h-2.5 mx-auto bg-default rounded-full max-w-[540px]\"></div>\n    <div class=\"flex items-center justify-center mt-4\">\n        <svg class=\"w-7 h-7 text-fg-disabled me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        <div class=\"w-20 h-2.5 bg-neutral-quaternary rounded-full me-3\"></div>\n        <div class=\"w-24 h-2 bg-neutral-quaternary rounded-full\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Accessibility\n\nUse the `role=\"status\"` attribute on the `<div>` wrapper element to notify Assistive Technologies when content is about to be updated and show the \"Loading...\" text inside a `<span>` tag with the `.sr-only` class to make it visible only to screen readers.\n"
  },
  {
    "path": "content/components/speed-dial.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Speed Dial - Flowbite\ndescription: The speed dial component can be used as a quick way to show a list of action buttons to a user when hovering or clicking on the main trigger element.\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Skeleton\npreviousLink: components/skeleton/\n\nnext: Spinner\nnextLink: components/spinner/\n---\n\nGet started with the speed dial component to show a list of buttons or menu items positioned relative to the body in either corner as a quick way to allow certains actions to be made by your users.\n\nThis component can be easily customized by changing the colors, text, icons, sizes, alignment, and even positioning using our examples built with Tailwind CSS and making use of Flowbite's JavaScript API.\n\nMake sure that you have the Flowbite JS file included in your application by following our <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a>.\n\n## Default speed dial\n\nTo initialize a speed dial component you need to wrap the trigger element and the list of items inside an element and use the `data-dial-init` data attribute on it.\n\nFurthermore, make sure that the trigger button element has the `data-dial-toggle=\"{targetElementId}\"` where the value is the ID of the target element.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-default\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-default\" aria-controls=\"speed-dial-menu-default\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Square speed dial\n\nUse this example to make the trigger button's style square instead of a full circle using the `rounded-lg` utility class.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-square\" aria-controls=\"speed-dial-menu-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Text inside button\n\nThis example can be used to show the descriptive text inside the button instead of a tooltip.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 end-24 group\">\n    <div id=\"speed-dial-menu-text-inside-button\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Share</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Print</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Save</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-inside-button\" aria-controls=\"speed-dial-menu-text-inside-button\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-text-inside-button-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Share</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Print</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Save</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"block mb-px text-xs font-medium\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-inside-button-square\" aria-controls=\"speed-dial-menu-text-inside-button-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-base w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Text outside button\n\nUse this example to show the text of each button outside of the speed dial as an alternative style.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-text-outside-button\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Share</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Print</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Save</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-base border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-outside-button\" aria-controls=\"speed-dial-menu-text-outside-button\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-base w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed bottom-6 end-24 group\">\n    <div id=\"speed-dial-menu-text-outside-button-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Share</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Print</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Save</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[56px] h-[56px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-4 h-4 mx-auto mb-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-12 top-1/2\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-outside-button-square\" aria-controls=\"speed-dial-menu-text-outside-button-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Dropdown menu\n\nThis example can be used to show a list of menu items instead of buttons when activating the speed dial.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 right-24 group\">\n    <div id=\"speed-dial-menu-dropdown\" class=\"flex flex-col w-32 justify-end hidden mb-4 space-y-2 bg-neutral-primary-medium border border-default-medium rounded-base shadow-xs\">\n        <ul class=\"p-2 text-sm text-body font-medium\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Share</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Print</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Save</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Copy</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown\" aria-controls=\"speed-dial-menu-dropdown\" aria-expanded=\"false\" class=\"flex ml-auto items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed right-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-dropdown-square\" class=\"flex flex-col w-32 justify-end hidden mb-4 space-y-2 bg-neutral-primary-medium border border-default-medium rounded-base shadow-xs\">\n        <ul class=\"p-2 text-sm text-body font-medium\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Share</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Print</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M11 16h2m6.707-9.293-2.414-2.414A1 1 0 0 0 16.586 4H5a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.414a1 1 0 0 0-.293-.707ZM16 20v-6a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v6h8ZM9 4h6v3a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Save</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Copy</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-square\" aria-controls=\"speed-dial-menu-dropdown-square\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-brand rounded-base w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Alternative menu\n\nThis example can be used to show an alternative style when showing a list of menu items.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 right-24 group\">\n    <div id=\"speed-dial-menu-dropdown-alternative\" class=\"flex flex-col w-44 justify-end hidden mb-4 space-y-2 bg-neutral-primary-medium border border-default-medium rounded-base shadow-xs\">\n        <ul class=\"p-2 text-sm text-body font-medium\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4.988 19.012 5.41-5.41m2.366-6.424 4.058 4.058-2.03 5.41L5.3 20 4 18.701l3.355-9.494 5.41-2.029Zm4.626 4.625L12.197 6.61 14.807 4 20 9.194l-2.61 2.61Z\"/></svg>\n                    <span class=\"text-sm font-medium\">New post</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 5V4a1 1 0 0 0-1-1H8.914a1 1 0 0 0-.707.293L4.293 7.207A1 1 0 0 0 4 7.914V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5M9 3v4a1 1 0 0 1-1 1H4m11.383.772 2.745 2.746m1.215-3.906a2.089 2.089 0 0 1 0 2.953l-6.65 6.646L9 17.95l.739-3.692 6.646-6.646a2.087 2.087 0 0 1 2.958 0Z\"/></svg>\n                    <span class=\"text-sm font-medium\">New topic</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 17h6l3 3v-3h2V9h-2M4 4h11v8H9l-3 3v-3H4V4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Add comment</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-alternative\" aria-controls=\"speed-dial-menu-dropdown-alternative\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10.779 17.779 4.36 19.918 6.5 13.5m4.279 4.279 8.364-8.643a3.027 3.027 0 0 0-2.14-5.165 3.03 3.03 0 0 0-2.14.886L6.5 13.5m4.279 4.279L6.499 13.5m2.14 2.14 6.213-6.504M12.75 7.04 17 11.28\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed right-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-dropdown-alternative-square\" class=\"flex flex-col w-44 justify-end hidden mb-4 space-y-2 bg-neutral-primary-medium border border-default-medium rounded-base shadow-xs\">\n         <ul class=\"p-2 text-sm text-body font-medium\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4.988 19.012 5.41-5.41m2.366-6.424 4.058 4.058-2.03 5.41L5.3 20 4 18.701l3.355-9.494 5.41-2.029Zm4.626 4.625L12.197 6.61 14.807 4 20 9.194l-2.61 2.61Z\"/></svg>\n                    <span class=\"text-sm font-medium\">New post</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 5V4a1 1 0 0 0-1-1H8.914a1 1 0 0 0-.707.293L4.293 7.207A1 1 0 0 0 4 7.914V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5M9 3v4a1 1 0 0 1-1 1H4m11.383.772 2.745 2.746m1.215-3.906a2.089 2.089 0 0 1 0 2.953l-6.65 6.646L9 17.95l.739-3.692 6.646-6.646a2.087 2.087 0 0 1 2.958 0Z\"/></svg>\n                    <span class=\"text-sm font-medium\">New topic</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                    <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 17h6l3 3v-3h2V9h-2M4 4h11v8H9l-3 3v-3H4V4Z\"/></svg>\n                    <span class=\"text-sm font-medium\">Add comment</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-alternative-square\" aria-controls=\"speed-dial-menu-dropdown-alternative-square\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-brand rounded-base w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10.779 17.779 4.36 19.918 6.5 13.5m4.279 4.279 8.364-8.643a3.027 3.027 0 0 0-2.14-5.165 3.03 3.03 0 0 0-2.14.886L6.5 13.5m4.279 4.279L6.499 13.5m2.14 2.14 6.213-6.504M12.75 7.04 17 11.28\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Positioning\n\nThe positioning of the speed dial component relative to the body element can be easily done by using the positioning utility classes from Tailwind CSS.\n\n### Top right\n\nUse the `top-{*}` and `right-{*}` utility classes to set the position of the speed dial component to the top right side of the document body.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed top-6 end-6 group\">\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-top-right\" aria-controls=\"speed-dial-menu-top-right\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n    <div id=\"speed-dial-menu-top-right\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n### Bottom right\n\nUse the `bottom-{*}` and `right-{*}` utility classes to set the position of the speed dial component to the bottom right side of the document body.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-bottom-right\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-bottom-right\" aria-controls=\"speed-dial-menu-bottom-right\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n### Bottom left\n\nUse the `bottom-{*}` and `left-{*}` utility classes to set the position of the speed dial component to the bottom left side of the document body.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n<div data-dial-init class=\"fixed bottom-6 start-6 group\">\n    <div id=\"speed-dial-menu-bottom-left\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-bottom-left\" aria-controls=\"speed-dial-menu-bottom-left\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n### Top left\n\nUse the `top-{*}` and `left-{*}` utility classes to set the position of the speed dial component to the top left side of the document body.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n<div data-dial-init class=\"fixed top-6 start-6 group\">\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-top-left\" aria-controls=\"speed-dial-menu-top-left\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n    <div id=\"speed-dial-menu-top-left\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Alignment\n\nThe alignment of the speed dial menu items and buttons can be set using the flexbox utility classes from Tailwind CSS.\n\n### Vertical\n\nThe default alignment of the menu items of the speed dial is vertical using the `flex-col` utility class.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-vertical\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-vertical\" aria-controls=\"speed-dial-menu-vertical\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n### Horizontal\n\nHorizontally align the speed dial menu items by using the flexbox utility classes from Tailwind CSS.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed flex end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-horizontal\" class=\"flex items-center hidden me-4 space-x-2 rtl:space-x-reverse\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-horizontal\" aria-controls=\"speed-dial-menu-horizontal\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## Triggering\n\nUse the `data-dial-trigger=\"{click|hover}\"` data attributes on the trigger element inside of the speed dial component to set which type of action should activate the speed dial: click or hover.\n\n### Hover\n\nThe default trigger type is hover for each speed dial component.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-hover\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-hover\" aria-controls=\"speed-dial-menu-hover\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n### Click\n\nIf you want the speed dial component to activate when clicking instead of hovering over the trigger element then you need to set the `click` value inside of the `data-dial-toggle=\"click\"` data attribute on the trigger element.\n\n{{< example class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-click\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.926 10.898 15 7.727m-7.074 5.39L15 16.29M8 12a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm12 5.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Zm0-11a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z\"/></svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-body hover:text-heading bg-neutral-primary-soft rounded-full border border-default shadow-xs hover:bg-neutral-secondary-medium hover:border-default-medium focus:ring-4 focus:ring-neutral-secondary-soft focus:outline-none\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 4v3a1 1 0 0 1-1 1h-3m4 10v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h2m11-3v10a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V7.87a1 1 0 0 1 .24-.65l2.46-2.87a1 1 0 0 1 .76-.35H18a1 1 0 0 1 1 1Z\"/></svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-click\" data-dial-trigger=\"click\" aria-controls=\"speed-dial-menu-click\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-brand rounded-full w-14 h-14 hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium focus:outline-none\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nThe Speed Dial API from Flowbite can be used to create an object in JavaScript to set up the options, methods, and behaviour of a speed dial component manually.\n\n### Object parameters\n\nCreate a new Speed Diual object with the object parameters like the trigger element, the target element, and the other options such as the trigger type.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">parentEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    This is the parent and main wrapping element of the speed dial component.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a button as the trigger element for the speed dial.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    This is the element that is the list of menu items or buttons that will be toggled.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the trigger type and other options of the speed dial.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the third parameter for the Speed Dial object to set the trigger type (hover or click).\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the speed dial choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is shown.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the methods from the Speed Dial object to programmatically show or hide the component from directly JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to show the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to hide the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to toggle the visibility of the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial has been hidden.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial visibility has been changed.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nUse following JavaScript as an example to learn how to initialize, set the options, and use the methods for the Speed Dial object.\n\nThree arguments are required for the Speed Dial component, namely the parent element, trigger element, and the target element.\n\nFurthermore, you can also pass an object of options to set the trigger type and set the callback functions.\n\n{{< code lang=\"javascript\" file=\"speed-dial.js\" icon=\"file\" >}}\n// parent element wrapping the speed dial\nconst $parentEl = document.getElementById('dialParent');\n\n// the trigger element that can be clicked or hovered\nconst $triggerEl = document.getElementById('dialButton');\n\n// the content wrapping element of menu items or buttons\nconst $targetEl = document.getElementById('dialContent');\n\n// options with default values\nconst options = {\n    triggerType: 'click',\n    onHide: () => {\n        console.log('speed dial is shown');\n    },\n    onShow: () => {\n        console.log('speed dial is hidden');\n    },\n    onToggle: () => {\n        console.log('speed dial is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'dialContent',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Speed Dial object based on the options above.\n\n{{< code lang=\"javascript\" file=\"speed-dial.js\" icon=\"file\" >}}\nimport { Dial } from 'flowbite';\n\n/*\n * $parentEl: required\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dial = new Dial($parentEl, $triggerEl, $targetEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show`, `hide`, or `toggle` methods on the Speed Dial object to programmatically show and hide the speed dial component using JavaScript.\n\n{{< code lang=\"javascript\" file=\"speed-dial.js\" icon=\"file\" >}}\n// show the speed dial\ndial.show();\n\n// hide the speed dial\ndial.hide();\n\n// toggle the visibility of the speed dial\ndial.toggle();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"speed-dial.html\" icon=\"file\" >}}\n<div id=\"dialParent\" class=\"group fixed bottom-6 end-6\">\n    <div\n        id=\"dialContent\"\n        class=\"mb-4 flex hidden flex-col items-center space-y-2\"\n    >\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-share\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 18 18\"\n            >\n                <path\n                    d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div\n            id=\"tooltip-share\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-print\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 20 20\"\n            >\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\" />\n                <path\n                    d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div\n            id=\"tooltip-print\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-download\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 20 20\"\n            >\n                <path\n                    d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"\n                />\n                <path\n                    d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div\n            id=\"tooltip-download\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-copy\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 18 20\"\n            >\n                <path\n                    d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"\n                />\n                <path\n                    d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div\n            id=\"tooltip-copy\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button\n        type=\"button\"\n        id=\"dialButton\"\n        aria-controls=\"speed-dial-menu-default\"\n        aria-expanded=\"false\"\n        class=\"flex h-14 w-14 items-center justify-center rounded-full bg-blue-700 text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        <svg\n            class=\"h-5 w-5 transition-transform group-hover:rotate-45\"\n            aria-hidden=\"true\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            fill=\"none\"\n            viewBox=\"0 0 18 18\"\n        >\n            <path\n                stroke=\"currentColor\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                stroke-width=\"2\"\n                d=\"M9 1v16M1 9h16\"\n            />\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Speed Dial class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"speed-dial.ts\" icon=\"file\" >}}\nimport { Dial } from 'flowbite';\nimport type { DialOptions, DialInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// parent element wrapping the speed dial\nconst $parentEl: HTMLElement = document.getElementById('dialParent');\n\n// the trigger element that can be clicked or hovered\nconst $triggerEl: HTMLElement = document.getElementById('dialButton');\n\n// the content wrapping element of menu items or buttons\nconst $targetEl: HTMLElement = document.getElementById('dialContent');\n\n// options with default values\nconst options: DialOptions = {\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('speed dial is shown');\n    },\n    onShow: () => {\n        console.log('speed dial is hidden');\n    },\n    onToggle: () => {\n        console.log('speed dial is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'dialContent',\n  override: true\n};\n\n/*\n * $parentEl: required\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst dial: DialInterface = new Dial($parentEl, $triggerEl, $targetEl, options);\n\n// show the speed dial\ndial.show();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/spinner.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Spinner - Flowbite\ndescription: Use the spinner component as a loader indicator in your projects when fetching data based on an animated SVG using the utility classes from Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Speed Dial\npreviousLink: components/speed-dial/\nnext: Stepper\nnextLink: components/stepper/\n---\n\nThe spinner component can be used as a loading indicator which comes in multiple colors, sizes, and styles separately or inside elements such as buttons to improve the user experience whenever data is being fetched from your server.\n\n## Default spinner\n\nUse the following SVG element with the `animate-spin` animation class to show a loading animation:\n\n{{< example github=\"components/spinner.md\" show_dark=true >}}\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Colors\n\nYou can change the colors of the spinner element using the fill and color utility classes from Tailwind CSS:\n\n-   use `fill-{*}` to change the main colors\n-   use `text-{*}` to change the background\n\n{{< example github=\"components/spinner.md\" class=\"flex items-center space-x-2 rtl:space-x-reverse\" show_dark=true >}}\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-dark dark:fill-quaternary\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-success\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-danger\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-warning\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-pink\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-neutral-tertiary animate-spin fill-purple\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Sizes\n\nChange the size of the spinner component using the `h-{*}` and `w-{*}` utility classes from Tailwind CSS:\n\n{{< example github=\"components/spinner.md\" class=\"flex items-center space-x-2 rtl:space-x-reverse\" show_dark=true >}}\n\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-4 h-4 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-6 h-6 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-10 h-10 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n## Alignment\n\nBecause the spinner component is an inline HTML element it can easily be aligned on the left, center, or right side using the `text-{left|center|right}` utility classes:\n\n{{< example github=\"components/spinner.md\" show_dark=true >}}\n\n<div class=\"text-left rtl:text-right\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n<div class=\"text-center\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n<div class=\"text-right rtl:text-left\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n## Spinner with card\n\nUse this animated loading indicator when content inside of a card is still loading.\n\n{{< example github=\"components/spinner.md\" show_dark=true >}}\n\n<div class=\"relative items-center block max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <h5 class=\"mb-2 text-xl font-semibold tracking-tight text-heading opacity-20\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"font-normal text-body opacity-20\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n    <div role=\"status\" class=\"absolute -translate-x-1/2 -translate-y-1/2 top-2/4 left-1/2\">\n        <svg aria-hidden=\"true\" class=\"w-8 h-8 w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n## Progress spinner\n\nUse this animated spinner component inside a list of steppers elements.\n\n{{< example github=\"components/spinner.md\" show_dark=true >}}\n\n<h2 class=\"mb-4 text-lg font-medium text-heading\">Converting your image:</h2>\n<ul class=\"max-w-md space-y-3 text-body list-inside\">\n    <li class=\"flex items-center\">\n        <svg class=\"w-5 h-5 text-fg-success shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        Upload your file to our website\n    </li>\n    <li class=\"flex items-center\">\n        <svg class=\"w-5 h-5 text-fg-success shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        Choose your file format\n    </li>\n    <li class=\"flex items-center\">\n        <div role=\"status\">\n            <svg aria-hidden=\"true\" class=\"w-4 h-4 me-2 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n            <span class=\"sr-only\">Loading...</span>\n        </div>\n        Preparing your file\n    </li>\n</ul>\n{{< /example >}}\n\n## Buttons\n\nThe spinner component can also be used inside elements such as buttons when submitting form data:\n\n{{< example github=\"components/spinner.md\" show_dark=true >}}\n\n<button type=\"button\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    <svg aria-hidden=\"true\" class=\"w-4 h-4 text-neutral-tertiary animate-spin fill-brand me-2\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    Loading...\n</button>\n\n{{< /example >}}\n\n## Accessibillity\n\nUse the `aria-hidden=\"true\"` attribute to hide the SVG spinner icon from the accessibility API and screen readers while showing a loading text element visible only to screen readers using the `.sr-only` class.\n\nThe `role=\"status\"` attribute on the main `<div>` wrapper is used to indicate a status message to assistive technologies such as screen readers.\n"
  },
  {
    "path": "content/components/stepper.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Stepper - Flowbite\ndescription: Use the stepper component to show the number of steps required to complete a form inside your application based on Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: Spinner\npreviousLink: components/spinner/\nnext: Tables\nnextLink: components/tables/\n---\n\nThe stepper component can be used to show a numbered list of steps next to a form component to indicate the progress and number of steps that are required to complete and submit the form data.\n\nThere are multiple examples that you can use including horizontal or vertical aligned stepper components, different sizes, styles, and showing icons or numbers all coded with the utility classes from Tailwind CSS.\n\n## Default stepper\n\nUse this example to show a list of form steps with a number and title of the step in a horizontal alignment.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full text-sm font-medium text-center text-body sm:text-base\">\n    <li class=\"flex md:w-full items-center text-fg-brand sm:after:content-[''] after:w-full after:h-1 after:border-b after:border-default after:border-px after:hidden sm:after:inline-block after:mx-6 xl:after:mx-10\">\n        <span class=\"flex items-center after:content-['/'] sm:after:hidden after:mx-2 after:text-fg-disabled\">\n            <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            Personal <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        </span>\n    </li>\n    <li class=\"flex md:w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-default after:border-px after:hidden sm:after:inline-block after:mx-6 xl:after:mx-10\">\n        <span class=\"flex items-center after:content-['/'] sm:after:hidden after:mx-2 after:text-fg-disabled\">\n            <span class=\"me-2\">2</span>\n            Account <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        </span>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"me-2\">3</span>\n        Confirmation\n    </li>\n</ol>\n{{< /example >}}\n\n## Progress stepper\n\nThis example can be used to show the progress of the stepper component based only on icons and showing a checkmark when the step has been finished.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full space-x-4\">\n    <li class=\"flex w-full items-center text-fg-brand after:content-[''] after:w-full after:h-1 after:border-b after:border-brand-subtle after:border-4 after:inline-block after:ms-4 after:rounded-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-brand-softer rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n        </span>\n    </li>\n    <li class=\"flex w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-default after:border-4 after:inline-block  after:ms-4 after:rounded-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h3m-3 3h3m-3 3h3m-6 1c-.306-.613-.933-1-1.618-1H7.618c-.685 0-1.312.387-1.618 1M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm7 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/></svg>\n        </span>\n    </li>\n    <li class=\"flex items-center w-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n        </span>\n    </li>\n</ol>\n{{< /example >}}\n\n## Detailed stepper\n\nUse this example to show an extra subtitle next to the number and the title of the steppper component based on an ordered list element.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"items-center w-full space-y-4 sm:flex sm:space-x-8 sm:space-y-0 rtl:space-x-reverse\">\n    <li class=\"flex items-center text-fg-brand space-x-3 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-brand-softer rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">User info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n    <li class=\"flex items-center text-body space-x-3 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h3m-3 3h3m-3 3h3m-6 1c-.306-.613-.933-1-1.618-1H7.618c-.685 0-1.312.387-1.618 1M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm7 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/></svg>\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">Company info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n    <li class=\"flex items-center text-body space-x-3 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 10h18M6 14h2m3 0h5M3 7v10a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1Z\"/></svg>\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">Payment info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Vertical stepper\n\nThis example can be used to show a list of steps aligned vertically where you can indicate the completed, currently active, and the unexplored steps.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"space-y-4 w-72\">\n    <li>\n        <div class=\"w-full p-4 bg-success-soft border border-success-subtle text-fg-success-strong rounded-base\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">User info</span>\n                <h3 class=\"font-medium\">1. User info</h3>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 bg-success-soft border border-success-subtle text-fg-success-strong rounded-base\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Account info</span>\n                <h3 class=\"font-medium\">2. Account info</h3>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 bg-brand-softer border border-brand-subtle text-fg-brand-strong rounded-base\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Social accounts</span>\n                <h3 class=\"font-medium\">3. Social accounts</h3>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 bg-neutral-secondary-soft border border-default text-body rounded-base\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Review</span>\n                <h3 class=\"font-medium\">4. Review</h3>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 bg-neutral-secondary-soft border border-default text-body rounded-base\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Confirmation</span>\n                <h3 class=\"font-medium\">5. Confirmation</h3>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n            </div>\n        </div>\n    </li>\n</ol>\n{{< /example >}}\n\n## Breadcrumb stepper\n\nThis example can be used to show the number of steps similar to how a breadcrumb component looks like by using double chevron icons between the items.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"flex items-center w-full p-3 space-x-2 text-sm font-medium text-center text-body bg-neutral-primary-soft border border-default rounded-base shadow-xs sm:p-4 sm:space-x-4 rtl:space-x-reverse\">\n    <li class=\"flex items-center text-fg-brand\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-brand rounded-full shrink-0\">\n            1\n        </span>\n        Personal <span class=\"hidden sm:inline-flex ms-2\">Info</span>\n        <svg class=\"w-5 h-5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 16 4-4-4-4m6 8 4-4-4-4\"/></svg>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-body rounded-full shrink-0\">\n            2\n        </span>\n        Account <span class=\"hidden sm:inline-flex ms-2\">Info</span>\n        <svg class=\"w-5 h-5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 16 4-4-4-4m6 8 4-4-4-4\"/></svg>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-body rounded-full shrink-0\">\n            3\n        </span>\n        Review\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Timeline stepper\n\nUse this example to show the number of steps inside a timeline component using icons, title, and subtitle for each step.\n\n{{< example github=\"components/stepper.md\" class=\"p-4\" show_dark=true >}}\n\n<ol class=\"relative text-body border-s border-default\">                  \n    <li class=\"mb-10 ms-7\">            \n        <span class=\"absolute flex items-center justify-center w-8 h-8 text-fg-success-strong bg-success-soft rounded-full -start-4 ring-4 ring-buffer\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Personal Info</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"mb-10 ms-7\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-neutral-tertiary text-body rounded-full -start-4 ring-4 ring-buffer\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h3m-3 3h3m-3 3h3m-6 1c-.306-.613-.933-1-1.618-1H7.618c-.685 0-1.312.387-1.618 1M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm7 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/></svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Account Info</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"mb-10 ms-7\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-neutral-tertiary text-body rounded-full -start-4 ring-4 ring-buffer\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-3 5h3m-6 0h.01M12 16h3m-6 0h.01M10 3v4h4V3h-4Z\"/></svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Review</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"ms-7\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-neutral-tertiary text-body rounded-full -start-4 ring-4 ring-buffer\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Confirmation</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n</ol>\n{{< /example >}}\n\n## Stepper with form\n\nUse this example to show the stepper component next to a form layout and change the content based on which currently step your are completing.\n\n{{< example github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full space-x-4 mb-8\">\n    <li class=\"flex w-full items-center text-fg-brand after:content-[''] after:w-full after:h-1 after:border-b after:border-brand-subtle after:border-4 after:inline-block after:ms-4 after:rounded-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-brand-softer rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n        </span>\n    </li>\n    <li class=\"flex w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-default after:border-4 after:inline-block  after:ms-4 after:rounded-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h3m-3 3h3m-3 3h3m-6 1c-.306-.613-.933-1-1.618-1H7.618c-.685 0-1.312.387-1.618 1M4 5h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm7 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/></svg>\n        </span>\n    </li>\n    <li class=\"flex items-center w-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-neutral-tertiary rounded-full lg:h-12 lg:w-12 shrink-0\">\n            <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n        </span>\n    </li>\n</ol>\n\n<form class=\"max-w-sm\">\n    <h3 class=\"mb-6 text-lg font-medium leading-none text-heading\">Sign In details</h3>\n  <div class=\"mb-5\">\n    <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your email</label>\n    <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n    <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"••••••••\" required />\n  </div>\n  <div class=\"flex items-start mb-5\">\n    <div class=\"flex items-center h-5\">\n      <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" required />\n    </div>\n    <label for=\"remember\" class=\"ms-2 text-sm font-medium text-heading select-none\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</label>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Next Step: Payment Info</button>\n</form>\n\n{{< /example >}}\n"
  },
  {
    "path": "content/components/tables.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Table - Flowbite\ndescription: Use the table component to show text, images, links, and other elements inside a structured set of data made up of rows and columns of table cells\ngroup: components\ntoc: true\n\nprevious: Stepper\npreviousLink: components/stepper/\nnext: Tabs\nnextLink: components/tabs/\n---\n\nThe table component represents a set of structured elements made up of rows and columns as table cells that can be used to show data sets to your website users.\n\nGet started with multiple variants and styles of these table components built with the utility classes from Tailwind CSS and components from Flowbite.\n\n## Default table\n\nUse the following example of a responsive table component to show multiple rows and columns of text data.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-soft border-b rounded-base border-default\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Stock\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    231\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    423\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    121\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Highlight\n\nAccentuate certain elements inside the table such as the rows, columns or data cells based on your needs.\n\n### Striped rows\n\nUse this example to increase the readability of the data sets by alternating the background color of every second table row.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"bg-neutral-secondary-soft border-b border-default\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"odd:bg-neutral-primary even:bg-neutral-secondary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-neutral-primary even:bg-neutral-secondary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-neutral-primary even:bg-neutral-secondary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-neutral-primary even:bg-neutral-secondary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-neutral-primary even:bg-neutral-secondary-soft\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Striped columns\n\nUse this example to increase the readability of the table cells by alternating the background color of every second table column.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body border-b border-default\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 bg-neutral-secondary-soft font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 bg-neutral-secondary-soft font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap bg-neutral-secondary-soft\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4 bg-neutral-secondary-soft\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap bg-neutral-secondary-soft\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4 bg-neutral-secondary-soft\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap bg-neutral-secondary-soft\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4 bg-neutral-secondary-soft\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n            <tr class=\"border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap bg-neutral-secondary-soft\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4 bg-neutral-secondary-soft\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n            </tr>\n            <tr>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap bg-neutral-secondary-soft\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4 bg-neutral-secondary-soft\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Hover state\n\nUse the `hover:{bg-*}` utility class from Tailwind CSS to change the background color of a data row when hovering over the element with the cursor.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Table layout\n\nUse the following examples of table layouts to show the head, foot or caption of the table.\n\n### Table head (sortable)\n\nThis example can be used to show the head of the table component with sortable icons.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <div class=\"flex items-center\">\n                        Color\n                        <a href=\"#\">\n                            <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/></svg>\n                        </a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <div class=\"flex items-center\">\n                        Category\n                        <a href=\"#\">\n                            <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/></svg>\n                        </a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <div class=\"flex items-center\">\n                        Price\n                        <a href=\"#\">\n                            <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/></svg>\n                        </a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b  border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b  border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Table foot\n\nUse this example where the `<tfoot>` HTML element can be used in conjunction with the head and caption of the table component.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 rounded-s-base font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Qty\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 rounded-e-base font-medium\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                   1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n        </tbody>\n        <tfoot>\n            <tr class=\"font-semibold text-heading\">\n                <th scope=\"row\" class=\"px-6 py-3 text-base\">Total</th>\n                <td class=\"px-6 py-3\">3</td>\n                <td class=\"px-6 py-3\">21,000</td>\n            </tr>\n        </tfoot>\n    </table>\n</div>\n{{< /example >}}\n\n### Table caption\n\nImprove accessibility by using a caption inside the table as a heading to better describe what the table is about for screen readers.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <caption class=\"p-5 text-lg font-medium text-left rtl:text-right text-heading\">\n            Our products\n            <p class=\"mt-1.5 text-sm font-normal text-body\">Browse a list of Flowbite products designed to help you work and play, stay organized, get answers, keep in touch, grow your business, and more.</p>\n        </caption>\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-t border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Table styles\n\nGet started with the following table styles and choose the one that best fits your application.\n\n### Without border\n\nUse this example of a table component without any border between the table cells.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-heading\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-semibold\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-semibold\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-semibold\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-semibold\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Table with shadow\n\nUse this example to apply a shadow-sm border to the table component.\n\n{{< example github=\"components/tables.md\" class=\"pb-4 overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b  border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b  border-default\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Overflow scrolling\n\nUse this example where we apply `overflow-x-auto` to enable horizontal scrolling if the content inside the table overflows that maximum width.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Accessories\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Available\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Weight\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3  font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-2\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    3.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-3\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-4\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-4\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    0.2 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-5\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-5\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Watches\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $199\n                </td>\n                <td class=\"px-6 py-4\">\n                    0.12 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-6\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-6\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple iMac\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    7.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-7\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-7\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple AirPods\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $399\n                </td>\n                <td class=\"px-6 py-4\">\n                    38 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-8\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-8\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    iPad Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.3 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-9\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-9\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Keyboard\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    453 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-10\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-10\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple TV 4K\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    TV\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.78 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-11\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-11\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    AirTag\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $29\n                </td>\n                <td class=\"px-6 py-4\">\n                    53 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-danger hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Table search\n\nUse this example to show a search bar that can be used to query through data inside the table component.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <div class=\"p-4\">\n        <label for=\"input-group-1\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n            </div>\n            <input type=\"text\" id=\"input-group-1\" class=\"block w-full max-w-96 ps-9 pe-3 py-2 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Search\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-t border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-12\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-12\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-13\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-13\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-14\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-14\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-15\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-15\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-16\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-16\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-17\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-17\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                     <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-18\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-18\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Table filter\n\nUse this example with a filter bar to select certain data sets inside the table based on the options that you've selected.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <div class=\"p-4 flex items-center justify-between space-x-4\">\n        <label for=\"input-group-1\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n            </div>\n            <input type=\"text\" id=\"input-group-1\" class=\"block w-full max-w-96 ps-9 pe-3 py-2 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\">\n        </div>\n        <button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"shrink-0 inline-flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" type=\"button\">\n            <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M18.796 4H5.204a1 1 0 0 0-.753 1.659l5.302 6.058a1 1 0 0 1 .247.659v4.874a.5.5 0 0 0 .2.4l3 2.25a.5.5 0 0 0 .8-.4v-7.124a1 1 0 0 1 .247-.659l5.302-6.059c.566-.646.106-1.658-.753-1.658Z\"/></svg>\n            Filter by\n            <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Color</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Category</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Price</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Sign out</a>\n            </li>\n            </ul>\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-t border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-20\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-20\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-21\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-21\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-22\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-22\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-23\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-23\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-24\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-24\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-25\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-25\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-26\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-26\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Table pagination\n\nPaginate the table data when using larger data sets based on any given amount of results per page.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-27\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-27\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-28\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-28\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-29\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-29\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-30\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-30\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-31\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-31\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Watches\n                </td>\n                <td class=\"px-6 py-4\">\n                    $199\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-32\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-32\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple iMac\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-33\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-33\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple AirPods\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $399\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-34\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-34\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    iPad Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-35\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-35\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Keyboard\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-36\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-36\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Smart Folio iPad Air\n                </th>\n                <td class=\"px-6 py-4\">\n                    Blue\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $79\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-37\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-37\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    AirTag\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $29\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n    <nav class=\"flex items-center flex-column flex-wrap md:flex-row justify-between p-4\" aria-label=\"Table navigation\">\n        <span class=\"text-sm font-normal text-body mb-4 md:mb-0 block w-full md:inline md:w-auto\">Showing <span class=\"font-semibold text-heading\">1-10</span> of <span class=\"font-semibold text-heading\">1000</span></span>\n        <ul class=\"flex -space-x-px text-sm\">\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-s-base text-sm px-3 h-9 focus:outline-none\">Previous</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">1</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">2</a>\n            </li>\n            <li>\n                <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center text-fg-brand bg-brand-softer box-border border border-default-medium hover:bg-brand-soft hover:text-fg-brand font-medium text-sm w-9 h-9 focus:outline-none\">3</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">...</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium text-sm w-9 h-9 focus:outline-none\">5</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading font-medium rounded-e-base text-sm px-3 h-9 focus:outline-none\">Next</a>\n            </li>\n        </ul>\n    </nav>\n</div>\n{{< /example >}}\n\n## Checkbox selection\n\nCheckboxes can be used inside table data rows to select multiple data sets and apply a bulk action.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-38\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-38\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-39\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-39\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-40\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-40\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-41\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-41\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-42\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-42\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-43\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-43\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-44\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-44\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Table with users\n\nUse this example of a table where we show a data set of users and showing a profile picture, name, email, online status, and more.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <div class=\"flex items-center justify-between flex-column flex-wrap md:flex-row space-y-4 md:space-y-0 p-4\">\n        <div>\n        <button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" type=\"button\">\n            Action\n            <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Reward</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Promote</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Archive</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded\">Delete</a>\n            </li>\n            </ul>\n        </div>\n        </div>\n        <label for=\"input-group-1\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n            </div>\n            <input type=\"text\" id=\"input-group-1\" class=\"block w-full max-w-96 ps-9 pe-3 py-2 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-t border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-45\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-45\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Position\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Status\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-46\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-46\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Neil Sims</div>\n                        <div class=\"font-normal text-body\">neil.sims@flowbite.com</div>\n                    </div>  \n                </th>\n                <td class=\"px-6 py-4\">\n                    React Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-47\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-47\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Bonnie Green</div>\n                        <div class=\"font-normal text-body\">bonnie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Designer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-danger me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-48\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-48\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Jese Leos</div>\n                        <div class=\"font-normal text-body\">jese@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Vue JS Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-49\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-49\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Thomas Lean</div>\n                        <div class=\"font-normal text-body\">thames@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    UI/UX Engineer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-50\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-50\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Leslie Livingston</div>\n                        <div class=\"font-normal text-body\">leslie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    SEO Specialist\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-danger me-2\"></div> Offline\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## Table with products\n\nGet started with this example to show a list of products inside the table and show a preview image, product name, quantity selector, price and actions tab.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"px-16 py-3\">\n                    <span class=\"sr-only\">Image</span>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Qty\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/apple-watch.png\" class=\"w-16 md:w-24 max-w-full max-h-full\" alt=\"Apple Watch\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    Apple Watch\n                </td>\n                <td class=\"px-6 py-4\">\n                    <form class=\"max-w-xs mx-auto\">\n                        <label for=\"counter-input-1\" class=\"sr-only\">Choose quantity:</label>\n                        <div class=\"relative flex items-center\">\n                            <button type=\"button\" id=\"decrement-button-1\" data-input-counter-decrement=\"counter-input-1\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n                            </button>\n                            <input type=\"text\" id=\"counter-input-1\" data-input-counter class=\"shrink-0 text-heading border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n                            <button type=\"button\" id=\"increment-button-1\" data-input-counter-increment=\"counter-input-1\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                            </button>\n                        </div>\n                    </form>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    $599\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-danger hover:underline\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/imac.png\" class=\"w-16 md:w-24 max-w-full max-h-full\" alt=\"Apple iMac\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    iMac 27\"\n                </td>\n                <td class=\"px-6 py-4\">\n                    <form class=\"max-w-xs mx-auto\">\n                        <label for=\"counter-input-2\" class=\"sr-only\">Choose quantity:</label>\n                        <div class=\"relative flex items-center\">\n                            <button type=\"button\" id=\"decrement-button-2\" data-input-counter-decrement=\"counter-input-2\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n                            </button>\n                            <input type=\"text\" id=\"counter-input-2\" data-input-counter class=\"shrink-0 text-heading border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n                            <button type=\"button\" id=\"increment-button-2\" data-input-counter-increment=\"counter-input-2\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                            </button>\n                        </div>\n                    </form>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    $2499\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-danger hover:underline\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/iphone-12.png\" class=\"w-16 md:w-24 max-w-full max-h-full\" alt=\"iPhone 12\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    IPhone 12 \n                </td>\n                <td class=\"px-6 py-4\">\n                    <form class=\"max-w-xs mx-auto\">\n                        <label for=\"counter-input-3\" class=\"sr-only\">Choose quantity:</label>\n                        <div class=\"relative flex items-center\">\n                            <button type=\"button\" id=\"decrement-button-3\" data-input-counter-decrement=\"counter-input-3\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n                            </button>\n                            <input type=\"text\" id=\"counter-input-3\" data-input-counter class=\"shrink-0 text-heading border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n                            <button type=\"button\" id=\"increment-button-3\" data-input-counter-increment=\"counter-input-3\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n                                <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                            </button>\n                        </div>\n                    </form>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-heading\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-fg-danger hover:underline\">Remove</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Table with modal\n\nUse this example to show a modal with a form where you can edit table data by clicking on one of the rows.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true iframeHeight=\"640\" >}}\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <div class=\"flex items-center justify-between flex-column md:flex-row flex-wrap space-y-4 md:space-y-0 p-4\">\n        <div>\n            <button id=\"dropdownDefaultButton2\" data-dropdown-toggle=\"dropdown-2\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" type=\"button\">\n                Action\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdown-2\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n                <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton2\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Reward</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Promote</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Archive</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 text-fg-danger hover:bg-neutral-tertiary-medium rounded\">Delete</a>\n                </li>\n                </ul>\n            </div>\n        </div>\n        <label for=\"input-group-1\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n            </div>\n            <input type=\"text\" id=\"input-group-1\" class=\"block w-full max-w-96 ps-9 pe-3 py-2 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-body\">\n        <thead class=\"text-sm text-body bg-neutral-secondary-medium border-b border-t border-default-medium\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-51\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-51\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Position\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Status\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-52\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-52\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Neil Sims</div>\n                        <div class=\"font-normal text-body\">neil.sims@flowbite.com</div>\n                    </div>  \n                </th>\n                <td class=\"px-6 py-4\">\n                    React Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-target=\"editUserModal\" data-modal-show=\"editUserModal\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-53\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-53\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Bonnie Green</div>\n                        <div class=\"font-normal text-body\">bonnie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Designer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-54\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-54\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Jese Leos</div>\n                        <div class=\"font-normal text-body\">jese@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Vue JS Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft border-b border-default hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-55\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-55\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Thomas Lean</div>\n                        <div class=\"font-normal text-body\">thomas@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    UI/UX Engineer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-success me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary-soft hover:bg-neutral-secondary-medium\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"table-checkbox-56\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n                        <label for=\"table-checkbox-56\" class=\"sr-only\">Table checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-heading whitespace-nowrap\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Leslie Livingston</div>\n                        <div class=\"font-normal text-body\">leslie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    SEO Specialist\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-danger me-2\"></div> Offline\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-fg-brand hover:underline\">Edit user</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n    <!-- Main modal -->\n<div id=\"editUserModal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Create new product\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"editUserModal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\">\n                <div class=\"grid gap-4 grid-cols-2 py-4 md:py-6\">\n                    <div class=\"col-span-2\">\n                        <label for=\"name\" class=\"block mb-2.5 text-sm font-medium text-heading\">Name</label>\n                        <input type=\"text\" name=\"name\" id=\"name\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Bonnie Green\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"position\" class=\"block mb-2.5 text-sm font-medium text-heading\">Position</label>\n                        <input type=\"text\" name=\"position\" id=\"position\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"React Developer\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"category\" class=\"block mb-2.5 text-sm font-medium text-heading\">Status</label>\n                        <select id=\"category\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n                            <option selected=\"\">Online</option>\n                            <option value=\"offline\">Offline</option>\n                            <option value=\"archived\">Archived</option>\n                        </select>\n                    </div>\n                    <div class=\"col-span-2\">\n                        <label for=\"biography\" class=\"block mb-2.5 text-sm font-medium text-heading\">Biography</label>\n                        <textarea id=\"biography\" rows=\"4\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write a short biography here\"></textarea>                    \n                    </div>\n                </div>\n                <div class=\"flex items-center space-x-4 border-t border-default pt-4 md:pt-6\">\n                    <button type=\"submit\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                        Update user\n                    </button>\n                    <button data-modal-hide=\"crud-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Cancel</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div> \n</div>\n{{< /example >}}\n\n## Table colors\n\nApply any color to the table element by using the `bg-{color}` and `text-{color}` color class variants from Tailwind CSS.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-fg-brand-subtle\">\n        <thead class=\"text-sm text-white bg-brand-strong\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Striped rows color\n\nUse this example to apply a different color to every second row inside the table.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-fg-brand-subtle\">\n        <thead class=\"text-sm text-white bg-brand-strong\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand-strong border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand-strong border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Striped columns color\n\nUse this example to apply a different color to every second column inside a colored table.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-fg-brand-subtle\">\n        <thead class=\"text-sm text-white bg-brand\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium bg-brand-strong\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium bg-brand-strong\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium bg-brand-strong\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap bg-brand-strong\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap bg-brand-strong\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap bg-brand-strong\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap bg-brand-strong\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap bg-brand-strong\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4 bg-brand-strong\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n### Hover state\n\nUse this example to apply a different color to every second row inside the table with a colored background.\n\n{{< example github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto bg-neutral-primary-soft shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-fg-brand-subtle\">\n        <thead class=\"text-sm text-white bg-brand border-b border-brand-light\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 font-medium\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-brand border-b border-brand-light hover:bg-brand-strong\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light hover:bg-brand-strong\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light hover:bg-brand-strong\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand border-b border-brand-light hover:bg-brand-strong\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-brand hover:bg-brand-strong\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-fg-brand-subtle whitespace-nowrap\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n## More examples\n\nYou can check out more table component examples from the following resources from Flowbite Blocks:\n\n-   [Advanced tables](https://flowbite.com/blocks/application/advanced-tables/)\n-   [Table headers](https://flowbite.com/blocks/application/table-headers/)\n-   [Table footers](https://flowbite.com/blocks/application/table-footers/)\n-   [Pricing tables](https://flowbite.com/blocks/marketing/pricing/)\n"
  },
  {
    "path": "content/components/tabs.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Tabs - Flowbite\ndescription: Use these responsive tabs components to create a secondary navigational hierarchy for your website or toggle content inside a container\ngroup: components\ntoc: true\n\nprevious: Tables\npreviousLink: components/tables/\nnext: Timeline\nnextLink: components/timeline/\n---\n\nThe tabs component can be used either as an extra navigational hierarchy complementing the main navbar or you can also use it to change content inside a container just below the tabs using the data attributes from Flowbite.\n\n## Default tabs\n\nUse the following default tabs component example to show a list of links that the user can navigate from on your website.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<ul class=\"flex flex-wrap text-sm font-medium text-center text-body border-b border-default\">\n    <li class=\"me-2\">\n        <a href=\"#\" aria-current=\"page\" class=\"inline-block p-4 text-fg-brand bg-neutral-secondary-soft rounded-t-base active\">Profile</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-base hover:text-heading hover:bg-neutral-secondary-soft\">Dashboard</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-base hover:text-heading hover:bg-neutral-secondary-soft\">Settings</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-base hover:text-heading hover:bg-neutral-secondary-soft\">Contacts</a>\n    </li>\n    <li>\n        <a class=\"inline-block p-4 text-fg-disabled rounded-t-base cursor-not-allowed\">Disabled</a>\n    </li>\n</ul>\n{{< /example >}}\n\n## Tabs with underline\n\nUse this alternative tabs component style with an underline instead of a background when hovering and being active on a certain page.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"text-sm font-medium text-center text-body border-b border-default\">\n    <ul class=\"flex flex-wrap -mb-px\">\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand\">Profile</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 text-fg-brand border-b border-brand rounded-t-base active\" aria-current=\"page\">Dashboard</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand\">Settings</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand\">Contacts</a>\n        </li>\n        <li>\n            <a class=\"inline-block p-4 text-fg-disabled rounded-t-base cursor-not-allowed dark:text-body\">Disabled</a>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Tabs with icons\n\nThis is an example of the tabs component where you can also use a SVG powered icon to complement the text within the navigational tabs.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"border-b border-default\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center text-body\">\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand group\">\n                <svg class=\"w-4 h-4 me-2 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                Profile\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 text-fg-brand border-b border-brand rounded-t-base active group\" aria-current=\"page\">\n                <svg class=\"w-4 h-4 me-2 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.143 4H4.857A.857.857 0 0 0 4 4.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 10 9.143V4.857A.857.857 0 0 0 9.143 4Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 20 9.143V4.857A.857.857 0 0 0 19.143 4Zm-10 10H4.857a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286A.857.857 0 0 0 9.143 14Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286a.857.857 0 0 0-.857-.857Z\"/></svg>\n                Dashboard\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand group\">\n                <svg class=\"w-4 h-4 me-2 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 4v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2m6-16v2m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v10m6-16v10m0 0a2 2 0 1 0 0 4m0-4a2 2 0 1 1 0 4m0 0v2\"/></svg>\n                Settings\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b border-transparent rounded-t-base hover:text-fg-brand hover:border-brand group\">\n                <svg class=\"w-4 h-4 me-2 text-body group-hover:text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.079 6.839a3 3 0 0 0-4.255.1M13 20h1.083A3.916 3.916 0 0 0 18 16.083V9A6 6 0 1 0 6 9v7m7 4v-1a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1Zm-7-4v-6H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1Zm12-6h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1v-6Z\"/></svg>\n                Contacts\n            </a>\n        </li>\n        <li>\n            <a class=\"inline-block p-4 text-fg-disabled rounded-t-base cursor-not-allowed\">Disabled</a>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Pills tabs\n\nIf you want to use pills as a style for the tabs component you can do so by using this example.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<ul class=\"flex flex-wrap text-sm font-medium text-center text-body\">\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-2.5 text-white bg-brand rounded-base active\" aria-current=\"page\">Tab 1</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\"  class=\"inline-block px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft\">Tab 2</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft\">Tab 3</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft\">Tab 4</a>\n    </li>\n    <li>\n        <a class=\"inline-block px-4 py-3 text-fg-disabled cursor-not-allowed\">Tab 5</a>\n    </li>\n</ul>\n{{< /example >}}\n\n## Vertical tabs\n\nUse this example to show a vertically aligned set of tabs on the left side of the page.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"md:flex\">\n    <ul class=\"flex-column space-y space-y-4 text-sm font-medium text-body md:me-4 mb-4 md:mb-0\">\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-2.5 text-white bg-brand rounded-base active w-full\" aria-current=\"page\">\n                <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                Profile\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft w-full\">\n                <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m4 10v-2m3 2v-6m3 6v-3m4-11v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/></svg>\n                Dashboard\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft w-full\">\n                <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 13v-2a1 1 0 0 0-1-1h-.757l-.707-1.707.535-.536a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0l-.536.535L14 4.757V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v.757l-1.707.707-.536-.535a1 1 0 0 0-1.414 0L4.929 6.343a1 1 0 0 0 0 1.414l.536.536L4.757 10H4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h.757l.707 1.707-.535.536a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l.536-.535 1.707.707V20a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-.757l1.707-.708.536.536a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-.535-.536.707-1.707H20a1 1 0 0 0 1-1Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/></svg>\n                Settings\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-base hover:text-heading hover:bg-neutral-secondary-soft w-full\">\n                <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.079 6.839a3 3 0 0 0-4.255.1M13 20h1.083A3.916 3.916 0 0 0 18 16.083V9A6 6 0 1 0 6 9v7m7 4v-1a1 1 0 0 0-1-1h-1a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h1a1 1 0 0 0 1-1Zm-7-4v-6H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h1Zm12-6h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1v-6Z\"/></svg>\n                Contact\n            </a>\n        </li>\n        <li>\n            <a class=\"inline-flex items-center px-4 py-3 text-fg-disabled rounded-base cursor-not-allowed w-full\">\n                <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 9-6 6m0-6 6 6m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                Disabled\n            </a>\n        </li>\n    </ul>\n    <div class=\"p-6 bg-neutral-secondary text-medium text-body rounded-base w-full\">\n        <h3 class=\"text-lg font-semibold text-heading mb-4\">Profile Tab</h3>\n        <p class=\"mb-2\">This is some placeholder content the Profile tab's associated content, clicking another tab will toggle the visibility of this one for the next.</p>\n        <p>The tab JavaScript swaps classes to control the content visibility and styling.</p> \n    </div>\n</div>\n\n{{< /example >}}\n\n\n## Full width tabs\n\nIf you want to show the tabs on the full width relative to the parent element you can do so by using the full width tabs component example.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"sm:hidden\">\n    <label for=\"tabs\" class=\"sr-only\">Select your country</label>\n    <select id=\"tabs\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n        <option>Profile</option>\n        <option>Dashboard</option>\n        <option>setting</option>\n        <option>Invoice</option>\n    </select>\n</div>\n<ul class=\"hidden text-sm font-medium text-center text-body sm:flex -space-x-px\">\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full text-body bg-neutral-primary-soft border border-default rounded-s-base hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\" aria-current=\"page\">Profile</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">Dashboard</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">Settings</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full text-body bg-neutral-primary-soft border border-default rounded-e-base hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">Invoice</a>\n    </li>\n</ul>\n{{< /example >}}\n\n## Tabs with icons\n\nThis example can be used to show a list of tabs with icons from our [SVG icons](https://flowbite.com/icons/).\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"sm:hidden\">\n    <label for=\"tabs-icons\" class=\"sr-only\">Select your country</label>\n    <select id=\"tabs-icons\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n        <option>Profile</option>\n        <option>Dashboard</option>\n        <option>setting</option>\n        <option>Invoice</option>\n    </select>\n</div>\n<ul class=\"hidden text-sm font-medium text-center text-body sm:flex -space-x-px\">\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-flex items-center justify-center w-full text-body bg-neutral-primary-soft border border-default rounded-s-base hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\" aria-current=\"page\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            Profile\n        </a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-flex items-center justify-center  w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.143 4H4.857A.857.857 0 0 0 4 4.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 10 9.143V4.857A.857.857 0 0 0 9.143 4Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 20 9.143V4.857A.857.857 0 0 0 19.143 4Zm-10 10H4.857a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286A.857.857 0 0 0 9.143 14Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286a.857.857 0 0 0-.857-.857Z\"/></svg>\n        Dashboard\n        </a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-flex items-center justify-center  w-full text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M20 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6h-2m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4m16 6H10m0 0a2 2 0 1 0-4 0m4 0a2 2 0 1 1-4 0m0 0H4\"/></svg>\n            Settings\n        </a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-flex items-center justify-center  w-full text-body bg-neutral-primary-soft border border-default rounded-e-base hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-secondary-strong font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m8-2h3m-3 3h3m-4 3v6m4-3H8M19 4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM8 12v6h8v-6H8Z\"/></svg>\n            Invoice\n        </a>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Interactive tabs\n\nUse the dynamic tabs component to interactively show and hide the content below the tabs based on the currently active tab item. Make sure that you initialize the component by using the `data-tabs-toggle=\"{parentTabContentSelector}\"` and also apply an `id` attribute to the same element.\n\nEach tab toggle button requires a `role=\"tab\"` attribute and a `data-tabs-target=\"{tabContentSelector}\"` to target the tab content element that will be shown when clicked.\n\nUse the `aria-selected=\"true\"` data attribute so that Flowbite can target the currently active tab component and hide it when another is shown. If not set, it will show the first tab as active.\n\nApply the `role=\"tabpanel\"` data attribute to every tab content element and set the `id` attribute which will be equal to the `data-tabs-target={tabContentSelector}` from the tabs toggles.\n\nYou can use multiple tab components on a single page but make sure that the id's are different.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"mb-4 border-b border-default\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center\" id=\"default-tab\" data-tabs-toggle=\"#default-tab-content\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base\" id=\"profile-tab\" data-tabs-target=\"#profile\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Profile</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"dashboard-tab\" data-tabs-target=\"#dashboard\" type=\"button\" role=\"tab\" aria-controls=\"dashboard\" aria-selected=\"false\">Dashboard</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"settings-tab\" data-tabs-target=\"#settings\" type=\"button\" role=\"tab\" aria-controls=\"settings\" aria-selected=\"false\">Settings</button>\n        </li>\n        <li role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"contacts-tab\" data-tabs-target=\"#contacts\" type=\"button\" role=\"tab\" aria-controls=\"contacts\" aria-selected=\"false\">Contacts</button>\n        </li>\n    </ul>\n</div>\n<div id=\"default-tab-content\">\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Profile tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"dashboard\" role=\"tabpanel\" aria-labelledby=\"dashboard-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Dashboard tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"settings\" role=\"tabpanel\" aria-labelledby=\"settings-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Settings tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"contacts\" role=\"tabpanel\" aria-labelledby=\"contacts-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Contacts tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n</div>\n{{< /example >}}\n\n## Active tab style\n\nUse the `data-tabs-active-classes` and the `data-tabs-inactive-classes` to set the active and inactive tab Tailwind CSS classes. In this example we set the active classes to the purple color instead of blue.\n\n{{< example github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"mb-4 border-b border-default\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center\" id=\"default-styled-tab\" data-tabs-toggle=\"#default-styled-tab-content\" data-tabs-active-classes=\"text-purple hover:text-purple border-purple\" data-tabs-inactive-classes=\"dark:border-transparent text-body hover:text-fg-brand border-default hover:border-brand\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base\" id=\"profile-styled-tab\" data-tabs-target=\"#styled-profile\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Profile</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"dashboard-styled-tab\" data-tabs-target=\"#styled-dashboard\" type=\"button\" role=\"tab\" aria-controls=\"dashboard\" aria-selected=\"false\">Dashboard</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"settings-styled-tab\" data-tabs-target=\"#styled-settings\" type=\"button\" role=\"tab\" aria-controls=\"settings\" aria-selected=\"false\">Settings</button>\n        </li>\n        <li role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-base hover:text-fg-brand hover:border-brand\" id=\"contacts-styled-tab\" data-tabs-target=\"#styled-contacts\" type=\"button\" role=\"tab\" aria-controls=\"contacts\" aria-selected=\"false\">Contacts</button>\n        </li>\n    </ul>\n</div>\n<div id=\"default-styled-tab-content\">\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"styled-profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Profile tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"styled-dashboard\" role=\"tabpanel\" aria-labelledby=\"dashboard-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Dashboard tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"styled-settings\" role=\"tabpanel\" aria-labelledby=\"settings-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Settings tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-base bg-neutral-secondary-soft\" id=\"styled-contacts\" role=\"tabpanel\" aria-labelledby=\"contacts-tab\">\n        <p class=\"text-sm text-body\">This is some placeholder content the <strong class=\"font-medium text-heading\">Contacts tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nThe **Tabs** class from Flowbite can be used to create an object that will enable the interactive navigation between tabs and its content based on the parameters, options, methods, and callback functions that you apply.\n\n### Object parameters\n\nCreate a new Tabs object with parameters such as an array of the tab and content elements.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body dark:text-gray-400\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">tabsElement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Parent HTML element of the tabs component.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">items</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array of the tab objects including the id, trigger element, and the content element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    An object of options for the appearances of the tabs and to use callback functions.\n                </td>\n            </tr>\n            <tr>\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the second parameter for the Tabs object to set the appearance of the active tab elements and use callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body dark:text-gray-400\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">defaultTabId</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the currently active tab element based on the ID.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">activeClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS class names to apply to the active tab element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">inactiveClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS class names to apply to the inactive tab elements.\n                </td>\n            </tr>\n            <tr>\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the a new tab has been shown.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the methods from the Tabs object to programmatically change the current active tab using JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body dark:text-gray-400\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function on the Tab object to change the current active tab element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">getTab(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Return the tab element based on the ID.\n                </td>\n            </tr>\n            <tr>\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function whenever a tab has been shown.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nCheck out the following example to learn how to initialize and manipulate a Tabs object in JavaScript.\n\nFirst of all, create an array of objects that contains the id, trigger element, and content element of each tab, set the active tab based on the id, and optionally set a callback function after a new tab has been shown.\n\n{{< code lang=\"javascript\" file=\"tabs.js\" icon=\"file\" >}}\nconst tabsElement = document.getElementById('tabs-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst tabElements = [\n    {\n        id: 'profile',\n        triggerEl: document.querySelector('#profile-tab-example'),\n        targetEl: document.querySelector('#profile-example'),\n    },\n    {\n        id: 'dashboard',\n        triggerEl: document.querySelector('#dashboard-tab-example'),\n        targetEl: document.querySelector('#dashboard-example'),\n    },\n    {\n        id: 'settings',\n        triggerEl: document.querySelector('#settings-tab-example'),\n        targetEl: document.querySelector('#settings-example'),\n    },\n    {\n        id: 'contacts',\n        triggerEl: document.querySelector('#contacts-tab-example'),\n        targetEl: document.querySelector('#contacts-example'),\n    },\n];\n\n// options with default values\nconst options = {\n    defaultTabId: 'settings',\n    activeClasses:\n        'text-fg-brand hover:text-fg-brand border-brand',\n    inactiveClasses:\n        'text-body hover:text-fg-brand border-base hover:border-brand',\n    onShow: () => {\n        console.log('tab is shown');\n    },\n};\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'tabs-example',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Tabs object based on the parameters we've previously set.\n\n{{< code lang=\"javascript\" file=\"tabs.js\" icon=\"file\" >}}\nimport { Tabs } from 'flowbite';\n\n/*\n* tabsElement: parent element of the tabs component (required)\n* tabElements: array of tab objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst tabs = new Tabs(tabsElement, tabElements, options, instanceOptions);\n{{< /code >}}\n\nLastly, you can now use the methods on the Tabs object to show another tab element, get a tab element based on the id, or get the current active tab element.\n\n{{< code lang=\"javascript\" file=\"tabs.js\" icon=\"file\" >}}\n// shows another tab element\ntabs.show('dashboard');\n\n// get the tab object based on ID\ntabs.getTab('contacts');\n\n// get the current active tab object\ntabs.getActiveTab();\n{{< /code >}}\n\n### HTML Markup\n\nYou can use this HTML code as an example for the JavaScript code from above.\n\n{{< code lang=\"html\" file=\"tabs.html\" icon=\"file\" >}}\n<div class=\"mb-4 border-b border-default dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center text-body dark:text-gray-400\" id=\"tabs-example\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-base border-b border-transparent p-4 hover:border-brand hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"profile-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"profile-example\"\n                aria-selected=\"false\"\n            >\n                Profile\n            </button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-base border-b border-transparent p-4 hover:border-brand hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"dashboard-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"dashboard-example\"\n                aria-selected=\"false\"\n            >\n                Dashboard\n            </button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-base border-b border-transparent p-4 hover:border-brand hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"settings-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"settings-example\"\n                aria-selected=\"false\"\n            >\n                Settings\n            </button>\n        </li>\n        <li role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-base border-b border-transparent p-4 hover:border-brand hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"contacts-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"contacts-example\"\n                aria-selected=\"false\"\n            >\n                Contacts\n            </button>\n        </li>\n    </ul>\n</div>\n<div id=\"tabContentExample\">\n    <div\n        class=\"hidden rounded-base bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"profile-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"profile-tab-example\"\n    >\n        <p class=\"text-sm text-body\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-heading\"\n                >Profile tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-base bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"dashboard-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"dashboard-tab-example\"\n    >\n        <p class=\"text-sm text-body\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-heading\"\n                >Dashboard tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-base bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"settings-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"settings-tab-example\"\n    >\n        <p class=\"text-sm text-body\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-heading\"\n                >Settings tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-base bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"contacts-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"contacts-tab-example\"\n    >\n        <p class=\"text-sm text-body\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-heading\"\n                >Contacts tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Tabs class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"tabs.ts\" icon=\"file\" >}}\nimport { Tabs } from 'flowbite';\nimport type { TabsOptions, TabsInterface, TabItem } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst tabsElement: HTMLElement = document.getElementById('tabs-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst tabElements: TabItem[] = [\n    {\n        id: 'profile',\n        triggerEl: document.querySelector('#profile-tab-example'),\n        targetEl: document.querySelector('#profile-example'),\n    },\n    {\n        id: 'dashboard',\n        triggerEl: document.querySelector('#dashboard-tab-example'),\n        targetEl: document.querySelector('#dashboard-example'),\n    },\n    {\n        id: 'settings',\n        triggerEl: document.querySelector('#settings-tab-example'),\n        targetEl: document.querySelector('#settings-example'),\n    },\n    {\n        id: 'contacts',\n        triggerEl: document.querySelector('#contacts-tab-example'),\n        targetEl: document.querySelector('#contacts-example'),\n    },\n];\n\n// options with default values\nconst options: TabsOptions = {\n    defaultTabId: 'settings',\n    activeClasses:\n        'text-fg-brand hover:text-fg-brand border-brand',\n    inactiveClasses:\n        'text-body hover:text-fg-brand border-base hover:border-brand',\n    onShow: () => {\n        console.log('tab is shown');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'tabs-example',\n  override: true\n};\n\n/*\n* tabsElement: parent element of the tabs component (required)\n* tabElements: array of tab elements (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst tabs: TabsInterface = new Tabs(tabsElement, tabElements, options, instanceOptions);\n\n// open tab item based on id\ntabs.show('contacts');\n{{< /code >}}\n"
  },
  {
    "path": "content/components/timeline.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Timeline - Flowbite\ndescription: Get started with the responsive timeline component to show data in a chronological order with support for multiple styles, sizes, and variants\ngroup: components\ntoc: true\n\nprevious: Tabs\npreviousLink: components/tabs/\nnext: Toast\nnextLink: components/toast/\n---\n\nThe timeline component can be used to show series of data in a chronological order for use cases such as activity feeds, user actions, application updates, and more. Get started with multiple vertical timeline styles built with the utility classes from Tailwind CSS and Flowbite.\n\n## Default timeline\n\nUse this responsive Tailwind CSS timeline component to show a series of data entries with a date, title, and description with a vertical line with dots on the left or right side of the wrapper element.\n\nOptionally, you can also add a CTA button to any of the timeline elements.\n\n{{< example github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-default\">                  \n    <li class=\"mb-10 ms-4\">\n        <div class=\"absolute w-3 h-3 bg-neutral-quaternary rounded-full mt-1.5 -start-1.5 border border-buffer\"></div>\n        <time class=\"text-sm font-normal leading-none text-body\">February 2022</time>\n        <h3 class=\"text-lg font-semibold text-heading my-2\">Application UI code in Tailwind CSS</h3>\n        <p class=\"mb-4 text-base font-normal text-body\">Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.</p>\n        <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n            Learn more\n            <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </a>\n    </li>\n    <li class=\"mb-10 ms-4\">\n        <div class=\"absolute w-3 h-3 bg-neutral-quaternary rounded-full mt-1.5 -start-1.5 border border-buffer\"></div>\n        <time class=\"text-sm font-normal leading-none text-body\">March 2022</time>\n        <h3 class=\"text-lg font-semibold text-heading my-2\">Marketing UI design in Figma</h3>\n        <p class=\"text-base font-normal text-body\">All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.</p>\n    </li>\n    <li class=\"ms-4\">\n        <div class=\"absolute w-3 h-3 bg-neutral-quaternary rounded-full mt-1.5 -start-1.5 border border-buffer\"></div>\n        <time class=\"mb-1 text-sm font-normal leading-none text-body\">April 2022</time>\n        <h3 class=\"text-lg font-semibold text-heading my-2\">E-Commerce UI code in Tailwind CSS</h3>\n        <p class=\"text-base font-normal text-body\">Get started with dozens of web components and interactive elements built on top of Tailwind CSS.</p>\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Vertical timeline\n\nUse this vertical timeline component with icons and badges to show a more advanced set of data.\n\n{{< example github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-default\">                  \n    <li class=\"mb-10 ms-6\">            \n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full -start-3 ring-8 ring-buffer\">\n            <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n        </span>\n        <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">March 13th, 2025</time>\n        <h3 class=\"flex items-center mb-1 text-lg font-semibold text-heading my-2\">Flowbite Application UI v2.0.0 <span class=\"ms-2 bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">Latest</span></h3>\n        <p class=\"mb-4 text-body\">Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.</p>\n        <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Zm-4 1h.01v.01H15V5Zm-2 2h.01v.01H13V7Zm2 2h.01v.01H15V9Zm-2 2h.01v.01H13V11Zm2 2h.01v.01H15V13Zm-2 2h.01v.01H13V15Zm2 2h.01v.01H15V17Zm-2 2h.01v.01H13V19Z\"/></svg>\n            Download ZIP\n        </a>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full -start-3 ring-8 ring-buffer\">\n            <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n        </span>\n        <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">January 09th, 2025</time>\n        <h3 class=\"my-2 text-lg font-semibold text-heading\">Flowbite Figma v1.3.0</h3>\n        <p class=\"text-body\">All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.</p>\n    </li>\n    <li class=\"ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full -start-3 ring-8 ring-buffer\">\n            <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n        </span>\n        <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">October 14th, 2024</time>\n        <h3 class=\"my-2 text-lg font-semibold text-heading\">Flowbite Library v1.2.2</h3>\n        <p class=\"text-body\">Get started with dozens of web components and interactive elements built on top of Tailwind CSS.</p>\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Stepper timeline\n\nUse this horizontally aligned timeline component to show a series of data in a chronological order.\n\n{{< example github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"items-center sm:flex\">\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-neutral-quaternary h-px\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">January 09th, 2025</time>\n            <h3 class=\"text-lg font-semibold text-heading my-2\">Flowbite Library v1.0.0</h3>\n            <p class=\"text-body mb-4\">Get started with dozens of web components and interactive elements.</p>\n            <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Read more</button>\n        </div>\n    </li>\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-neutral-quaternary h-px\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">March 14th, 2025</time>\n            <h3 class=\"text-lg font-semibold text-heading my-2\">Flowbite Library v1.2.0</h3>\n            <p class=\"text-body mb-4\">Get started with dozens of web components and interactive elements.</p>\n            <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Read more</button>\n        </div>\n    </li>\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-brand-softer rounded-full ring-0 ring-buffer sm:ring-8 shrink-0\">\n                <svg class=\"w-3 h-3 text-fg-brand-strong\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-neutral-quaternary h-px\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <time class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">September 26th, 2025</time>\n            <h3 class=\"text-lg font-semibold text-heading my-2\">Flowbite Library v1.3.0</h3>\n            <p class=\"text-body mb-4\">Get started with dozens of web components and interactive elements.</p>\n            <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Read more</button>\n        </div>\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Activity log\n\nThis component can be used to show the timline of a user's activity history inside your application by using an avatar, datetime, description, and links to specific pages.\n\n{{< example github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-default\">                  \n    <li class=\"mb-10 ms-6\">            \n        <span class=\"absolute flex items-center justify-center w-6 h-6 rounded-full -start-3 ring-8 ring-buffer\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\"/>\n        </span>\n        <div class=\"items-center justify-between p-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs sm:flex\">\n            <time class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded sm:order-last mb-1 sm:mb-0\">just now</time>\n            <div class=\"text-body\"><a href=\"#\" class=\"font-medium text-heading hover:underline\">Bonnie Green</a> moved <a href=\"#\" class=\"font-medium text-heading hover:underline\">Jese Leos</a> to <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Funny Group</span></div>\n        </div>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 rounded-full -start-3 ring-8 ring-buffer\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Thomas Lean image\"/>\n        </span>\n        <div class=\"p-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n            <div class=\"items-center justify-between mb-3 sm:flex\">\n                <time class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded sm:order-last mb-1 sm:mb-0\">2 hours ago</time>\n                <div class=\"text-body\">Thomas Lean commented on <a href=\"#\" class=\"font-medium text-heading hover:underline\">Flowbite Pro</a></div>\n            </div>\n            <div class=\"p-3 text-xs italic font-normal text-body border border-default-medium rounded-base bg-neutral-secondary-medium\">Hi ya'll! I wanted to share a webinar zeroheight is having regarding how to best measure your design system! This is the second session of our new webinar series on #DesignSystems discussions where we'll be speaking about Measurement.</div>\n            <div class=\"flex items-center space-x-3 mt-4\">\n                <button type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">View comment</button> \n                <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n                    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.5 8.046H11V6.119c0-.921-.9-1.446-1.524-.894l-5.108 4.49a1.2 1.2 0 0 0 0 1.739l5.108 4.49c.624.556 1.524.027 1.524-.893v-1.928h2a3.023 3.023 0 0 1 3 3.046V19a5.593 5.593 0 0 0-1.5-10.954Z\"/></svg>\n                    Reply\n                </button>              \n            </div>\n        </div>\n    </li>\n    <li class=\"ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 rounded-full -start-3 ring-8 ring-buffer\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos image\"/>\n        </span>\n        <div class=\"items-center justify-between p-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs sm:flex\">\n            <time class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded sm:order-last mb-1 sm:mb-0\">3 hours ago</time>\n            <div class=\"text-body\"><a href=\"#\" class=\"font-medium text-heading hover:underline\">Bonnie Green</a> moved <a href=\"#\" class=\"font-medium text-heading hover:underline\">Jese Leos</a> to <span class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">Funny Group</span></div>\n        </div>\n    </li>\n</ol>\n\n{{< /example >}}\n\n## Grouped timeline\n\nUse this component to group multiple data entries inside a single date and show elements like the avatar, title, description, tag and link to a relevant page.\n\n{{< example github=\"components/timeline.md\" show_dark=true >}}\n<div class=\"p-5 bg-neutral-secondary-soft border border-default rounded-base mb-4\">\n    <time class=\"text-lg font-semibold text-heading\">January 15th, 2025</time>\n    <ol class=\"mt-3 divide-y divide-default\">\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Laura Romeros image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Laura Romeros</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3.933 13.909A4.357 4.357 0 0 1 3 12c0-1 4-6 9-6m7.6 3.8A5.068 5.068 0 0 1 21 12c0 1-3 6-9 6-.314 0-.62-.014-.918-.04M5 19 19 5m-4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Private\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Mike Willi image\"/>\n                <div>\n                    <div class=\"text-base font-normal text-body mb-2\"><span class=\"font-medium text-heading\">Mike Willi</span> react to <span class=\"font-medium text-heading\">Thomas Lean's</span> comment</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese Leos image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Jese Leos</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Bonnie Green</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> Top figma designs</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span> \n                </div>\n            </a>\n        </li>\n    </ol>\n</div>\n<div class=\"p-5 bg-neutral-secondary-soft border border-default rounded-base mb-4\">\n    <time class=\"text-lg font-semibold text-heading\">January 13th, 2025</time>\n    <ol class=\"mt-3 divide-y divide-default\">\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Laura Romeros image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Laura Romeros</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3.933 13.909A4.357 4.357 0 0 1 3 12c0-1 4-6 9-6m7.6 3.8A5.068 5.068 0 0 1 21 12c0 1-3 6-9 6-.314 0-.62-.014-.918-.04M5 19 19 5m-4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Private\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Mike Willi image\"/>\n                <div>\n                    <div class=\"text-base font-normal text-body mb-2\"><span class=\"font-medium text-heading\">Mike Willi</span> react to <span class=\"font-medium text-heading\">Thomas Lean's</span> comment</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese Leos image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Jese Leos</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-neutral-tertiary\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\"/>\n                <div class=\"text-body\">\n                    <div class=\"text-base font-normal mb-1\"><span class=\"font-medium text-heading\">Bonnie Green</span> likes <span class=\"font-medium text-heading\">Bonnie Green's</span> post in <span class=\"font-medium text-heading\"> Top figma designs</span></div>\n                    <div class=\"text-sm font-normal mb-2\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n                        <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n                        Public\n                    </span> \n                </div>\n            </a>\n        </li>\n    </ol>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/components/toast.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Toast - Flowbite\ndescription: Push notifications to your users using the toast component and choose from multiple sizes, colors, styles, and positions\ngroup: components\nrequires_js: true\ntoc: true\n\nprevious: Timeline\npreviousLink: components/timeline/\nnext: Tooltips\nnextLink: components/tooltips/\n---\n\nThe toast component can be used to enhance your website's interactivity by pushing notifications to your visitors. You can choose from multiple styles, colors, sizes, and positions and even dismiss the component by using the `data-dismiss-target` data attribute from Flowbite.\n\n## Default toast\n\nUse this simple toast component with an icon, message, and dismissible close button to show alert messages to your website visitors. Make sure that you set the correct id for the `data-dismiss-target` data attribute to enable the dismissible feature.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-default\" class=\"flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <svg class=\"w-6 h-6 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.122 17.645a7.185 7.185 0 0 1-2.656 2.495 7.06 7.06 0 0 1-3.52.853 6.617 6.617 0 0 1-3.306-.718 6.73 6.73 0 0 1-2.54-2.266c-2.672-4.57.287-8.846.887-9.668A4.448 4.448 0 0 0 8.07 6.31 4.49 4.49 0 0 0 7.997 4c1.284.965 6.43 3.258 5.525 10.631 1.496-1.136 2.7-3.046 2.846-6.216 1.43 1.061 3.985 5.462 1.754 9.23Z\"/></svg>\n    <div class=\"ms-2.5 text-sm border-s border-default ps-3.5\">Set yourself free.</div>\n    <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-default\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n</div>\n\n{{< /example >}}\n\n## Colors\n\nUse these contextual toast components to show success, danger, or warning alert messages to your users.\n\n{{< example class=\"flex flex-col items-center space-y-4\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-success\" class=\"flex items-center w-full max-w-sm p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-7 h-7 text-fg-success bg-success-soft rounded\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/></svg>\n        <span class=\"sr-only\">Check icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Item moved successfully.</div>\n    <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-success\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n</div>\n<div id=\"toast-danger\" class=\"flex items-center w-full max-w-sm p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-7 h-7 text-fg-danger bg-danger-soft rounded\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n        <span class=\"sr-only\">Error icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Item has been deleted.</div>\n    <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-danger\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n</div>\n<div id=\"toast-warning\" class=\"flex items-center w-full max-w-sm p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-7 h-7 text-fg-warning bg-warning-soft rounded\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V8m0 8h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span class=\"sr-only\">Warning icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Improve password difficulty.</div>\n    <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-warning\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n</div>\n\n{{< /example >}}\n\n## Simple toast\n\nThis component can be used to show simple messages and notifications without the use of a close button.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-simple\" class=\"flex items-center w-full max-w-sm p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <svg class=\"w-5 h-5 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m12 18-7 3 7-18 7 18-7-3Zm0 0v-5\"/></svg>\n    <div class=\"ms-2.5 text-sm border-s border-default ps-3.5\">Message sent successfully.</div>\n    <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-simple\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n</div>\n{{< /example >}}\n\n## Undo button\n\nUse this toast component to also show an \"undo\" button to reverse the action of the user.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-undo\" class=\"flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"text-sm font-normal\">\n       Conversation archived.\n    </div>\n    <div class=\"flex items-center ms-auto space-x-2 rtl:space-x-reverse\">\n        <a class=\"text-sm font-medium text-fg-brand hover:underline\" href=\"#\">Undo</a>\n        <button type=\"button\" class=\"ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-undo\" aria-label=\"Close\">\n            <span class=\"sr-only\">Close</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Toast message\n\nThis component can be used to show messages and a CTA button when receiving chat messages, comment notifications, and other use cases.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-message-cta\" class=\"relative flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"flex\">\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos image\"/>\n        <div class=\"ms-3 text-sm font-normal\">\n            <span class=\"text-base font-semibold text-heading\">Jese Leos</span>\n            <div class=\"mb-3 mt-1\">Hi Neil, thanks for sharing your thoughts regarding Flowbite.</div> \n            <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n                <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.5 8.046H11V6.119c0-.921-.9-1.446-1.524-.894l-5.108 4.49a1.2 1.2 0 0 0 0 1.739l5.108 4.49c.624.556 1.524.027 1.524-.893v-1.928h2a3.023 3.023 0 0 1 3 3.046V19a5.593 5.593 0 0 0-1.5-10.954Z\"/></svg>\n                Reply\n            </button> \n        </div>\n        <button type=\"button\" class=\"absolute top-2 end-2 ms-auto flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded text-sm h-8 w-8 focus:outline-none\" data-dismiss-target=\"#toast-message-cta\" aria-label=\"Close\">\n            <span class=\"sr-only\">Close</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Push notification\n\nThis component can be used to show notifications for an action from another user such as posting a comment, receiving a like, being tagged. You can show an avatar, icon, message, and the time of the notification.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-notification\" class=\"w-full space-y-4 max-w-xs p-3 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"flex items-center bg-neutral-tertiary py-2 px-2.5 rounded\">\n        <span class=\"text-sm font-medium text-heading\">New notification</span>\n    </div>\n    <div class=\"flex\">\n        <div class=\"relative inline-block shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese Leos image\"/>\n        </div>\n        <div class=\"ms-3 text-sm font-normal text-body\">\n            <div class=\"text-base font-medium text-heading\">Bonnie Green</div>\n            <div>commented on your photo</div> \n            <span class=\"text-xs text-fg-brand\">a few seconds ago</span>   \n        </div>\n    </div>\n    <div class=\"flex items-center space-x-3\">\n        <button type=\"button\" data-dismiss-target=\"#toast-notification\" class=\"w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Close</button>\n        <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n            <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14.5 8.046H11V6.119c0-.921-.9-1.446-1.524-.894l-5.108 4.49a1.2 1.2 0 0 0 0 1.739l5.108 4.49c.624.556 1.524.027 1.524-.893v-1.928h2a3.023 3.023 0 0 1 3 3.046V19a5.593 5.593 0 0 0-1.5-10.954Z\"/></svg>\n            Reply\n        </button> \n    </div>\n</div>\n\n{{< /example >}}\n\n## Interactive toast\n\nUse this interactive toast component to encourage users to make a certain action such as updating to the latest software version. You can set an icon, message, and two CTA buttons.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-interactive\" class=\"w-full space-y-4 max-w-xs p-3 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"flex\">\n        <div class=\"inline-flex items-center justify-center shrink-0 w-9 h-9 text-fg-brand bg-neutral-primary-medium rounded\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2\"/></svg>\n            <span class=\"sr-only\">Refresh icon</span>\n        </div>\n        <div class=\"ms-3 text-sm font-normal text-body\">\n            <span class=\"mb-1 text-base font-medium text-heading\">Update available</span>\n            <div class=\"mb-3\">A new software version is available for download.</div> \n            <div class=\"grid grid-cols-2 gap-3\">\n                <button type=\"button\" data-dismiss-target=\"#toast-interactive\" class=\"w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Not now</button>\n                <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n                    <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n                    Update\n                </button> \n            </div>    \n        </div>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Toast illustration\n\nThis example can be used to show a notification as a toast component with an illustration.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-illustration\" class=\"w-full space-y-4 max-w-sm p-3 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"flex items-start\">\n        <img src=\"/docs/images/illustrations/smartphone-application-features.svg\" class=\"dark:hidden w-24 h-auto max-w-full\" alt=\"Smartphone application features\">\n        <img src=\"/docs/images/illustrations/smartphone-application-features-dark.svg\" class=\"hidden w-24 h-auto dark:block\" alt=\"Smartphone application features\">\n        <div class=\"ms-4 text-sm font-normal text-body\">\n            <span class=\"mb-1 text-base font-medium text-heading\">Connect your wallet</span>\n            <div class=\"mb-3\">Connect your wallet by clicking the bottom-right blue button.</div> \n            <div class=\"grid grid-cols-2 gap-3\">\n                <button type=\"button\" data-dismiss-target=\"#toast-illustration\" class=\"w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Not now</button>\n                <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n                    <svg class=\"w-3.5 h-3.5 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12a28.076 28.076 0 0 1-1.091 9M7.231 4.37a8.994 8.994 0 0 1 12.88 3.73M2.958 15S3 14.577 3 12a8.949 8.949 0 0 1 1.735-5.307m12.84 3.088A5.98 5.98 0 0 1 18 12a30 30 0 0 1-.464 6.232M6 12a6 6 0 0 1 9.352-4.974M4 21a5.964 5.964 0 0 1 1.01-3.328 5.15 5.15 0 0 0 .786-1.926m8.66 2.486a13.96 13.96 0 0 1-.962 2.683M7.5 19.336C9 17.092 9 14.845 9 12a3 3 0 1 1 6 0c0 .749 0 1.521-.031 2.311M12 12c0 3 0 6-2 9\"/></svg>\n                    Connect\n                </button> \n            </div>    \n        </div>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Toast progress bar\n\nUse this example to show a toast component that is dismissble with a progress bar.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-interactive\" class=\"w-full space-y-4 max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-9 h-9 text-fg-brand bg-neutral-primary-medium rounded\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2\"/></svg>\n        <span class=\"sr-only\">Refresh icon</span>\n    </div>\n    <div class=\"text-sm font-normal text-body\">\n        <span class=\"mb-1 text-base font-medium text-heading\">Uploading in progress</span>\n        <div class=\"mb-4 mt-1\">Please wait while your file is being uploaded. This may take a moment.</div> \n        <div class=\"flex items-center space-x-2 mb-4\">\n            <div class=\"w-full bg-neutral-quaternary rounded-full h-1.5\">\n                <div class=\"bg-brand h-1.5 rounded-full\" style=\"width: 75%\"></div>\n            </div>\n            <div class=\"text-xs font-medium text-heading\">75%</div>\n        </div>\n        <div class=\"grid grid-cols-2 gap-3\">\n            <button type=\"button\" class=\"w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">Cancel upload</button>\n            <button type=\"button\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n                Go to uploads\n            </button> \n        </div>    \n    </div>\n</div>\n\n{{< /example >}}\n\n## Toast danger alert\n\nUse this example to show an alert to your users inside a toast component with a description.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-danger\" class=\"w-full max-w-xs p-4 mb-4 text-sm text-fg-danger-strong rounded-base bg-danger-soft border border-danger-subtle\" role=\"alert\">\n    <h3 class=\"font-semibold\">Whoops! Something went wrong</h3>\n    <div class=\"mt-2 mb-4\">\n        The file format is not supported. Please upload a valid file type <span class=\"font-medium\">(PDF, JPG, PNG)</span>.\n    </div>\n    <div class=\"flex items-center space-x-3\">\n        <button type=\"button\" class=\"inline-flex items-center text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n            <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01\"/></svg>\n            Try again\n        </button>\n        <button type=\"button\" data-dismiss-target=\"#toast-danger\" class=\"inline-flex items-center text-fg-danger bg-transparent box-border border border-danger hover:bg-danger-strong hover:border-danger-strong hover:text-white focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n            Close\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Toast warning alert\n\nThis example can be used to warn users before they perform a certain action inside a toast component.\n\n{{< example class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-warning\" class=\"w-full max-w-md p-4 mb-4 text-sm text-fg-warning rounded-base bg-warning-soft border border-warning-subtle\" role=\"alert\">\n  <div class=\"flex items-center justify-between\">\n    <div class=\"flex items-center\">\n      <svg class=\"w-4 h-4 shrink-0 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11h2v5m-2 0h4m-2.592-8.5h.01M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n      <span class=\"sr-only\">Info</span>\n      <h3 class=\"font-semibold\">Upload your invoice</h3>\n    </div>\n    <button type=\"button\" data-dismiss-target=\"#toast-warning\" aria-label=\"Close\" class=\"ms-auto -mx-1.5 -my-1.5 bg-warning-soft text-fg-warning-strong rounded focus:ring-2 focus:ring-warning-medium p-1.5 hover:bg-warning-medium inline-flex items-center justify-center h-8 w-8\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n    </button>\n  </div>\n  <div class=\"mt-2 mb-4\">\n    Upload your invoice in one of the supported formats <span class=\"font-medium\">(PDF, JPG, PNG)</span> with a maximum file size of <span class=\"font-medium\">5MB</span>. Ensure that all relevant details are visible for verification.\n  </div>\n    <div class=\"flex items-center space-x-3\">\n        <button type=\"button\" class=\"inline-flex items-center text-white bg-warning box-border border border-transparent hover:bg-warning-strong focus:ring-4 focus:ring-warning-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n            <svg class=\"w-3.5 h-3.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M21 12c0 1.2-4.03 6-9 6s-9-4.8-9-6c0-1.2 4.03-6 9-6s9 4.8 9 6Z\"/><path stroke=\"currentColor\" stroke-width=\"2\" d=\"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n            Upload invoice\n        </button>\n        <button type=\"button\" data-dismiss-target=\"#toast-warning\" class=\"inline-flex items-center text-fg-warning-subtle bg-transparent box-border border border-warning hover:bg-warning-strong hover:border-warning-strong hover:text-white focus:ring-4 focus:ring-warning-medium shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\">\n            Remind me later\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n## Positioning\n\nUse the `fixed` class from Tailwind CSS to position these toast components relative to the main content wrapper element from your document:\n\n-   Top left: `fixed top-5 left-5`\n-   Top right: `fixed top-5 right-5`\n-   Bottom left: `fixed bottom-5 left-5`\n-   Bottom right: `fixed bottom-5 right-5`\n\n{{< example github=\"components/toast.md\" class=\"relative h-56\" show_dark=true >}}\n\n<div id=\"toast-top-left\" class=\"fixed flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default top-5 start-5\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Top left positioning.</div>\n</div>\n<div id=\"toast-top-right\" class=\"fixed flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default top-5 end-5\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Top right positioning.</div>\n</div>\n<div id=\"toast-bottom-right\" class=\"fixed flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default end-5 bottom-5\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Bottom right positioning.</div>\n</div>\n<div id=\"toast-bottom-left\" class=\"fixed flex items-center w-full max-w-xs p-4 text-body bg-neutral-primary-soft rounded-base shadow-xs border border-default bottom-5 start-5\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Bottom left positioning.</div>\n</div>\n{{< /example >}}\n\nYou can set your own distance for the `top-*|right-*|bottom-*|left-*` positioning classes.\n\n## JavaScript behaviour\n\nPlease check out the <a href=\"{{< ref \"components/alerts\" >}}#javascript-behaviour\">Dismiss object</a> documentation to learn how to programmatically work with the toast component directly from JavaScript.\n"
  },
  {
    "path": "content/components/tooltips.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Tooltip - Flowbite\ndescription: Use the following Tailwind CSS powered tooltips to show extra content when hovering or focusing on an element\ngroup: components\ntoc: true\nrequires_js: true\n\nprevious: Toast\npreviousLink: components/toast/\n\nnext: Typography\nnextLink: components/typography/\n---\n\nFlowbite allows you to use the Tailwind CSS tooltip component to show extra information when hovering or focusing over an element in multiple positions, styles, and animations.\n\nBefore continuing, make sure that you have the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">Flowbite JavaScript file</a> included in your project in order to make the tooltip component work.\n\n## Default tooltip example\n\nTo get started with using tooltips all you need to do is add the `data-tooltip-target=\"{elementId}\"` data attribute to an element where `elementId` is the id of the tooltip component. In the following example you can see the button that will trigger the `tooltip-default` element to be shown when hovered or focused.\n\n{{< example class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-default\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Default tooltip</button>\n\n<div id=\"tooltip-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Tooltip styles\n\nYou can use choose between dark and light version styles for the tooltip component by changing the utility classes from Tailwind CSS and by applying the `data-tooltip-style=\"{light|dark}\"` data attribute.\n\n{{< example class=\"flex justify-center pt-8 \" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Light style tooltip -->\n\n<button data-tooltip-target=\"tooltip-light\" data-tooltip-style=\"light\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Light tooltip</button>\n\n<div id=\"tooltip-light\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-heading bg-neutral-primary-medium border border-default rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Dark style tooltip -->\n\n<button data-tooltip-target=\"tooltip-dark\" type=\"button\" class=\"ms-3 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Dark tooltip</button>\n\n<div id=\"tooltip-dark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Placement\n\nThe positioning of the tooltip element relative to the triggering element (eg. button, link) can be set using the `data-tooltip-placement=\"{top|right|bottom|left}\"` data attribute.\n\n{{< example class=\"flex flex-wrap justify-center py-8\" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Show tooltip on top -->\n\n<button data-tooltip-target=\"tooltip-top\" data-tooltip-placement=\"top\" type=\"button\" class=\"mb-2 md:mb-0 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip top</button>\n\n<div id=\"tooltip-top\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip on top\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on right -->\n\n<button data-tooltip-target=\"tooltip-right\" data-tooltip-placement=\"right\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip right</button>\n\n<div id=\"tooltip-right\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip on right\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on bottom -->\n\n<button data-tooltip-target=\"tooltip-bottom\" data-tooltip-placement=\"bottom\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip bottom</button>\n\n<div id=\"tooltip-bottom\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip on bottom\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on left -->\n\n<button data-tooltip-target=\"tooltip-left\" data-tooltip-placement=\"left\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip left</button>\n\n<div id=\"tooltip-left\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip on left\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Triggering\n\nYou can choose the triggering event by using the `data-tooltip-trigger=\"{hover|click}\"` data attributes to choose whether you want to show the tooltip when hovering or clicking on the element. By default this option is set to `hover`.\n\n{{< example class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Show tooltip on hover -->\n\n<button data-tooltip-target=\"tooltip-hover\" data-tooltip-trigger=\"hover\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip hover</button>\n\n<div id=\"tooltip-hover\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on click -->\n\n<button data-tooltip-target=\"tooltip-click\" data-tooltip-trigger=\"click\" type=\"button\" class=\"ms-3 text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Tooltip click</button>\n\n<div id=\"tooltip-click\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Animation\n\nYou can set tooltip animation styles by using the transition utility classes from Tailwind CSS. Make sure that you add `transition-opacity` and `duration-{x}` to set the animation duration.\n\n{{< example class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-animation\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Animated tooltip</button>\n\n<div id=\"tooltip-animation\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n## Disable arrow\n\nYou can also disable the tooltip arrow by not including the `data-popper-arrow` element.\n\n{{< example class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-no-arrow\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Default tooltip</button>\n\n<div id=\"tooltip-no-arrow\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n    Tooltip content\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nThe **Tooltip** class from Flowbite can be used to create an object that will show a tooltip element relative to the main trigger element, such as a button, based on the parameters, options, and methods that you provide.\n\n### Object parameters\n\nInitialize a Tooltip object with the object parameters including the trigger element, the tooltip content element, and extra options to set the positioning and offsets of the tooltip.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Apply the tooltip content element to show and hide it either using the methods or the hover or click status of the trigger element.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an element to trigger the tooltip when clicking or hovering (ie. a button, text).\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the positioning of the tooltip element, trigger type, offsets, and more.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Options\n\nUse the following options as the third parameter for the Tooltip class to set the positioning, offset, and the trigger type (hover or click) for the tooltip element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">placement</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the tooltip element relative to the trigger element choosing from <code class=\"text-fg-brand\">top|right|bottom|left</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the tooltip content choosing between <code class=\"text-fg-brand\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip is shown.\n                </td>\n            </tr>\n            <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip visibility is toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Methods\n\nUse the methods from the Tooltip object to programmatically show or hide the tooltip from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-neutral-secondary-soft text-heading\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to show the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to hide the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to toggle the visibility of the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b bg-neutral-primary border-default\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Tooltip object.\n\nFirst of all, set the target element as the tooltip itself and the trigger element which can be a button or text element.\n\nAfter that you can also set the options object to change the placement and trigger type of the tooltip, alongside with the callback functions.\n\n{{< code lang=\"javascript\" file=\"tooltip.js\" icon=\"file\" >}}\n// set the tooltip content element\nconst $targetEl = document.getElementById('tooltipContent');\n\n// set the element that trigger the tooltip using hover or click\nconst $triggerEl = document.getElementById('tooltipButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('tooltip is shown');\n    },\n    onShow: () => {\n        console.log('tooltip is hidden');\n    },\n    onToggle: () => {\n        console.log('tooltip is toggled');\n    },\n};\n\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'tooltipContent',\n  override: true\n};\n{{< /code >}}\n\nCreate a new Tooltip object based on the options above.\n\n{{< code lang=\"javascript\" file=\"tooltip.js\" icon=\"file\" >}}\nimport { Tooltip } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst tooltip = new Tooltip($targetEl, $triggerEl, options, instanceOptions);\n{{< /code >}}\n\nUse the `show` and `hide` methods on the Tooltip object to programmatically show and hide the tooltip element using JavaScript.\n\n{{< code lang=\"javascript\" >}}\n// show the tooltip\ntooltip.show();\n\n// hide the tooltip\ntooltip.hide();\n\n// toggle the tooltip\ntooltip.toggle();\n\n// destroy tooltip object (removes event listeners and off-canvas Popper.js)\ntooltip.destroy();\n\n// re-initialize tooltip object\ntooltip.init();\n{{< /code >}}\n\n### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"tooltip.html\" icon=\"file\" >}}\n<button\n    id=\"tooltipButton\"\n    type=\"button\"\n    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n    Default tooltip\n</button>\n<div\n    id=\"tooltipContent\"\n    role=\"tooltip\"\n    class=\"tooltip invisible absolute z-10 inline-block rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n>\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Tooltip class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"tooltip.ts\" icon=\"file\" >}}\nimport { Tooltip } from 'flowbite';\nimport type { TooltipOptions, TooltipInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the tooltip content element\nconst $targetEl: HTMLElement = document.getElementById('tooltipContent');\n\n// set the element that trigger the tooltip using hover or click\nconst $triggerEl: HTMLElement = document.getElementById('tooltipButton');\n\n// options with default values\nconst options: TooltipOptions = {\n    placement: 'top',\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('tooltip is shown');\n    },\n    onShow: () => {\n        console.log('tooltip is hidden');\n    },\n    onToggle: () => {\n        console.log('tooltip is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'tooltipContent',\n  override: true\n};\n\n/*\n * targetEl: required\n * triggerEl: required\n * options: optional\n */\nconst tooltip: TooltipInterface = new Tooltip($targetEl, $triggerEl, options, instanceOptions);\n\n// show the tooltip\ntooltip.show();\n{{< /code >}}\n"
  },
  {
    "path": "content/components/typography.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Typography - Flowbite\ndescription: Use the typography plugin from Flowbite to apply styles to all inline elements like headings, paragraphs, lists, and images using a single format class\ngroup: components\ntoc: true\n\nprevious: Tooltips\npreviousLink: components/tooltips/\nnext: QR Code\nnextLink: components/qr-code/\n---\n\nGet started with the [Flowbite Typography](https://github.com/themesberg/flowbite-typography) plugin forked from the official [Tailwind CSS Typography](https://tailwindcss.com/docs/typography-plugin) plugin to set a custom `format` class to a wrapper element to apply styles to all inline child elements such as headings, paragraphs, images, lists, and more and apply font sizes, font weights, colors, and spacings.\n\nYou can check out this [live demo](https://flowbite.com/plugins/typography/) to see how content inside an article will render like.\n\n## Getting started\n\nMake sure that you have both [Node.js](https://nodejs.org/) and [Tailwind CSS](https://tailwindcss.com/) already installed in your project.\n\n1. Install the Flowbite Typography plugin via NPM:\n\n{{< code lang=\"bash\" >}}\nnpm i -D flowbite-typography\n{{< /code >}}\n\n2. Import the `flowbite-typography` plugin inside your main Tailwind CSS file:\n\n{{< code lang=\"javascript\" >}}\n@plugin \"flowbite-typography\";\n{{< /code >}}\n\nAlternatively you can do the same but in your `tailwind.config.js` file:\n\n{{< code lang=\"javascript\" >}}\n// import the tailwind.config.js file in your main CSS file if using Tailwind CSS v4\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n{{< /code >}}\n\nNow you can go ahead and use the new formatting classes from the Flowbite Typography plugin.\n\n## Basic usage\n\nOnce you have installed the plugin inside your project you can add the `format` class to a wrapper element and use any type of inline elements such as headings, paragraphs, images, lists, captions, links, and tables.\n\nAll of these elements will be automatically styled with proper spacing, font sizing, font weight, colors, and more based on recommended UI/UX readability and accessibility standards.\n\n{{< code lang=\"html\" >}}\n<article class=\"format lg:format-lg\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <h2>When does design come in handy?</h2>\n    <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n    <ol>\n        <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n        <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n        <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n        <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n    </ol>\n</article>\n{{< /code >}}\n\nYou can also set the `lg:format-lg` class to set increase font sizes and spacings for larger viewport devices.\n\n## Link colors\n\nYou can update the default blue link color to anything you'd like by setting the `format-{color}` class:\n\n{{< code lang=\"html\" >}}\n<article class=\"format lg:format-lg format-red\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n</article>\n{{< /code >}}\n## Dark mode\n\nEnable dark mode for the typography by using the `dark:format-invert` class on the article wrapper element:\n\n{{< code lang=\"html\" >}}\n<article class=\"format lg:format-lg dark:format-invert\">\n    <h1>The content inside this article will invert when switching to dark mode</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <h2>When does design come in handy?</h2>\n    <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n    <ol>\n        <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n        <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n        <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n        <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n    </ol>\n</article>\n{{< /code >}}\n\n## Max width\n\nOverride the default maximum width by setting a custom `max-w-{size}` class next to the `format` class:\n\n{{< code lang=\"html\" >}}\n<article class=\"max-w-none format lg:format-lg format-red\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n</article>\n{{< /code >}}\n\n## Disable format\n\nIf you want to disable formatting inside the typography content you can use the `not-format` class:\n\n{{< code lang=\"html\" >}}\n<article class=\"format lg:format-lg dark:format-invert\">\n    <h1>The content inside this article will invert when switching to dark mode</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <!-- content that won't have styles applied -->\n    <div class=\"not-format\">\n        <h2>When does design come in handy?</h2>\n        <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n        <ol>\n            <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n            <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n            <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n            <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n        </ol>\n    </div>\n</article>\n{{< /code >}}\n\n## Options\n\nExtend the plugin's options inside the Tailwind configuration file to set your own colors, class name, and more.\n\n### Custom colors\n\nYou can set your own colors by extending the typography plugin inside the `tailwind.config.js` file:\n\n{{< code lang=\"javascript\" >}}\nmodule.exports = {\n  theme: {\n    extend: {\n      typography: ({ theme }) => ({\n        orange: {\n          css: {\n            '--tw-format-body': theme('colors.orange[500]'),\n            '--tw-format-headings': theme('colors.orange[900]'),\n            '--tw-format-lead': theme('colors.orange[500]'),\n            '--tw-format-links': theme('colors.orange[600]'),\n            '--tw-format-bold': theme('colors.orange[900]'),\n            '--tw-format-counters': theme('colors.orange[500]'),\n            '--tw-format-bullets': theme('colors.orange[500]'),\n            '--tw-format-hr': theme('colors.orange[200]'),\n            '--tw-format-quotes': theme('colors.orange[900]'),\n            '--tw-format-quote-borders': theme('colors.orange[300]'),\n            '--tw-format-captions': theme('colors.orange[700]'),\n            '--tw-format-code': theme('colors.orange[900]'),\n            '--tw-format-code-bg': theme('colors.orange[50]'),\n            '--tw-format-pre-code': theme('colors.orange[100]'),\n            '--tw-format-pre-bg': theme('colors.orange[900]'),\n            '--tw-format-th-borders': theme('colors.orange[300]'),\n            '--tw-format-td-borders': theme('colors.orange[200]'),\n            '--tw-format-th-bg': theme('colors.orange[50]'),\n            '--tw-format-invert-body': theme('colors.orange[200]'),\n            '--tw-format-invert-headings': theme('colors.white'),\n            '--tw-format-invert-lead': theme('colors.orange[300]'),\n            '--tw-format-invert-links': theme('colors.white'),\n            '--tw-format-invert-bold': theme('colors.white'),\n            '--tw-format-invert-counters': theme('colors.orange[400]'),\n            '--tw-format-invert-bullets': theme('colors.orange[600]'),\n            '--tw-format-invert-hr': theme('colors.orange[700]'),\n            '--tw-format-invert-quotes': theme('colors.pink[100]'),\n            '--tw-format-invert-quote-borders': theme('colors.orange[700]'),\n            '--tw-format-invert-captions': theme('colors.orange[400]'),\n            '--tw-format-invert-code': theme('colors.white'),\n            '--tw-format-invert-pre-code': theme('colors.orange[300]'),\n            '--tw-format-invert-pre-bg': 'rgb(0 0 0 / 50%)',\n            '--tw-format-invert-th-borders': theme('colors.orange[600]'),\n            '--tw-format-invert-td-borders': theme('colors.orange[700]'),\n            '--tw-format-invert-th-bg': theme('colors.orange[700]'),\n          },\n        },\n      }),\n    },\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n{{< /code >}}\n\nNow you can use the `format-red` class and apply these styles.\n\n### Wrapper class\n\nChange the default `format` class to your own choosing by updating the `tailwind.config.js` file:\n\n{{< code lang=\"javascript\" >}}\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography')({\n      className: 'custom-class',\n    }),\n  ]\n  ...\n}\n{{< /code >}}\n\n### Custom CSS\n\nYou can also customize the default CSS by extending the `css` key value pair from the Tailwind configuration file:\n\n{{< code lang=\"javascript\" >}}\nmodule.exports = {\n  theme: {\n    extend: {\n      typography: {\n        DEFAULT: {\n          css: {\n            color: '#666',\n            a: {\n              color: '#3182ce',\n              '&:hover': {\n                color: '#2c5282',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n{{< /code >}}\n\n## Blog templates\n\nYou can check out the following [blog template](https://flowbite.com/blocks/publisher/blog-templates/) layouts from Flowbite Blocks that use the Typography plugin.\n"
  },
  {
    "path": "content/components/video.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Video - Flowbite\ndescription: Use the video component to configure an embedded video player using native HTML 5 functionality based on the utility classes from Tailwind CSS\ngroup: components\ntoc: true\n\nprevious: QR Code\npreviousLink: components/qr-code/\nnext: Input field\nnextLink: forms/input-field/\n---\n\nGet started with the video component to embed internal video source into a native HTML 5 video player and set custom options such as autoplay or muted to enhance the user experience.\n\n## Video player\n\nUse this example to create a native browser video player and apply the `w-full` utility class from Tailwind CSS to span the full width of the parent container.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n## Autoplay\n\nUse the `autoplay` attribute on the video component to automatically start the video when the page has been loaded.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n## Muted\n\nUse the `muted` attribute together with the `autoplay` option to start the video while the sound is muted.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full rounded-base\" autoplay muted controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n## Sizes\n\nSet the width and height of the video component using the `w-{size}` and `h-{size}` utility classes from Tailwind CSS.\n\n### Width\n\nUse the `w-{size}` class to set the width of the video component.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-96 rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n### Height\n\nUse the `h-{size}` class to set the height of the video player.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"h-80 rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n### Responsive\n\nUse the following example to make the video responsive across all devices and viewports.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full h-auto max-w-full rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n## Custom styles\n\nCustomize the video player appearance using the utility classes from Tailwind CSS such as `rounded-{size}` or `border` to set rounded-sm corners and border.\n\n{{< example github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full h-auto max-w-full border border-default rounded-base\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}"
  },
  {
    "path": "content/customize/_index.html",
    "content": "---\nlayout: redirect\nsitemap_exclude: true\nredirect: \"/docs/customize/configuration/\"\n---"
  },
  {
    "path": "content/customize/colors.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Colors - Flowbite\ndescription: Customize the default colors of Flowbite using the default color variables from the Tailwind CSS framework\ngroup: customize\ntoc: true\n\nprevious: Theming\npreviousLink: customize/theming/\nnext: Icons\nnextLink: customize/icons/\n---\n\nSince the Tailwind v4 update the default and recommended way of managing and using colors is with native CSS variables. The color variables from Tailwind CSS can be used to set colors for text elements, borders, backgrounds, focus rings, and more.\n\n## Default color palette\n\nThe Flowbite UI library has a carefully selected color pallette to meet aesthetic and accessibility demands and here's a list of the default colors that are available in our design system and the UI library.\n\n<div class=\"grid grid-cols-1 gap-8 my-12\">\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Gray</div>\n               <div><code class=\"text-xs text-gray-500\">colors.coolGray</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-gray-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F9FAFB</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F3F4F6</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E5E7EB</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#D1D5DB</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#9CA3AF</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#6B7280</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#4B5563</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#374151</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#1F2937</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-gray-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#111827</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Red</div>\n               <div><code class=\"text-xs text-gray-500\">colors.red</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-red-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FDF2F2</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FDE8E8</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FBD5D5</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F8B4B4</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F98080</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F05252</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E02424</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#C81E1E</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#9B1C1C</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-red-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#771D1D</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Yellow</div>\n               <div><code class=\"text-xs text-gray-500\">colors.amber</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-yellow-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FDFDEA</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FDF6B2</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FCE96A</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FACA15</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E3A008</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#C27803</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#9F580A</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#8E4B10</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#723B13</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-yellow-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#633112</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Green</div>\n               <div><code class=\"text-xs text-gray-500\">colors.emerald</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-green-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F3FAF7</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#DEF7EC</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#BCF0DA</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#84E1BC</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#31C48D</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#0E9F6E</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#057A55</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#046C4E</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#03543F</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-green-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#014737</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Blue</div>\n               <div><code class=\"text-xs text-gray-500\">colors.blue</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-blue-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#EBF5FF</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E1EFFE</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#C3DDFD</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#A4CAFE</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#76A9FA</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#3F83F8</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#1C64F2</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#1A56DB</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#1E429F</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-blue-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#233876</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Indigo</div>\n               <div><code class=\"text-xs text-gray-500\">colors.indigo</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-indigo-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F0F5FF</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E5EDFF</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#CDDBFE</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#B4C6FC</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#8DA2FB</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#6875F5</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#5850EC</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#5145CD</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#42389D</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-indigo-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#362F78</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Purple</div>\n               <div><code class=\"text-xs text-gray-500\">colors.violet</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-purple-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F6F5FF</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#EDEBFE</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#DCD7FE</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#CABFFD</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#AC94FA</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#9061F9</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#7E3AF2</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#6C2BD9</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#5521B5</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-purple-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#4A1D96</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n   <div>\n      <div class=\"flex flex-col space-y-3 text-xs sm:flex-row sm:space-y-0 sm:space-x-4\">\n         <div class=\"shrink-0 w-32\">\n            <div class=\"flex flex-col justify-center h-10\">\n               <div class=\"text-sm font-semibold text-gray-900 dark:text-gray-400\">Pink</div>\n               <div><code class=\"text-xs text-gray-500\">colors.pink</code></div>\n            </div>\n         </div>\n         <div class=\"grid flex-1 min-w-0 grid-cols-5 gap-y-3 gap-x-4 2xl:grid-cols-10 2xl:gap-x-2\">\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 rounded-sm bg-pink-50\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">50</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FDF2F8</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-100 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">100</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FCE8F3</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-200 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">200</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#FAD1E8</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-300 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">300</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F8B4D9</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-400 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">400</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#F17EB8</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-500 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">500</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#E74694</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-600 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">600</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#D61F69</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-700 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">700</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#BF125D</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-800 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">800</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#99154B</div>\n               </div>\n            </div>\n            <div class=\"space-y-1.5\">\n               <div class=\"w-full h-10 bg-pink-900 rounded-sm\"></div>\n               <div class=\"px-0.5 md:flex md:justify-between md:space-x-2 2xl:space-x-0 2xl:block\">\n                  <div class=\"w-6 font-medium text-gray-900 dark:text-gray-400\">900</div>\n                  <div class=\"text-gray-900 dark:text-gray-400\">#751A3D</div>\n               </div>\n            </div>\n         </div>\n      </div>\n   </div>\n</div>\n\n## Customize colors\n\nIf you'd like to customize the current colors or introduce new ones you can do so by creating new color variables `--color-{name}` and this color will be available for all text, background and border colors:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* main text color */\n    --color-body: var(--color-stone-600);\n    --color-body-subtle: var(--color-stone-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-stone-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-stone-950);\n    --color-fg-brand-strong: var(--color-stone-900);\n}\n{{< /code >}}"
  },
  {
    "path": "content/customize/configuration.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Configuration - Flowbite\ndescription: Learn how to customize the default Flowbite and Tailwind CSS options and styles\ngroup: customize\ntoc: true\n\nprevious: MCP UI\npreviousLink: getting-started/mcp-ui/\nnext: Variables\nnextLink: customize/variables/\n---\n\nSince the release of Tailwind v4, the configuration file that you've previously used to set options has now been moved to your main CSS file where you can import modules, plugins, set new variables like colors and fonts, set the custom source files, and more.\n\nBefore continuing, please make sure that you have installed both Flowbite and the latest version of Tailwind.\n\n## Getting started\n\nYou will probably want to be able to add your own colors, fonts, sizings, shadows, and other styles to the default set of utility classes from Flowbite and Tailwind CSS. In order to do that, you can set most of these options in your main CSS file that gets compiled by Tailwind.\n\nHere's an example of a simple configuration where we import plugins, set the source files, customize variables for colors and fonts, and set the dark mode strategy to use class name:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme {\n    /* main text color */\n    --color-body: var(--color-stone-600);\n    --color-body-subtle: var(--color-stone-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-stone-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-stone-950);\n    --color-fg-brand-strong: var(--color-stone-900);\n    \n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n{{< /code >}}\n\nUsing this example is a good starting point for any project created using Flowbite and Tailwind CSS.\n\n## Theming variables\n\nYou can customize colors, fonts, spacings, and other styles using native variables in your main CSS file.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* main text color */\n    --color-body: var(--color-stone-600);\n    --color-body-subtle: var(--color-stone-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-stone-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-stone-950);\n    --color-fg-brand-strong: var(--color-stone-900);\n\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n\n    --spacing-custom: 10px;\n\n    --breakpoint-xs: 30rem;\n    --breakpoint-2xl: 100rem;\n    --breakpoint-3xl: 120rem;\n}\n{{< /code >}}\n\nThe example above adds a new color palette, fonts, a custom spacing variable and new media breakpoints.\n\nAll of these styles will be propagated to the utility classes provided by Tailwind CSS.\n\n## Custom utilities\n\nYou can add custom utilities by using the `@utility` directive in your CSS file.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@utility custom-url {\n  color: --color-primary-600;\n  text-decoration: underline;\n}\n{{< /code >}}\n\nNow you can use the `custom-url` class to add an underline and primary color to the target element.\n\n## Custom variants\n\nUse the `@variant` direct in native CSS to target states such as hover, focus, dark mode, and more.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n.element {\n  text-decoration: underline;\n\n  @variant hover {\n    text-decoration: no-underline;\n  }\n}\n{{< /code >}}\n\n## Import plugins\n\nYou can import third party plugins using the `@plugin` directive in your CSS file.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@plugin \"flowbite-typography\";\n{{< /code >}}\n\n## Source\n\nTailwind CSS automatically detects source files, but ignores a few folders such as your `node_modules`.\n\nHere's how you can explicictly set the source files in your main CSS file:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\nThis will scan the Flowbite folder inside your installed packages for Tailwind classes.\n\n## Config\n\nUse the `@config` directive to import old `tailwind.config.js` files to copy your options.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@config \"../tailwind.config.js\";\n{{< /code >}}\n\n## Prefixes\n\nYou can use the `prefix` object to set a prefix for all of the classes generated by Flowbite and Tailwind CSS.\n\nFor example, you can add the `fb-` prefix like so:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\" prefix(fb);\n{{< /code >}}\n\nDoing so it will add the prefix to all of the classes.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n.fb-text-left {\n  text-align: left;\n}\n.fb-text-center {\n  text-align: center;\n}\n.fb-text-right {\n  text-align: right;\n}\n/* etc. */\n{{< /code >}}\n\n## Reference\n\nIf you'd like to browse the full list of configurable options, please visit the official <a href=\"https://tailwindcss.com/docs/functions-and-directives\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS configuration</a>."
  },
  {
    "path": "content/customize/dark-mode.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Dark Mode - Flowbite\ndescription: Learn how to configure and build a dark mode switcher for Tailwind CSS using Flowbite and start developing with the components from the library\ngroup: customize\ntoc: true\n\nprevious: Variables\npreviousLink: customize/variables/\nnext: Theming\nnextLink: customize/theming/\n---\n\nOffering a dark version for your website is more of an expected feature rather than a nice to have nowadays. Luckily, Tailwind CSS has a dark mode functionality enabled and the components from Flowbite also support it by using the \"class\" option.\n\nLearn how to enable and build a dark version switcher for Tailwind CSS and Flowbite by using JavaScript and the main CSS file by following the steps described below.\n\n## Enable dark mode\n\nAll you need to do to enable dark mode for your Tailwind CSS project and Flowbite components is to add the following code inside your main `input.css` file and then add the `dark` class on your `html` element.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css */\n@custom-variant dark (&:where(.dark, .dark *));\n{{< /code >}}\n\nIf you install the Flowbite Plugin inside your Tailwind project then dark mode via the class method will work automatically as we do this for you by default.\n\nAlternatively, you can also just use the \"media\" option to automatically set the dark or light theme based on the browser's color scheme preference which is the default setting in Tailwind CSS.\n\n## Dark mode switcher\n\nIf you want to create a dark mode switcher for Tailwind CSS and Flowbite you'll have to add some JavaScript code and a toggle element that a user can use to change their preferences.\n\n1. Toggle dark mode by checking user preference in the `<head>` tag of your HTML:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<script>\n    // On page load or when changing themes, best to add inline in `head` to avoid FOUC\n    if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n        document.documentElement.classList.add('dark');\n    } else {\n        document.documentElement.classList.remove('dark')\n    }\n</script>\n{{< /code >}}\n\nThis will first check if you've previously set the theme color preference manually using the local storage and as a fallback it will either set the dark or light mode based on your browser color scheme preference.\n\n2. Create a `<button>` element that can be interacted with to manually change the theme color:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<button id=\"theme-toggle\" type=\"button\" class=\"text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5\">\n    <svg id=\"theme-toggle-dark-icon\" class=\"hidden w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z\"></path></svg>\n    <svg id=\"theme-toggle-light-icon\" class=\"hidden w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"></path></svg>\n</button>\n{{< /code >}}\n\nIn this example we used a `<button>` component where we change the icon inside based on the current color scheme. You can also use other elements, such as the [toggle component]({{< ref \"components/forms\" >}}).\n\n3. Add the following JavaScript inside your main file to handle the click events on the `<button>` element:\n\n{{< code lang=\"javascript\" file=\"index.js\" icon=\"file\" >}}\nvar themeToggleDarkIcon = document.getElementById('theme-toggle-dark-icon');\nvar themeToggleLightIcon = document.getElementById('theme-toggle-light-icon');\n\n// Change the icons inside the button based on previous settings\nif (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n    themeToggleLightIcon.classList.remove('hidden');\n} else {\n    themeToggleDarkIcon.classList.remove('hidden');\n}\n\nvar themeToggleBtn = document.getElementById('theme-toggle');\n\nthemeToggleBtn.addEventListener('click', function() {\n\n    // toggle icons inside button\n    themeToggleDarkIcon.classList.toggle('hidden');\n    themeToggleLightIcon.classList.toggle('hidden');\n\n    // if set via local storage previously\n    if (localStorage.getItem('color-theme')) {\n        if (localStorage.getItem('color-theme') === 'light') {\n            document.documentElement.classList.add('dark');\n            localStorage.setItem('color-theme', 'dark');\n        } else {\n            document.documentElement.classList.remove('dark');\n            localStorage.setItem('color-theme', 'light');\n        }\n\n    // if NOT set via local storage previously\n    } else {\n        if (document.documentElement.classList.contains('dark')) {\n            document.documentElement.classList.remove('dark');\n            localStorage.setItem('color-theme', 'light');\n        } else {\n            document.documentElement.classList.add('dark');\n            localStorage.setItem('color-theme', 'dark');\n        }\n    }\n    \n});\n{{< /code >}}\n\nThis script changes the icon inside the button based on previous preferences and also handles the click events by setting the dark mode preference using local storage and also adding or removing the `dark` class from the main `<html>` tag.\n\n## Customize components\n\nBy using the components from Flowbite you automatically receive dark mode support because of the `dark:{*}` class variant, however, if you would like to customize the appearance of these components when in dark mode all you need to do is change the styles for these class variants.\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<div class=\"bg-white dark:bg-gray-800\">\n  <h1 class=\"text-gray-900 dark:text-white\">Dark mode</h1>\n  <p class=\"text-gray-600 dark:text-gray-300\">\n    Lorem ipsum...\n  </p>\n</div>\n{{< /code >}}\n\nAs you can see, when dark mode is activated the `.bg-gray-800` and `.text-white` takes over the default `.bg-white` and `.text-gray-900` classes. You can add as many styles using the `dark:{*}` variant."
  },
  {
    "path": "content/customize/icons.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Icons - Flowbite\ndescription: Use a free and open-source set of SVG icons built for Tailwind CSS and the Flowbite UI component library featuring hundreds of solid and outline styles\ngroup: customize\ntoc: true\n\nprevious: Colors\npreviousLink: customize/colors/\nnext: RTL\nnextLink: customize/rtl/\n---\n\n## SVG icons\n\nThe icons used in Flowbite can be found at the [Flowbite Icons](https://flowbite.com/icons/) page where you can configure the options, styles and code format (raw SVG or JSX for React) when integrating the icons into your project.\n\nThe icons use the utility classes from Tailwind CSS for sizing and colors which means that it is perfectly compatible with your Tailwind CSS and Flowbite project.\n\n{{< example github=\"customize/icons.md\" class=\"grid grid-cols-10 gap-5\" show_dark=true >}}\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n    <path d=\"M16 0H4a2 2 0 0 0-2 2v1H1a1 1 0 0 0 0 2h1v2H1a1 1 0 0 0 0 2h1v2H1a1 1 0 0 0 0 2h1v2H1a1 1 0 0 0 0 2h1v1a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5.5 4.5a3 3 0 1 1 0 6 3 3 0 0 1 0-6ZM13.929 17H7.071a.5.5 0 0 1-.5-.5 3.935 3.935 0 1 1 7.858 0 .5.5 0 0 1-.5.5Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 4H1m3 4H1m3 4H1m3 4H1m6.071.286a3.429 3.429 0 1 1 6.858 0M4 1h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Zm9 6.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M1 5h1.424a3.228 3.228 0 0 0 6.152 0H19a1 1 0 1 0 0-2H8.576a3.228 3.228 0 0 0-6.152 0H1a1 1 0 1 0 0 2Zm18 4h-1.424a3.228 3.228 0 0 0-6.152 0H1a1 1 0 1 0 0 2h10.424a3.228 3.228 0 0 0 6.152 0H19a1 1 0 0 0 0-2Zm0 6H8.576a3.228 3.228 0 0 0-6.152 0H1a1 1 0 0 0 0 2h1.424a3.228 3.228 0 0 0 6.152 0H19a1 1 0 0 0 0-2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.75 4H19M7.75 4a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 4h2.25m13.5 6H19m-2.25 0a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 10h11.25m-4.5 6H19M7.75 16a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 16h2.25\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M5 11.424V1a1 1 0 1 0-2 0v10.424a3.228 3.228 0 0 0 0 6.152V19a1 1 0 1 0 2 0v-1.424a3.228 3.228 0 0 0 0-6.152ZM19.25 14.5A3.243 3.243 0 0 0 17 11.424V1a1 1 0 0 0-2 0v10.424a3.227 3.227 0 0 0 0 6.152V19a1 1 0 1 0 2 0v-1.424a3.243 3.243 0 0 0 2.25-3.076Zm-6-9A3.243 3.243 0 0 0 11 2.424V1a1 1 0 0 0-2 0v1.424a3.228 3.228 0 0 0 0 6.152V19a1 1 0 1 0 2 0V8.576A3.243 3.243 0 0 0 13.25 5.5Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 8\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 5.326 5.7a.909.909 0 0 0 1.348 0L13 1\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 8 14\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 1 1.3 6.326a.91.91 0 0 0 0 1.348L7 13\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 8 14\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 13 5.7-5.326a.909.909 0 0 0 0-1.348L1 1\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 8\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 7 7.674 1.3a.91.91 0 0 0-1.348 0L1 7\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n    <path d=\"M18 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h3.546l3.2 3.659a1 1 0 0 0 1.506 0L13.454 14H18a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-8 10H5a1 1 0 0 1 0-2h5a1 1 0 1 1 0 2Zm5-4H5a1 1 0 0 1 0-2h10a1 1 0 1 1 0 2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 5h9M5 9h5m8-8H2a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h4l3.5 4 3.5-4h5a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n    <path d=\"M19 0H1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1ZM2 6v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6H2Zm11 3a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 2 0h2a1 1 0 0 1 2 0v1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n    <path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v1h4V8m4 7H4a1 1 0 0 1-1-1V5h14v9a1 1 0 0 1-1 1ZM2 1h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n    <path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v1h4V8m4 7H4a1 1 0 0 1-1-1V5h14v9a1 1 0 0 1-1 1ZM2 1h16a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1v12m0 0 4-4m-4 4L1 9\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 8h11m0 0-4-4m4 4-4 4m-5 3H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h3\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V1m0 0L1 4m3-3 3 3m4-3h6l-6 6h6m-7 10 3.5-7 3.5 7m-6.125-2H16\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n    <path d=\"M17 0h-5.768a1 1 0 1 0 0 2h3.354L8.4 8.182A1.003 1.003 0 1 0 9.818 9.6L16 3.414v3.354a1 1 0 0 0 2 0V1a1 1 0 0 0-1-1Z\"/>\n    <path d=\"m14.258 7.985-3.025 3.025A3 3 0 1 1 6.99 6.768l3.026-3.026A3.01 3.01 0 0 1 8.411 2H2.167A2.169 2.169 0 0 0 0 4.167v11.666A2.169 2.169 0 0 0 2.167 18h11.666A2.169 2.169 0 0 0 16 15.833V9.589a3.011 3.011 0 0 1-1.742-1.604Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 14 3-3m-3 3 3 3m-3-3h16v-3m2-7-3 3m3-3-3-3m3 3H3v3\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 10v4H1l3 3M3 8V4h16l-3-3M9 8l2-1v4\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 22 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M7.24 7.194a24.16 24.16 0 0 1 3.72-3.062m0 0c3.443-2.277 6.732-2.969 8.24-1.46 2.054 2.053.03 7.407-4.522 11.959-4.552 4.551-9.906 6.576-11.96 4.522C1.223 17.658 1.89 14.412 4.121 11m6.838-6.868c-3.443-2.277-6.732-2.969-8.24-1.46-2.054 2.053-.03 7.407 4.522 11.959m3.718-10.499a24.16 24.16 0 0 1 3.719 3.062M17.798 11c2.23 3.412 2.898 6.658 1.402 8.153-1.502 1.503-4.771.822-8.2-1.433m1-6.808a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n    <path d=\"M10.819.4a1.974 1.974 0 0 0-2.147.33l-6.5 5.773A2.014 2.014 0 0 0 2 6.7V1a1 1 0 0 0-2 0v14a1 1 0 1 0 2 0V9.3c.055.068.114.133.177.194l6.5 5.773a1.982 1.982 0 0 0 2.147.33A1.977 1.977 0 0 0 12 13.773V2.227A1.977 1.977 0 0 0 10.819.4Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1v14m8.336-.479-6.5-5.774a1 1 0 0 1 0-1.494l6.5-5.774A1 1 0 0 1 11 2.227v11.546a1 1 0 0 1-1.664.748Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path fill=\"currentColor\" d=\"m18.774 8.245-.892-.893a1.5 1.5 0 0 1-.437-1.052V5.036a2.484 2.484 0 0 0-2.48-2.48H13.7a1.5 1.5 0 0 1-1.052-.438l-.893-.892a2.484 2.484 0 0 0-3.51 0l-.893.892a1.5 1.5 0 0 1-1.052.437H5.036a2.484 2.484 0 0 0-2.48 2.481V6.3a1.5 1.5 0 0 1-.438 1.052l-.892.893a2.484 2.484 0 0 0 0 3.51l.892.893a1.5 1.5 0 0 1 .437 1.052v1.264a2.484 2.484 0 0 0 2.481 2.481H6.3a1.5 1.5 0 0 1 1.052.437l.893.892a2.484 2.484 0 0 0 3.51 0l.893-.892a1.5 1.5 0 0 1 1.052-.437h1.264a2.484 2.484 0 0 0 2.481-2.48V13.7a1.5 1.5 0 0 1 .437-1.052l.892-.893a2.484 2.484 0 0 0 0-3.51Z\"/>\n    <path fill=\"#fff\" d=\"M8 13a1 1 0 0 1-.707-.293l-2-2a1 1 0 1 1 1.414-1.414l1.42 1.42 5.318-3.545a1 1 0 0 1 1.11 1.664l-6 4A1 1 0 0 1 8 13Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 21 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6.072 10.072 2 2 6-4m3.586 4.314.9-.9a2 2 0 0 0 0-2.828l-.9-.9a2 2 0 0 1-.586-1.414V5.072a2 2 0 0 0-2-2H13.8a2 2 0 0 1-1.414-.586l-.9-.9a2 2 0 0 0-2.828 0l-.9.9a2 2 0 0 1-1.414.586H5.072a2 2 0 0 0-2 2v1.272a2 2 0 0 1-.586 1.414l-.9.9a2 2 0 0 0 0 2.828l.9.9a2 2 0 0 1 .586 1.414v1.272a2 2 0 0 0 2 2h1.272a2 2 0 0 1 1.414.586l.9.9a2 2 0 0 0 2.828 0l.9-.9a2 2 0 0 1 1.414-.586h1.272a2 2 0 0 0 2-2V13.8a2 2 0 0 1 .586-1.414Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 17 14\">\n    <path d=\"M16 2H1a1 1 0 0 1 0-2h15a1 1 0 1 1 0 2Zm0 6H1a1 1 0 0 1 0-2h15a1 1 0 1 1 0 2Zm0 6H1a1 1 0 0 1 0-2h15a1 1 0 0 1 0 2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n    <path d=\"M12.133 10.632v-1.8A5.406 5.406 0 0 0 7.979 3.57.946.946 0 0 0 8 3.464V1.1a1 1 0 0 0-2 0v2.364a.946.946 0 0 0 .021.106 5.406 5.406 0 0 0-4.154 5.262v1.8C1.867 13.018 0 13.614 0 14.807 0 15.4 0 16 .538 16h12.924C14 16 14 15.4 14 14.807c0-1.193-1.867-1.789-1.867-4.175ZM3.823 17a3.453 3.453 0 0 0 6.354 0H3.823Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 3.464V1.1m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175C15 15.4 15 16 14.462 16H1.538C1 16 1 15.4 1 14.807c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 8 3.464ZM4.54 16a3.48 3.48 0 0 0 6.92 0H4.54Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M15.133 10.632v-1.8a5.407 5.407 0 0 0-4.154-5.262.955.955 0 0 0 .021-.106V1.1a1 1 0 0 0-2 0v2.364a.944.944 0 0 0 .021.106 5.406 5.406 0 0 0-4.154 5.262v1.8C4.867 13.018 3 13.614 3 14.807 3 15.4 3 16 3.538 16h12.924C17 16 17 15.4 17 14.807c0-1.193-1.867-1.789-1.867-4.175Zm-13.267-.8a1 1 0 0 1-1-1 9.424 9.424 0 0 1 2.517-6.39A1.001 1.001 0 1 1 4.854 3.8a7.431 7.431 0 0 0-1.988 5.037 1 1 0 0 1-1 .995Zm16.268 0a1 1 0 0 1-1-1A7.431 7.431 0 0 0 15.146 3.8a1 1 0 0 1 1.471-1.354 9.425 9.425 0 0 1 2.517 6.391 1 1 0 0 1-1 .995ZM6.823 17a3.453 3.453 0 0 0 6.354 0H6.823Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9.046 3.59-.435-2.324m.435 2.324a5.338 5.338 0 0 1 6.033 4.333l.331 1.77c.439 2.344 2.383 2.587 2.599 3.76.11.586.22 1.171-.309 1.271L5 17.101c-.529.1-.639-.488-.749-1.074-.219-1.172 1.506-2.102 1.067-4.447l-.331-1.769a5.338 5.338 0 0 1 4.059-6.22Zm-7.13 4.602a8.472 8.472 0 0 1 2.17-5.048m2.646 13.633A3.472 3.472 0 0 0 13.46 16l.089-.5-6.817 1.277Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 19 20\">\n    <path d=\"M18.012 13.453c-.219-1.173-2.163-1.416-2.6-3.76l-.041-.217c0 .006 0-.005-.007-.038v.021l-.017-.09-.005-.025v-.006l-.265-1.418a5.406 5.406 0 0 0-5.051-4.408.973.973 0 0 0 0-.108L9.6 1.082a1 1 0 0 0-1.967.367l.434 2.325a.863.863 0 0 0 .039.1A5.409 5.409 0 0 0 4.992 9.81l.266 1.418c0-.012 0 0 .007.037v-.007l.006.032.009.046v-.01l.007.038.04.215c.439 2.345-1.286 3.275-1.067 4.447.11.586.22 1.173.749 1.074l12.7-2.377c.523-.098.413-.684.303-1.27ZM1.917 9.191h-.074a1 1 0 0 1-.924-1.07 9.446 9.446 0 0 1 2.426-5.648 1 1 0 1 1 1.482 1.343 7.466 7.466 0 0 0-1.914 4.449 1 1 0 0 1-.996.926Zm5.339 8.545A3.438 3.438 0 0 0 10 19.1a3.478 3.478 0 0 0 3.334-2.5l-6.078 1.136Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3.464V1.1m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175C17 15.4 17 16 16.462 16H3.538C3 16 3 15.4 3 14.807c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 10 3.464ZM1.866 8.832a8.458 8.458 0 0 1 2.252-5.714m14.016 5.714a8.458 8.458 0 0 0-2.252-5.714M6.54 16a3.48 3.48 0 0 0 6.92 0H6.54Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M15.133 10.632v-1.8a5.406 5.406 0 0 0-4.154-5.262.955.955 0 0 0 .021-.106V1.1a1 1 0 0 0-2 0v2.364a.946.946 0 0 0 .021.106 5.406 5.406 0 0 0-4.154 5.262v1.8C4.867 13.018 3 13.614 3 14.807 3 15.4 3 16 3.538 16h12.924C17 16 17 15.4 17 14.807c0-1.193-1.867-1.789-1.867-4.175ZM4 4a1 1 0 0 1-.707-.293l-1-1a1 1 0 0 1 1.414-1.414l1 1A1 1 0 0 1 4 4ZM2 8H1a1 1 0 0 1 0-2h1a1 1 0 1 1 0 2Zm14-4a1 1 0 0 1-.707-1.707l1-1a1 1 0 1 1 1.414 1.414l-1 1A1 1 0 0 1 16 4Zm3 4h-1a1 1 0 1 1 0-2h1a1 1 0 1 1 0 2ZM6.823 17a3.453 3.453 0 0 0 6.354 0H6.823Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 21\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3.464V1.1m0 2.365a5.338 5.338 0 0 1 5.133 5.368v1.8c0 2.386 1.867 2.982 1.867 4.175C17 15.4 17 16 16.462 16H3.538C3 16 3 15.4 3 14.807c0-1.193 1.867-1.789 1.867-4.175v-1.8A5.338 5.338 0 0 1 10 3.464ZM4 3 3 2M2 7H1m15-4 1-1m1 5h1M6.54 16a3.48 3.48 0 0 0 6.92 0H6.54Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n    <path d=\"M5.022 4.764c.489 0 .75-.37.8-.856l.188-1.877A.952.952 0 0 0 5.063.985H2.791a1.127 1.127 0 0 0-1.067.749A16.11 16.11 0 0 0 1 7a16.737 16.737 0 0 0 .743 5.242c.154.463 1.748.773 2.236.773H5a.95.95 0 0 0 .946-1.046l-.188-1.877a.95.95 0 0 0-.946-.856h-.761A14.627 14.627 0 0 1 3.937 7c-.02-.747.019-1.495.114-2.236h.971Zm13.365 7.592L18.6 11H14a1 1 0 0 1 0-2h4.918l.159-1H14a1 1 0 1 1 0-2h5.393l.158-1H14a1 1 0 1 1 0-2h5.868l.111-.7a2.04 2.04 0 0 0-.473-1.629A1.912 1.912 0 0 0 18.063 0H9a1 1 0 0 0-1 1v11.78A2.985 2.985 0 0 0 7 15v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a2.991 2.991 0 0 0-1.613-2.644Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 22 19\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19.287 5H15m3.852 3H15m3.384 3H15m-9.47-.764h-.972A14.755 14.755 0 0 1 4.445 8c-.019-.747.019-1.494.113-2.236h.972a.95.95 0 0 0 .946-.856l.188-1.877a.951.951 0 0 0-.946-1.046H3.791a1.127 1.127 0 0 0-1.067.75A16.11 16.11 0 0 0 2 8a16.737 16.737 0 0 0 .743 5.242c.154.463 1.255.773 1.743.773h1.232a.95.95 0 0 0 .946-1.046l-.188-1.877a.95.95 0 0 0-.946-.856ZM19.063 2H10v12h8.273l1.716-10.847A.981.981 0 0 0 19.063 2ZM20 18H9v-2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n    <path d=\"M16 14V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v15a3 3 0 0 0 3 3h12a1 1 0 0 0 0-2h-1v-2a2 2 0 0 0 2-2ZM4 2h2v12H4V2Zm8 16H3a1 1 0 0 1 0-2h9v2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 17V2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a2 2 0 0 0-2 2Zm0 0a2 2 0 0 0 2 2h12M5 15V1m8 18v-4\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n    <path d=\"M13 20a1 1 0 0 1-.64-.231L7 15.3l-5.36 4.469A1 1 0 0 1 0 19V2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v17a1 1 0 0 1-1 1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m13 19-6-5-6 5V2a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M9 19V.352A3.451 3.451 0 0 0 7.5 0a3.5 3.5 0 0 0-3.261 2.238A3.5 3.5 0 0 0 2.04 6.015a3.518 3.518 0 0 0-.766 1.128c-.042.1-.064.209-.1.313a3.34 3.34 0 0 0-.106.344 3.463 3.463 0 0 0 .02 1.468A4.016 4.016 0 0 0 .3 10.5l-.015.036a3.861 3.861 0 0 0-.216.779A3.968 3.968 0 0 0 0 12a4.032 4.032 0 0 0 .107.889 4 4 0 0 0 .2.659c.006.014.015.027.021.041a3.85 3.85 0 0 0 .417.727c.105.146.219.284.342.415.072.076.148.146.225.216.1.091.205.179.315.26.11.081.2.14.308.2.02.013.039.028.059.04v.053a3.506 3.506 0 0 0 3.03 3.469 3.426 3.426 0 0 0 4.154.577A.972.972 0 0 1 9 19Zm10.934-7.68a3.956 3.956 0 0 0-.215-.779l-.017-.038a4.016 4.016 0 0 0-.79-1.235 3.417 3.417 0 0 0 .017-1.468 3.387 3.387 0 0 0-.1-.333c-.034-.108-.057-.22-.1-.324a3.517 3.517 0 0 0-.766-1.128 3.5 3.5 0 0 0-2.202-3.777A3.5 3.5 0 0 0 12.5 0a3.451 3.451 0 0 0-1.5.352V19a.972.972 0 0 1-.184.546 3.426 3.426 0 0 0 4.154-.577A3.506 3.506 0 0 0 18 15.5v-.049c.02-.012.039-.027.059-.04.106-.064.208-.13.308-.2s.214-.169.315-.26c.077-.07.153-.14.225-.216a4.007 4.007 0 0 0 .459-.588c.115-.176.215-.361.3-.554.006-.014.015-.027.021-.041.087-.213.156-.434.205-.659.013-.057.024-.115.035-.173.046-.237.07-.478.073-.72a3.948 3.948 0 0 0-.066-.68Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 22 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11 16.5A2.493 2.493 0 0 1 6.51 18H6.5a2.468 2.468 0 0 1-2.4-3.154 2.98 2.98 0 0 1-.85-5.274 2.468 2.468 0 0 1 .921-3.182 2.477 2.477 0 0 1 1.875-3.344 2.5 2.5 0 0 1 3.41-1.856A2.5 2.5 0 0 1 11 3.5m0 13v-13m0 13a2.492 2.492 0 0 0 4.49 1.5h.01a2.467 2.467 0 0 0 2.403-3.154 2.98 2.98 0 0 0 .847-5.274 2.468 2.468 0 0 0-.921-3.182 2.479 2.479 0 0 0-1.875-3.344A2.5 2.5 0 0 0 13.5 1 2.5 2.5 0 0 0 11 3.5m-8 5a2.5 2.5 0 0 1 3.48-2.3m-.28 8.551a3 3 0 0 1-2.953-5.185M19 8.5a2.5 2.5 0 0 0-3.481-2.3m.28 8.551a3 3 0 0 0 2.954-5.185\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M19.728 10.686c-2.38 2.256-6.153 3.381-9.875 3.381-3.722 0-7.4-1.126-9.571-3.371L0 10.437V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-7.6l-.272.286Z\"/>\n    <path d=\"m.135 7.847 1.542 1.417c3.6 3.712 12.747 3.7 16.635.01L19.605 7.9A.98.98 0 0 1 20 7.652V6a2 2 0 0 0-2-2h-3V3a3 3 0 0 0-3-3H8a3 3 0 0 0-3 3v1H2a2 2 0 0 0-2 2v1.765c.047.024.092.051.135.082ZM10 10.25a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5ZM7 3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H7V3Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path fill=\"currentColor\" d=\"M8 1V0v1Zm4 0V0v1Zm2 4v1h1V5h-1ZM6 5H5v1h1V5Zm2-3h4V0H8v2Zm4 0a1 1 0 0 1 .707.293L14.121.879A3 3 0 0 0 12 0v2Zm.707.293A1 1 0 0 1 13 3h2a3 3 0 0 0-.879-2.121l-1.414 1.414ZM13 3v2h2V3h-2Zm1 1H6v2h8V4ZM7 5V3H5v2h2Zm0-2a1 1 0 0 1 .293-.707L5.879.879A3 3 0 0 0 5 3h2Zm.293-.707A1 1 0 0 1 8 2V0a3 3 0 0 0-2.121.879l1.414 1.414ZM2 6h16V4H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v12h2V6h-2Zm0 12v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V6H0v12h2ZM2 6V4a2 2 0 0 0-2 2h2Zm16.293 3.293C16.557 11.029 13.366 12 10 12c-3.366 0-6.557-.97-8.293-2.707L.293 10.707C2.557 12.971 6.366 14 10 14c3.634 0 7.444-1.03 9.707-3.293l-1.414-1.414ZM10 9v2a2 2 0 0 0 2-2h-2Zm0 0H8a2 2 0 0 0 2 2V9Zm0 0V7a2 2 0 0 0-2 2h2Zm0 0h2a2 2 0 0 0-2-2v2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 19 20\">\n    <path d=\"M16.025 15H14.91c.058-.33.088-.665.09-1v-1h2a1 1 0 0 0 0-2h-2.09a5.97 5.97 0 0 0-.26-1h.375a2 2 0 0 0 2-2V6a1 1 0 0 0-2 0v2H13.46a6.239 6.239 0 0 0-.46-.46V6a3.963 3.963 0 0 0-.986-2.6l.693-.693A1 1 0 0 0 13 2V1a1 1 0 0 0-2 0v.586l-.661.661a3.753 3.753 0 0 0-2.678 0L7 1.586V1a1 1 0 0 0-2 0v1a1 1 0 0 0 .293.707l.693.693A3.963 3.963 0 0 0 5 6v1.54a6.239 6.239 0 0 0-.46.46H3V6a1 1 0 0 0-2 0v2a2 2 0 0 0 2 2h.35a5.97 5.97 0 0 0-.26 1H1a1 1 0 0 0 0 2h2v1a6 6 0 0 0 .09 1H2a2 2 0 0 0-2 2v2a1 1 0 1 0 2 0v-2h1.812A6.012 6.012 0 0 0 8 19.907V10a1 1 0 0 1 2 0v9.907A6.011 6.011 0 0 0 14.188 17h1.837v2a1 1 0 0 0 2 0v-2a2 2 0 0 0-2-2ZM11 6.35a5.922 5.922 0 0 0-.941-.251l-.111-.017a5.52 5.52 0 0 0-1.9 0l-.111.017A5.924 5.924 0 0 0 7 6.35V6a2 2 0 1 1 4 0v.35Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 19 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 3 6 2V1m5 2 1-1V1M9 7v11M9 7a5 5 0 0 1 5 5M9 7a5 5 0 0 0-5 5m5-5a4.959 4.959 0 0 1 2.973 1H12V6a3 3 0 0 0-6 0v2h.027A4.959 4.959 0 0 1 9 7Zm-5 5H1m3 0v2a5 5 0 0 0 10 0v-2m3 0h-3m-9.975 4H2a1 1 0 0 0-1 1v2m13-3h2.025a1 1 0 0 1 1 1v2M13 9h2.025a1 1 0 0 0 1-1V6m-11 3H3a1 1 0 0 1-1-1V6\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 19\">\n    <path d=\"M15 1.943v12.114a1 1 0 0 1-1.581.814L8 11V5l5.419-3.871A1 1 0 0 1 15 1.943ZM7 4H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2v5a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V4ZM4 17v-5h1v5H4ZM16 5.183v5.634a2.984 2.984 0 0 0 0-5.634Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 19\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12 5.419 3.871A1 1 0 0 0 16 15.057V2.943a1 1 0 0 0-1.581-.814L9 6m0 6V6m0 6H2a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h7m-5 6h3v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-5Zm15-3a3 3 0 0 1-3 3V6a3 3 0 0 1 3 3Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M18 2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM2 18V7h6.7l.4-.409A4.309 4.309 0 0 1 15.753 7H18v11H2Z\"/>\n    <path d=\"M8.139 10.411 5.289 13.3A1 1 0 0 0 5 14v2a1 1 0 0 0 1 1h2a1 1 0 0 0 .7-.288l2.886-2.851-3.447-3.45ZM14 8a2.463 2.463 0 0 0-3.484 0l-.971.983 3.468 3.468.987-.971A2.463 2.463 0 0 0 14 8Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1v3m5-3v3m5-3v3M1 7h7m1.506 3.429 2.065 2.065M19 7h-2M2 3h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm6 13H6v-2l5.227-5.292a1.46 1.46 0 0 1 2.065 2.065L8 16Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm14-7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm-5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm-5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path fill=\"currentColor\" d=\"M6 1a1 1 0 0 0-2 0h2ZM4 4a1 1 0 0 0 2 0H4Zm7-3a1 1 0 1 0-2 0h2ZM9 4a1 1 0 1 0 2 0H9Zm7-3a1 1 0 1 0-2 0h2Zm-2 3a1 1 0 1 0 2 0h-2ZM1 6a1 1 0 0 0 0 2V6Zm18 2a1 1 0 1 0 0-2v2ZM5 11v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 11v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 15v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 15v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 11v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM5 15v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM2 4h16V2H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v14h2V4h-2Zm0 14v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V4H0v14h2ZM2 4V2a2 2 0 0 0-2 2h2Zm2-3v3h2V1H4Zm5 0v3h2V1H9Zm5 0v3h2V1h-2ZM1 8h18V6H1v2Zm3 3v.01h2V11H4Zm1 1.01h.01v-2H5v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H5v2h.01v-2ZM9 11v.01h2V11H9Zm1 1.01h.01v-2H10v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM9 15v.01h2V15H9Zm1 1.01h.01v-2H10v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM14 15v.01h2V15h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM14 11v.01h2V11h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM4 15v.01h2V15H4Zm1 1.01h.01v-2H5v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H5v2h.01v-2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1v3m5-3v3m5-3v3M1 7h18M5 11h10M2 3h16a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 12.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z\"/>\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 3h-2l-.447-.894A2 2 0 0 0 12.764 1H7.236a2 2 0 0 0-1.789 1.106L5 3H3a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V5a2 2 0 0 0-2-2Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M19 5h-1.382l-.171-.342A2.985 2.985 0 0 0 14.764 3H9.236a2.984 2.984 0 0 0-2.683 1.658L6.382 5H5a3 3 0 0 0-3 3v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a3 3 0 0 0-3-3Zm-3.5 7a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n    <path d=\"M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM7.648 9.636c.25 0 .498-.064.717-.186a1 1 0 1 1 .979 1.745 3.475 3.475 0 1 1 .185-5.955 1 1 0 1 1-1.082 1.681 1.475 1.475 0 1 0-.799 2.715Zm6.186 0c.252 0 .5-.063.72-.187a1 1 0 1 1 .974 1.746 3.475 3.475 0 1 1 .188-5.955 1 1 0 0 1-1.084 1.681 1.475 1.475 0 1 0-.8 2.715h.002Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.855 10.322a2.476 2.476 0 1 1 .133-4.241m6.053 4.241a2.475 2.475 0 1 1 .133-4.241M2 1h16a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n    <path d=\"M15.434 1.235A2 2 0 0 0 13.586 0H2.414A2 2 0 0 0 1 3.414L6.586 9a2 2 0 0 0 2.828 0L15 3.414a2 2 0 0 0 .434-2.179Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1.707 2.707 5.586 5.586a1 1 0 0 0 1.414 0l5.586-5.586A1 1 0 0 0 13.586 1H2.414a1 1 0 0 0-.707 1.707Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n    <path d=\"M8.766.566A2 2 0 0 0 6.586 1L1 6.586a2 2 0 0 0 0 2.828L6.586 15A2 2 0 0 0 10 13.586V2.414A2 2 0 0 0 8.766.566Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.293 1.707 1.707 7.293a1 1 0 0 0 0 1.414l5.586 5.586A1 1 0 0 0 9 13.586V2.414a1 1 0 0 0-1.707-.707Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n    <path d=\"M3.414 1A2 2 0 0 0 0 2.414v11.172A2 2 0 0 0 3.414 15L9 9.414a2 2 0 0 0 0-2.828L3.414 1Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 16\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m2.707 14.293 5.586-5.586a1 1 0 0 0 0-1.414L2.707 1.707A1 1 0 0 0 1 2.414v11.172a1 1 0 0 0 1.707.707Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M8.574 11.024h6.852a2.075 2.075 0 0 0 1.847-1.086 1.9 1.9 0 0 0-.11-1.986L13.736 2.9a2.122 2.122 0 0 0-3.472 0L6.837 7.952a1.9 1.9 0 0 0-.11 1.986 2.074 2.074 0 0 0 1.847 1.086Zm6.852 1.952H8.574a2.072 2.072 0 0 0-1.847 1.087 1.9 1.9 0 0 0 .11 1.985l3.426 5.05a2.123 2.123 0 0 0 3.472 0l3.427-5.05a1.9 1.9 0 0 0 .11-1.985 2.074 2.074 0 0 0-1.846-1.087Z\"/>\n</svg>\n<svg class=\"w-6 h-6 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10.335 6.514 6.91 1.464a1.122 1.122 0 0 0-1.818 0l-3.426 5.05a.988.988 0 0 0 .91 1.511h6.851a.988.988 0 0 0 .91-1.511Zm-8.67 6.972 3.426 5.05a1.121 1.121 0 0 0 1.818 0l3.426-5.05a.988.988 0 0 0-.909-1.511H2.574a.987.987 0 0 0-.909 1.511Z\"/>\n</svg>\n<div>\n    <p class=\"text-lg font-medium text-gray-900 dark:text-white\">...</p>\n</div>\n{{< /example >}}\n\n## Figma support\n\nThe open-source SVG icons used in the Flowbite Library also has a [Figma Icons File](https://www.figma.com/community/file/1253280241668899805/Flowbite-Icons) that you can use to collaborate with designers and use them for designing websites and web applications and then copying the SVG or JSX code from our website."
  },
  {
    "path": "content/customize/optimization.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Optimization - Flowbite\ndescription: Optimize your project for production use by setting up Flowbite and Tailwind CSS using our guide\ngroup: customize\ntoc: true\n\nprevious: Icons\npreviousLink: customize/icons/\nnext: Accordion\nnextLink: components/accordion/\n---\n\nThe default JavaScript development build of Flowbite and Tailwind CSS is roughly 310kB uncompressed, 136kB when minified via CDN.\n\nAlthough working with the CDN can be quick and effective, it is not the most efficient way of working with Tailwind CSS and Flowbite. You should definitely check our [quickstart guide](https://flowbite.com/docs/getting-started/quickstart/) and set up Tailwind CSS in your local environment so that the only the CSS being used in your templates will be added to the final CSS file.\n\n## Remove unused CSS\n\nSince Tailwind v4 you no longer need to set the content paths for your templating files.\n\nHowever, you might want to set custom sources for where the engine should look for utility classes.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n## Build for production\n\nWhen building your CSS, make sure that you set `NODE_ENV` to `production`.\n\nThe command that you have to run in your terminal for production build would be:\n\n{{< code lang=\"bash\"  >}}\nNODE_ENV=production npx @tailwindcss/cli -i input.css -o output.css\n{{< /code >}}\n\nThis command will create an `output.css` file that you will include in your templating files."
  },
  {
    "path": "content/customize/rtl.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS RTL (Right-To-Left) - Flowbite\ndescription: Learn how to setup and configure bidirectional text formats (RTL and LTR) in your project using native Tailwind CSS variants and the Flowbite UI components\ngroup: customize\ntoc: true\n\nprevious: Icons\npreviousLink: customize/icons/\nnext: Optimization\nnextLink: customize/optimization/\n---\n\nRTL (right-to-left) is a bidirectional text format used for languages that are written from right to left such as Arabic, Hebrew, Persian, Urdu, and Yiddish. A rough estimate would be around over 500 million people that use RTL languages and it's one of the fastest growing populations on the internet.\n\nAll of the UI components from Flowbite support RTL by primarily using the logical properties and values from CSS such as `ms-0` instead of `ml-0` or `pe-5` instead of `pr-5`. This feature requires Tailwind CSS v3.3.0 or higher and Flowbite v2.1.0 or higher.\n\nIn this guide you will learn how to setup and configure bidirectional text formats (RTL and LTR) in your project using Tailwind CSS variants and the Flowbite UI components by changing the `dir` attribute on the `<html>` element.\n\n## Setting up RTL\n\nBefore you start, make sure you have installed the latest version of [Tailwind CSS](https://tailwindcss.com/docs/installation) and [Flowbite](https://flowbite.com/docs/getting-started/quickstart/).\n\n1. Add the `dir` attribute to the `<html>` element in your `index.html` file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<html dir=\"rtl\">\n\n<!-- your HTML markup -->\n\n</html>\n{{< /code >}}\n\nBy default, when switching from LTR to RTL the direction, spacing, and positioning of all the UI components from Flowbite will be mirrored as we used logical properties and RTL variants from Tailwind CSS.\n\nYou can also use our RTL button to switch between LTR and RTL when previewing our UI components:\n\n{{< example bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-neutral-primary border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"https://flowbite.com/\" class=\"flex items-center\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7 me-3\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n## Using RTL variants\n\nIf you need to add RTL variants to your own custom components, you can use the `rtl:` prefix.\n\nFor example, if you want to add a margin to the left side of an element in LTR mode, you would use `ml-2`. \n\nIn RTL mode, you would use `rtl:ml-2` instead.\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<div class=\"ml-2 rtl:ml-0\">\n  <!-- ... -->\n</div>\n{{< /code >}}\n\nHowever, we do recommend that you use logical properties for margins, paddings, borders, and rounded-sm corners because the HTML markup will be cleaner and contain less utility-classes, which is always a good thing when it comes to Tailwind CSS.\n\n## UI components\n\nAs mentioned before, all of the UI components from Flowbite support RTL by default and all of the examples from the documentation will render correctly whenever you set the `dir` attribute to `rtl` on the `<html>` element. Check out all our UI components and examples from the [official documentation](https://flowbite.com/docs/getting-started/introduction/)."
  },
  {
    "path": "content/customize/theming.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Theming - Flowbite\ndescription: Use the theming options from Tailwind CSS to set native CSS theme variables to add new colors, fonts, spacings and create new utility classes to customize your project\ngroup: customize\ntoc: true\n\nprevious: Dark mode\npreviousLink: customize/dark-mode/\nnext: Colors\nnextLink: customize/colors/\n---\n\nSince the release of Tailwind v4 the theming customization has been moved from the `tailwind.config.js` file to native CSS theme variables which brings an advantage that allows your project to have a much more natural way of customizing colors, fonts, shadows, spacings, and more.\n\nCheck out the new [custom variables]({{< ref \"customize/variables\" >}}) from the Flowbite design system to make it easier to customize your project.\n\n## Getting started\n\nAs we introduced custom themes with Flowbite v4 you can now import either one in your `input.css` file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\nHere's an example of a modified CSS file that sets a custom set of colors and fonts:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-fg-brand-subtle: var(--color-blue-200);\n    --color-fg-brand: var(--color-blue-700);\n    --color-fg-brand-strong: var(--color-blue-900);\n\n    --color-brand-softer: var(--color-blue-50);\n    --color-brand-soft: var(--color-blue-100);\n    --color-brand: var(--color-blue-700);\n    --color-brand-medium: var(--color-blue-200);\n    --color-brand-strong: var(--color-blue-800);\n    \n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n{{< /code >}}\n\nThese variables will now create a new color pallette called `brand` that can be used as your main brand color and the fonts that will now use `Inter` by default.\n\n## Flowbite Plugin\n\nAfter installing Flowbite, make sure that you also import the Flowbite plugin in your main CSS file:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\nThis will ensure that the pseudo styles for forms, checkboxes, tooltips, charts, and datatables will be applied.\n\n## Theme options\n\nThe best way to understand how theming works with Tailwind CSS is for example when you're adding a new color variable this will be available for all text, background, and border related colors. Basically the newly added color will propagate into all of the available utility classes.\n\nThere are many more variable namespaces that you can use to customize the default utility classes from Tailwind CSS including for spacing, containers, fonts, sizing, and more.\n\n### Colors\n\nUpdating or adding new colors can be done by using the `--color-{name}` variable namespaces:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-fg-brand-subtle: var(--color-blue-200);\n    --color-fg-brand: var(--color-blue-700);\n    --color-fg-brand-strong: var(--color-blue-900);\n\n    --color-brand-softer: var(--color-blue-50);\n    --color-brand-soft: var(--color-blue-100);\n    --color-brand: var(--color-blue-700);\n    --color-brand-medium: var(--color-blue-200);\n    --color-brand-strong: var(--color-blue-800);\n}\n{{< /code >}}\n\nThis introduces a list of colors attributed to the `brand` variable name, meaning that utility class names such as `text-fg-brand` or `bg-brand` will now show your custom branded color when using Tailwind.\n\n### Fonts\n\nYou can add your own fonts by updating the `--font-body` variable in your CSS file.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n{{< /code >}}\n\nMake sure that you apply `antialiased` to the `<body>` tag of your document to enable font smoothing.\n\n### Spacing\n\nUse the `spacing-{name}` variable namespace to set spacing values to utility class names used for setting widths, heights, paddings, margins, and more.\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n   --spacing-custom: 10px;\n}\n{{< /code >}}\n\n### Breakpoints\n\nYou can customize the breakpoints at which the reponsive mobile-first utility classes are being targeted using the `--breakpoint-{size}` variable namespaces in your main CSS file:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n  --breakpoint-xs: 30rem;\n  --breakpoint-2xl: 100rem;\n  --breakpoint-3xl: 120rem;\n}\n{{< /code >}}\n\nThis will make `p-custom` or `w-custom` have the value of `10px` as explained above.\n\n## Reference\n\nYou can read all of the configurable variable namespaces on the <a href=\"https://tailwindcss.com/docs/theme#theme-variable-namespaces\" target=\"_blank\" rel=\"nofollow\">Tailwind CSS docs</a>."
  },
  {
    "path": "content/customize/variables.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Variables - Flowbite\ndescription: Learn how to use the custom variables from Tailwind CSS to theme your project based on the additional theme variables provided by Flowbite\ngroup: customize\ntoc: true\n\nprevious: Configuration\npreviousLink: customize/configuration/\nnext: Dark mode\nnextLink: customize/dark-mode/\n---\n\nSince the `v4` release of Flowbite we introduced five new themes: modern, minimal, enterprise, playful, and mono. These themes are available as CSS variables that can be used to customize the default theme of Flowbite with the least amount of color variables.\n\nOn this page you will learn the breakdown of the CSS variables that are available for each theme. These are primarily color variables, but also include some other variables that are used to customize the default theme of Flowbite.\n\n## Color variables\n\nAlmost all of the custom variables from Flowbite are colors and can be used to customize the default theme.\n\nHere's a short breakdown of the terminology of the color variables:\n\n- `color-brand-{level}-{accent}`: one or more brand colors to represent the brand\n- `color-neutral-{level}-{accent}`: neutral colors to represent the gray colors\n- `color-fg-{type}-{level}-{accent}`: foreground colors to represent the text colors\n- `color-{status}-{accent}`: status colors to represent the different states (eg. warning, success etc.)\n\nThe `level` placeholder is either blank or it can be `primary`, `secondary`, `tertiary`, `quauternary` which are used to represent the different levels of the color based on importance.\n\nThe `accent` placeholder is either blank or it can be `soft`, `subtle`, `medium`, `strong` which are used to represent the different levels of the color based on the amount of color.\n\nThe `type` placeholder is usually the main color type such as `brand`, `neutral`, `warning` etc.\n\nHere's the full list of the brand variables:\n\n## Text color variables\n\nThis is the full list of color variables that are used for text colors:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* main text color */\n    --color-body: var(--color-stone-600);\n    --color-body-subtle: var(--color-stone-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-stone-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-stone-950);\n    --color-fg-brand-strong: var(--color-stone-900);\n\n    /* used for status colors */\n    --color-fg-success: var(--color-green-700);\n    --color-fg-success-strong: var(--color-green-900);\n    --color-fg-danger: var(--color-red-700);\n    --color-fg-danger-strong: var(--color-red-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-stone-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n}\n{{< /code >}}\n\n## Background color variables\n\nUse these variables to set the colors for the background of elements:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* BACKGROUND COLOR VARIABLES */\n    /* used for neutral colors */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-gray-50);\n    --color-neutral-secondary: var(--color-gray-50);\n    --color-neutral-secondary-medium: var(--color-gray-50);\n    --color-neutral-secondary-strong: var(--color-gray-50);\n    --color-neutral-secondary-strongest: var(--color-gray-50);\n    --color-neutral-tertiary-soft: var(--color-gray-100);\n    --color-neutral-tertiary: var(--color-gray-100);\n    --color-neutral-tertiary-medium: var(--color-gray-100);\n    --color-neutral-quaternary: var(--color-gray-200);\n    --color-neutral-quaternary-medium: var(--color-gray-200);\n    --color-gray: var(--color-gray-300);\n\n    /* used for brand colors */\n    --color-brand-softer: var(--color-blue-50);\n    --color-brand-soft: var(--color-blue-100);\n    --color-brand: var(--color-blue-700);\n    --color-brand-medium: var(--color-blue-200);\n    --color-brand-strong: var(--color-blue-800);\n\n    /* used for status colors */\n    --color-success-soft: var(--color-emerald-50);\n    --color-success: var(--color-emerald-700);\n    --color-success-medium: var(--color-emerald-100);\n    --color-success-strong: var(--color-emerald-800);\n    --color-danger-soft: var(--color-rose-50);\n    --color-danger: var(--color-rose-700);\n    --color-danger-medium: var(--color-rose-100);\n    --color-danger-strong: var(--color-rose-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-gray-800);\n    --color-dark: var(--color-gray-800);\n    --color-dark-strong: var(--color-gray-900);\n    --color-disabled: var(--color-gray-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n}\n{{< /code >}}\n\n## Border color variables\n\nUse these variables to set the colors for the border of elements:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* BORDER COLOR VARIABLES */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-gray-50);\n    --color-light-subtle: var(--color-gray-100);\n    --color-light: var(--color-gray-100);\n    --color-light-medium: var(--color-gray-100);\n    --color-default-subtle: var(--color-gray-200);\n    --color-default: var(--color-gray-200);\n    --color-default-medium: var(--color-gray-200);\n    --color-default-strong: var(--color-gray-200);\n\n    /* used for status colors */\n    --color-success-subtle: var(--color-emerald-200);\n    --color-danger-subtle: var(--color-rose-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-blue-200);\n    --color-brand-light: var(--color-blue-600);\n    --color-dark-subtle: var(--color-gray-800);\n    --color-dark-backdrop: var(--color-gray-950);\n}\n{{< /code >}}\n\n## Font family variables\n\nUse these variables to set the font families for the text of elements:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n{{< /code >}}\n\n## Border radius variables\n\nUse these variables to set the border radius of elements:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    /* BORDER RADIUS VARIABLES */\n    --radius-0: 0px;\n    --radius-xxs: 2px;\n    --radius-xs: 4px;\n    --radius-sm: 6px;\n    --radius: 8px;\n    --radius-base: 12px;\n    --radius-lg: 16px;\n}\n{{< /code >}}\n"
  },
  {
    "path": "content/forms/checkbox.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Checkbox - Flowbite\ndescription: Get started with the checkbox component to allow the user to select one or more options in the form of a square box available in multiple sizes and colors\ngroup: forms\ntoc: true\nrequires_js: true\n\nprevious: Textarea\npreviousLink: forms/textarea/\nnext: Radio\nnextLink: forms/radio/\n---\n\nThe checkbox component can be used to receive one or more selected options from the user in the form of a square box available in multiple styles, sizes, colors, and variants coded with the utility classes from Tailwind CSS and with support for dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the checkbox component.\n\n## Checkbox example\n\nUse this default example of a checkbox element in a checked and unchecked state.\n\n{{< example github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input id=\"default-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"default-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n</div>\n<div class=\"flex items-center\">\n    <input checked id=\"checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"checked-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Checked state</label>\n</div>\n{{< /example >}}\n\n## Disabled state\n\nThis example can be used for the disabled state of the checkbox component by applying the `disabled` attribute to the input element.\n\n{{< example github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input disabled id=\"disabled-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-light rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"disabled-checkbox\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Disabled checkbox</label>\n</div>\n<div class=\"flex items-center\">\n    <input disabled checked id=\"disabled-checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-light rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"disabled-checked-checkbox\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Disabled checked</label>\n</div>\n{{< /example >}}\n\n## Checkbox link\n\nUse this example if you want to add an anchor link inside the label of the checkbox component.\n\n{{< example github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center\">\n    <input id=\"link-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"link-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</label>\n</div>\n{{< /example >}}\n\n## Helper text\n\nGet started with this example if you want to add a secondary helper text for the checkbox component.\n\n{{< example github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center h-5\">\n        <input id=\"helper-checkbox\" aria-describedby=\"helper-checkbox-text\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    </div>\n    <div class=\"ms-2 text-sm select-none\">\n        <label for=\"helper-checkbox\" class=\"font-medium text-heading\">Free shipping via Flowbite</label>\n        <p id=\"helper-checkbox-text\" class=\"text-xs font-normal text-body\">For orders shipped from $25 in books or $29 in other categories</p>\n    </div>\n</div>\n{{< /example >}}\n\n## Bordered\n\nUse this example of a checkbox inside a card element to enable a larger area of clicking activation.\n\n{{< example class=\"grid gap-6 md:grid-cols-2\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center ps-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <input id=\"bordered-checkbox-1\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"bordered-checkbox-1\" class=\"select-none w-full py-4 ms-2 text-sm font-medium text-heading\">Default checkbox</label>\n</div>\n<div class=\"flex items-center ps-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <input checked id=\"bordered-checkbox-2\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <label for=\"bordered-checkbox-2\" class=\"select-none w-full py-4 ms-2 text-sm font-medium text-heading\">Checked state</label>\n</div>\n{{< /example >}}\n\n## Bordered with description\n\nUse this checkbox component with a bordered style and a description text.\n\n{{< example class=\"grid gap-6 md:grid-cols-2\" github=\"forms/checkbox.md\" show_dark=true >}}\n<label for=\"checkbox-1\" class=\"flex space-x-2.5 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <input id=\"checkbox-1\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 mt-5 ms-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <div class=\"py-4 pe-4\">\n        <p class=\"select-none w-full text-sm font-medium text-heading\">16GB unified memory</p>\n        <p class=\"select-none text-sm text-body\">Seamlessly handle multitasking, large apps.</p>\n    </div>\n</label>\n<label for=\"checkbox-2\" class=\"flex space-x-2.5 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <input checked id=\"checkbox-2\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 mt-5 ms-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n    <div class=\"py-4 pe-4\">\n        <p class=\"select-none w-full text-sm font-medium text-heading\">1TB SSD storage</p>\n        <p class=\"select-none text-sm text-body\">Get ultra-fast storage with 1TB of SSD space</p>\n    </div>\n</label>\n{{< /example >}}\n\n## Bordered with icon\n\nThis example can be used to create a checkbox component with a bordered style, a description text and an icon.\n\n{{< example class=\"grid gap-6 md:grid-cols-2\" github=\"forms/checkbox.md\" show_dark=true >}}\n<label for=\"checkbox-1\" class=\"flex justify-between space-x-2.5 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <div class=\"p-4\">\n        <svg class=\"w-7 h-7 text-body mb-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1M5 12h14M5 12a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1m-2 3h.01M14 15h.01M17 9h.01M14 9h.01\"/></svg>\n        <p class=\"select-none w-full text-sm font-medium text-heading\">16GB unified memory</p>\n        <p class=\"select-none text-sm text-body\">Seamlessly handle multitasking, large apps.</p>\n    </div>\n    <input id=\"checkbox-1\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 mt-4 me-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" checked>\n</label>\n<label for=\"checkbox-2\" class=\"flex justify-between space-x-2.5 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n    <div class=\"p-4\">\n        <svg class=\"w-7 h-7 text-body mb-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 6c0 1.657-3.134 3-7 3S5 7.657 5 6m14 0c0-1.657-3.134-3-7-3S5 4.343 5 6m14 0v6M5 6v6m0 0c0 1.657 3.134 3 7 3s7-1.343 7-3M5 12v6c0 1.657 3.134 3 7 3s7-1.343 7-3v-6\"/></svg>\n        <p class=\"select-none w-full text-sm font-medium text-heading\">1TB SSD storage</p>\n        <p class=\"select-none text-sm text-body\">Get ultra-fast storage with 1TB of SSD space</p>\n    </div>\n    <input id=\"checkbox-2\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 mt-4 me-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n</label>\n{{< /example >}}\n\n\n## Checkbox list group\n\nUse this example to show a list of checkbox items grouped inside a card.\n\n{{< example github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-heading\">Technology</h3>\n<ul class=\"w-48 select-none text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base\">\n    <li class=\"w-full border-b border-default rounded-t-lg\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"vue-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"vue-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Vue JS</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default rounded-t-lg\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"react-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"react-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">React</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default rounded-t-lg\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"angular-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"angular-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Angular</label>\n        </div>\n    </li>\n    <li class=\"w-full rounded-t-lg\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"laravel-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"laravel-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Laravel</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n## Horizontal list group\n\nUse this example to show a list of checkbox items inside a card horizontally.\n\n{{< example github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-heading\">Identification</h3>\n<ul class=\"items-center select-none w-full text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-base sm:flex\">\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"vue-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"vue-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Vue JS</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"react-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"react-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">React</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"angular-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"angular-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Angular</label>\n        </div>\n    </li>\n    <li class=\"w-full\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"laravel-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"laravel-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-heading\">Laravel</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Checkbox dropdown\n\nUse this example to show a list of checkbox items inside a dropdown menu.\n\n{{< example class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"430\" >}}\n<button id=\"dropdownSearchButton\" data-dropdown-toggle=\"dropdownSearch\" type=\"button\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n    Dropdown search\n    <svg class=\"w-4 h-4 ms-1.5 -me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n<!-- Dropdown menu -->\n<div id=\"dropdownSearch\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-60 block\">\n    <div class=\"px-2 pt-2\">\n      <label for=\"input-group-search\" class=\"sr-only\">Search</label>\n      <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        </div>\n        <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-strong border border-default-strong text-heading text-sm rounded focus:ring-brand focus:border-brand px-2.5 py-2 placeholder:text-body\" placeholder=\"Search user\">\n      </div>\n    </div>\n    <ul class=\"h-48 select-none overflow-y-auto p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownSearchButton\">\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-11\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-11\" class=\"w-full ms-2 text-sm font-medium text-heading\">Bonnie Green</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n            <input checked id=\"checkbox-item-12\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n            <label for=\"checkbox-item-12\" class=\"w-full ms-2 text-sm font-medium text-heading\">Jese Leos</label>\n          </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-13\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-13\" class=\"w-full ms-2 text-sm font-medium text-heading\">Michael Gough</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-14\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-14\" class=\"w-full ms-2 text-sm font-medium text-heading\">Robert Wall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-15\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-15\" class=\"w-full ms-2 text-sm font-medium text-heading\">Joseph Mcfall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-16\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-16\" class=\"w-full ms-2 text-sm font-medium text-heading\">Leslie Livingston</label>\n        </div>\n      </li>\n            <li>\n        <div class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n          <input id=\"checkbox-item-17\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-strong rounded-xs bg-neutral-secondary-strong focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"checkbox-item-17\" class=\"w-full ms-2 text-sm font-medium text-heading\">Roberta Casas</label>\n        </div>\n      </li>\n    </ul>\n    <div class=\"p-2\">\n        <button type=\"button\" class=\"inline-flex items-center justify-center text-white bg-danger box-border border border-transparent hover:bg-danger-strong focus:ring-4 focus:ring-danger-medium shadow-xs font-medium leading-5 rounded w-full text-xs px-3 py-1.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 12h4M4 18v-1a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1Zm8-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n        Delete user\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n## Inline layout\n\nYou can align the checkbox elements horizontally by using a wrapper tag and applying the `flex` class.\n\n{{< example github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n        <label for=\"inline-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline 1</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-2-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n        <label for=\"inline-2-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline 2</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input checked id=\"inline-checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n        <label for=\"inline-checked-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline checked</label>\n    </div>\n    <div class=\"flex items-center\">\n        <input disabled id=\"inline-disabled-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-light rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n        <label for=\"inline-disabled-checkbox\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Inline disabled</label>\n    </div>\n</div>\n{{< /example >}}\n\n## Colors\n\nUse the `text-{color}-{shade}` classes from Tailwind CSS to change the color of the checkbox component.\n\n{{< example class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center me-4\">\n    <input checked id=\"red-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-red-600 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-red-500 dark:focus:ring-red-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"red-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Red</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"green-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-green-600 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-green-500 dark:focus:ring-green-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"green-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Green</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"purple-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-purple-600 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-purple-500 dark:focus:ring-purple-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"purple-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Purple</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"teal-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-teal-600 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-teal-500 dark:focus:ring-teal-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"teal-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Teal</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"yellow-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-yellow-400 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-yellow-500 dark:focus:ring-yellow-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"yellow-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Yellow</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"orange-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-orange-500 bg-neutral-secondary-medium border-default-medium rounded-xs focus:ring-orange-500 dark:focus:ring-orange-600 ring-offset-neutral-primary focus:ring-2\">\n    <label for=\"orange-checkbox\" class=\"select-none ms-2 text-sm font-medium text-heading\">Orange</label>\n</div>\n{{< /example >}}\n\n## Advanced layout\n\nUse this example of an advanced layout of checkbox elements where the label parent element can be styled when the checkbox is checked.\n\n{{< example class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<h3 class=\"mb-4 text-lg font-medium text-heading\">Choose technology:</h3>\n<ul class=\"select-none grid w-full gap-4 md:grid-cols-3\">\n    <li>\n        <input type=\"checkbox\" id=\"react-option\" value=\"\" class=\"hidden peer\" required=\"\">\n        <label for=\"react-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">                           \n            <div class=\"block\">\n                <svg class=\"mb-2 w-7 h-7 text-sky-600\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">React Js</div>\n                <div class=\"w-full text-sm\">A JavaScript library for building user interfaces.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"checkbox\" id=\"flowbite-option\" value=\"\" class=\"hidden peer\">\n        <label for=\"flowbite-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-green-600 w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">Vue Js</div>\n                <div class=\"w-full text-sm\">An model–view front end JavaScript framework.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"checkbox\" id=\"angular-option\" value=\"\" class=\"hidden peer\">\n        <label for=\"angular-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-red-600 w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M185.7 268.1h76.2l-38.1-91.6-38.1 91.6zM223.8 32L16 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7zM354 373.8h-48.6l-26.2-65.4H168.6l-26.2 65.4H93.7L223.8 81.5z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">Angular</div>\n                <div class=\"w-full text-sm\">A TypeScript-based web application framework.</div>\n            </div>\n        </label>\n    </li>\n</ul>\n{{< /example >}}"
  },
  {
    "path": "content/forms/file-input.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS File Input - Flowbite\ndescription: Get started with the file input component to let the user to upload one or more files from their device storage based on multiple styles and sizes\ngroup: forms\ntoc: true\nrequires_js: true\n\nprevious: Input Field\npreviousLink: forms/input-field/\nnext: Search Input\nnextLink: forms/search-input/\n---\n\nThe file input component can be used to upload one or more files from the device storage of the user available in multiple sizes, styles, and variants and built with the utility-first classes from Tailwind CSS including support for dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the file input component.\n\n## File upload example\n\nGet started with a simple file input component to let users upload one single file.\n\n{{< example github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"file_input\">Upload file</label>\n<input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" id=\"file_input\" type=\"file\">\n{{< /example >}}\n\n## Helper text\n\nAdd a descriptive helper text to inform users the allowed extensions and sizes of the files.\n\n{{< example github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"file_input\">Upload file</label>\n<input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" aria-describedby=\"file_input_help\" id=\"file_input\" type=\"file\">\n<p class=\"mt-1 text-sm text-gray-500 dark:text-gray-300\" id=\"file_input_help\">SVG, PNG, JPG or GIF (MAX. 800x400px).</p>\n{{< /example >}}\n\n## Multiple files\n\nApply the `multiple` attribute to the file input component to allow more files to be uploaded.\n\n{{< example github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"multiple_files\">Upload multiple files</label>\n<input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" id=\"multiple_files\" type=\"file\" multiple>\n{{< /example >}}\n\n## Sizes\n\nChoose from the small, default, and large file input sizing options.\n\n{{< example class=\"space-y-6\" github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"small_size\">Base file input</label>\n<input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" id=\"small_size\" type=\"file\">\n\n\n<label class=\"block mb-2.5 text-sm font-medium text-heading\" for=\"large_size\">Large file input</label>\n<input class=\"cursor-pointer bg-neutral-secondary-medium border border-default-medium text-heading text-lg rounded-base focus:ring-brand focus:border-brand block w-full shadow-xs placeholder:text-body\" id=\"large_size\" type=\"file\">\n{{< /example >}}\n\n## Dropzone\n\nThe dropzone file input component can be used to upload one or more files by clicking anywhere in the area.\n\n{{< example class=\"space-y-6\" github=\"forms/file-input.md\" show_dark=true >}}\n<div class=\"flex items-center justify-center w-full\">\n    <label for=\"dropzone-file\" class=\"flex flex-col items-center justify-center w-full h-64 bg-neutral-secondary-medium border border-dashed border-default-strong rounded-base cursor-pointer hover:bg-neutral-tertiary-medium\">\n        <div class=\"flex flex-col items-center justify-center text-body pt-5 pb-6\">\n            <svg class=\"w-8 h-8 mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 17h3a3 3 0 0 0 0-6h-.025a5.56 5.56 0 0 0 .025-.5A5.5 5.5 0 0 0 7.207 9.021C7.137 9.017 7.071 9 7 9a4 4 0 1 0 0 8h2.167M12 19v-9m0 0-2 2m2-2 2 2\"/></svg>\n            <p class=\"mb-2 text-sm\"><span class=\"font-semibold\">Click to upload</span> or drag and drop</p>\n            <p class=\"text-xs\">SVG, PNG, JPG or GIF (MAX. 800x400px)</p>\n        </div>\n        <input id=\"dropzone-file\" type=\"file\" class=\"hidden\" />\n    </label>\n</div> \n{{< /example >}}\n\n## Dropzone with button\n\nUse this dropzone component to upload files with a button element.\n\n{{< example class=\"space-y-6\" github=\"forms/file-input.md\" show_dark=true >}}\n<div class=\"flex items-center justify-center w-full\">\n  <div class=\"flex flex-col items-center justify-center w-full h-64 bg-neutral-secondary-medium border border-dashed border-default-strong rounded-base\">\n    <div class=\"flex flex-col items-center justify-center text-body pt-5 pb-6\">\n      <svg class=\"w-8 h-8 mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5v9m-5 0H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2M8 9l4-5 4 5m1 8h.01\"/></svg>\n      <p class=\"mb-2 text-sm\">Click the button below to upload</p>\n      <p class=\"text-xs mb-4\">Max. File Size: <span class=\"font-semibold\">30MB</span></p>\n      <!-- Upload Button -->\n      <button type=\"button\" onclick=\"document.getElementById('dropzone-file-2').click()\" class=\"inline-flex items-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Browse file\n      </button>\n    </div>\n  </div>\n  <!-- Hidden File Input (Outside Label) -->\n  <input id=\"dropzone-file-2\" type=\"file\" class=\"hidden\" />\n</div>\n{{< /example >}}"
  },
  {
    "path": "content/forms/floating-label.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Floating Label - Flowbite\ndescription: Use the floating label style for the input field elements to replicate the Material UI design system from Google and choose from multiple styles and sizes\ngroup: forms\ntoc: true\n\nprevious: Range Slider\npreviousLink: forms/range/\nnext: Headings\nnextLink: typography/headings/\n---\n\nThe floating label style was first pioneered by Google in its infamous Material UI design system and it's basically a label tag which floats just above the input field when it is being focused or already has content inside.\n\nOn this page you will find a three different input field styles including a standard, outlined, and filled style including validation styles and sizes coded with Tailwind CSS and supported for dark mode.\n\n## Floating label example\n\nGet started with the following three styles for the floating label component and use the `label` tag as a visual placeholder using the `peer-placeholder-shown` and `peer-focus` utility classes from Tailwind CSS.\n\n{{< example class=\"grid items-end w-full gap-6 md:grid-cols-3\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_filled\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_filled\" class=\"absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating filled</label>\n</div>\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_outlined\" class=\"absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1\">Floating outlined</label>\n</div>\n<div class=\"relative z-0\">\n    <input type=\"text\" id=\"floating_standard\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_standard\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating standard</label>\n</div>\n{{< /example >}}\n\n## Floating label with icons\n\nUse these examples of floating label input fields with a descriptive [SVG icon](https://flowbite.com/icons/).\n\n{{< example class=\"grid items-end w-full gap-6 md:grid-cols-3\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_filled\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_filled\" class=\"inline-flex items-center absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n    Floating filled\n    </label>\n</div>\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_outlined\" class=\"inline-flex items-center absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n        Floating outlined\n    </label>\n</div>\n<div class=\"relative z-0\">\n    <input type=\"text\" id=\"floating_standard\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_standard\" class=\"inline-flex items-center absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">\n    <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n    Floating standard\n    </label>\n</div>\n{{< /example >}}\n\n## Disabled state\n\nApply the `disabled` attribute to the input fields to disallow the user from changing the content.\n\n{{< example class=\"grid items-end gap-6 md:grid-cols-3\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"disabled_filled\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_filled\" class=\"absolute text-sm text-fg-disabled duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled filled</label>\n</div>\n<div class=\"relative\">\n    <input type=\"text\" id=\"disabled_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_outlined\" class=\"absolute text-sm text-fg-disabled duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled outlined</label>\n</div>\n<div class=\"relative z-0\">\n    <input type=\"text\" id=\"disabled_standard\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_standard\" class=\"absolute text-sm text-fg-disabled duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled standard</label>\n</div>\n{{< /example >}}\n\n## Validation\n\nUse the following examples of input validation for the success and error messages by applying the validation text below the input field and using the green or red color classes from Tailwind CSS.\n\n{{< example github=\"forms/floating-label.md\" show_dark=true >}}\n<!-- Success messages -->\n<div class=\"grid items-end gap-6 mb-6 md:grid-cols-3\">\n    <div>\n        <div class=\"relative\">\n            <input type=\"text\" id=\"filled_success\" aria-describedby=\"filled_success_help\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-success-soft border-0 border-b-2 border-success appearance-none focus:outline-none focus:ring-0 focus:border-success peer\" placeholder=\" \" />\n            <label for=\"filled_success\" class=\"absolute text-sm text-fg-success-strong duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Filled success</label>\n        </div>\n        <p id=\"filled_success_help\" class=\"mt-2 text-xs text-fg-success-strong\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n    </div>\n    <div>   \n        <div class=\"relative\">\n            <input type=\"text\" id=\"outlined_success\" aria-describedby=\"outlined_success_help\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 border-success appearance-none focus:outline-none focus:ring-0 focus:border-success peer\" placeholder=\" \" />\n            <label for=\"outlined_success\" class=\"absolute text-sm text-fg-success-strong duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Outlined success</label>\n        </div>\n        <p id=\"outlined_success_help\" class=\"mt-2 text-xs text-fg-success-strong\"><span class=\"font-medium\">Well done!</span> Some success message.</p>    \n    </div>\n    <div>\n        <div class=\"relative z-0\">\n            <input type=\"text\" id=\"standard_success\" aria-describedby=\"standard_success_help\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-success appearance-none focus:outline-none focus:ring-0 focus:border-success peer\" placeholder=\" \" />\n            <label for=\"standard_success\" class=\"absolute text-sm text-fg-success-strong duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Standard success</label>\n        </div>\n        <p id=\"standard_success_help\" class=\"mt-2 text-xs text-fg-success-strong\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n    </div>\n</div>\n\n<!-- Error messages -->\n<div class=\"grid items-end gap-6 md:grid-cols-3\">\n    <div>\n        <div class=\"relative\">\n            <input type=\"text\" id=\"filled_error\" aria-describedby=\"filled_error_help\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-danger-soft border-0 border-b-2 appearance-none focus:outline-none focus:ring-0 border-danger focus:border-danger peer\" placeholder=\" \" />\n            <label for=\"filled_error\" class=\"absolute text-sm duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 text-fg-danger-strong peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Filled error</label>\n        </div>\n        <p id=\"filled_error_help\" class=\"mt-2 text-xs text-fg-danger-strong\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n    </div>\n    <div>   \n        <div class=\"relative\">\n            <input type=\"text\" id=\"outlined_error\" aria-describedby=\"outlined_error_help\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 appearance-none border-danger focus:outline-none focus:ring-0 focus:border-danger peer\" placeholder=\" \" />\n            <label for=\"outlined_error\" class=\"absolute text-sm text-fg-danger-strong duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Outlined error</label>\n        </div>\n        <p id=\"outlined_error_help\" class=\"mt-2 text-xs text-fg-danger-strong\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>    \n    </div>\n    <div>\n        <div class=\"relative z-0\">\n            <input type=\"text\" id=\"standard_error\" aria-describedby=\"standard_error_help\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-danger appearance-none focus:outline-none focus:ring-0 focus:border-danger peer\" placeholder=\" \" />\n            <label for=\"standard_error\" class=\"absolute text-sm text-fg-danger-strong duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Standard error</label>\n        </div>\n        <p id=\"standard_error_help\" class=\"mt-2 text-xs text-fg-danger-strong\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n    </div>\n</div>\n{{< /example >}}\n\n## Sizes\n\nUse the small and default sizes of the floating label input fields from the following example.\n\n{{< example github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"grid items-end gap-6 mb-6 md:grid-cols-3\">\n    <div class=\"relative\">\n        <input type=\"text\" id=\"small_filled\" class=\"block rounded-t-base px-2.5 pb-1.5 pt-4 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"small_filled\" class=\"absolute text-sm text-body duration-300 transform -translate-y-3 scale-75 top-3 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-3 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small filled</label>\n    </div>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"small_outlined\" class=\"block px-2.5 pb-1.5 pt-3 w-full text-sm text-heading bg-transparent rounded-base border-1 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"small_outlined\" class=\"absolute text-sm text-body duration-300 transform -translate-y-3 scale-75 top-1 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-1 peer-focus:scale-75 peer-focus:-translate-y-3 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small outlined</label>\n    </div>\n    <div class=\"relative z-0\">\n        <input type=\"text\" id=\"small_standard\" class=\"block w-full px-0 py-2 text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"small_standard\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small standard</label>\n    </div>\n</div>\n<div class=\"grid items-end gap-6 md:grid-cols-3\">\n    <div class=\"relative\">\n        <input type=\"text\" id=\"default_filled\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"default_filled\" class=\"absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default filled</label>\n    </div>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"default_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-heading bg-transparent rounded-base border-1 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"default_outlined\" class=\"absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-neutral-primary px-2 peer-focus:px-2 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default outlined</label>\n    </div>\n    <div class=\"relative z-0\">\n        <input type=\"text\" id=\"default_standard\" class=\"block py-2.5 px-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n        <label for=\"default_standard\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default standard</label>\n    </div>\n</div>\n{{< /example >}}\n\n## Helper text\n\nAdd a helper text in addition to the label if you want to show more information below the input field.\n\n{{< example github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_helper\" aria-describedby=\"floating_helper_text\" class=\"block rounded-t-base px-2.5 pb-2.5 pt-5 w-full text-sm text-heading bg-neutral-secondary-medium border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" placeholder=\" \" />\n    <label for=\"floating_helper\" class=\"absolute text-sm text-body duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating helper</label>\n</div>\n<p id=\"floating_helper_text\" class=\"mt-2.5 text-xs text-body\">Remember, contributions to this topic should follow our <a href=\"#\" class=\"text-fg-brand hover:underline\">Community Guidelines</a>.</p>\n{{< /example >}}"
  },
  {
    "path": "content/forms/input-field.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Input Field - Flowbite\ndescription: Get started with a collection of input fields built with Tailwind CSS to start accepting data from the user based on multiple sizes, variants, and input types\ngroup: forms\ntoc: true\n\nprevious: Video\npreviousLink: components/video/\nnext: File Input\nnextLink: forms/file-input/\n---\n\nThe input field is an important part of the form element that can be used to create interactive controls to accept data from the user based on multiple input types, such as text, email, number, password, URL, phone number, and more.\n\nOn this page you will find all of the input types based on multiple variants, styles, colors, and sizes built with the utility classes from Tailwind CSS and components from Flowbite.\n\n## Input fields\n\nUse this example as a generic form element which includes multiple input fields types such as text, email, password, number, URL, and phone number and use the grid layout to add multiple columns and rows.\n\n{{< example github=\"forms/input-field.md\" show_dark=true >}}\n<form>\n    <div class=\"grid gap-6 mb-6 md:grid-cols-2\">\n        <div>\n            <label for=\"first_name\" class=\"block mb-2.5 text-sm font-medium text-heading\">First name</label>\n            <input type=\"text\" id=\"first_name\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"John\" required />\n        </div>\n        <div>\n            <label for=\"last_name\" class=\"block mb-2.5 text-sm font-medium text-heading\">Last name</label>\n            <input type=\"text\" id=\"last_name\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Doe\" required />\n        </div>\n        <div>\n            <label for=\"company\" class=\"block mb-2.5 text-sm font-medium text-heading\">Company</label>\n            <input type=\"text\" id=\"company\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Flowbite\" required />\n        </div>  \n        <div>\n            <label for=\"phone\" class=\"block mb-2.5 text-sm font-medium text-heading\">Phone number</label>\n            <input type=\"tel\" id=\"phone\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"123-45-678\" pattern=\"[0-9]{3}-[0-9]{2}-[0-9]{3}\" required />\n        </div>\n        <div>\n            <label for=\"website\" class=\"block mb-2.5 text-sm font-medium text-heading\">Website URL</label>\n            <input type=\"url\" id=\"website\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"flowbite.com\" required />\n        </div>\n        <div>\n            <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Unique visitors (per month)</label>\n            <input type=\"number\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n        </div>\n    </div>\n    <div class=\"mb-6\">\n        <label for=\"email\" class=\"block mb-2.5 text-sm font-medium text-heading\">Email address</label>\n        <input type=\"email\" id=\"email\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"john.doe@company.com\" required />\n    </div> \n    <div class=\"mb-6\">\n        <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Password</label>\n        <input type=\"password\" id=\"password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"•••••••••\" required />\n    </div> \n    <div class=\"mb-6\">\n        <label for=\"confirm_password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Confirm password</label>\n        <input type=\"password\" id=\"confirm_password\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"•••••••••\" required />\n    </div> \n    <div class=\"flex items-start mb-6\">\n        <div class=\"flex items-center h-5\">\n        <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" required />\n        </div>\n        <label for=\"remember\" class=\"ms-2 text-sm font-medium text-heading\">I agree with the <a href=\"#\" class=\"text-fg-brand hover:underline\">terms and conditions</a>.</label>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Submit</button>\n</form>\n{{< /example >}}\n\n## Input sizes\n\nUse the following examples to apply a small, default or large size for the input fields.\n\n{{< example class=\"space-y-6\" github=\"forms/input-field.md\" show_dark=true >}}\n        <div>\n            <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Small Input</label>\n            <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-2.5 py-2 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n        </div>\n        <div>\n            <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Base Input</label>\n            <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n        </div>\n        <div>\n            <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Large Input</label>\n            <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-base rounded-base focus:ring-brand focus:border-brand block w-full px-3.5 py-3 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n        </div>\n        <div>\n            <label for=\"visitors\" class=\"block mb-2.5 text-sm font-medium text-heading\">Extra Large Input</label>\n            <input type=\"text\" id=\"visitors\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-base rounded-base focus:ring-brand focus:border-brand block w-full px-4 py-3.5 shadow-xs placeholder:text-body\" placeholder=\"\" required />\n        </div>\n{{< /example >}}\n\n## Disabled state\n\nGet started with this example if you want to apply the disabled state to an input field.\n\n{{< example class=\"space-y-6\" github=\"forms/input-field.md\" show_dark=true >}}\n<input type=\"text\" id=\"disabled-input\" aria-label=\"disabled input\" class=\"bg-neutral-secondary-medium border border-default-medium text-fg-disabled text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"Disabled input\" disabled>\n<input type=\"text\" id=\"disabled-input-2\" aria-label=\"disabled input 2\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" value=\"Disabled readonly input\" disabled readonly>\n{{< /example >}}\n\n## Validation\n\nUse the following example to apply validation styles for success and error messages.\n\n{{< example github=\"forms/input-field.md\" show_dark=true >}}\n<div class=\"mb-6\">\n  <label for=\"success\" class=\"block mb-2.5 text-sm font-medium text-fg-success-strong\">Your name</label>\n  <input type=\"text\" id=\"success\" class=\"bg-success-soft border border-success-subtle text-fg-success-strong text-sm rounded-base focus:ring-success focus:border-success block w-full px-3 py-2.5 shadow-xs placeholder:text-fg-success-strong\" placeholder=\"Success input\">\n  <p class=\"mt-2.5 text-sm text-fg-success-strong\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n</div>\n<div class=\"mb-6\">\n  <label for=\"danger\" class=\"block mb-2.5 text-sm font-medium text-fg-danger-strong\">Your name</label>\n  <input type=\"text\" id=\"danger\" class=\"bg-danger-soft border border-danger-subtle text-fg-danger-strong text-sm rounded-base focus:ring-danger focus:border-danger block w-full px-3 py-2.5 shadow-xs placeholder:text-fg-danger-strong\" placeholder=\"Error input\">\n  <p class=\"mt-2.5 text-sm text-fg-danger-strong\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n</div>\n{{< /example >}}\n\n## Input group\n\nThis example can be used to add a descriptive icon or additional text inside the input field.\n\n{{< example class=\"space-y-6\" github=\"forms/input-field.md\" show_dark=true >}}\n<label for=\"input-group-1\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your Email</label>\n<div class=\"relative\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n  </div>\n  <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\">\n</div>\n<label for=\"website-admin\" class=\"block mb-2.5 text-sm font-medium text-heading\">Username</label>\n<div class=\"flex shadow-xs rounded-base\">\n  <span class=\"inline-flex items-center px-3 text-sm text-body bg-neutral-tertiary border rounded-e-0 border-default-medium border-e-0 rounded-s-base\">\n    <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm0 0a8.949 8.949 0 0 0 4.951-1.488A3.987 3.987 0 0 0 13 16h-2a3.987 3.987 0 0 0-3.951 3.512A8.948 8.948 0 0 0 12 21Zm3-11a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"/></svg>\n  </span>\n  <input type=\"text\" id=\"website-admin\" class=\"rounded-none rounded-e-base block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand placeholder:text-body\" placeholder=\"elonmusk\">\n</div>\n\n<label for=\"website\" class=\"block mb-2.5 text-sm font-medium text-heading\">Website</label>\n<div class=\"flex shadow-xs rounded-base\">\n  <span class=\"inline-flex items-center px-3 text-sm text-body bg-neutral-tertiary border rounded-e-0 border-default-medium border-e-0 rounded-s-base\">\nhttps://\n  </span>\n  <input type=\"text\" id=\"website\" class=\"rounded-none rounded-e-base block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand placeholder:text-body\" placeholder=\"flowbite.com\">\n</div>\n{{< /example >}}\n\n## Helper text\n\nUse this example to show a helper text below the input field for additional explanation and links.\n\n{{< example github=\"forms/input-field.md\" show_dark=true >}}\n<label for=\"input-group-1\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your Email</label>\n<div class=\"relative\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n  </div>\n  <input type=\"text\" id=\"input-group-1\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"name@flowbite.com\">\n</div>\n<p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">We’ll never share your details. Read our <a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Privacy Policy</a>.</p>\n{{< /example >}}\n\n## Search input\n\nGet started with this example where the submit button is positioned inside the input field.\n\n{{< example github=\"forms/input-field.md\" show_dark=true >}}\n<form>   \n    <label for=\"search\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Search</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        </div>\n        <input type=\"search\" id=\"search\" class=\"block w-full p-3 ps-9 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\" required />\n        <button type=\"button\" class=\"absolute end-1.5 bottom-1.5 text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">Search</button>\n    </div>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Dropdown input\n\nUse this example to show a dropdown menu right next to the input field.\n\n{{< example github=\"forms/input-field.md\" show_dark=true iframeHeight=\"290\" >}}\n<form>\n    <div class=\"flex shadow-xs rounded-base -space-x-0.5\">\n        <label for=\"search-dropdown\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n        <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.143 4H4.857A.857.857 0 0 0 4 4.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 10 9.143V4.857A.857.857 0 0 0 9.143 4Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 20 9.143V4.857A.857.857 0 0 0 19.143 4Zm-10 10H4.857a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286A.857.857 0 0 0 9.143 14Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286a.857.857 0 0 0-.857-.857Z\"/></svg>\n            All categories\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button\">\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Shopping</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Images</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">News</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Finance</a>\n                </li>\n            </ul>\n        </div>\n        <input type=\"search\" id=\"search-dropdown\" id=\"input-group-1\" class=\"px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm focus:ring-brand focus:border-brand block w-full placeholder:text-body\" placeholder=\"Search for products\" required>\n        <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Search\n        </button>\n    </div>\n</form>\n{{< /example >}}\n"
  },
  {
    "path": "content/forms/number-input.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Number Input - Flowbite\ndescription: Use the number input component to set a numeric value inside a form field based on multiple styles, variants, and layouts that can be used in product pages, forms, and more\ngroup: forms\nrequires_js: true\ntoc: true\n\nprevious: Search Input\npreviousLink: forms/search-input/\nnext: Phone Input\nnextLink: forms/phone-input/\n---\n\nThe number input component from Flowbite can be used to introduce numeric values inside a form such as for a quantity field, a ZIP code, a phone number, your credit card number, and more. All of the UI components are coded exclusively with Tailwind CSS.\n\nThe examples on this page have basic functionality coded with JavaScript and the quantity input has a more advanced ability to increment and decrement the value with the help of the `data-input-counter` attribute from the Flowbite JS API.\n\n## Default number input\n\nUse this component to set a number value inside a form field by applying the `type=\"number\"` attribute.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"number-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select a number:</label>\n    <input type=\"number\" id=\"number-input\" aria-describedby=\"helper-text-explanation\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"90210\" required />\n</form>\n{{< /example >}}\n\n## ZIP code input\n\nUse this example with an icon and helper text to set a ZIP code value inside a form field by also applying the `pattern` attribute to validate the input using a regular expression for a 5 digit number.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"zip-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">ZIP code:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.8 13.938h-.011a7 7 0 1 0-11.464.144h-.016l.14.171c.1.127.2.251.3.371L12 21l5.13-6.248c.194-.209.374-.429.54-.659l.13-.155Z\"/></svg>\n        </div>\n        <input type=\"text\" id=\"zip-input\" aria-describedby=\"helper-text-explanation\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"12345 or 12345-6789\" pattern=\"^\\d{5}(-\\d{4})?$\" required />\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n## Phone number\n\nUse this example to set a phone number inside a form field based on the `type=\"phone\"` attribute and a dropdown menu to select the country code.\n\n{{< example github=\"components/number-input.md\" show_dark=true iframeHeight=\"360\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center -space-x-px shadow-xs rounded-base\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            +1\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States (+1)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia (+61)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom (+4)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France (+33)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada (+1)\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"phone\" id=\"phone-input\" class=\"w-full z-20 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-e-base focus:outline-none focus:ring-1 focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n## Control buttons\n\nUse this example with control buttons to increment and decrement the value inside the input field.\n\nIf you have the [Flowbite JS](https://flowbite.com/docs/getting-started/quickstart/) installed in your project then you can use the `data-input-counter` data attribute to initialize the target input field and then use the following data attributes to target the buttons that will increment and decrement the value of the input field:\n\n- `data-input-counter` - initialize the input field\n- `data-input-counter-increment` - increment the value of the input field\n- `data-input-counter-decrement` - decrement the value of the input field\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"quantity-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[9rem] shadow-xs rounded-base\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"quantity-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"quantity-input\" data-input-counter aria-describedby=\"helper-text-explanation\" class=\"border-x-0 h-10 placeholder:text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body\" placeholder=\"999\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"quantity-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body shrink-0\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n## Control buttons with icon\n\nUse this example to also add an icon inside the input field to improve the user experience.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"bedrooms-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[11rem] shadow-xs rounded-base\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"bedrooms-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"bedrooms-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" aria-describedby=\"helper-text-explanation\" class=\"border-x-0 h-10 placeholder:text-heading text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body block pb-6 text-xs\" placeholder=\"\" value=\"3\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-body-subtle space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 17v2M12 5.5V10m-6 7v2m15-2v-4c0-1.6569-1.3431-3-3-3H6c-1.65685 0-3 1.3431-3 3v4h18Zm-2-7V8c0-1.65685-1.3431-3-3-3H8C6.34315 5 5 6.34315 5 8v2h14Z\"/></svg>\n            <span>Bedrooms</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"bedrooms-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Please select the number of bedrooms.</p>\n</form>\n{{< /example >}}\n\n## Counter input\n\nUse this example as an alternative style to the control buttons example above.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"counter-input\" class=\"block mb-1.5 text-sm font-medium text-heading\">Choose quantity:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"counter-input\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n            <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"counter-input\" data-input-counter class=\"shrink-0 text-heading border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"counter-input\" class=\"flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary rounded-full text-sm focus:outline-none h-6 w-6\">\n            <svg class=\"w-3 h-3 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n## Currency input\n\nThis component can be used to set a currency value inside a form field when you need to set a price.\n\n{{< example github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-[18rem] mx-auto flex shadow-xs rounded-base -space-x-px\">\n    <label for=\"currency-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Your Email</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M8 7V6a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1M3 18v-7a1 1 0 0 1 1-1h11a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1Zm8-3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/></svg>\n        </div>\n        <input type=\"number\" id=\"currency-input\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-s-base focus:ring-brand focus:border-brand placeholder:text-body\" placeholder=\"Enter amount\" required />\n    </div>\n    <button id=\"dropdown-currency-button\" data-dropdown-toggle=\"dropdown-currency\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n        USD\n        <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n    </button>\n    <div id=\"dropdown-currency\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-currency-button\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    USD\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                    <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                    <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                    <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                </svg>\n                GPB\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M9.00078 4.43494L9.24362 5.18227H10.0294L9.39365 5.64414L9.63649 6.39147L9.00078 5.92957L8.36504 6.39147L8.60788 5.64414L7.97217 5.18227H8.75794L9.00078 4.43494Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M5.7711 5.77211L6.4713 6.12883L7.02691 5.57324L6.90396 6.34932L7.60412 6.70606L6.82802 6.82899L6.70509 7.60513L6.34834 6.90496L5.57227 7.02792L6.12788 6.4723L5.7711 5.77211Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M4.43457 9.00005L5.1819 8.75721V7.97144L5.64374 8.60718L6.3911 8.36434L5.92918 9.00005L6.3911 9.63576L5.64374 9.39295L5.1819 10.0287V9.24289L4.43457 9.00005Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M5.7711 12.2283L6.12785 11.5281L5.57227 10.9724L6.34837 11.0954L6.70506 10.3953L6.82802 11.1714L7.60409 11.2943L6.90401 11.651L7.02691 12.4271L6.4713 11.8715L5.7711 12.2283Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M9.00078 13.5655L8.75791 12.8181H7.97217L8.60791 12.3563L8.36504 11.609L9.00078 12.0708L9.63649 11.609L9.39365 12.3563L10.0294 12.8181H9.24359L9.00078 13.5655Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M12.227 12.2283L11.5268 11.8715L10.9712 12.4271L11.0941 11.651L10.394 11.2943L11.1701 11.1714L11.293 10.3953L11.6497 11.0954L12.4258 10.9724L11.8702 11.5281L12.227 12.2283Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M13.5639 9.00017L12.8166 9.24301V10.0288L12.3547 9.39304L11.6074 9.63588L12.0693 9.00017L11.6074 8.36446L12.3547 8.6073L12.8166 7.97156V8.75736L13.5639 9.00017Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M12.227 5.77208L11.8702 6.47228L12.4258 7.02789L11.6497 6.9049L11.293 7.60507L11.1701 6.82897L10.394 6.70601L11.0941 6.34929L10.9712 5.57324L11.5268 6.12883L12.227 5.77208Z\" fill=\"#FFDA44\"/>\n                </svg>\n                EUR\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                    <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                    <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                </svg>\n                CAD\n                </a>\n            </li>\n        </ul>\n    </div>\n</form>\n{{< /example >}}\n\n## Credit card input\n\nUse this component to set the information needed when making an online transaction with a credit card by adding the card number, expiration date, and security code. The component uses the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/).\n\n{{< example github=\"components/number-input.md\" show_dark=true iframeHeight=\"340\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"card-number-input\" class=\"sr-only\">Card number:</label>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"card-number-input\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body pe-9\" placeholder=\"4242 4242 4242 4242\" pattern=\"^4[0-9]{12}(?:[0-9]{3})?$\" required />\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg fill=\"none\" class=\"h-6 text-[#1434CB] dark:text-white\" viewBox=\"0 0 36 21\"><path fill=\"currentColor\" d=\"M23.315 4.773c-2.542 0-4.813 1.3-4.813 3.705 0 2.756 4.028 2.947 4.028 4.332 0 .583-.676 1.105-1.832 1.105-1.64 0-2.866-.73-2.866-.73l-.524 2.426s1.412.616 3.286.616c2.78 0 4.966-1.365 4.966-3.81 0-2.913-4.045-3.097-4.045-4.383 0-.457.555-.957 1.708-.957 1.3 0 2.36.53 2.36.53l.514-2.343s-1.154-.491-2.782-.491zM.062 4.95L0 5.303s1.07.193 2.032.579c1.24.442 1.329.7 1.537 1.499l2.276 8.664h3.05l4.7-11.095h-3.043l-3.02 7.543L6.3 6.1c-.113-.732-.686-1.15-1.386-1.15H.062zm14.757 0l-2.387 11.095h2.902l2.38-11.096h-2.895zm16.187 0c-.7 0-1.07.37-1.342 1.016L25.41 16.045h3.044l.589-1.68h3.708l.358 1.68h2.685L33.453 4.95h-2.447zm.396 2.997l.902 4.164h-2.417l1.515-4.164z\"/></svg>\n        </div>\n    </div>\n    <div class=\"grid grid-cols-3 gap-4 my-4\">\n        <div class=\"relative max-w-sm col-span-2\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <label for=\"card-expiration-input\" class=\"sr-only\">Card expiration date:</label>\n            <input datepicker datepicker-format=\"mm/yy\" id=\"card-expiration-input\" type=\"text\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full ps-9 pe-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"12/23\" required />\n        </div>\n        <div class=\"col-span-1\">\n            <label for=\"cvv-input\" class=\"sr-only\">Card CVV code:</label>\n            <input type=\"number\" id=\"cvv-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"CVV\" required />\n        </div>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Pay now</button>\n</form>\n{{< /example >}}\n\n## Pin code input\n\nUse this example of a pin code input to set a 6 digit code. This can be used when setting up a new account or when making a payment and the code is sent via phone or email.\n\n{{< example github=\"components/number-input.md\" show_dark=true javascript=`\n// use this simple function to automatically focus on the next input\nfunction focusNextInput(el, prevId, nextId) {\n    if (el.value.length === 0) {\n        if (prevId) {\n            document.getElementById(prevId).focus();\n        }\n    } else {\n        if (nextId) {\n            document.getElementById(nextId).focus();\n        }\n    }\n}\n\ndocument.querySelectorAll('[data-focus-input-init]').forEach(function(element) {\n    element.addEventListener('keyup', function() {\n        const prevId = this.getAttribute('data-focus-input-prev');\n        const nextId = this.getAttribute('data-focus-input-next');\n        focusNextInput(this, prevId, nextId);\n    });\n    \n// Handle paste event to split the pasted code into each input\n    element.addEventListener('paste', function(event) {\n        event.preventDefault();\n        const pasteData = (event.clipboardData || window.clipboardData).getData('text');\n        const digits = pasteData.replace(/\\D/g, ''); // Only take numbers from the pasted data\n\n        // Get all input fields\n        const inputs = document.querySelectorAll('[data-focus-input-init]');\n        \n        // Iterate over the inputs and assign values from the pasted string\n        inputs.forEach((input, index) => {\n            if (digits[index]) {\n                input.value = digits[index];\n                // Focus the next input after filling the current one\n                const nextId = input.getAttribute('data-focus-input-next');\n                if (nextId) {\n                    document.getElementById(nextId).focus();\n                }\n            }\n        });\n    });\n});\n` >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex mb-2 space-x-2 rtl:space-x-reverse\">\n        <div>\n            <label for=\"code-1\" class=\"sr-only\">First code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-next=\"code-2\" id=\"code-1\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n        <div>\n            <label for=\"code-2\" class=\"sr-only\">Second code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-1\" data-focus-input-next=\"code-3\" id=\"code-2\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n        <div>\n            <label for=\"code-3\" class=\"sr-only\">Third code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-2\" data-focus-input-next=\"code-4\" id=\"code-3\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n        <div>\n            <label for=\"code-4\" class=\"sr-only\">Fourth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-3\" data-focus-input-next=\"code-5\" id=\"code-4\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n        <div>\n            <label for=\"code-5\" class=\"sr-only\">Fifth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-4\" data-focus-input-next=\"code-6\" id=\"code-5\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n        <div>\n            <label for=\"code-6\" class=\"sr-only\">Sixth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-5\" id=\"code-6\" class=\"block bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand h-10 w-10 shadow-xs placeholder:text-body\" required />\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Please introduce the 6 digit code we sent via email.</p>\n</form>\n{{< /example >}}\n\n## Number input with slider\n\nThis example can be used to set the value of a number input field by sliding the range slider component or by typing the value in the input field. The component uses the [Flowbite Range Slider](https://flowbite.com/docs/components/range-slider/).\n\n{{< example github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" disable_init_js=\"true\" javascript=`\n// Get the elements\nvar rangeInput = document.getElementById('price-range-input');\nvar currencyInput = document.getElementById('currency-input');\n\n// Function to update the currency input\nfunction updateCurrencyInput() {\ncurrencyInput.value = rangeInput.value;\n}\n\n// Add event listener to the range input\nrangeInput.addEventListener('input', updateCurrencyInput);\n` >}}\n<form class=\"max-w-[24rem] mx-auto\">\n    <div class=\"flex shadow-xs rounded-base -space-x-px mb-4\">\n        <label for=\"currency-input-2\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Your Email</label>\n        <button id=\"dropdown-currency-button-2\" data-dropdown-toggle=\"dropdown-currency-2\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            USD\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div class=\"relative w-full\">\n            <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 17.345a4.76 4.76 0 0 0 2.558 1.618c2.274.589 4.512-.446 4.999-2.31.487-1.866-1.273-3.9-3.546-4.49-2.273-.59-4.034-2.623-3.547-4.488.486-1.865 2.724-2.899 4.998-2.31.982.236 1.87.793 2.538 1.592m-3.879 12.171V21m0-18v2.2\"/></svg>\n            </div>\n            <input type=\"number\" id=\"currency-input-2\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-e-base focus:ring-brand focus:border-brand placeholder:text-body\" placeholder=\"Enter amount\" value=\"1000\" required />\n        </div>\n    </div>\n    <div id=\"dropdown-currency-2\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-currency-button-2\">\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    USD\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                    <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                    <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                    <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                </svg>\n                GPB\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"#1A47B8\"/>\n                    <path d=\"M9.00078 4.43494L9.24362 5.18227H10.0294L9.39365 5.64414L9.63649 6.39147L9.00078 5.92957L8.36504 6.39147L8.60788 5.64414L7.97217 5.18227H8.75794L9.00078 4.43494Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M5.7711 5.77211L6.4713 6.12883L7.02691 5.57324L6.90396 6.34932L7.60412 6.70606L6.82802 6.82899L6.70509 7.60513L6.34834 6.90496L5.57227 7.02792L6.12788 6.4723L5.7711 5.77211Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M4.43457 9.00005L5.1819 8.75721V7.97144L5.64374 8.60718L6.3911 8.36434L5.92918 9.00005L6.3911 9.63576L5.64374 9.39295L5.1819 10.0287V9.24289L4.43457 9.00005Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M5.7711 12.2283L6.12785 11.5281L5.57227 10.9724L6.34837 11.0954L6.70506 10.3953L6.82802 11.1714L7.60409 11.2943L6.90401 11.651L7.02691 12.4271L6.4713 11.8715L5.7711 12.2283Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M9.00078 13.5655L8.75791 12.8181H7.97217L8.60791 12.3563L8.36504 11.609L9.00078 12.0708L9.63649 11.609L9.39365 12.3563L10.0294 12.8181H9.24359L9.00078 13.5655Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M12.227 12.2283L11.5268 11.8715L10.9712 12.4271L11.0941 11.651L10.394 11.2943L11.1701 11.1714L11.293 10.3953L11.6497 11.0954L12.4258 10.9724L11.8702 11.5281L12.227 12.2283Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M13.5639 9.00017L12.8166 9.24301V10.0288L12.3547 9.39304L11.6074 9.63588L12.0693 9.00017L11.6074 8.36446L12.3547 8.6073L12.8166 7.97156V8.75736L13.5639 9.00017Z\" fill=\"#FFDA44\"/>\n                    <path d=\"M12.227 5.77208L11.8702 6.47228L12.4258 7.02789L11.6497 6.9049L11.293 7.60507L11.1701 6.82897L10.394 6.70601L11.0941 6.34929L10.9712 5.57324L11.5268 6.12883L12.227 5.77208Z\" fill=\"#FFDA44\"/>\n                </svg>\n                EUR\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                    <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                    <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                    <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                </svg>\n                CAD\n                </a>\n            </li>\n        </ul>\n    </div>\n    <div class=\"relative\">\n        <label for=\"price-range-input\" class=\"sr-only\">Default range</label>\n        <input id=\"price-range-input\" type=\"range\" value=\"1000\" min=\"100\" max=\"1500\" class=\"w-full h-2 bg-neutral-quaternary rounded-lg appearance-none cursor-pointer\">\n        <span class=\"text-sm text-body absolute start-0 -bottom-6\">Min ($100)</span>\n        <span class=\"text-sm text-body absolute start-1/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$500</span>\n        <span class=\"text-sm text-body absolute start-2/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$1000</span>\n        <span class=\"text-sm text-body absolute end-0 -bottom-6\">Max ($1500)</span>\n    </div>\n</form>\n{{< /example >}}\n\n## Convert currency\n\nUse this example of two number input fields and dropdowns to convert currency and even from fiat to crypto.\n\n{{< example github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" disable_init_js=\"true\" >}}\n<form class=\"max-w-xl mx-auto\">\n    <div class=\"space-x-0 space-y-4 sm:space-y-0 sm:space-x-4 rtl:space-x-reverse flex items-center flex-col sm:flex-row mb-4\">\n        <div class=\"flex -space-x-px\">\n            <label for=\"fiat-currency-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Your Email</label>\n            <div class=\"relative w-full\">\n                <input type=\"number\" id=\"fiat-currency-input\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-s-base focus:ring-brand focus:border-brand px-3 py-2.5 placeholder:text-body\" placeholder=\"421 USD\" required />\n            </div>\n            <button id=\"dropdown-fiat-currency-button\" data-dropdown-toggle=\"dropdown-fiat-currency\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n                <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                USD\n                <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <div id=\"dropdown-fiat-currency\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32\">\n                <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-fiat-currency-button\">\n                    <li>\n                        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                            USD\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                            <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                            <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                            <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                            <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                            <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                        </svg>\n                        GPB\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"#1A47B8\"/>\n                            <path d=\"M9.00078 4.43494L9.24362 5.18227H10.0294L9.39365 5.64414L9.63649 6.39147L9.00078 5.92957L8.36504 6.39147L8.60788 5.64414L7.97217 5.18227H8.75794L9.00078 4.43494Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M5.7711 5.77211L6.4713 6.12883L7.02691 5.57324L6.90396 6.34932L7.60412 6.70606L6.82802 6.82899L6.70509 7.60513L6.34834 6.90496L5.57227 7.02792L6.12788 6.4723L5.7711 5.77211Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M4.43457 9.00005L5.1819 8.75721V7.97144L5.64374 8.60718L6.3911 8.36434L5.92918 9.00005L6.3911 9.63576L5.64374 9.39295L5.1819 10.0287V9.24289L4.43457 9.00005Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M5.7711 12.2283L6.12785 11.5281L5.57227 10.9724L6.34837 11.0954L6.70506 10.3953L6.82802 11.1714L7.60409 11.2943L6.90401 11.651L7.02691 12.4271L6.4713 11.8715L5.7711 12.2283Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M9.00078 13.5655L8.75791 12.8181H7.97217L8.60791 12.3563L8.36504 11.609L9.00078 12.0708L9.63649 11.609L9.39365 12.3563L10.0294 12.8181H9.24359L9.00078 13.5655Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M12.227 12.2283L11.5268 11.8715L10.9712 12.4271L11.0941 11.651L10.394 11.2943L11.1701 11.1714L11.293 10.3953L11.6497 11.0954L12.4258 10.9724L11.8702 11.5281L12.227 12.2283Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M13.5639 9.00017L12.8166 9.24301V10.0288L12.3547 9.39304L11.6074 9.63588L12.0693 9.00017L11.6074 8.36446L12.3547 8.6073L12.8166 7.97156V8.75736L13.5639 9.00017Z\" fill=\"#FFDA44\"/>\n                            <path d=\"M12.227 5.77208L11.8702 6.47228L12.4258 7.02789L11.6497 6.9049L11.293 7.60507L11.1701 6.82897L10.394 6.70601L11.0941 6.34929L10.9712 5.57324L11.5268 6.12883L12.227 5.77208Z\" fill=\"#FFDA44\"/>\n                        </svg>\n                        EUR\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                            <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                            <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                            <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                        </svg>\n                        CAD\n                        </a>\n                    </li>\n                </ul>\n            </div>\n        </div>\n        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m16 10 3-3m0 0-3-3m3 3H5v3m3 4-3 3m0 0 3 3m-3-3h14v-3\"/></svg>\n        <div class=\"flex -space-x-px\">\n            <label for=\"crypto-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Your Email</label>\n            <div class=\"relative w-full\">\n                <input type=\"number\" id=\"crypto-input\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-s-base focus:ring-brand focus:border-brand px-3 py-2.5 placeholder:text-body\" placeholder=\"0.323 BTC\" required />\n            </div>\n            <button id=\"dropdown-crypto-button\" data-dropdown-toggle=\"dropdown-crypto\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 15\"><path fill=\"#F7931A\" d=\"M14.83 9.204A7.04 7.04 0 111.17 5.797a7.04 7.04 0 0113.66 3.407z\"/><path fill=\"#fff\" d=\"M11.104 6.498c.14-.937-.573-1.44-1.548-1.777l.316-1.269-.773-.192-.308 1.235c-.203-.05-.411-.098-.619-.145l.31-1.244-.771-.193-.317 1.269a25.752 25.752 0 01-.493-.116v-.004l-1.065-.266-.205.825s.573.132.56.14c.314.078.37.285.36.449l-.36 1.446c.022.005.05.013.08.025l-.08-.02-.506 2.026c-.038.095-.135.237-.354.183.008.011-.562-.14-.562-.14l-.383.884 1.005.251c.187.047.37.096.55.142l-.319 1.284.772.192.317-1.27c.21.058.415.11.615.16l-.315 1.264.772.193.32-1.281c1.317.249 2.308.148 2.724-1.043.336-.96-.016-1.513-.71-1.874.505-.116.886-.448.987-1.134zM9.34 8.973c-.239.96-1.854.44-2.378.31l.424-1.7c.524.13 2.203.39 1.954 1.39zm.239-2.49c-.218.874-1.562.43-1.999.321l.385-1.542c.436.109 1.84.312 1.614 1.222z\"/></svg>\n                BTC \n                <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n            </button>\n            <div id=\"dropdown-crypto\" class=\"z-10 bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-32 block\">\n                <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-crypto-button\">\n                    <li>\n                        <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 15\"><path fill=\"#F7931A\" d=\"M14.83 9.204A7.04 7.04 0 111.17 5.797a7.04 7.04 0 0113.66 3.407z\"/><path fill=\"#fff\" d=\"M11.104 6.498c.14-.937-.573-1.44-1.548-1.777l.316-1.269-.773-.192-.308 1.235c-.203-.05-.411-.098-.619-.145l.31-1.244-.771-.193-.317 1.269a25.752 25.752 0 01-.493-.116v-.004l-1.065-.266-.205.825s.573.132.56.14c.314.078.37.285.36.449l-.36 1.446c.022.005.05.013.08.025l-.08-.02-.506 2.026c-.038.095-.135.237-.354.183.008.011-.562-.14-.562-.14l-.383.884 1.005.251c.187.047.37.096.55.142l-.319 1.284.772.192.317-1.27c.21.058.415.11.615.16l-.315 1.264.772.193.32-1.281c1.317.249 2.308.148 2.724-1.043.336-.96-.016-1.513-.71-1.874.505-.116.886-.448.987-1.134zM9.34 8.973c-.239.96-1.854.44-2.378.31l.424-1.7c.524.13 2.203.39 1.954 1.39zm.239-2.49c-.218.874-1.562.43-1.999.321l.385-1.542c.436.109 1.84.312 1.614 1.222z\"/></svg>\n                                BTC\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 10 17\"><path fill=\"#343434\" d=\"M5 .5l-.11.364v10.582l.11.105 4.91-2.902L5 .5z\"/><path fill=\"#8C8C8C\" d=\"M5 .5L.086 8.65 5 11.55V.5z\"/><path fill=\"#3C3C3B\" d=\"M5 12.48l-.061.075v3.77L5 16.5l4.914-6.922L5 12.48z\"/><path fill=\"#8C8C8C\" d=\"M5 16.5v-4.02L.086 9.578 5 16.5z\"/><path fill=\"#141414\" d=\"M5 11.55L9.91 8.65 5 6.418v5.133z\"/><path fill=\"#393939\" d=\"M.086 8.649L5 11.551V6.418L.086 8.649z\"/></svg>\n                                ETH\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 17\"><path fill=\"#C2A633\" d=\"M16 8.5a8 8 0 11-16 0 8 8 0 0116 0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M5.355 12.685h2.761S12 13.015 12 8.567c0-4.275-3.546-4.26-4.232-4.257H5.355v3.73H4.38v.914h.974v3.73zM6.91 5.858H8c.407 0 2.458.167 2.461 2.74.003 2.542-2.064 2.54-2.396 2.539H6.91V8.954h1.715v-.913H6.91V5.858z\" clip-rule=\"evenodd\"/></svg>\n                                DOGE\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 13\"><g clip-path=\"url(#clip0_460_40742)\"><path fill=\"url(#paint0_linear_460_40742)\" d=\"M2.599 9.8a.524.524 0 01.37-.152h12.77c.233 0 .35.282.185.447L13.4 12.617a.523.523 0 01-.37.153H.261a.261.261 0 01-.184-.447l2.522-2.522z\"/><path fill=\"url(#paint1_linear_460_40742)\" d=\"M2.599.383a.538.538 0 01.37-.153h12.77c.232 0 .35.282.184.446L13.401 3.2a.523.523 0 01-.37.153H.26a.262.262 0 01-.185-.447L2.599.383z\"/><path fill=\"url(#paint2_linear_460_40742)\" d=\"M13.401 5.062a.523.523 0 00-.37-.153H.261a.262.262 0 00-.184.446l2.522 2.523c.097.096.23.153.37.153h12.77c.233 0 .35-.282.185-.447L13.4 5.062z\"/></g><defs><linearGradient id=\"paint0_linear_460_40742\" x1=\"14.519\" x2=\"5.681\" y1=\"-1.277\" y2=\"15.65\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><linearGradient id=\"paint1_linear_460_40742\" x1=\"10.654\" x2=\"1.817\" y1=\"-3.294\" y2=\"13.633\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><linearGradient id=\"paint2_linear_460_40742\" x1=\"12.574\" x2=\"3.737\" y1=\"-2.292\" y2=\"14.635\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><clipPath id=\"clip0_460_40742\"><path fill=\"#fff\" d=\"M0 0h16v12.54H0z\" transform=\"translate(0 .23)\"/></clipPath></defs></svg>\n                                SOL\n                            </div>\n                        </button>\n                    </li>\n                </ul>\n            </div>\n        </div>\n    </div>\n    <div class=\"flex justify-between items-center flex-col sm:flex-row space-y-2 sm:space-y-0\">\n        <p class=\"text-sm text-body\">Last update: 20:45 AM, November 20, 2023</p>\n        <button type=\"reset\" class=\"text-sm text-fg-brand inline-flex items-center font-medium hover:underline\">\n            Refresh <svg class=\"w-3 h-3 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 1v5h-5M2 19v-5h5m10-4a8 8 0 0 1-14.947 3.97M1 10a8 8 0 0 1 14.947-3.97\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n## Advanced control buttons\n\nThis example can be used to add multiple number input fields with quantity selectors and control buttons to use for E-commerce UI similar to projects like AirBnb or Booking.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"bedrooms-input\" class=\"sr-only\">Choose bedrooms number:</label>\n    <div class=\"relative flex items-center mb-2\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"bedrooms-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"bedrooms-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" class=\"border-x-0 h-10 placeholder:text-heading text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body block pb-6 text-xs\" placeholder=\"\" value=\"2\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-body space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-3 h-3 text-body-subtle\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 17v2M12 5.5V10m-6 7v2m15-2v-4c0-1.6569-1.3431-3-3-3H6c-1.65685 0-3 1.3431-3 3v4h18Zm-2-7V8c0-1.65685-1.3431-3-3-3H8C6.34315 5 5 6.34315 5 8v2h14Z\"/>\n            </svg>\n            <span>Bedrooms</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"bedrooms-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n    <label for=\"nights-input\" class=\"sr-only\">Choose number of nights:</label>\n    <div class=\"relative flex items-center mb-2\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"nights-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"nights-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"30\" class=\"border-x-0 h-10 placeholder:text-heading text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body block pb-6 text-xs\" placeholder=\"\" value=\"7\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-body space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-3 h-3 text-body-subtle\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/>\n            </svg>\n            <span>Night stays</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"nights-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n    <label for=\"guests-input\" class=\"sr-only\">Choose guests:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"guests-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"guests-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" class=\"border-x-0 h-10 placeholder:text-heading text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body block pb-6 text-xs\" placeholder=\"\" value=\"3\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-body space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-3 h-3 text-body-subtle\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M4.5 17H4a1 1 0 0 1-1-1 3 3 0 0 1 3-3h1m0-3.05A2.5 2.5 0 1 1 9 5.5M19.5 17h.5a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-1m0-3.05a2.5 2.5 0 1 0-2-4.45m.5 13.5h-7a1 1 0 0 1-1-1 3 3 0 0 1 3-3h3a3 3 0 0 1 3 3 1 1 0 0 1-1 1Zm-1-9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/>\n            </svg>\n            <span>Guests</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"guests-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n## Min and max values\n\nBy using the InputCounter object from the Flowbite JS API, you ca set the min and max values of a number input component by using the following data attributes:\n\n- `data-input-counter-min` - set the minimum value of the input\n- `data-input-counter-max` - set the maximum value of the input\n\nThese values will be enforced and validated whenever the user clicks on one of the buttons or tries to introduce the value manually.\n\n{{< example github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"quantity-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[8rem]\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"quantity-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/></svg>\n        </button>\n        <input type=\"text\" id=\"quantity-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"50\" aria-describedby=\"helper-text-explanation\" class=\"border-x-0 h-10 placeholder:text-heading text-heading text-center w-full bg-neutral-secondary-medium border-default-medium py-2.5 placeholder:text-body\" placeholder=\"999\" value=\"5\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"quantity-input\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-3 focus:outline-none h-10\">\n            <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n## JavaScript behaviour\n\nUse the **InputCounter** object from the Flowbite JS API to create a number input component with increment and decrement buttons that can be used to increase or decrease the value of the input.\n\n### Object parameters\n\nUse the object parameters from the InputCounter object to set the target, increment, and decrement elements as well as the options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary  border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the target input field element that will be incremented or decremented based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary  border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">incrementEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the increment button element that will increase the value of the target element based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary  border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">decrementEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the decrement button element that will decrease the value of the target element based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary  border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to set the minimum and maximum value of the input field and the callback functions.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-fg-brand\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n### Options\n\nUse these optional options for the InputCounter object to set the minimum and maximum values of the input field and also to set callback functions for the increment and decrement events.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">minValue</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the minimum value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">maxValue</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the maximum value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onIncrement</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been incremented.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">onDecrement</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been decremented.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Methods\n\nUse the following methods of the InputCounter object to programmatically manipulate the behaviour of the input field.\n\n<div class=\"relative my-10 overflow-x-auto shadow-xs rounded-base border border-default\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-neutral-secondary-soft text-heading\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n        <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">getCurrentValue()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the current value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">increment()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the InputCounter object to increment the value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">decrement()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the InputCounter object to decrement the value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b bg-neutral-primary border-default\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnIncrement(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the input field has been incremented.\n              </td>\n          </tr>\n          <tr class=\"bg-neutral-primary\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-fg-brand\">updateOnDecrement(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the input field has been decremented.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n### Example\n\nCheck out the following examples to learn how to create a new InputCounter object and how to set it up with custom options and programmatically use the methods available.\n\nFirst of all, you need to set the object parameters where the target element is required and the other two are optional.\n\n{{< code lang=\"javascript\" file=\"number-input.js\" icon=\"file\" >}}\n// set the target element of the input field\nconst $targetEl = document.getElementById('counter-input-example');\n\n// optionally set the increment and decrement elements\nconst $incrementEl = document.getElementById('increment-button');\n\nconst $decrementEl = document.getElementById('decrement-button');\n\n// optional options with default values and callback functions\nconst options = {\n    minValue: 0,\n    maxValue: null, // infinite\n    onIncrement: () => {\n        console.log('input field value has been incremented');\n    },\n    onDecrement: () => {\n        console.log('input field value has been decremented');\n    }\n};\n\nconst instanceOptions = {\n  id: 'counter-input-example',\n  override: true\n};\n{{< /code >}}\n\nNext step is to create a new instance of a InputCounter object using the parameters we have set above.\n\n{{< code lang=\"javascript\" file=\"number-input.js\" icon=\"file\" >}}\nimport { InputCounter } from 'flowbite';\n\n/*\n * $targetEl: required\n * $incrementEl: optional\n * $decrementEl: optional\n * options: optional\n */\nconst counterInput = new InputCounter($targetEl, $incrementEl, $decrementEl, options, instanceOptions);\n{{< /code >}}\n\nNow you can programmatically increment or decrement the input field using the methods of the InputCounter object.\n\n{{< code lang=\"javascript\" >}}\n// get the current value of the input field\ncounterInput.getCurrentValue();\n\n// increment the value of the input field\ncounterInput.increment();\n\n// decrement the value of the input field\ncounterInput.decrement();\n{{< /code >}}\n\n### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n{{< code lang=\"html\" file=\"number-input.html\" icon=\"file\" >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"counter-input-example\" class=\"block mb-1 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"counter-input-example\" class=\"shrink-0 text-gray-900 dark:text-white border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n        <button type=\"button\" id=\"increment-button\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n{{< /code >}}\n\n### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the InputCounter object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n{{< code lang=\"typescript\" file=\"number-input.ts\" icon=\"file\" >}}\nimport { InputCounter } from 'flowbite';\nimport type { InputCounterOptions, InputCounterInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element of the input field\nconst $targetEl: HTMLInputElement = document.getElementById('counter-input-example') as HTMLInputElement;\n\n// optionally set the increment and decrement elements\nconst $incrementEl: HTMLElement = document.getElementById('increment-button');\n\nconst $decrementEl: HTMLElement = document.getElementById('decrement-button');\n\n// optional options with default values and callback functions\nconst options: InputCounterOptions = {\n    minValue: 0,\n    maxValue: null, // infinite\n    onIncrement: () => {\n        console.log('input field value has been incremented');\n    },\n    onDecrement: () => {\n        console.log('input field value has been decremented');\n    }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'counter-input-example',\n  override: true\n};\n\n/*\n * $targetEl: required\n * $incrementEl: optional\n * $decrementEl: optional\n * options: optional\n * instanceOptions: optional\n */\nconst counterInput: InputCounterInterface = new InputCounter(\n    $targetEl,\n    $incrementEl,\n    $decrementEl,\n    options,\n    instanceOptions\n);\n\n// increment the value of the input field\ncounterInput.increment();\n\n// decrement the value of the input field\ncounterInput.decrement();\n{{< /code >}}\n"
  },
  {
    "path": "content/forms/phone-input.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Phone Input - Flowbite\ndescription: Use the phone number input component from Flowbite to set a phone number inside a form field and use a dropdown menu to select the country code based on various styles, sizes and colors\ngroup: forms\nrequires_js: true\ntoc: true\n\nprevious: Number Input\npreviousLink: forms/number-input/\nnext: Select\nnextLink: forms/select/\n---\n\nThe phone number input component from Flowbite can be used to set a phone number inside a form field by using the native `type=\"tel\"` attribute and also use a dropdown menu to select the country code.\n\nThe examples are built with the utility classes from Tailwind CSS and they are fully responsive, dark mode compatible and support RTL layouts and can be used for any type of web project.\n\n## Default phone input\n\nUse this component to set a phone number inside an input field by setting the `type=\"tel\"` attribute.\n\n{{< example github=\"components/phone-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"phone-input\" class=\"block mb-2.5 text-sm font-medium text-heading\">Phone number:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.427 14.768 17.2 13.542a1.733 1.733 0 0 0-2.45 0l-.613.613a1.732 1.732 0 0 1-2.45 0l-1.838-1.84a1.735 1.735 0 0 1 0-2.452l.612-.613a1.735 1.735 0 0 0 0-2.452L9.237 5.572a1.6 1.6 0 0 0-2.45 0c-3.223 3.2-1.702 6.896 1.519 10.117 3.22 3.221 6.914 4.745 10.12 1.535a1.601 1.601 0 0 0 0-2.456Z\"/></svg>\n        </div>\n        <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Select a phone number that matches the format.</p>\n</form>\n{{< /example >}}\n\n## Phone input country code\n\nThis example can be used to select the country code from a dropdown menu and set the phone number inside an input field and use the `pattern` attribute to validate the phone number.\n\n{{< example github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" >}}\n\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center -space-x-px shadow-xs rounded-base\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            +1\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States (+1)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia (+61)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom (+44)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France (+33)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada (+1)\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"phone\" id=\"phone-input\" class=\"w-full z-20 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-e-base focus:outline-none focus:ring-1 focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n</form>\n\n{{< /example >}}\n\n## Floating label input\n\nSet a phone number inside an input field with a floating label inspired by Material UI from Google.\n\n{{< example github=\"forms/phone-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <div class=\"relative\">\n        <span class=\"absolute start-0 bottom-3 text-body\">\n            <svg class=\"w-4 h-4 rtl:rotate-[270deg]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.427 14.768 17.2 13.542a1.733 1.733 0 0 0-2.45 0l-.613.613a1.732 1.732 0 0 1-2.45 0l-1.838-1.84a1.735 1.735 0 0 1 0-2.452l.612-.613a1.735 1.735 0 0 0 0-2.452L9.237 5.572a1.6 1.6 0 0 0-2.45 0c-3.223 3.2-1.702 6.896 1.519 10.117 3.22 3.221 6.914 4.745 10.12 1.535a1.601 1.601 0 0 0 0-2.456Z\"/></svg>\n        </span>\n        <input type=\"text\" id=\"floating-phone-number\" class=\"block py-2.5 ps-6 pe-0 w-full text-sm text-heading bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\" \" />\n        <label for=\"floating-phone-number\" class=\"absolute text-sm text-body duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-placeholder-shown:start-6 peer-focus:start-0 peer-focus:text-fg-brand peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Phone number</label>\n    </div>\n</form>\n{{< /example >}}\n\n## Verification code input\n\nUse this example to send a verification code to the user's phone number for authentication.\n\n{{< example github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center -space-x-px shadow-xs rounded-base\">\n        <button id=\"dropdown-phone-button-2\" data-dropdown-toggle=\"dropdown-phone-2\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            +1\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-phone-2\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-phone-button-2\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States (+1)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia (+61)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom (+44)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France (+33)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada (+1)\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"phone\" id=\"phone-input\" class=\"w-full z-20 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-e-base focus:outline-none focus:ring-1 focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n    <p id=\"helper-text-explanation-2\" class=\"mt-2.5 mb-4 text-sm text-body\">We will send you an SMS with a verification code.</p>\n    <button type=\"submit\" class=\"w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Send verification code</button>\n</form>\n\n\n{{< /example >}}\n\n## Phone number select\n\nUse this example to select one of your saved phone numbers from an application with a copy-paste feature.\n\n{{< example github=\"components/phone-input.md\" show_dark=true disable_init_js=\"true\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'phone-numbers');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-phone');\n\n    const $defaultIcon = document.getElementById('copy-icon');\n    const $successIcon = document.getElementById('copy-icon-success');\n\n    const $defaultTooltipMessage = document.getElementById('tooltip-text');\n    const $successTooltipMessage = document.getElementById('tooltip-text-success');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n});\n` >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"mb-2.5 flex justify-between items-center\">\n        <label for=\"phone-numbers\" class=\"text-sm font-medium text-heading\">Primary phone number:</label>\n        <a href=\"#\" class=\"text-fg-brand text-xs font-medium hover:underline\">Manage numbers</a>\n    </div>\n    <div class=\"flex items-center shadow-xs rounded-base\">\n        <div class=\"relative w-full\">\n            <select id=\"phone-numbers\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-s-base border-e-0 focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\">\n                <option selected value=\"+1 234 456 7890\">+1 234 456 7890</option>\n                <option value=\"+1 456 234 7890\">+1 456 234 7890</option>\n                <option value=\"+1 432 621 3163\">+1 432 621 3163</option>\n            </select>\n        </div>\n        <button id=\"copy-number\" data-copy-to-clipboard-target=\"phone-numbers\" data-tooltip-target=\"tooltip-phone\" class=\"shrink-0 z-10 flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 h-[42px] focus:outline-none\" type=\"button\">\n            <svg id=\"copy-icon\" class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 5h6m-6 4h6M10 3v4h4V3h-4Z\"/></svg>\n            <svg id=\"copy-icon-success\" class=\"w-4 h-4 hidden\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 4h3a1 1 0 0 1 1 1v15a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3m0 3h6m-6 7 2 2 4-4m-5-9v4h4V3h-4Z\"/></svg>\n        </button>\n        <div id=\"tooltip-phone\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n            <span id=\"tooltip-text\">Copy number</span>\n            <span id=\"tooltip-text-success\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2.5 text-sm text-body\">Please set your primary phone number.</p>\n</form>\n{{< /example >}}\n\n## Authentication form\n\nUse this example to authenticate users with a login form using a phone number instead of an email address.\n\n{{< example github=\"components/phone-input.md\" show_dark=true iframeHeight=\"390\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"dropdown-phone-3\" class=\"block mb-2.5 text-sm font-medium text-heading\">Phone number</label>\n    <div class=\"flex items-center -space-x-px shadow-xs rounded-base\">\n        <button id=\"dropdown-phone-button-3\" data-dropdown-toggle=\"dropdown-phone-3\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            +1\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-phone-3\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-phone-button-3\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States (+1)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia (+61)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom (+44)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France (+33)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada (+1)\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2.5 text-sm font-medium text-heading sr-only\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"phone\" id=\"phone-input\" class=\"w-full z-20 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-e-base focus:outline-none focus:ring-1 focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n    <div class=\"mt-4\">\n        <label for=\"password\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your password</label>\n        <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" required />\n    </div>\n    <div class=\"flex items-center mt-4 mb-4\">\n        <input id=\"terms\" aria-describedby=\"terms\" type=\"checkbox\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\" required=\"\">\n        <label for=\"terms\" class=\"text-body ms-2 text-sm\">I accept the <a class=\"font-medium text-fg-brand hover:underline\" href=\"#\">Terms and Conditions</a></label>\n    </div>\n    <button type=\"submit\" class=\"w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Sign Up</button>\n</form>\n{{< /example >}}\n\n## Advanced phone verification\n\nUse this example to verify a phone number via SMS or phone call using a dropdown component.\n\n{{< example github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center mt-2 shadow-xs rounded-base\">\n        <button id=\"dropdown-phone-button-4\" data-dropdown-toggle=\"dropdown-phone-4\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            +1\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-phone-4\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-phone-button-4\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States (+1)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia (+61)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom (+44)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France (+33)\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada (+1)\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"text-sm font-medium sr-only text-gray-900 dark:text-white\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-neutral-secondary-medium border border-s-0 border-e-0 border-default-medium text-heading text-sm focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n        <button id=\"dropdown-verification-option-button\" data-dropdown-toggle=\"dropdown-verification-option\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n            Send SMS \n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-verification-option\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-36\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-verification-option-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                        Send SMS\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\" role=\"menuitem\">\n                        Call\n                    </button>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <button type=\"submit\" class=\"mt-4 w-full text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Activate account</button>\n</form>\n{{< /example >}}"
  },
  {
    "path": "content/forms/radio.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Radio - Flowbite\ndescription: Get started with the radio component to let the user choose a single option from multiple options in the form of a circle based on multiple styles and colors\ngroup: forms\ntoc: true\nrequires_js: true\n\nprevious: Checkbox\npreviousLink: forms/checkbox/\nnext: Toggle\nnextLink: forms/toggle/\n---\n\nThe radio component can be used to allow the user to choose a single option from one or more available options coded with the utility classes from Tailwind CSS and available in multiple styles, variants, and colors and support dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the radio component.\n\n## Radio example\n\nUse the default example of a radio component with the checked and unchecked state.\n\n{{< example github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input id=\"default-radio-1\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"default-radio-1\" class=\"select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n</div>\n<div class=\"flex items-center\">\n    <input checked id=\"default-radio-2\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"default-radio-2\" class=\"select-none ms-2 text-sm font-medium text-heading\">Checked state</label>\n</div>\n{{< /example >}}\n\n## Disabled state\n\nApply the `disabled` attribute to the radio component to disallow the selection for the user.\n\n{{< example github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input disabled id=\"disabled-radio-1\" type=\"radio\" value=\"\" name=\"disabled-radio\" class=\"w-4 h-4 text-neutral-primary border-light-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"disabled-radio-1\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Disabled radio</label>\n</div>\n<div class=\"flex items-center\">\n    <input disabled checked id=\"disabled-radio-2\" type=\"radio\" value=\"\" name=\"disabled-radio\" class=\"w-4 h-4 text-neutral-primary border-light bg-neutral-secondary-medium rounded-full checked:border-default-medium focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"disabled-radio-2\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Disabled checked</label>\n</div>\n{{< /example >}}\n\n## Radio link\n\nUse this example if you want to include an anchor tag inside the label of the radio component.\n\n{{< example github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center\">\n    <input id=\"link-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"link-radio\" class=\"select-none ms-2 text-sm font-medium text-heading\">Radio button with a <a href=\"#\" class=\"text-fg-brand hover:underline font-medium\">link inside</a>.</label>\n</div>\n{{< /example >}}\n\n## Helper text\n\nGet started with this example if you want to add a secondary text to the label for the radio component.\n\n{{< example github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center h-5\">\n        <input id=\"helper-radio\" aria-describedby=\"helper-radio-text\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    </div>\n    <div class=\"ms-2 text-sm select-none\">\n        <label for=\"helper-radio\" class=\"font-medium text-heading mb-1\">Free shipping via Flowbite</label>\n        <p id=\"helper-radio-text\" class=\"text-xs font-normal text-body\">For orders shipped from $25 in books or $29 in other categories</p>\n    </div>\n</div>\n{{< /example >}}\n\n## Bordered\n\nUse this example to show a radio input elements inside a card with border.\n\n{{< example class=\"grid gap-6 md:grid-cols-2\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center ps-4 border border-default bg-neutral-primary-soft rounded-base\">\n    <input id=\"bordered-radio-1\" type=\"radio\" value=\"\" name=\"bordered-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"bordered-radio-1\" class=\"w-full py-4 select-none ms-2 text-sm font-medium text-heading\">Default radio</label>\n</div>\n<div class=\"flex items-center ps-4 border border-default bg-neutral-primary-soft rounded-base\">\n    <input checked id=\"bordered-radio-2\" type=\"radio\" value=\"\" name=\"bordered-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n    <label for=\"bordered-radio-2\" class=\"w-full py-4 select-none ms-2 text-sm font-medium text-heading\">Checked state</label>\n</div>\n{{< /example >}}\n\n## Radio list group\n\nThis example can be used to show a list of radio buttons inside a grouped list.\n\n{{< example github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-heading\">Identification</h3>\n<ul class=\"w-48 bg-neutral-primary-soft border border-default rounded-base\">\n    <li class=\"w-full border-b border-default\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-license\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"list-radio-license\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">Driver License </label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-id\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"list-radio-id\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">State ID</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-military\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"list-radio-military\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">US Military</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-passport\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"list-radio-passport\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">US Passport</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n## Horizontal list group\n\nUse this example to group up radio button components inside a list.\n\n{{< example github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-heading\">Identification</h3>\n<ul class=\"items-center w-full text-sm font-medium text-heading bg-neutral-primary-soft border border-default rounded-lg sm:flex\">\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-license\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"horizontal-list-radio-license\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">Driver License </label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-id\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"horizontal-list-radio-id\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">State ID</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-default sm:border-b-0 sm:border-r\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-military\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"horizontal-list-radio-military\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">US Military</label>\n        </div>\n    </li>\n    <li class=\"w-full\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-passport\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n            <label for=\"horizontal-list-radio-passport\" class=\"w-full py-3 select-none ms-2 text-sm font-medium text-heading\">US Passport</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Radio in dropdown\n\nHere's an example of a list group that you can use right away.\n\n{{< example class=\"flex justify-center\" github=\"components/radio.md\" show_dark=true iframeHeight=\"370\" >}}\n<button id=\"dropdownHelperRadioButton\" data-dropdown-toggle=\"dropdownHelperRadio\" class=\"inline-flex items-center justify-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Dropdown button \n  <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHelperRadio\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-56\" data-popper-reference-hidden=\"\" data-popper-escaped=\"\" data-popper-placement=\"top\">\n    <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownHelperRadioButton\">\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-4\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-4\" class=\"select-none font-medium text-heading\">\n                <div class=\"mb-1\">Individual</div>\n                <p id=\"helper-radio-text-4\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-5\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-5\" class=\"select-none font-medium text-heading\">\n                <div class=\"mb-1\">Company</div>\n                <p id=\"helper-radio-text-5\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 w-full hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-6\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-neutral-primary border-default-strong bg-neutral-secondary-strong rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-6\" class=\"select-none font-medium text-heading\">\n                <div class=\"mb-1\">Non profit</div>\n                <p id=\"helper-radio-text-6\" class=\"text-xs font-normal text-body\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n## Inline layout\n\nUse the `flex` class for a wrapper element to horizontally align the radio elements.\n\n{{< example github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n        <label for=\"inline-radio\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline 1</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-2-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n        <label for=\"inline-2-radio\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline 2</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input checked id=\"inline-checked-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n        <label for=\"inline-checked-radio\" class=\"select-none ms-2 text-sm font-medium text-heading\">Inline checked</label>\n    </div>\n    <div class=\"flex items-center\">\n        <input disabled id=\"inline-disabled-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-neutral-primary border-default-medium bg-neutral-secondary-medium rounded-full checked:border-brand focus:ring-2 focus:outline-none focus:ring-brand-subtle border border-default appearance-none\">\n        <label for=\"inline-disabled-radio\" class=\"select-none ms-2 text-sm font-medium text-fg-disabled\">Inline disabled</label>\n    </div>\n</div>\n{{< /example >}}\n\n## Advanced layout\n\nUse this example of a more advanced radio component to add more information and update the style of the whole card instead of just the circled dot.\n\n{{< example class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<h3 class=\"mb-5 text-lg font-medium text-gray-900 dark:text-white\">How much do you expect to use each month?</h3>\n<ul class=\"grid w-full gap-6 md:grid-cols-2\">\n    <li>\n        <input type=\"radio\" id=\"hosting-small\" name=\"hosting\" value=\"hosting-small\" class=\"hidden peer\" required />\n        <label for=\"hosting-small\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">                           \n            <div class=\"block\">\n                <div class=\"w-full font-semibold\">0-50 MB</div>\n                <div class=\"w-full\">Good for small websites</div>\n            </div>\n            <svg class=\"w-5 h-5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </label>\n    </li>\n    <li>\n        <input type=\"radio\" id=\"hosting-big\" name=\"hosting\" value=\"hosting-big\" class=\"hidden peer\">\n        <label for=\"hosting-big\" class=\"inline-flex items-center justify-between w-full w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n            <div class=\"block\">\n                <div class=\"w-full font-semibold\">500-1000 MB</div>\n                <div class=\"w-full\">Good for large websites</div>\n            </div>\n            <svg class=\"w-5 h-5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </label>\n    </li>\n</ul>\n\n{{< /example >}}\n\n## Advanced layout with icons\n\nUse this example to show an advanced layout of radio button elements with icons.\n\n{{< example class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<h3 class=\"mb-4 text-lg font-medium text-heading\">Choose technology:</h3>\n<ul class=\"select-none grid w-full gap-4 md:grid-cols-3\">\n    <li>\n        <input type=\"radio\" id=\"react-option\" value=\"react-option\" name=\"technologies\" class=\"hidden peer\" required=\"\" checked>\n        <label for=\"react-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">                           \n            <div class=\"block\">\n                <svg class=\"mb-2 w-7 h-7 text-sky-600\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">React Js</div>\n                <div class=\"w-full text-sm\">A JavaScript library for building user interfaces.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"radio\" id=\"vue-option\" value=\"vue-option\" name=\"technologies\" class=\"hidden peer\">\n        <label for=\"vue-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-success w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">Vue Js</div>\n                <div class=\"w-full text-sm\">An model–view front end JavaScript framework.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"radio\" id=\"angular-option\" value=\"angular-option\" name=\"technologies\" class=\"hidden peer\">\n        <label for=\"angular-option\" class=\"inline-flex items-center justify-between w-full p-5 text-body bg-neutral-primary-soft border-1 border-default rounded-base cursor-pointer peer-checked:hover:bg-brand-softer peer-checked:border-brand-subtle peer-checked:bg-brand-softer hover:bg-neutral-secondary-medium peer-checked:text-fg-brand-strong\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-danger w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M185.7 268.1h76.2l-38.1-91.6-38.1 91.6zM223.8 32L16 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7zM354 373.8h-48.6l-26.2-65.4H168.6l-26.2 65.4H93.7L223.8 81.5z\"/></svg>\n                <div class=\"w-full font-medium mb-1\">Angular</div>\n                <div class=\"w-full text-sm\">A TypeScript-based web application framework.</div>\n            </div>\n        </label>\n    </li>\n</ul>\n\n{{< /example >}}\n\n"
  },
  {
    "path": "content/forms/range.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Range Slider - Flowbite\ndescription: Get started with the range component to receive a number from the user anywhere from 1 to 100 by sliding form control horizontally based on multiple options\ngroup: forms\ntoc: true\nrequires_js: true\n\nprevious: Toggle\npreviousLink: forms/toggle/\nnext: Floating Label\nnextLink: forms/floating-label/\n---\n\nThe range component can be used as an input field to get a number from the user based on your custom selection (ie. from 1 to 100) by using a sliding animation.\n\nThe examples on this page are all coded with Tailwind CSS and requires you to install Flowbite as a plugin inside your project to obtain all the necessary stylings.\n\n## Range slider example\n\nGet started with this default example with values from 1 to 100 and the default value of 50.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<label for=\"default-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Default range</label>\n<input id=\"default-range\" type=\"range\" value=\"50\" class=\"w-full h-2 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\">\n{{< /example >}}\n\n## Disabled state\n\nApply the `disabled` class to disallow the users from further selecting values.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<label for=\"disabled-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Default range</label>\n<input id=\"disabled-range\" type=\"range\" value=\"50\" class=\"w-full h-2 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\" disabled>\n{{< /example >}}\n\n## Min and max\n\nUse the min and max attributes on the range component to set the limits of the range values.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<label for=\"minmax-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Min-max range</label>\n<input id=\"minmax-range\" type=\"range\" min=\"0\" max=\"10\" value=\"5\" class=\"w-full h-2 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\">\n{{< /example >}}\n\n## Steps\n\nUse the step attribute on the range component to set the increment with which the values will change.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<label for=\"steps-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Range steps</label>\n<input id=\"steps-range\" type=\"range\" min=\"0\" max=\"5\" value=\"2.5\" step=\"0.5\" class=\"w-full h-2 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\">\n{{< /example >}}\n\n## Sizes\n\nApply the small, default, and large sizes for the range component by applying the `range-sm` and `range-lg` utility classes from Flowbite and Tailwind CSS.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<label for=\"small-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Small range</label>\n<input id=\"small-range\" type=\"range\" value=\"50\" class=\"w-full h-1 mb-6 bg-neutral-quaternary rounded-full appearance-none cursor-pointer range-sm\">\n\n<label for=\"medium-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Default range</label>\n<input id=\"medium-range\" type=\"range\" value=\"50\" class=\"w-full h-2 mb-6 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\">\n\n<label for=\"large-range\" class=\"block mb-2.5 text-sm font-medium text-heading\">Large range</label>\n<input id=\"large-range\" type=\"range\" value=\"50\" class=\"w-full h-3 bg-neutral-quaternary rounded-full appearance-none cursor-pointer range-lg\">\n{{< /example >}}\n\n## Labels\n\nUse the following example to add labels to each value milestone of the range slider component.\n\n{{< example github=\"forms/range.md\" show_dark=true >}}\n<div class=\"relative mb-6\">\n    <label for=\"labels-range-input\" class=\"sr-only\">Labels range</label>\n    <input id=\"labels-range-input\" type=\"range\" value=\"1000\" min=\"100\" max=\"1500\" class=\"w-full h-2 bg-neutral-quaternary rounded-full appearance-none cursor-pointer\">\n    <span class=\"text-sm text-body absolute start-0 -bottom-6\">Min ($100)</span>\n    <span class=\"text-sm text-body absolute start-1/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$500</span>\n    <span class=\"text-sm text-body absolute start-2/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$1000</span>\n    <span class=\"text-sm text-body absolute end-0 -bottom-6\">Max ($1500)</span>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/forms/search-input.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Search Input - Flowbite\ndescription: Use the search input component as a text field to allow users to enter search queries and receive relevant page results available in multiple styles and sizes\ngroup: forms\ntoc: true\n\nprevious: File Input\npreviousLink: forms/file-input/\nnext: Number Input\nnextLink: forms/number-input/\n---\n\nThe search input component can be used to let your users search through your website using string queries and it comes in multiple styles, variants, and sizes built with the utility classes from Tailwind CSS.\n\nYou will also find more advanced search components on this page including dropdown category selections, search buttons positioned inside the input field, voice search fields and more.\n\n## Search bar example\n\nGet started with the default example of a search input component including and icon and submit button.\n\n{{< example github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"max-w-md mx-auto\">   \n    <label for=\"search\" class=\"block mb-2.5 text-sm font-medium text-heading sr-only \">Search</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        </div>\n        <input type=\"search\" id=\"search\" class=\"block w-full p-3 ps-9 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search\" required />\n        <button type=\"button\" class=\"absolute end-1.5 bottom-1.5 text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded text-xs px-3 py-1.5 focus:outline-none\">Search</button>\n    </div>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Search with dropdown\n\nUse this search component with a dropdown to let your users select a category in which they would like the search query to be targeted in.\n\n{{< example github=\"forms/search-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-2xl mx-auto\">\n    <div class=\"flex shadow-xs rounded-base -space-x-0.5\">\n        <label for=\"search-dropdown\" class=\"block mb-2.5 text-sm font-medium text-heading sr-only \">Your Email</label>\n        <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.143 4H4.857A.857.857 0 0 0 4 4.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 10 9.143V4.857A.857.857 0 0 0 9.143 4Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286A.857.857 0 0 0 20 9.143V4.857A.857.857 0 0 0 19.143 4Zm-10 10H4.857a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286A.857.857 0 0 0 9.143 14Zm10 0h-4.286a.857.857 0 0 0-.857.857v4.286c0 .473.384.857.857.857h4.286a.857.857 0 0 0 .857-.857v-4.286a.857.857 0 0 0-.857-.857Z\"/></svg>\n            All categories\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button\">\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Shopping</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Images</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">News</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Finance</a>\n                </li>\n            </ul>\n        </div>\n        <input type=\"search\" id=\"search-dropdown\" id=\"input-group-1\" class=\"px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm focus:ring-brand focus:border-brand block w-full placeholder:text-body\" placeholder=\"Search for products\" required>\n        <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Search\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n## Simple search input\n\nUse the simplest form of a search input component with an icon and a search button next to the text field.\n\n{{< example github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"flex items-center max-w-sm mx-auto space-x-2\">   \n    <label for=\"simple-search\" class=\"sr-only\">Search</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 0a4 4 0 0 1-4 4h-1a3 3 0 0 0-3 3\"/></svg>\n        </div>\n        <input type=\"text\" id=\"simple-search\" class=\"px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium rounded-base ps-9 text-heading text-sm focus:ring-brand focus:border-brand block w-full placeholder:text-body\" placeholder=\"Search branch name...\" required />\n    </div>\n    <button type=\"submit\" class=\"inline-flex items-center justify-center shrink-0 text-white bg-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs rounded-base w-10 h-10 focus:outline-none\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        <span class=\"sr-only\">Icon description</span>\n    </button>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Location search\n\nUse this example where you can select a country in which you want to search for an address or city.\n\n{{< example github=\"forms/search-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-lg mx-auto\">\n    <div class=\"flex shadow-xs rounded-base -space-x-0.5\">\n        <label for=\"search-dropdown-location\" class=\"block mb-2.5 text-sm font-medium text-heading sr-only \">Choose city</label>\n        <button id=\"dropdown-button-location\" data-dropdown-toggle=\"dropdown-location\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            USA\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-location\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button-location\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada\n                    </a>\n                </li>\n            </ul>\n        </div>\n        <input type=\"search\" id=\"search-dropdown-location\" id=\"input-group-4\" class=\"px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm focus:ring-brand focus:border-brand block w-full placeholder:text-body\" placeholder=\"Search for city or address\" required>\n        <button type=\"submit\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Search\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n## Voice search\n\nGet started with this example if you would like to enable voice search for your website and users.\n\n{{< example github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"flex items-center max-w-lg mx-auto space-x-2\">   \n    <label for=\"voice-search\" class=\"sr-only\">Search</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 7h.01m3.486 1.513h.01m-6.978 0h.01M6.99 12H7m9 4h2.706a1.957 1.957 0 0 0 1.883-1.325A9 9 0 1 0 3.043 12.89 9.1 9.1 0 0 0 8.2 20.1a8.62 8.62 0 0 0 3.769.9 2.013 2.013 0 0 0 2.03-2v-.857A2.036 2.036 0 0 1 16 16Z\"/></svg>\n        </div>\n        <input type=\"text\" id=\"voice-search\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" placeholder=\"Search Mockups, Logos, Templates...\" required />\n        <button type=\"button\" class=\"absolute inset-y-0 end-0 flex items-center pe-3\">\n            <svg class=\"w-4 h-4 text-body hover:text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 9v3a5.006 5.006 0 0 1-5 5h-4a5.006 5.006 0 0 1-5-5V9m7 9v3m-3 0h6M11 3h2a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3h-2a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3Z\"/></svg>\n        </button>\n    </div>\n    <button type=\"submit\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Search\n    </button>\n</form>\n{{< /example >}}\n\n## Advanced search input\n\nUse this example to show multiple dropdown selection elements next to the search field.\n\n{{< example github=\"forms/search-input.md\" show_dark=true iframeHeight=\"290\" >}}\n\n<form class=\"max-w-2xl mx-auto\">\n    <div class=\"flex shadow-xs rounded-base -space-x-0.5\">\n        <label for=\"search-dropdown-advanced\" class=\"block mb-2.5 text-sm font-medium text-heading sr-only \">Your Email</label>\n        <button id=\"dropdown-button-links\" data-dropdown-toggle=\"dropdown-links\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            http + https\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-links\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-36\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button-links\">\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">http</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">https</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">http + https</a>\n                </li>\n            </ul>\n        </div>\n        <input type=\"search\" id=\"search-dropdown-advanced\" id=\"input-group-6\" class=\"px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm focus:ring-brand focus:border-brand block w-full placeholder:text-body\" placeholder=\"Search for domain or URL\" required>\n        <button id=\"dropdown-button-links\" data-dropdown-toggle=\"dropdown-domains\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 text-sm px-4 py-2.5 focus:outline-none\">\n            Subdomain\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-domains\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-button-links\">\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Subdomain</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Domain</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Top-Level Domain</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">Root Domain</a>\n                </li>\n            </ul>\n        </div>\n        <button type=\"submit\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-e-base text-sm px-4 py-2.5 focus:outline-none\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z\"/></svg>\n        Search\n        </button>\n    </div>\n</form>\n\n{{< /example >}}"
  },
  {
    "path": "content/forms/select.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Select - Flowbite\ndescription: Get started with the select component to allow the user to choose from one or more options from a dropdown list based on multiple styles, sizes, and variants\ngroup: forms\ntoc: true\n\nprevious: Phone Input\npreviousLink: forms/phone-input/\nnext: Textarea\nnextLink: forms/textarea/\n---\n\nThe select input component can be used to gather information from users based on multiple options in the form of a dropdown list and by browsing this page you will find multiple options, styles, sizes, and variants built with the utility classes from Tailwind CSS also available in dark mode.\n\n## Select input example\n\nGet started with the default example of a select input component to get a single option selection.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select an option</label>\n  <select id=\"countries\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n## Multiple options\n\nApply the `multiple` attribute to the select component to allow users to select one or more options.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries_multiple\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select an option</label>\n  <select multiple id=\"countries_multiple\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n    <option selected>Choose countries</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n## Size attribute\n\nUse the size attribute for the select component to specify the number of visible options in the list.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"years\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select an option</label>\n  <select id=\"years\" size=\"5\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n    <option>2016</option>\n    <option>2017</option>\n    <option>2018</option>\n    <option>2019</option>\n    <option>2020</option>\n    <option>2021</option>\n    <option>2022</option>\n  </select>\n</form>\n{{< /example >}}\n\n## Disabled state\n\nApply the `disable` state to the select component to disallow the selection of new options.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries_disabled\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select an option</label>\n  <select disabled id=\"countries_disabled\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs text-fg-disabled\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n## Underline select\n\nUse the underline style for the select component as an alternative appearance.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"underline_select\" class=\"sr-only\">Underline select</label>\n  <select id=\"underline_select\" class=\"block py-2.5 ps-0 w-full text-sm text-body bg-transparent border-0 border-b-2 border-default-medium appearance-none focus:outline-none focus:ring-0 focus:border-brand peer\">\n      <option selected>Choose a country</option>\n      <option value=\"US\">United States</option>\n      <option value=\"CA\">Canada</option>\n      <option value=\"FR\">France</option>\n      <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n## Select with dropdown\n\nUse this example if you want to create a multi-level dropdown and select component combination.\n\n{{< example github=\"forms/select.md\" show_dark=true iframeHeight=\"340\" >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"flex\">\n      <button id=\"dropdown-states-button\" data-dropdown-toggle=\"dropdown-states\" type=\"button\" class=\"inline-flex items-center shrink-0 z-10 text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-fg-brand focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-s-base text-sm px-4 py-2.5 focus:outline-none\">\n            <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n            USA\n            <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-states\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-54\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-states-button\">\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                        <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00013 14.6666C11.6821 14.6666 14.667 11.6818 14.667 7.99992C14.667 4.31802 11.6821 1.33325 8.00013 1.33325C4.31811 1.33325 1.33325 4.31802 1.33325 7.99992C1.33325 11.6818 4.31811 14.6666 8.00013 14.6666Z\" fill=\"white\"/><path d=\"M7.71167 7.99975H14.6678C14.6678 7.39807 14.5876 6.8152 14.4382 6.26074H7.71167V7.99975Z\" fill=\"#D80027\"/><path d=\"M7.71167 4.52172H13.6894C13.2813 3.85583 12.7596 3.26726 12.1512 2.78271H7.71167V4.52172Z\" fill=\"#D80027\"/><path d=\"M8.00053 14.6667C9.56944 14.6667 11.0115 14.1244 12.1502 13.2175H3.85083C4.98958 14.1244 6.43162 14.6667 8.00053 14.6667Z\" fill=\"#D80027\"/><path d=\"M2.31233 11.4784H13.689C14.0167 10.9438 14.2708 10.3594 14.4379 9.73926H1.56348C1.73059 10.3594 1.98469 10.9438 2.31233 11.4784V11.4784Z\" fill=\"#D80027\"/><path d=\"M4.42123 2.37426H5.02873L4.46365 2.78478L4.6795 3.44902L4.11445 3.03851L3.5494 3.44902L3.73584 2.87519C3.23832 3.28961 2.80224 3.77514 2.44289 4.31614H2.63754L2.27784 4.57745C2.2218 4.67093 2.16806 4.7659 2.11655 4.86227L2.28831 5.3909L1.96786 5.15808C1.8882 5.32684 1.81534 5.49941 1.74985 5.67557L1.93908 6.25802H2.63754L2.07246 6.66853L2.28831 7.33278L1.72326 6.92226L1.38479 7.16818C1.35091 7.4405 1.33325 7.71788 1.33325 7.99939H7.9996C7.9996 4.31781 7.9996 3.88378 7.9996 1.33325C6.68268 1.33325 5.45506 1.71525 4.42123 2.37426V2.37426ZM4.6795 7.33278L4.11445 6.92226L3.5494 7.33278L3.76524 6.66853L3.20017 6.25802H3.89862L4.11445 5.59377L4.33027 6.25802H5.02873L4.46365 6.66853L4.6795 7.33278ZM4.46365 4.72666L4.6795 5.3909L4.11445 4.98039L3.5494 5.3909L3.76524 4.72666L3.20017 4.31614H3.89862L4.11445 3.6519L4.33027 4.31614H5.02873L4.46365 4.72666ZM7.07068 7.33278L6.50563 6.92226L5.94058 7.33278L6.15643 6.66853L5.59135 6.25802H6.28981L6.50563 5.59377L6.72146 6.25802H7.41991L6.85484 6.66853L7.07068 7.33278ZM6.85484 4.72666L7.07068 5.3909L6.50563 4.98039L5.94058 5.3909L6.15643 4.72666L5.59135 4.31614H6.28981L6.50563 3.6519L6.72146 4.31614H7.41991L6.85484 4.72666ZM6.85484 2.78478L7.07068 3.44902L6.50563 3.03851L5.94058 3.44902L6.15643 2.78478L5.59135 2.37426H6.28981L6.50563 1.71002L6.72146 2.37426H7.41991L6.85484 2.78478Z\" fill=\"#1A47B8\"/></svg>\n                    United States\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#1A47B8\"/>\n                        <mask id=\"mask0_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"16\" height=\"16\">\n                        <circle cx=\"9\" cy=\"9\" r=\"7.5\" fill=\"#0052B4\"/>\n                        </mask>\n                        <g mask=\"url(#mask0_19127_84442)\">\n                        <mask id=\"mask1_19127_84442\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"1\" y=\"1\" width=\"9\" height=\"7\">\n                        <rect x=\"1.5\" y=\"1.5\" width=\"8.125\" height=\"5.90909\" fill=\"#D9D9D9\"/>\n                        </mask>\n                        <g mask=\"url(#mask1_19127_84442)\">\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.59894 0.617188)\" fill=\"white\"/>\n                        <rect width=\"4.59189\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 1.49011 1.13037)\" fill=\"#C8102E\"/>\n                        <rect width=\"3.90254\" height=\"0.348185\" transform=\"matrix(0.797977 0.602688 -0.350568 0.936537 6.62762 4.63916)\" fill=\"#C8102E\"/>\n                        <rect width=\"10.2914\" height=\"0.95751\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.24286 7.05615)\" fill=\"white\"/>\n                        <rect width=\"4.32239\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 6.11646 3.55151)\" fill=\"#C8102E\"/>\n                        <rect width=\"4.19028\" height=\"0.348185\" transform=\"matrix(0.797977 -0.602688 0.350568 0.936537 1.56262 7.4541)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"3.3916\" width=\"8.32\" height=\"2.03125\" fill=\"white\"/>\n                        <rect x=\"4.92609\" y=\"7.36096\" width=\"5.90909\" height=\"1.43\" transform=\"rotate(-90 4.92609 7.36096)\" fill=\"white\"/>\n                        <rect x=\"5.38446\" y=\"7.36096\" width=\"5.90909\" height=\"0.585\" transform=\"rotate(-90 5.38446 7.36096)\" fill=\"#C8102E\"/>\n                        <rect x=\"1.48352\" y=\"4.03821\" width=\"8.32\" height=\"0.830966\" fill=\"#C8102E\"/>\n                        </g>\n                        </g>\n                        <path d=\"M6.02392 10.3043L6.43554 11.165L7.36504 10.9502L6.94879 11.8086L7.69627 12.4014L6.7656 12.6112L6.7682 13.5652L6.02392 12.9683L5.27966 13.5652L5.28227 12.6112L4.35156 12.4014L5.09907 11.8086L4.68276 10.9502L5.61232 11.165L6.02392 10.3043Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 11.9349L12.935 12.3653L13.3998 12.2578L13.1917 12.6871L13.5654 12.9835L13.1001 13.0884L13.1014 13.5654L12.7292 13.2669L12.3571 13.5654L12.3584 13.0884L11.8931 12.9835L12.2668 12.6871L12.0587 12.2578L12.5234 12.3653L12.7292 11.9349Z\" fill=\"white\"/>\n                        <path d=\"M10.8151 7.36963L11.0209 7.8L11.4856 7.69254L11.2775 8.12177L11.6512 8.41816L11.1859 8.52305L11.1872 9.00006L10.8151 8.70161L10.4429 9.00006L10.4442 8.52305L9.97888 8.41816L10.3526 8.12177L10.1445 7.69254L10.6093 7.8L10.8151 7.36963Z\" fill=\"white\"/>\n                        <path d=\"M12.7292 4.76086L12.935 5.19124L13.3998 5.0838L13.1917 5.51303L13.5654 5.8094L13.1001 5.91431L13.1014 6.39132L12.7292 6.09288L12.3571 6.39132L12.3584 5.91431L11.8931 5.8094L12.2668 5.51303L12.0587 5.0838L12.5234 5.19124L12.7292 4.76086Z\" fill=\"white\"/>\n                        <path d=\"M14.4016 6.71729L14.6074 7.14766L15.0722 7.04019L14.864 7.46942L15.2378 7.76582L14.7724 7.87073L14.7737 8.34771L14.4016 8.0493L14.0295 8.34771L14.0308 7.87073L13.5654 7.76582L13.9392 7.46942L13.731 7.04019L14.1958 7.14766L14.4016 6.71729Z\" fill=\"white\"/>\n                        <path d=\"M13.2061 8.99988L13.368 9.4981H13.8919L13.4681 9.80604L13.63 10.3042L13.2061 9.99632L12.7823 10.3042L12.9442 9.80604L12.5204 9.4981H13.0442L13.2061 8.99988Z\" fill=\"white\"/>\n                    </svg>\n                    Australia\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M3.05081 4.43384C2.46168 5.20033 2.01745 6.08378 1.75879 7.04352H5.66049L3.05081 4.43384Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.2415 7.04349C15.9828 6.08378 15.5386 5.20033 14.9495 4.43384L12.3398 7.04349H16.2415Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M1.75879 10.9567C2.01748 11.9164 2.46171 12.7998 3.05081 13.5663L5.6604 10.9567H1.75879Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M13.5677 3.05047C12.8012 2.46134 11.9178 2.01711 10.9581 1.75842V5.66009L13.5677 3.05047Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M4.43457 14.9497C5.20106 15.5388 6.08451 15.983 7.04422 16.2417V12.3401L4.43457 14.9497Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M7.04419 1.75842C6.08448 2.01711 5.20104 2.46134 4.43457 3.05044L7.04419 5.66006V1.75842Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M10.9581 16.2417C11.9178 15.983 12.8012 15.5388 13.5677 14.9497L10.9581 12.3401V16.2417Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M12.3398 10.9568L14.9495 13.5664C15.5386 12.8 15.9828 11.9165 16.2415 10.9568H12.3398Z\" fill=\"#1A47B8\"/>\n                        <path d=\"M16.4365 8.02175H9.97831H9.97828V1.56349C9.65804 1.5218 9.33155 1.5 9 1.5C8.66839 1.5 8.34196 1.5218 8.02175 1.56349V8.02169V8.02172H1.56349C1.5218 8.34196 1.5 8.66845 1.5 9C1.5 9.33161 1.5218 9.65804 1.56349 9.97825H8.02169H8.02172V16.4365C8.34196 16.4782 8.66839 16.5 9 16.5C9.33155 16.5 9.65804 16.4782 9.97825 16.4365V9.97831V9.97828H16.4365C16.4782 9.65804 16.5 9.33161 16.5 9C16.5 8.66845 16.4782 8.34196 16.4365 8.02175Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 10.9566L14.3023 14.3033C14.4563 14.1495 14.6031 13.9886 14.7432 13.8218L11.8779 10.9565H10.9556V10.9566Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04405 10.9565H7.04399L3.69727 14.3033C3.85113 14.4572 4.012 14.604 4.17876 14.7441L7.04405 11.8788V10.9565Z\" fill=\"#D80027\"/>\n                        <path d=\"M7.04299 7.0435V7.04344L3.69623 3.69666C3.5423 3.85052 3.39547 4.01139 3.25537 4.17815L6.12069 7.04347H7.04299V7.0435Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.9556 7.04363L14.3024 3.69681C14.1485 3.54289 13.9876 3.39605 13.8209 3.25598L10.9556 6.1213V7.04363Z\" fill=\"#D80027\"/>\n                    </svg>\n                    United Kingdom\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9 16.5C13.1421 16.5 16.5 13.1421 16.5 9C16.5 4.85786 13.1421 1.5 9 1.5C4.85786 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85786 16.5 9 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5012 9.00018C16.5012 5.77544 14.4659 3.02637 11.6099 1.96667V16.0337C14.4659 14.974 16.5012 12.2249 16.5012 9.00018Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99994C1.5 12.2247 3.53534 14.9737 6.39132 16.0334V1.96643C3.53534 3.02613 1.5 5.7752 1.5 8.99994Z\" fill=\"#1A47B8\"/>\n                    </svg>\n                    France\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded-md\">\n                    <svg class=\"w-4 h-4 me-1.5\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M9.00012 16.5C13.1423 16.5 16.5002 13.1421 16.5002 9C16.5002 4.85786 13.1423 1.5 9.00012 1.5C4.85792 1.5 1.5 4.85786 1.5 9C1.5 13.1421 4.85792 16.5 9.00012 16.5Z\" fill=\"white\"/>\n                        <path d=\"M16.5009 8.99956C16.5009 6.02627 14.7705 3.4572 12.2619 2.24414V15.7549C14.7705 14.5419 16.5009 11.9728 16.5009 8.99956Z\" fill=\"#D80027\"/>\n                        <path d=\"M1.5 8.99955C1.5 11.9728 3.23035 14.5419 5.73897 15.755V2.24414C3.23035 3.4572 1.5 6.02627 1.5 8.99955Z\" fill=\"#D80027\"/>\n                        <path d=\"M10.3031 9.9782L11.6073 9.32606L10.9552 9.00001V8.34787L9.65092 9.00001L10.3031 7.69573H9.65092L8.99877 6.71753L8.34662 7.69573H7.69447L8.34662 9.00001L7.04232 8.34787V9.00001L6.3902 9.32606L7.69447 9.9782L7.36841 10.6303H8.67271V11.6085H9.32483V10.6303H10.6291L10.3031 9.9782Z\" fill=\"#D80027\"/>\n                    </svg>\n                    Canada\n                    </a>\n                </li>\n            </ul>\n        </div>\n      <label for=\"states\" class=\"sr-only\">Choose a state</label>\n      <select id=\"states\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-s-0 border-default-medium text-heading text-sm rounded-e-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\">\n          <option selected>Choose a state</option>\n          <option value=\"CA\">California</option>\n          <option value=\"TX\">Texas</option>\n          <option value=\"WH\">Washinghton</option>\n          <option value=\"FL\">Florida</option>\n          <option value=\"VG\">Virginia</option>\n          <option value=\"GE\">Georgia</option>\n          <option value=\"MI\">Michigan</option>\n      </select>\n  </div>\n</form>\n{{< /example >}}\n\n## Sizes\n\nGet started with the small, default, and large sizes for the select component from the example below.\n\n{{< example github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"small\" class=\"block mb-2.5 text-sm font-medium text-heading\">Small select</label>\n  <select id=\"small\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body mb-4\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n  <label for=\"default\" class=\"block mb-2.5 text-sm font-medium text-heading\">Default select</label>\n  <select id=\"default\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body mb-4\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n  <label for=\"large\" class=\"block mb-2.5 text-sm font-medium text-heading\">Large select</label>\n  <select id=\"large\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3.5 py-3 shadow-xs placeholder:text-body mb-4\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n  <label for=\"extra-large\" class=\"block mb-2.5 text-sm font-medium text-heading\">Extra Large select</label>\n  <select id=\"extra-large\" class=\"block w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-4 py-3.5 shadow-xs placeholder:text-body mb-4\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}"
  },
  {
    "path": "content/forms/textarea.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Textarea - Flowbite\ndescription: Use the textarea component as a multi-line text field input and use it inside form elements available in multiple sizes, styles, and variants\ngroup: forms\ntoc: true\n\nprevious: Select\npreviousLink: forms/select/\nnext: Timepicker\nnextLink: forms/timepicker/\n---\n\nThe textarea component is a multi-line text field input that can be used to receive longer chunks of text from the user in the form of a comment box, description field, and more.\n\nFrom the examples on this page you will find multiple styles and variants of the textarea component coded with the utility classes from Tailwind CSS including a WYSIWYG editor, comment box, chatroom textarea, all available in dark mode as well. \n\n## Textarea example\n\nGet started with the default example of a textarea component below.\n\n{{< example github=\"forms/textarea.md\" show_dark=true >}}\n<label for=\"message\" class=\"block mb-2.5 text-sm font-medium text-heading\">Your message</label>\n<textarea id=\"message\" rows=\"4\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full p-3.5 shadow-xs placeholder:text-body\" placeholder=\"Write your thoughts here...\"></textarea>\n{{< /example >}}\n\n## WYSIWYG Editor\n\nIf you want to add other actions as buttons alongside your textarea component, such as with a WYSIWYG editor, then you can use the example below.\n\n{{< example github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n   <div class=\"w-full mb-4 border border-default-medium rounded-base bg-neutral-secondary-medium shadow-xs\">\n       <div class=\"flex items-center justify-between px-3 py-2 border-b border-default-medium\">\n           <div class=\"flex flex-wrap items-center divide-default-medium sm:divide-x sm:rtl:divide-x-reverse\">\n               <div class=\"flex items-center space-x-1 rtl:space-x-reverse sm:pe-4\">\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8\"/></svg>\n                       <span class=\"sr-only\">Attach file</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.8 13.938h-.011a7 7 0 1 0-11.464.144h-.016l.14.171c.1.127.2.251.3.371L12 21l5.13-6.248c.194-.209.374-.429.54-.659l.13-.155Z\"/></svg>\n                       <span class=\"sr-only\">Embed map</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M16 18H8l2.5-6 2 4 1.5-2 2 4Zm-1-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM8 18h8l-2-4-1.5 2-2-4L8 18Zm7-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/></svg>\n                       <span class=\"sr-only\">Upload image</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/></svg>\n                        <span class=\"sr-only\">Format code</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h.01M8.99 9H9m12 3a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM6.6 13a5.5 5.5 0 0 0 10.81 0H6.6Z\"/></svg>\n                       <span class=\"sr-only\">Add emoji</span>\n                   </button>\n               </div>\n               <div class=\"flex flex-wrap items-center space-x-1 rtl:space-x-reverse sm:ps-4\">\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/></svg>\n                       <span class=\"sr-only\">Add list</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 13v-2a1 1 0 0 0-1-1h-.757l-.707-1.707.535-.536a1 1 0 0 0 0-1.414l-1.414-1.414a1 1 0 0 0-1.414 0l-.536.535L14 4.757V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v.757l-1.707.707-.536-.535a1 1 0 0 0-1.414 0L4.929 6.343a1 1 0 0 0 0 1.414l.536.536L4.757 10H4a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h.757l.707 1.707-.535.536a1 1 0 0 0 0 1.414l1.414 1.414a1 1 0 0 0 1.414 0l.536-.535 1.707.707V20a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-.757l1.707-.708.536.536a1 1 0 0 0 1.414 0l1.414-1.414a1 1 0 0 0 0-1.414l-.535-.536.707-1.707H20a1 1 0 0 0 1-1Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/></svg>\n                       <span class=\"sr-only\">Settings</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m11.5 11.5 2.071 1.994M4 10h5m11 0h-1.5M12 7V4M7 7V4m10 3V4m-7 13H8v-2l5.227-5.292a1.46 1.46 0 0 1 2.065 2.065L10 17Zm-5 3h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n                       <span class=\"sr-only\">Timeline</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n                       <span class=\"sr-only\">Download</span>\n                   </button>\n               </div>\n           </div>\n           <button type=\"button\" data-tooltip-target=\"tooltip-fullscreen\" class=\"p-2 text-body rounded-sm cursor-pointer sm:ms-auto hover:text-heading hover:bg-neutral-tertiary-medium\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 4H4m0 0v4m0-4 5 5m7-5h4m0 0v4m0-4-5 5M8 20H4m0 0v-4m0 4 5-5m7 5h4m0 0v-4m0 4-5-5\"/></svg>\n               <span class=\"sr-only\">Full screen</span>\n           </button>\n           <div id=\"tooltip-fullscreen\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n               Show full screen\n               <div class=\"tooltip-arrow\" data-popper-arrow></div>\n           </div>\n       </div>\n       <div class=\"px-4 py-2 bg-neutral-secondary-medium rounded-b-base\">\n           <label for=\"editor\" class=\"sr-only\">Publish post</label>\n           <textarea id=\"editor\" rows=\"8\" class=\"block w-full px-0 text-sm text-heading bg-neutral-secondary-medium border-0 focus:ring-0 placeholder:text-body\" placeholder=\"Write an article...\" required ></textarea>\n       </div>\n   </div>\n    <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Publish post</button>\n</form>\n{{< /example >}}\n\n## Comment box\n\nMost often the textarea component is used as the main text field input element in comment sections. Use this example to also apply a helper text and buttons below the textarea itself.\n\n{{< example github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n   <div class=\"w-full mb-4 border border-default-medium rounded-base bg-neutral-secondary-medium shadow-xs\">\n       <div class=\"px-4 py-2 bg-neutral-secondary-medium rounded-t-base\">\n           <label for=\"comment\" class=\"sr-only\">Your comment</label>\n           <textarea id=\"comment\" rows=\"4\" class=\"block w-full px-0 text-sm text-heading bg-neutral-secondary-medium border-0 focus:ring-0 placeholder:text-body\" placeholder=\"Write a comment...\" required ></textarea>\n       </div>\n       <div class=\"flex items-center px-3 py-2 border-t border-default-medium\">\n            <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">Post comment</button>\n           <div class=\"flex ps-0 space-x-1 rtl:space-x-reverse sm:ps-2\">\n                <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 9h.01M8.99 9H9m12 3a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM6.6 13a5.5 5.5 0 0 0 10.81 0H6.6Z\"/></svg>\n                    <span class=\"sr-only\">Add emoji</span>\n                </button>\n                <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8\"/></svg>\n                    <span class=\"sr-only\">Attach file</span>\n                </button>\n                <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.8 13.938h-.011a7 7 0 1 0-11.464.144h-.016l.14.171c.1.127.2.251.3.371L12 21l5.13-6.248c.194-.209.374-.429.54-.659l.13-.155Z\"/></svg>\n                    <span class=\"sr-only\">Embed map</span>\n                </button>\n                <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M16 18H8l2.5-6 2 4 1.5-2 2 4Zm-1-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM8 18h8l-2-4-1.5 2-2-4L8 18Zm7-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/></svg>\n                    <span class=\"sr-only\">Upload image</span>\n                </button>\n           </div>\n       </div>\n   </div>\n</form>\n<p class=\"ms-auto text-xs text-body\">Remember, contributions to this topic should follow our <a href=\"#\" class=\"text-fg-brand hover:underline\">Community Guidelines</a>.</p>\n{{< /example >}}\n\n## Chatroom input\n\nIf you want to build a chatroom component you will usually want to use a textarea element to allow users to write multi-line chunks of text.\n\n{{< example github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n    <label for=\"chat\" class=\"sr-only\">Your message</label>\n    <div class=\"flex items-center px-3 py-2 rounded-base bg-neutral-secondary-soft\">\n        <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8\"/></svg>\n            <span class=\"sr-only\">Attach file</span>\n        </button>\n        <button type=\"button\" class=\"p-2 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-tertiary-medium\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M16 18H8l2.5-6 2 4 1.5-2 2 4Zm-1-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM8 18h8l-2-4-1.5 2-2-4L8 18Zm7-8.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z\"/></svg>\n            <span class=\"sr-only\">Upload image</span>\n        </button>\n        <textarea id=\"chat\" rows=\"1\" class=\"mx-4 bg-neutral-primary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 placeholder:text-body\" placeholder=\"Your message...\"></textarea>\n            <button type=\"submit\" class=\"inline-flex justify-center p-2 text-fg-brand rounded-full cursor-pointer hover:bg-brand-softer\">\n            <svg class=\"w-6 h-6 rotate-90 rtl:-rotate-90\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m12 18-7 3 7-18 7 18-7-3Zm0 0v-5\"/></svg>\n            <span class=\"sr-only\">Send message</span>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n"
  },
  {
    "path": "content/forms/timepicker.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Timepicker - Flowbite\ndescription: Use the timepicker component from Flowbite to select the time of the day in terms of hours, minutes and even seconds using an input selector based on Tailwind CSS\ngroup: forms\ntoc: true\nrequires_js: true\n\nprevious: Textarea\npreviousLink: forms/textarea/\nnext: Toggle\nnextLink: forms/toggle/\n---\n\nThe timepicker component from Flowbite can be used to choose the hours and minutes of a given day through the usage of input fields such as the native HTML time field or even checkbox fields with predefined time interval which are popularly used for calendar event creation.\n\nThe examples on this page are all built with Tailwind CSS and some of the examples require you to install the Flowbite JavaScript dependency to make the interactive UI components functional such as the datepicker, dropdowns, modals and the drawers.\n\nThe timepicker component is often used together with a datepicker so the more advanced examples on this page show you a combination of these two components where you can select both the date (year, month and day) and then the time of the day for the event.\n\n## Default timepicker\n\nUse this example to show a simple input field with the native browser timepicker.\n\n{{< example github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-heading\">Select time:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        </div>\n        <input type=\"time\" id=\"time\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n    </div>\n</form>\n{{< /example >}}\n\n## Timepicker with icon\n\nThis example can be used to select a time via an input field where you can add an icon to the input group.\n\n{{< example github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8.5rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-heading\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"rounded-none rounded-s-lg flex-1 block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <span class=\"inline-flex items-center px-3 text-sm text-heading bg-neutral-secondary-medium border rounded-s-0 border-s-0 border-default-medium rounded-e-md\">\n            <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        </span>\n    </div>\n</form>\n{{< /example >}}\n\n## Timepicker with dropdown\n\nUse this example to show a timepicker together with a dropdown menu where you can add options such as selecting the timezone or the duration of an event in minutes or hours.\n\n{{< example github=\"components/timepicker.md\" iframeHeight=\"300\" show_dark=true >}}\n<form class=\"max-w-[13rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-heading\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"rounded-none rounded-s-lg flex-1 block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <button id=\"dropdown-duration-button\" data-dropdown-toggle=\"dropdown-duration\" class=\"border-s-0 shrink-0 z-10 inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n         Duration \n         <svg class=\"w-4 h-4 -me-0.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div id=\"dropdown-duration\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-40\">\n            <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdown-duration-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n                        30 minutes\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n                        1 hour\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\" role=\"menuitem\">\n                        2 hours\n                    </button>\n                </li>\n            </ul>\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n## Timepicker with select\n\nUse this example to show a select input next to the timepicker to select an option like a timezone.\n\n{{< example class=\"flex justify-center\" github=\"components/timepicker.md\" show_dark=true >}}\n<form>\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-heading\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"rounded-none rounded-s-lg flex-1 block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <select id=\"timezones\" name=\"timezone\" class=\"rounded-none border border-s-0 rounded-e-lg p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" required>\n            <option value=\"America/New_York\" selected>EST - GMT-5 (New York)</option>\n            <option value=\"America/Los_Angeles\">PST - GMT-8 (Los Angeles)</option>\n            <option value=\"Europe/London\">GMT - GMT+0 (London)</option>\n            <option value=\"Europe/Paris\">CET - GMT+1 (Paris)</option>\n            <option value=\"Asia/Tokyo\">JST - GMT+9 (Tokyo)</option>\n            <option value=\"Australia/Sydney\">AEDT - GMT+11 (Sydney)</option>\n            <option value=\"Canada/Mountain\">MST - GMT-7 (Canada)</option>\n            <option value=\"Canada/Central\">CST - GMT-6 (Canada)</option>\n            <option value=\"Canada/Eastern\">EST - GMT-5 (Canada)</option>\n            <option value=\"Europe/Berlin\">CET - GMT+1 (Berlin)</option>\n            <option value=\"Asia/Dubai\">GST - GMT+4 (Dubai)</option>\n            <option value=\"Asia/Singapore\">SGT - GMT+8 (Singapore)</option>\n         </select>\n    </div>\n</form>\n{{< /example >}}\n\n## Timepicker range selector\n\nUse this example to select a time interval using two input field often used for the duration of an event.\n\n{{< example github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4\">\n    <div>\n        <label for=\"start-time\" class=\"block mb-2 text-sm font-medium text-heading\">Start time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"start-time\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    <div>\n        <label for=\"end-time\" class=\"block mb-2 text-sm font-medium text-heading\">End time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"end-time\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n## Timerange with dropdown\n\nThis example can be used to show the timerange picker inside a dropdown only when clicking on a button.\n\n{{< example class=\"flex justify-center items-center\" github=\"components/timepicker.md\" show_dark=true iframeHeight=\"260\" javascript=`\nconst dropdown = FlowbiteInstances.getInstance('Dropdown', 'dropdownTimepicker');\nconst $saveTimeButton = document.getElementById('saveTimeButton');\n\n$saveTimeButton.addEventListener('click', function() {\n    // save time code and then hide the dropdown\n    dropdown.hide();\n});\n` >}}\n<button id=\"dropdownTimepickerButton\" data-dropdown-toggle=\"dropdownTimepicker\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\nChoose time \n<svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/>\n</svg>\n\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownTimepicker\" class=\"z-10 hidden bg-neutral-primary-soft rounded-base shadow-sm w-auto p-3\">\n    <div class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4 mb-2\">\n         <div>\n        <label for=\"start-time-2\" class=\"block mb-2 text-sm font-medium text-heading\">Start time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"start-time-2\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    <div>\n        <label for=\"end-time-2\" class=\"block mb-2 text-sm font-medium text-heading\">End time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"end-time-2\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    </div>\n    <button id=\"saveTimeButton\" type=\"button\" class=\"text-fg-brand text-sm hover:underline p-0\">Save time</button>\n</div>\n{{< /example >}}\n\n## Timerange picker with toggle\n\nUse this example to show or hide the timepicker when clicking on an trigger element.\n\n{{< example class=\"flex items-center justify-center\" github=\"components/timepicker.md\" show_dark=true iframeHeight=\"190\" >}}\n<div class=\"w-[16rem]\">\n    <button id=\"selectTimeToggle\" data-collapse-toggle=\"time-range-container\" type=\"button\" class=\"text-fg-brand text-base font-medium hover:underline p-0 inline-flex items-center mb-2\">Select time \n      <svg class=\"w-5 h-5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/>\n      </svg>\n    </button>\n    <div id=\"time-range-container\" class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4 mb-2 hidden\">\n        <div>\n        <label for=\"start-time-3\" class=\"block mb-2 text-sm font-medium text-heading\">Start time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"start-time-3\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    <div>\n        <label for=\"end-time-3\" class=\"block mb-2 text-sm font-medium text-heading\">End time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n               <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            </div>\n            <input type=\"time\" id=\"end-time-3\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Inline timepicker buttons\n\nThis is an advanced example that you can use to show the details of an event and select a date of the event based on the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/) and select the time using a predefined set of time intervals based on checkbox elements.\n\n{{< example github=\"components/timepicker.md\" show_dark=true >}}\n<h2 class=\"text-xl text-heading font-semibold mb-2\">Digital Transformation</h2>\n<div class=\"flex items-center space-x-4 rtl:space-x-reverse mb-3\">\n   <div class=\"flex items-center\">\n      <svg class=\"w-5 h-5 text-body me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n      <span class=\"text-heading text-base font-medium\">30.06.2024</span>\n   </div>\n   <div class=\"flex items-center\">\n      <svg class=\"w-5 h-5 text-body me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z\"/>\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.8 13.938h-.011a7 7 0 1 0-11.464.144h-.016l.14.171c.1.127.2.251.3.371L12 21l5.13-6.248c.194-.209.374-.429.54-.659l.13-.155Z\"/>\n      </svg>\n      <span class=\"text-heading text-base font-medium\">California, USA</span>\n   </div>\n</div>\n<div class=\"flex items-start space-x-2 rtl:space-x-reverse mb-5\">\n   <div>\n      <div class=\"text-base font-normal text-body mb-2\">Participants</div>\n      <div class=\"flex -space-x-2 rtl:space-x-reverse\">\n         <img class=\"w-8 h-8 border border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border border-buffer rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n         <a class=\"flex items-center justify-center w-8 h-8 text-xs font-medium text-white bg-dark border border-buffer rounded-full hover:bg-dark-strong\" href=\"#\">+99</a>\n      </div>\n   </div>\n   <div>\n      <div class=\"text-base font-normal text-body mb-3\">Duration</div>\n      <span class=\"text-heading text-base font-medium block\">30 min</span>\n   </div>\n   <div>\n      <div class=\"text-base font-normal text-body mb-3\">Meeting Type</div>\n      <span class=\"text-heading text-base font-medium block\">Web conference</span>\n   </div>\n</div>\n<div class=\"pt-5 border-t border-default flex sm:flex-row flex-col sm:space-x-5 rtl:space-x-reverse\">\n   <div inline-datepicker datepicker-buttons datepicker-autoselect-today class=\"mx-auto sm:mx-0\"></div>\n   <div class=\"sm:ms-7 sm:ps-5 sm:border-s border-default w-full sm:max-w-[15rem] mt-5 sm:mt-0\">\n      <h3 class=\"text-heading text-base font-medium mb-3 text-center\">Wednesday 30 June 2024</h3>\n      <button type=\"button\" data-collapse-toggle=\"timetable\" class=\"inline-flex items-center justify-center w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Pick a time\n      </button>\n      <label class=\"sr-only\">\n      Pick a time\n      </label>\n      <ul id=\"timetable\" class=\"grid w-full grid-cols-2 gap-2 mt-5\">\n         <li>\n            <input type=\"radio\" id=\"10-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"10-am\" class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n               10:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"10-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"10-30-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            10:30 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"11-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"11-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            11:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"11-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"11-30-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            11:30 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"12-am\" value=\"\" class=\"hidden peer\" name=\"timetable\" checked>\n            <label for=\"12-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            12:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"12-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"12-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            12:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"1-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"1-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            01:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"1-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"1-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            01:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"2-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"2-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            02:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"2-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"2-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            02:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"3-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"3-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            03:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"3-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"3-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n            03:30 PM\n            </label>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n## Modal with timepicker\n\nUse this example to select a date and time inside of a modal component based on the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/) and select a time interval using checkbox elements with predefined time values for event time scheduling.\n\n{{< example github=\"components/timepicker.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"880\" >}}\n<button type=\"button\" data-modal-target=\"timepicker-modal\" data-modal-toggle=\"timepicker-modal\" class=\"inline-flex items-center justify-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n   <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n   Schedule appointment\n</button>\n\n<!-- Main modal -->\n<div id=\"timepicker-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-[23rem] max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft rounded-base\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 border-b rounded-t border-default\">\n                <h3 class=\"font-medium text-heading\">\n                    Schedule an appointment\n                </h3>\n               <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-toggle=\"timepicker-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 pt-0\">\n                <div inline-datepicker datepicker-autoselect-today class=\"mx-auto sm:mx-0 flex justify-center my-5 [&>div>div]:shadow-none [&>div>div]:bg-neutral-secondary-soft [&_div>button]:bg-neutral-secondary-soft\"></div>\n                <label class=\"text-sm font-medium text-heading mb-2 block\">\n                Pick your time\n                </label>\n                <ul id=\"timetable\" class=\"grid w-full grid-cols-3 gap-2 mb-5\">\n                    <li>\n                        <input type=\"radio\" id=\"10-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"10-am\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        10:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"10-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"10-30-am\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        10:30 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"11-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"11-am\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        11:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"11-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"11-30-am\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        11:30 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"12-am\" value=\"\" class=\"hidden peer\" name=\"timetable\" checked>\n                        <label for=\"12-am\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        12:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"12-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"12-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        12:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"1-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"1-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        01:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"1-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"1-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        01:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"2-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"2-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        02:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"2-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"2-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        02:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"3-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"3-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        03:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"3-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"3-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-neutral-primary-soft border rounded-base cursor-pointer text-fg-brand border-brand peer-checked:border-brand peer-checked:bg-brand hover:text-white peer-checked:text-white hover:bg-brand-strong\">\n                        03:30 PM\n                        </label>\n                    </li>\n                </ul>\n                <div class=\"grid grid-cols-2 gap-2\">\n                    <button type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Save</button>\n                    <button type=\"button\" data-modal-hide=\"timepicker-modal\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Discard</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Drawer with timepicker\n\nUse this example to show multiple time interval selections inside of a drawer component to schedule time based on multiple entries (ie. days of the week) using the native browser time selection input element.\n\n{{< example github=\"components/timepicker.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"880\" >}}\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\" data-drawer-target=\"drawer-timepicker\" data-drawer-show=\"drawer-timepicker\" aria-controls=\"drawer-timepicker\">\n   Set time schedule\n   </button>\n</div>\n<!-- drawer component -->\n<div id=\"drawer-timepicker\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-neutral-primary-soft w-96\" tabindex=\"-1\" aria-labelledby=\"drawer-timepicker-label\">\n   <div class=\"border-b border-default pb-4 mb-5 flex items-center\">\n      <h5 id=\"drawer-label\" class=\"inline-flex items-center text-lg font-medium text-body\">\n         <svg class=\"w-5 h-5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n         Time schedule\n      </h5>\n      <button type=\"button\" data-drawer-hide=\"drawer-timepicker\" aria-controls=\"drawer-timepicker\" class=\"text-body bg-transparent hover:text-heading hover:bg-neutral-tertiary rounded-base w-9 h-9 absolute top-2.5 end-2.5 flex items-center justify-center\">\n         <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n         <span class=\"sr-only\">Close menu</span>\n      </button>\n   </div>\n   <form>\n      <div class=\"rounded-lg border border-default-medium bg-neutral-secondary-medium p-4 mb-6\">\n         <div class=\"flex justify-between items-center mb-3\">\n            <span class=\"text-heading text-base font-medium\">Business hours</span>\n            <label class=\"inline-flex items-center cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n            <span class=\"sr-only select-none\">Business hours</span>\n            </label>\n         </div>\n         <p class=\"text-sm text-body font-normal\">Enable or disable business working hours for all weekly working days</p>\n      </div>\n      <div class=\"pb-6 mb-6 border-b border-default\">\n           <label for=\"timezone\" class=\"block mb-2.5 text-sm font-medium text-heading\">Select a timezone</label>\n            <select id=\"timezone\" class=\"block w-full px-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\">\n            <option selected value>Choose a timezone</option>\n            <option value=\"America/New_York\">EST (Eastern Standard Time) - GMT-5 (New York)</option>\n            <option value=\"America/Los_Angeles\">PST (Pacific Standard Time) - GMT-8 (Los Angeles)</option>\n            <option value=\"Europe/London\">GMT (Greenwich Mean Time) - GMT+0 (London)</option>\n            <option value=\"Europe/Paris\">CET (Central European Time) - GMT+1 (Paris)</option>\n            <option value=\"Asia/Tokyo\">JST (Japan Standard Time) - GMT+9 (Tokyo)</option>\n            <option value=\"Australia/Sydney\">AEDT (Australian Eastern Daylight Time) - GMT+11 (Sydney)</option>\n            <option value=\"Canada/Mountain\">MST (Mountain Standard Time) - GMT-7 (Canada)</option>\n            <option value=\"Canada/Central\">CST (Central Standard Time) - GMT-6 (Canada)</option>\n            <option value=\"Canada/Eastern\">EST (Eastern Standard Time) - GMT-5 (Canada)</option>\n            <option value=\"Europe/Berlin\">CET (Central European Time) - GMT+1 (Berlin)</option>\n            <option value=\"Asia/Dubai\">GST (Gulf Standard Time) - GMT+4 (Dubai)</option>\n            <option value=\"Asia/Singapore\">SGT (Singapore Standard Time) - GMT+8 (Singapore)</option>\n            </select>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input checked id=\"monday\" name=\"days\" type=\"checkbox\" value=\"monday\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n               <label for=\"monday\" class=\"ms-2 text-sm font-medium text-heading\">Mon</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-monday\" class=\"sr-only\">Sart time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-monday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-monday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                        <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-monday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center rounded-base focus:outline-none text-body hover:bg-neutral-tertiary hover:text-heading\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/>\n</svg>\n\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"tuesday\" name=\"days\" type=\"checkbox\" value=\"tuesday\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n               <label for=\"tuesday\" class=\"ms-2 text-sm font-medium text-heading\">Tue</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-tuesday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-tuesday\" name=\"start-time-tuesday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-tuesday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-tuesday\" name=\"end-time-tuesday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center rounded-base focus:outline-none text-body hover:bg-neutral-tertiary hover:text-heading\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/>\n</svg>\n\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input checked id=\"wednesday\" name=\"days\" type=\"checkbox\" value=\"wednesday\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n               <label for=\"wednesday\" class=\"ms-2 text-sm font-medium text-heading\">Wed</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-wednesday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-wednesday\" name=\"start-time-wednesday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-wednesday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-wednesday\" name=\"end-time-wednesday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center rounded-base focus:outline-none text-body hover:bg-neutral-tertiary hover:text-heading\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/>\n</svg>\n\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"thursday\" name=\"days\" type=\"checkbox\" value=\"thursday\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n               <label for=\"thursday\" class=\"ms-2 text-sm font-medium text-heading\">Thu</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-thursday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-thursday\" name=\"start-time-thursday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-thursday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-thursday\" name=\"end-time-thursday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center rounded-base focus:outline-none text-body hover:bg-neutral-tertiary hover:text-heading\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/>\n</svg>\n\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"friday\" name=\"days\" type=\"checkbox\" value=\"friday\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n               <label for=\"friday\" class=\"ms-2 text-sm font-medium text-heading\">Fri</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-friday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-friday\" name=\"start-time-friday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-friday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n<svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-friday\" name=\"end-time-friday\" class=\"block w-full p-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand shadow-xs placeholder:text-body\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center rounded-base focus:outline-none text-body hover:bg-neutral-tertiary hover:text-heading\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/>\n</svg>\n\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <button type=\"button\" class=\"inline-flex items-center justify-center w-full text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         <svg class=\"w-4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/>\n         </svg>\n         Add interval\n      </button>\n      <div class=\"grid grid-cols-2 gap-4 bottom-4 left-0 w-full md:px-4 md:absolute\">\n         <button type=\"button\" data-drawer-hide=\"drawer-timepicker\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Close</button>\n         <button type=\"submit\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n         Save all\n         </button>\n      </div>\n   </form>\n</div>\n{{< /example >}}\n"
  },
  {
    "path": "content/forms/toggle.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Toggle - Flowbite\ndescription: Use the toggle component to switch between a binary state of true or false using a single click available in multiple sizes, variants, and colors\ngroup: forms\ntoc: true\n\nprevious: Timepicker\npreviousLink: forms/timepicker/\nnext: Range Slider\nnextLink: forms/range/\n---\n\nThe toggle component can be used to receive a simple \"yes\" or \"no\" type of answer from the user by choosing a single option from two options available in multiple sizes, styles, and colors coded with the utility classes from Tailwind CSS and with dark mode support.\n\n## Toggle example\n\nGet started with the default toggle component example as a checkbox element to receive a true or false selection from the user.\n\n{{< example class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Toggle me</span>\n</label>\n{{< /example >}}\n\n## Checked state\n\nApply the `checked` attribute to the toggle component to activate the selection by default.\n\n{{< example class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Checked toggle</span>\n</label>\n{{< /example >}}\n\n## Disabled state\n\nApply the `disabled` attribute to disallow the users from making any further selections.\n\n{{< example class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" disabled>\n  <div class=\"relative w-9 h-5 bg-neutral-tertiary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-fg-disabled\">Disabled toggle</span>\n</label>\n\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked disabled>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-fg-disabled\">Disabled checked</span>\n</label>\n{{< /example >}}\n\n## Double labels\n\nUse this example to show labels on the left and right of the toggle component.\n\n{{< example class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <span class=\"select-none text-sm font-medium text-heading\">Monthly</span>\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative mx-3 w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none text-sm font-medium text-heading\">Yearly</span>\n</label>\n{{< /example >}}\n\n## Toggle with icons\n\nThis example can be used to show [SVG icons](https://flowbite.com/icons/) on either side of the toggle component.\n\n{{< example class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17.5 8.43A4.985 4.985 0 0 1 19 12a4.984 4.984 0 0 1-1.43 3.5M14 6.135v11.73a1 1 0 0 1-1.64.768L8 15H6a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2l4.36-3.633a1 1 0 0 1 1.64.768Z\"/></svg>\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative mx-3 w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <svg class=\"w-5 h-5 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15.5 8.43A4.985 4.985 0 0 1 17 12a4.984 4.984 0 0 1-1.43 3.5m2.794 2.864A8.972 8.972 0 0 0 21 12a8.972 8.972 0 0 0-2.636-6.364M12 6.135v11.73a1 1 0 0 1-1.64.768L6 15H4a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1h2l4.36-3.633a1 1 0 0 1 1.64.768Z\"/></svg>\n</label>\n{{< /example >}}\n\n## Toggle card\n\nThis example can be used to add a toggle input field inside a card element with a description.\n\n{{< example class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"w-80 inline-flex cursor-pointer p-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"shrink-0 relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <div class=\"ms-2.5 select-none\">\n    <p class=\"text-sm font-medium text-heading mb-1\">Weekly newsletter</p>\n    <p class=\"text-sm font-normal text-body\">Save my credentials for easier sign-in in the future.</p>\n  </div>\n</label>\n{{< /example >}}\n\n## Toggle card with icon\n\nThis example can be used to add a toggle input field inside a card element with an icon.\n\n{{< example class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"w-112 inline-flex cursor-pointer p-4 bg-neutral-primary-soft border border-default rounded-base shadow-xs\">\n  <div class=\"me-2.5\">\n    <svg class=\"h-8 mb-2 text-heading\" viewBox=\"0 0 90 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.62 3.33333C5.19995 3.33333 0 8.53328 0 14.9533C0 20.0952 3.32622 24.4382 7.94517 25.9778C8.52617 26.0795 8.74405 25.7309 8.74405 25.4259C8.74405 25.1499 8.72952 24.2348 8.72952 23.2616C5.81 23.7991 5.0547 22.5499 4.8223 21.8963C4.69157 21.5622 4.1251 20.5309 3.63125 20.255C3.22455 20.0371 2.64355 19.4997 3.61672 19.4851C4.5318 19.4706 5.18542 20.3276 5.4033 20.6762C6.4491 22.4337 8.11947 21.9399 8.78762 21.6348C8.8893 20.8795 9.19432 20.3712 9.5284 20.0807C6.94295 19.7902 4.2413 18.7879 4.2413 14.3433C4.2413 13.0796 4.69157 12.0338 5.43235 11.2204C5.31615 10.9299 4.90945 9.73886 5.54855 8.14111C5.54855 8.14111 6.52172 7.83608 8.74405 9.33216C9.67365 9.07071 10.6613 8.93998 11.649 8.93998C12.6367 8.93998 13.6244 9.07071 14.554 9.33216C16.7764 7.82156 17.7495 8.14111 17.7495 8.14111C18.3886 9.73886 17.9819 10.9299 17.8657 11.2204C18.6065 12.0338 19.0568 13.0651 19.0568 14.3433C19.0568 18.8025 16.3406 19.7902 13.7552 20.0807C14.1764 20.4438 14.5395 21.141 14.5395 22.2304C14.5395 23.7845 14.525 25.0337 14.525 25.4259C14.525 25.7309 14.7429 26.094 15.3239 25.9778C17.6307 25.1991 19.6351 23.7165 21.0552 21.7389C22.4753 19.7612 23.2394 17.388 23.24 14.9533C23.24 8.53328 18.04 3.33333 11.62 3.33333Z\" fill=\"currentColor\"/>\n<path d=\"M54.1705 20.562H54.1434C54.1556 20.562 54.1637 20.5756 54.1759 20.5769H54.1841L54.1705 20.5634V20.562ZM54.1759 20.5769C54.0498 20.5783 53.7326 20.6447 53.3978 20.6447C52.3403 20.6447 51.9743 20.1567 51.9743 19.5195V15.2749H54.1298C54.2518 15.2749 54.3467 15.1665 54.3467 15.0173V12.7127C54.3467 12.5907 54.2383 12.4822 54.1298 12.4822H51.9743V9.62178C51.9743 9.51333 51.9065 9.44555 51.7845 9.44555H48.8563C48.7343 9.44555 48.6665 9.51333 48.6665 9.62178V12.5636C48.6665 12.5636 47.1888 12.9296 47.0939 12.9432C46.9855 12.9703 46.9177 13.0652 46.9177 13.1736V15.0173C46.9177 15.1665 47.0261 15.2749 47.1481 15.2749H48.6529V19.7215C48.6529 23.0293 50.9576 23.3682 52.5301 23.3682C53.2486 23.3682 54.1163 23.1378 54.2518 23.07C54.3332 23.0429 54.3738 22.948 54.3738 22.8531V20.8196C54.3757 20.7619 54.3567 20.7055 54.3204 20.6607C54.284 20.6159 54.2327 20.5856 54.1759 20.5756V20.5769ZM86.2998 17.5931C86.2998 15.1393 85.3102 14.814 84.2663 14.9224C83.4529 14.9767 82.8022 15.3834 82.8022 15.3834V20.1553C82.8022 20.1553 83.4664 20.6162 84.4561 20.6433C85.8524 20.684 86.2998 20.1824 86.2998 17.5931ZM89.5941 17.3762C89.5941 22.0261 88.0893 23.3547 85.4593 23.3547C83.236 23.3547 82.043 22.2295 82.043 22.2295C82.043 22.2295 81.9888 22.8531 81.921 22.9344C81.8803 23.0158 81.8125 23.0429 81.7312 23.0429H79.7248C79.5892 23.0429 79.4672 22.9344 79.4672 22.8124L79.4943 7.75096C79.4943 7.62895 79.6028 7.5205 79.7248 7.5205H82.6124C82.7344 7.5205 82.8428 7.62895 82.8428 7.75096V12.8618C82.8428 12.8618 83.9545 12.1433 85.5813 12.1433L85.5677 12.1162C87.1945 12.1162 89.5941 12.7263 89.5941 17.3762ZM77.7726 12.4822H74.9257C74.7766 12.4822 74.6953 12.5907 74.6953 12.7398V20.1146C74.6953 20.1146 73.9497 20.6433 72.9329 20.6433C71.9162 20.6433 71.6179 20.1824 71.6179 19.1657V12.7263C71.6179 12.6042 71.5095 12.4958 71.3875 12.4958H68.4863C68.3643 12.4958 68.2559 12.6042 68.2559 12.7263V19.6537C68.2559 22.6362 69.9233 23.3818 72.2144 23.3818C74.0988 23.3818 75.6307 22.3379 75.6307 22.3379C75.6307 22.3379 75.6985 22.8666 75.7391 22.948C75.7663 23.0158 75.8612 23.07 75.956 23.07H77.7726C77.9218 23.07 78.0031 22.9615 78.0031 22.8395L78.0302 12.7127C78.0302 12.5907 77.9218 12.4822 77.7726 12.4822ZM45.6434 12.4687H42.7558C42.6338 12.4687 42.5253 12.5907 42.5253 12.7398V22.6904C42.5253 22.9615 42.7016 23.0564 42.932 23.0564H45.5349C45.806 23.0564 45.8738 22.9344 45.8738 22.6904V12.6991C45.8738 12.5771 45.7654 12.4687 45.6434 12.4687ZM44.2199 7.88653C43.176 7.88653 42.3491 8.71349 42.3491 9.75735C42.3491 10.8012 43.176 11.6282 44.2199 11.6282C45.2367 11.6282 46.0636 10.8012 46.0636 9.75735C46.0636 8.71349 45.2367 7.88653 44.2199 7.88653ZM66.5748 7.54761H63.7144C63.5924 7.54761 63.4839 7.65607 63.4839 7.77808V13.3228H58.9967V7.77808C58.9967 7.65607 58.8882 7.54761 58.7662 7.54761H55.8786C55.7566 7.54761 55.6482 7.65607 55.6482 7.77808V22.8395C55.6482 22.9615 55.7702 23.07 55.8786 23.07H58.7662C58.8882 23.07 58.9967 22.9615 58.9967 22.8395V16.4001H63.4839L63.4568 22.8395C63.4568 22.9615 63.5653 23.07 63.6873 23.07H66.5748C66.6969 23.07 66.8053 22.9615 66.8053 22.8395V7.77808C66.8053 7.65607 66.6969 7.54761 66.5748 7.54761ZM40.9934 14.2175V21.999C40.9934 22.0532 40.9799 22.1481 40.9121 22.1753C40.9121 22.1753 39.2175 23.3818 36.4248 23.3818C33.0492 23.3818 29.05 22.3244 29.05 15.3563C29.05 8.38813 32.5476 6.95112 35.9639 6.96468C38.9192 6.96468 40.1122 7.62895 40.302 7.75096C40.3563 7.81875 40.3834 7.87297 40.3834 7.94076L39.814 10.3538C39.814 10.4759 39.692 10.625 39.5429 10.5843C39.0548 10.4352 38.3228 10.1369 36.6011 10.1369C34.6082 10.1369 32.4663 10.7063 32.4663 15.1936C32.4663 19.6808 34.4998 20.2095 35.9639 20.2095C37.2111 20.2095 37.6585 20.0604 37.6585 20.0604V16.9424H35.6656C35.5165 16.9424 35.4081 16.8339 35.4081 16.7119V14.2175C35.4081 14.0955 35.5165 13.987 35.6656 13.987H40.7358C40.885 13.987 40.9934 14.0955 40.9934 14.2175Z\" fill=\"currentColor\"/>\n</svg>\n    <p class=\"text-sm font-normal text-body select-none\">Integrate your knowledge base and customer success seamlessy with your app.</p>\n  </div>\n    <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"shrink-0 relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n</label>\n{{< /example >}}\n\n## Colors\n\nChange the color of the toggle component by updating the color classes of `peer-focus` and `peer-checked`.\n\n{{< example class=\"flex inline-flex-wrap justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer peer-focus:ring-4 peer-focus:ring-red-300 dark:peer-focus:ring-red-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-red-600 dark:peer-checked:bg-red-600\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Red</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-green-300 dark:peer-focus:ring-green-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-green-600 dark:peer-checked:bg-green-600\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Green</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-purple-300 dark:peer-focus:ring-purple-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-purple-600 dark:peer-checked:bg-purple-600\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Purple</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-yellow-300 dark:peer-focus:ring-yellow-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-yellow-400 dark:peer-checked:bg-yellow-400\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Yellow</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-teal-300 dark:peer-focus:ring-teal-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-teal-600 dark:peer-checked:bg-teal-600\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Teal</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-orange-300 dark:peer-focus:ring-orange-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-600 peer-checked:bg-orange-500 dark:peer-checked:bg-orange-500\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Orange</span>\n</label>\n{{< /example >}}\n\n## Sizes\n\nGet started with small, default, or large sizes of the toggle component based on your needs.\n\n{{< example class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-9 h-5 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Base toggle</span>\n</label>\n\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-11 h-6 bg-neutral-quaternary peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-brand-soft dark:peer-focus:ring-brand-soft rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-buffer after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-brand\"></div>\n  <span class=\"select-none ms-3 text-sm font-medium text-heading\">Large toggle</span>\n</label>\n\n{{< /example >}}"
  },
  {
    "path": "content/getting-started/_index.html",
    "content": "---\nlayout: redirect\nsitemap_exclude: true\nredirect: \"/docs/getting-started/introduction/\"\n---"
  },
  {
    "path": "content/getting-started/angular.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Angular - Flowbite\ndescription: Read this guide to learn how to install Tailwind CSS with Angular and set up the UI components from Flowbite to build enterprise-level web applications\ngroup: getting-started\ntoc: true\nrequires_angular: true\n\nprevious: Svelte\npreviousLink: getting-started/svelte/\nnext: Astro\nnextLink: getting-started/astro/\n---\n\n[Angular](https://angular.io/) is a free and open-source single-page web framework written in TypeScript used by millions of developers and projects that can help you build and scale your web applications by using features like components, routing, form management, API calls interface, and more.\n\nThe framework was released by the Google team in 2010 and it is used by websites such as Upwork, Forbes, Gmail, YouTube, Udacity, and more including most of the Google Suite apps.\n\nFollow this guide to learn how to set up a new Angular project with Tailwind CSS and integrate the open-source UI components from the Flowbite Library.\n\n## Create Angular project\n\nThe recommended and quickest way to get started with creating a new Angular project is by installing the official CLI tool by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm install -g @angular/cli\n{{< /code >}}\n\nThis command will make the Angular CLI available on your local computer.\n\n1. Run the following command to create a new Angular project:\n\n{{< code lang=\"bash\" >}}\nng new flowbite-app\n{{< /code >}}\n\nYou can follow the instructions from the CLI prompts to select the options that you want to choose when creating a new project - you should select \"CSS\" when asked.\n\nThis command will create a new folder called `flowbite-app` where you have all the necessary source files to start a new local and production-ready Angular project.\n\n2. Run the `ng serve --open` command in your terminal to start a local server:\n\n{{< code lang=\"bash\" >}}\nng serve --open\n{{< /code >}}\n\nThis will create a local development server and automatically open a new tab on the `localhost:4200` port by adding the `--open` flag to the command.\n\nCongratulations! Now you have a fully working Angular project installed and configured.\n\n## Install Tailwind CSS\n\nNow that you've successfully installed and configured an Angular project we can proceed with installing the most popular utility-first CSS framework called Tailwind.\n\n1. Install Tailwind CSS and Post CSS via NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/postcss postcss --save\n{{< /code >}}\n\nThis command will install all the dependencies of Tailwind CSS available in your `package.json` file.\n\n2. Create a `.postcssrc.json` file in the root folder of your project and include the Tailwind PostCSS plugin:\n\n{{< code lang=\"javascript\" file=\".postcssrc.json\" icon=\"file\" >}}\n{\n  \"plugins\": {\n    \"@tailwindcss/postcss\": {}\n  }\n}\n{{< /code >}}\n\n3. Import the core Tailwind directive inside the `styles.css` file:\n\n{{< code lang=\"css\" file=\"styles.css\" icon=\"file\" >}}\n/* You can add global styles to this file, and also import other style files */\n\n@import \"tailwindcss\";\n{{< /code >}}\n\n5. Start a local development server on Angular by running `ng serve --open`. If you already had one open then you need to restart it to allow Angular to internally set up the new configuration.\n\nCongratulations! You can now start using the utility classes from Tailwind CSS inside your Angular project.\n\n## Install Flowbite\n\nNow that you have both Angular and Tailwind CSS configured for your web application project you can proceed by installing the Flowbite Library to start leveraging the interactive UI components such as navbars, modals, cards, buttons, and more to build user interfaces faster with Tailwind CSS support.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n5. Update the `app.component.ts` file to use the `initFlowbite` function to enable the interactive components via data attributes:\n\n{{< code lang=\"javascript\" file=\"app.component.ts\" icon=\"file\" >}}\nimport { Component } from '@angular/core';\nimport { OnInit } from '@angular/core';\nimport { initFlowbite } from 'flowbite';\n\n@Component({\n  selector: 'app-root',\n  templateUrl: './app.component.html',\n  styleUrls: ['./app.component.css']\n})\nexport class AppComponent implements OnInit {\n  title = 'web-app';\n\n  ngOnInit(): void {\n    initFlowbite();\n  }\n}\n{{< /code >}}\n\nThis will allow you to enable components such as the modals, navigation bars, dropdowns to dynamically set up the functionality via our data attributes interface.\n\n## Using with Angular SSR\n\nTo enable using Flowbite with SSR (Server-Side Rendering) you need to create a custom service that will handle the dynamic import of Flowbite:\n\n{{< code lang=\"javascript\" file=\"flowbite.service.ts\" icon=\"file\" >}}\n// src/app/services/flowbite.service.ts\nimport { Injectable, Inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\n@Injectable({\n  providedIn: 'root'\n})\nexport class FlowbiteService {\n  constructor(@Inject(PLATFORM_ID) private platformId: any) {}\n\n  loadFlowbite(callback: (flowbite: any) => void) {\n    if (isPlatformBrowser(this.platformId)) {\n      import('flowbite').then(flowbite => {\n        callback(flowbite);\n      });\n    }\n  }\n}\n{{< /code >}}\n\n**Important**: if you are using SSR make sure that this is the only way you're importing Flowbite in your Angular application to prevent the document object not being available on the server side.\n\nAfter that, you can use this service in your component to start using the Flowbite API and data attributes:\n\n{{< code lang=\"javascript\" file=\"some-component.component.ts\" icon=\"file\" >}}\n// src/app/components/some-component/some-component.component.ts\nimport { Component, OnInit } from '@angular/core';\nimport { FlowbiteService } from '../../services/flowbite.service';\n\n@Component({\n  selector: 'app-some-component',\n  templateUrl: './some-component.component.html',\n  styleUrls: ['./some-component.component.css']\n})\nexport class SomeComponent implements OnInit {\n  constructor(private flowbiteService: FlowbiteService) {}\n\n  ngOnInit(): void {\n    this.flowbiteService.loadFlowbite((flowbite) => {\n      initFlowbite();\n    });\n  }\n}\n{{< /code >}}\n\nThis will prevent the \"document is undefined\" error that happens after upgrading to `v2.4.1` for SSR applications.\n\n## UI components\n\nNow that you have installed all of the frameworks and libraries you can start using the whole collection of UI components and templates from the [Flowbite UI Library](https://flowbite.com/docs/getting-started/introduction/) and [Blocks](https://flowbite.com/blocks/marketing/feature/).\n\nLet's first start by copy-pasting one of the default [modal component](https://flowbite.com/docs/components/modal/) examples from the documentation and add it inside the `app.component.html` file:\n\n{{< code lang=\"html\" file=\"app.component.html\" icon=\"file\" >}}\n<!-- Modal toggle -->\n<button data-modal-target=\"defaultModal\" data-modal-toggle=\"defaultModal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\nToggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"defaultModal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"defaultModal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"defaultModal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"defaultModal\" type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /code >}}\n\nAdding this code should create a toggle button which on the click event should show a modal component. The interactivity is enabled via the data attributes interface from Flowbite.\n\n### Data attributes\n\nThe Flowbite Library is by default powered by the data attributes interface that you can use to easily set up interactive components by targeting elements directly from your template components.\n\nLet's add a [dropdown component](https://flowbite.com/docs/components/dropdowns/) from the UI library:\n\n{{< code lang=\"html\" file=\"app.component.html\" icon=\"file\" >}}\n<button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ml-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n\n<div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /code >}}\n\nThis example should also show a button that on the click event will show a dropdown menu that you can easily update via Tailwind CSS and the data attributes API.\n\n### JavaScript API\n\nAlternatively to the data attributes strategy you can also choose to programmatically set up the interactivity by directly importing the components from Flowbite and use the methods and options described in the documentation of Flowbite at the end of each page.\n\nFor example, here's how you can set up a carousel component directly with JavaScript:\n\n{{< code lang=\"javascript\" file=\"app.component.ts\" icon=\"file\" >}}\nimport { Carousel } from \"flowbite\";\nimport type { CarouselItem, CarouselOptions, CarouselInterface } from \"flowbite\";\n\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n\nconst items: CarouselItem[] = [\n    {\n        position: 0,\n        el: document.getElementById('carousel-item-1')\n    },\n    {\n        position: 1,\n        el: document.getElementById('carousel-item-2')\n    },\n    {\n        position: 2,\n        el: document.getElementById('carousel-item-3')\n    },\n    {\n        position: 3,\n        el: document.getElementById('carousel-item-4')\n    },\n];\n\nconst options: CarouselOptions = {\n    defaultPosition: 1,\n    interval: 3000,\n    \n    indicators: {\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses: 'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n        items: [\n            {\n                position: 0,\n                el: document.getElementById('carousel-indicator-1')\n            },\n            {\n                position: 1,\n                el: document.getElementById('carousel-indicator-2')\n            },\n            {\n                position: 2,\n                el: document.getElementById('carousel-indicator-3')\n            },\n            {\n                position: 3,\n                el: document.getElementById('carousel-indicator-4')\n            },\n        ]\n    },\n    \n    // callback functions\n    onNext: () => {\n        console.log('next slider item is shown');\n    },\n    onPrev: ( ) => {\n        console.log('previous slider item is shown');\n    },\n    onChange: ( ) => {\n        console.log('new slider item has been shown');\n    }\n};\n\nconst carousel: CarouselInterface = new Carousel(items, options);\n\ncarousel.cycle()\n\n// set event listeners for prev and next buttons\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n{{< /code >}}\n\nYou also need to have the following HTML markup available inside your codebase and Angular template files:\n\n{{< code lang=\"html\" file=\"app.component.html\" icon=\"file\" >}}\n<div class=\"relative w-full\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg sm:h-64 xl:h-80 2xl:h-96\">\n         <!-- Item 1 -->\n        <div id=\"carousel-item-1\" class=\"hidden duration-700 ease-in-out\">\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div id=\"carousel-item-2\" class=\"hidden duration-700 ease-in-out\">\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div id=\"carousel-item-3\" class=\"hidden duration-700 ease-in-out\">\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div id=\"carousel-item-4\" class=\"hidden duration-700 ease-in-out\">\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div class=\"absolute z-30 flex space-x-3 -translate-x-1/2 bottom-5 left-1/2\">\n        <button id=\"carousel-indicator-1\" type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"true\" aria-label=\"Slide 1\"></button>\n        <button id=\"carousel-indicator-2\" type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 2\"></button>\n        <button id=\"carousel-indicator-3\" type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 3\"></button>\n        <button id=\"carousel-indicator-4\" type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 4\"></button>\n    </div>\n    <!-- Slider controls -->\n    <button id=\"data-carousel-prev\" type=\"button\" class=\"absolute top-0 left-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\">\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"hidden\">Previous</span>\n        </span>\n    </button>\n    <button id=\"data-carousel-next\" type=\"button\" class=\"absolute top-0 right-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\">\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"hidden\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /code >}}\n\nIn this case the advantage is that you can control the behaviour of the components as you wish being able to override the default settings.\n\n### Using TypeScript\n\nThe Flowbite UI components also supports TypeScript and you can import the types and apply them when using the JavaScript API programmatically.\n\nFor example, here's how you can import the types for the Carousel component:\n\n{{< code lang=\"javascript\" file=\"app.component.ts\" icon=\"file\" >}}\nimport type { CarouselItem, CarouselOptions, CarouselInterface } from \"flowbite\";\n\n// ... other code\n\nconst carousel: CarouselInterface = new Carousel(items, options);\n{{< /code >}}\n\nYou can read more about using [Flowbite and TypeScript](https://flowbite.com/docs/getting-started/typescript/) by following our documentation guide.\n\n## Angular starter project\n\nWe built a free and open-source [starter project](https://github.com/themesberg/tailwind-angular-starter) on GitHub that you can clone to use as a reference for this guide and for your own Angular web application configured with Flowbite and Tailwind CSS.\n\n## Flowbite Angular Library\n\nThe awesome open-source community from Flowbite also started working on a standalone [Flowbite Angular](https://github.com/themesberg/flowbite-angular) library with native components where you can also contribute to the development of the project until a stable release is achieved."
  },
  {
    "path": "content/getting-started/astro.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Astro - Flowbite\ndescription: Learn how to install Astro with Tailwind CSS and Flowbite and start building modern websites with a lightning fast and content-focused web framework\ngroup: getting-started\ntoc: true\nrequires_astro: true\n\nprevious: Angular\npreviousLink: getting-started/angular/\nnext: Remix\nnextLink: getting-started/remix/\n---\n\n[Astro](https://astro.build) is a full-stack web framework for building lightning-fast and content-focused websites featuring component islands, server-first API design, edge-ready deployments and supports hundreds of integrations with technologies like Tailwind CSS, Flowbite, React, Vue, Svelte, and more.\n\nThe Astro framework is used by thousands of reputable companies and projects such as Firebase, NordVPN, The Guardian, Trivago and others and it also received a $7M seed investment funding at the beginning of 2022 which guarantees continuous support and development of the technology.\n\nFollow the next steps in this tutorial to learn how to create a new Astro project, install Tailwind CSS and learn how to leverage the UI components from Flowbite to build websites even quicker.\n\n## Requirements\n\nBefore you continue make sure that you have [Node.js](https://nodejs.org/en/) (`v16.12.0` or higher) installed on your local machine and production server to install all required dependencies.\n\nWe also highly recommend you to use VS Code as your standard editor and to install the official [language support extension for Astro](https://marketplace.visualstudio.com/items?itemName=astro-build.astro-vscode) from the VS Marketplace released by the original authors.\n\n## Create an Astro project\n\n1. Create a new Astro project running the following command using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm create astro@latest flowbite-project\ncd flowbite-project\n{{< /code >}}\n\nThis command will prompt you with some questions and will create a local project based on your answers.\n\n2. Run the following command to start a local development server:\n\n{{< code lang=\"bash\" >}}\nnpm run dev\n{{< /code >}}\n\nThis will make the project accessible via the browser on `http://localhost:3000`.\n\n3. To create a production build of the project run the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm run build\n{{< /code >}}\n\nOne of the biggest advantages of Astro is the small build size that will be available once deployed to production via the build command - this way the website should load much quicker than using older technologies.\n\n## Install Tailwind CSS\n\nNow that you have installed and configured a working Astro project we can proceed with installing the Tailwind CSS integration based on the official package.\n\n1. Run the following command to install Tailwind CSS and create a configuration file using the NPX command:\n\n{{< code lang=\"bash\" >}}\nnpx astro add tailwind\n{{< /code >}}\n\nThis command will automatically install Tailwind CSS in the `package.json` file, it will also configure the compilation process and create a new `tailwind.config.cjs` file that configures the template paths.\n\n2. Import the `global.css` file in your `Layout.astro` file:\n\n{{< code lang=\"html\" file=\"Layout.astro\" icon=\"file\" >}}\n---\nimport \"../styles/global.css\";\n---\n{{< /code >}}\n\nNow you can write Tailwind CSS classes inside any of the template files and the changes will be applied by generating a `global.css` file and including it on every page.\n\n## Install Flowbite\n\nAfter you've installed both Astro and Tailwind CSS you can also choose to use the free and open-source UI components from Flowbite to make developing websites and user interfaces even faster with interactive elements like navbars, modals, dropdowns, and more.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `global.css` CSS file:\n\n{{< code lang=\"css\" file=\"global.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"global.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your `global.css` file:\n\n{{< code lang=\"css\" file=\"global.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\nNow that you've configured the styles for CSS from Flowbite you can now proceed by installing the JS.\n\n## Flowbite components\n\nTo enable the interactive components you need to also include Flowbite's JavaScript file which you can do by either including it in the main `Layout.astro` file as a CDN file or importing the Flowbite module inside the \n\n### Include via CDN\n\nIn the `Layout.astro` file add the following script tag just before the end of the `<body>` tag:\n\n{{< code lang=\"html\" file=\"Layout.astro\" icon=\"file\" >}}\n<script is:inline src=\"https://cdn.jsdelivr.net/npm/flowbite@4.0.1/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nThis allows you to use the data attributes from the Flowbite component examples and will make them interactive automatically without needing to write custom JavaScript and you can just copy-paste them from the Flowbite Docs.\n\n### ESM/CJS imports\n\nAlternatively, you can import standalone components such as the Modal and set up the event listeners yourself in a local `<script>` tag for the Astro files. \n\nSince version 1.6.0 Flowbite also supports type declarations and interfaces in TypeScript which allows you to integrate with the Astro ecosystem even better as they clearly recommend TypeScript over JavaScript.\n\nFor example, here's how you can leverage the Flowbite JS API and Astro by adding the following code inside the script tag:\n\n{{< code lang=\"javascript\" file=\"some-component.astro\" icon=\"file\" >}}\n<Layout>\n  <!-- markup source content and elements -->\n</Layout>\n\n<script>\n  import { Modal } from 'flowbite'\n\n  // select the two elements that we'll work with\n  const $buttonElement: HTMLElement | null = document.querySelector('#button');\n  const $modalElement: HTMLElement | null = document.querySelector('#defaultModal');\n\n  // create a new modal component\n  const modal = new Modal($modalElement);\n\n  // toggle the visibility of the modal when clicking on the button\n  if ($buttonElement) {\n    $buttonElement.addEventListener('click', () => modal.toggle());\n  }\n</script>\n{{< /code >}}\n\nMake sure that you have the necessary HTML markup for the event listeners and elements described in the example above inside the `<Layout>` tags from Astro:\n\n{{< code lang=\"html\" file=\"some-component.astro\" icon=\"file\" >}}\n<Layout>\n    <!-- Modal toggle -->\n    <button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n    Toggle modal\n    </button>\n    <!-- Main modal -->\n    <div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n        <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n            <!-- Modal content -->\n            <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n                <!-- Modal header -->\n                <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                    <h3 class=\"text-lg font-medium text-heading\">\n                        Terms of Service\n                    </h3>\n                    <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"default-modal\">\n                        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                        <span class=\"sr-only\">Close modal</span>\n                    </button>\n                </div>\n                <!-- Modal body -->\n                <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                    <p class=\"leading-relaxed text-body\">\n                        With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                    </p>\n                    <p class=\"leading-relaxed text-body\">\n                        The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                    </p>\n                </div>\n                <!-- Modal footer -->\n                <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                    <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                    <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</Layout>\n{{< /code >}}\n\nIn this example, the modal will be shown when the button is clicked and the modal component will also be initialized based on the options that you've provided.\n\nYou can browse the full collection of the Flowbite components and check the \"JavaScript Behaviour\" section of the page to learn all of the options, methods, and objects that you can leverage.\n\n## Astro starter project\n\nWe also built a free and open-source [Flowbite and Astro starter project](https://github.com/themesberg/tailwind-astro-starter) on GitHub that you can use for reference and examples based on this integration guide to get started faster with working with Astro, Tailwind CSS and the UI components from Flowbite.\n\n## Astro admin dashboard\n\nYou can check out our open-source [Astro admin dashboard](https://github.com/themesberg/flowbite-astro-admin-dashboard) project on GitHub to leverage CRUD layouts and API calls predefined with the Flowbite Library, Tailwind CSS framework and the Astro best practices and framework setup."
  },
  {
    "path": "content/getting-started/blazor.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Blazor (.NET) - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Blazor (.NET) project and start developing modern web applications based on the full-stack framework\ngroup: getting-started\ntoc: true\nrequires_blazor: true\n\nprevious: Flask\npreviousLink: getting-started/flask/\nnext: HUGO\nnextLink: getting-started/hugo/\n---\n\n[Blazor](https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor) is an open source .NET framework for building dynamic and interactive front-ends for your applications with HTML, C#, and Razor templates. Blazor allows you to compose components directly for your server or for the client side. This flexibility enables developers to create fullstack web and mobile applications with a single-page UI framework.\n\nTypically, most frontend frameworks use JavaScript under the hood but with Blazor, you can build both front-ends and back-ends with C#. Developers who are well versed in C# can easily build fullstack applications without switching to a different framework.  \n\nMore companies are adopting Blazor into their development workflows because a developer can write client side and server side logic with only C# and .NET. Some examples include  GE Aviation, BurnRate, The Postage, and Pernod Ricard. \n\nBlazor provides all the scaffolding, abstractions, tooling and optimizations you need on a project. \n\n## Requirements\n\nIn this guide, you will learn how to build a new Blazor Project, and how to integrate Flowbite UI components into your application. We'll use a modal component for this exercise to demonstrate a real use case. \n\nYou'll need to install and configure the .NET SDK, Tailwind CSS, Blazor and Flowbite into your application. Ensure you have installed NPM and Node.js on your local environment. Let's get started!\n\n## Create a new Blazor project\n\nStart by downloading and installing the .NET SDK. The SDK allows us to develop apps with .NET frameworks. The Blazor website detects which version you'll need for your local environment.\n\n1. Start by installing the Microsoft package repository that contains the package signing key:\n\n{{< code lang=\"bash\" >}}\nwget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb\nsudo dpkg -i packages-microsoft-prod.deb\nrm packages-microsoft-prod.deb\n{{< /code >}}\n\nIf you're running on MacOS or another Linux distribution, visit the [Microsoft website](https://learn.microsoft.com/en-us/dotnet/core/install/macos) to learn how to install the SDK on your local environment. .NET can be installed on Windows, MacOS, and Linux.\n\n2. Install the .NET SDK (software development kit):\n\n{{< code lang=\"bash\" >}}\nsudo apt-get update && \\\nsudo apt-get install -y dotnet-sdk-7.0\n{{< /code >}}\n\nYou can also install the .NET SDK via HomeBrew:\n\n{{< code lang=\"bash\" >}}\nbrew install --cask dotnet\n{{< /code >}}\n\nOpen your terminal and run this command to confirm a successful installation:\n\n{{< code lang=\"bash\" >}}\n-$ dotnet\n{{< /code >}}\n\nThis is the output you should see to confirm that you installed the .NET SDK successfully:\n\n{{< code lang=\"bash\" >}}\nUsage: dotnet [options]\nUsage: dotnet [path-to-application]\n\nOptions:\n  -h|--help         Display help.\n  --info            Display .NET information.\n  --list-sdks       Display the installed SDKs.\n  --list-runtimes   Display the installed runtimes.\n\npath-to-application:\n  The path to an application .dll file to execute.\n{{< /code >}}\n\nRun this command in your terminal to create a new Blazor WASM project.\n\n{{< code lang=\"bash\" >}}\ndotnet new blazorwasm\n{{< /code >}}\n\nRun this command in your terminal to launch your application and watch for changes:\n\n{{< code lang=\"bash\" >}}\ndotnet watch\n{{< /code >}}\n\nYour terminal will show that your app is listening on `http://localhost:<port number>` and should launch on your web browser. You can also click on the port to run your application. \n\nCongratulations! You have now installed and run your first Blazor project. \n\nIn the next section, we will configure Tailwind CSS with Blazor.\n\n## Install Tailwind CSS\n\nThere are two ways to install Tailwind in a Blazor Project: by using the Tailwind CLI or PostCSS.\n\nPostCSS helps in transforming `tailwindcss` to styling that is relevant to your project. It also helps you remove unnecessary styling which helps in reducing the size of your files.  \n\n1. Start by installing the Tailwind CSS packages using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/cli --save-dev\n{{< /code >}}\n\n2. Next, create an `input.css` file in the `wwwroot/css/` folder and import the following directive:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n3. Go to your terminal and run the Tailwind CLI to generate the output CSS watch for changes in your project:\n\n{{< code lang=\"bash\" >}}\nnpx tailwindcss -i wwwroot/css/input.css -o wwwroot/css/output.css --watch\n{{< /code >}}\n\n4. Add the new `output.css` CSS reference to the `index.html` file in the `wwwroot/` folder:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"utf-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>tailwind-4-blazor-starter</title>\n    <base href=\"/\" />\n    <link rel=\"stylesheet\" href=\"css/app.css\" />\n    <link rel=\"stylesheet\" href=\"lib/bootstrap/dist/css/bootstrap.min.css\" />\n\n    <!-- add this here -->\n    <link rel=\"stylesheet\" href=\"css/output.css\" />\n    <!-- end -->\n\n    <link rel=\"icon\" type=\"image/png\" href=\"favicon.png\" />\n    <link href=\"tailwind-4-blazor-starter.styles.css\" rel=\"stylesheet\" />\n</head>\n{{< /code >}}\n\n5. Remove all of the other CSS file references from the `index.html` file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"utf-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>tailwind-4-blazor-starter</title>\n    <base href=\"/\" />\n\n    <!-- remove these -->\n    <link rel=\"stylesheet\" href=\"css/app.css\" />\n    <link rel=\"stylesheet\" href=\"lib/bootstrap/dist/css/bootstrap.min.css\" />\n    <!-- end -->\n\n    <link rel=\"stylesheet\" href=\"css/output.css\" />\n\n    <link rel=\"icon\" type=\"image/png\" href=\"favicon.png\" />\n\n    <!-- remove this too -->\n    <link href=\"tailwind-4-blazor-starter.styles.css\" rel=\"stylesheet\" />\n    <!-- end -->\n</head>\n{{< /code >}}\n\n6. Finally, run `dotnet watch` to start adding Tailwind classes to your Blazor project. \n\nYou have now successfully created:\n\n- a new Blazor project\n- installed and configured Tailwind CSS with Blazor\n\nUp next, we'll install and configure Flowbite in our Blazor project. We'll also showcase how to use the Flowbite UI components in a Blazor project through a dropdown component demo. \n\n## Install Flowbite\n\nFlowbite is an open-source UI component library that is built with Tailwind CSS and vanilla JavaScript. Here's how you can install and configure it by following these steps to make it work with our Blazor project:\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\nNow you have installed Flowbite and the styles associated with it. Please follow the next steps to make the interactive JS components work with your Blazor project.\n\n## WASM integration\n\nTo use Flowbite with Blazor WebAssembly (WASM), you will need to setup the [Flowbite init functions](https://flowbite.com/docs/getting-started/quickstart/#init-functions) using an [interop layer](https://learn.microsoft.com/en-us/aspnet/core/blazor/javascript-interoperability/?view=aspnetcore-7.0) that ensures the DOM rendering before applying the event listeners via the data attributes API.\n\n1. First, you need to create a new `flowbite-interop.js` file inside `wwwroot/` and add the following code:\n\n{{< code lang=\"javascript\" file=\"flowbite-interop.js\" icon=\"file\" >}}\nwindow.flowbiteInterop = {\n    initializeFlowbite: function () {\n        return initFlowbite();\n    }\n};\n{{< /code >}}\n\n2. After that, create a new `Services/FlowbiteService.cs` service inside your Blazor project:\n\n{{< code lang=\"csharp\" file=\"Services/FlowbiteService.cs\" icon=\"file\" >}}\nusing Microsoft.JSInterop;\n\nnamespace tailwind_4_blazor_starter.Services;\n\npublic interface IFlowbiteService\n{\n    ValueTask InitializeFlowbiteAsync();\n}\n\npublic class FlowbiteService : IFlowbiteService\n{\n    private readonly IJSRuntime _jsRuntime;\n\n    public FlowbiteService(IJSRuntime jsRuntime)\n    {\n        _jsRuntime = jsRuntime;\n    }\n\n    public async ValueTask InitializeFlowbiteAsync()\n    {\n        await _jsRuntime.InvokeVoidAsync(\"flowbiteInterop.initializeFlowbite\");\n    }\n}\n{{< /code >}}\n\nThis creates a reusable service for all of your Blazor WASM pages.\n\n3. Register the newly created service in your `Program.cs` file:\n\n{{< code lang=\"csharp\" file=\"Program.cs\" icon=\"file\" >}}\nusing Microsoft.AspNetCore.Components.Web;\nusing Microsoft.AspNetCore.Components.WebAssembly.Hosting;\nusing tailwind_4_blazor_starter;\n\n// add this\nusing tailwind_4_blazor_starter.Services;\n\nvar builder = WebAssemblyHostBuilder.CreateDefault(args);\nbuilder.RootComponents.Add<App>(\"#app\");\nbuilder.RootComponents.Add<HeadOutlet>(\"head::after\");\n\nbuilder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });\n\n// add this\nbuilder.Services.AddScoped<IFlowbiteService, FlowbiteService>();\n\nawait builder.Build().RunAsync();\n{{< /code >}}\n\n4. Import the Flowbite Javascript file and the `flowbite-interop.js` file in your `index.html` file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n  <!-- ... -->\n  <script src=\"_framework/blazor.webassembly.js\"></script>\n  <script src=\"https://cdn.jsdelivr.net/npm/flowbite@4.0.1/dist/flowbite.min.js\"></script>\n  <script src=\"js/flowbite-interop.js\"></script>\n</body>\n{{< /code >}}\n\n5. Create a new `FlowbitePage.cs` file inside the `Pages` folder:\n\n{{< code lang=\"csharp\" file=\"FlowbitePage.cs\" icon=\"file\" >}}\nusing Microsoft.AspNetCore.Components;\nusing tailwind_4_blazor_starter.Services;\n\nnamespace tailwind_4_blazor_starter.Pages;\n\npublic abstract class FlowbitePage : ComponentBase\n{\n    [Inject]\n    protected IFlowbiteService FlowbiteService { get; set; } = default!;\n\n    protected override async Task OnAfterRenderAsync(bool firstRender)\n    {\n        if (firstRender)\n        {\n            await FlowbiteService.InitializeFlowbiteAsync();\n        }\n        await base.OnAfterRenderAsync(firstRender);\n    }\n}\n{{< /code >}}\n\n6. Use the inheritance directive in your pages to load the Flowbite JS components:\n\n{{< code lang=\"razor\" file=\"Home.razor\" icon=\"file\" >}}\n@page \"/\"\n\n@inherits FlowbitePage\n\n<PageTitle>Home</PageTitle>\n\n<!-- your components -->\n{{< /code >}}\n\nCongratulations! You have now integrated the interactive JS components from Flowbite with a Blazor WASM.\n\n## UI components for Blazor\n\nNow that you have successfully installed Blazor.NET, Tailwind CSS and Flowbite, you can start using Flowbite's UI components such as navbars, buttons, and modals in your project.\n\nCopy and paste this [dropdown component example](https://flowbite.com/docs/components/dropdowns/) into your `Pages/Home.razor` file:\n\n{{< code lang=\"html\" file=\"Home.razor\" icon=\"file\" >}}\n@page \"/\"\n\n<PageTitle>Home</PageTitle>\n\n<button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ml-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /code >}}\n\nNow that you've set up Flowbite with Blazor you can explore the whole collection of UI components from the [Flowbite Library](https://flowbite.com/docs/getting-started/introduction/) or use the [Flowbite Blocks](https://flowbite.com/blocks/) collection to start building websites.\n\n## Blazor starter project\n\nThe open-source community created an [open-source Blazor starter project](https://github.com/themesberg/tailwind-blazor-starter) that you can clone and use as a starting point for building websites with Blazor, .NET, Tailwind CSS and Flowbite.\n\nThere's also an official [Flowbite Blazor](https://github.com/themesberg/flowbite-blazor) UI library that the open-source community is working on which should be the native solution for Blazor and .NET applications. Contributions are more than welcome!"
  },
  {
    "path": "content/getting-started/build-tools.md",
    "content": "---\nlayout: redirect\nsitemap_exclude: true\nredirect: \"/docs/getting-started/quickstart/\"\n---"
  },
  {
    "path": "content/getting-started/changelog.md",
    "content": "---\nlayout: docs\ntitle: Flowbite - Changelog\ndescription: Read more about the releases made for Flowbite from the official changelog\ngroup: getting-started\ntoc: true\n\nprevious: License\npreviousLink: getting-started/license/\nnext: React\nnextLink: getting-started/react/\n---\n\n## Changelog\n\nWe strive to keep a good accountability of all of the version changes that we make for the Flowbite library.\n\n### v4.0.1\n\n- added datepicker styles via themes and variables\n- fixed and refactored components after theming update\n\n### v4.0.0\n\n- introduced 5 custom themes (modern, minimal, playful, enterprise, mono)\n- colors are now set via CSS variables as recommended by Tailwind v4\n- removed 50% of HTML classes by moving dark mode to CSS variables\n- added new components for cards, checkboxes, radios, and more\n- improved the design of all components to match the new themes\n- redesigned the documentation layout to be more user-friendly\n\n### v3.1.2\n\n- create themes folder for setting Tailwind variables\n\n### v3.1.1\n\n- fix CSS variables in plugin\n\n### v3.1.0\n\n- use CSS variables for colors\n- remove setting dark mode by default from plugin\n\n### v3.0.0\n\n- upgraded Tailwind to v4\n\n### v2.5.2\n\n- released WYSIWYG plugin component\n\n### v2.5.1\n\n- fix plugin import error for the config file\n\n### v2.5.0\n\n- added new datatables plugin and examples\n- other minor bug fixes and improvements\n\n### v2.4.1\n\n- the datepicker is now a core component of Flowbite and has API methods, events, and options\n- updated the documentation for the datepicker component and related integration guides\n- minor visual bug fixes and improvements\n\nNote: if you're using Nuxt or Angular with SSR please check the new guides:\n\n- [Nuxt guide](https://flowbite.com/docs/getting-started/nuxt-js/#data-attributes)\n- [Angular guide](https://flowbite.com/docs/getting-started/angular/#using-with-angular-ssr)\n\nThese should be the only ways you import Flowbite since we need to make sure that the client (ie. browser) is available.\n\n### v2.3.0\n\n- added new \"copy to clipboard\" component and examples\n- added new JavaScript tab to the documentation examples\n- update dependency to Tailwind CSS `v3.4.1`\n- fixed carousel component behavior when there's only one image\n- added new data attribute to set active and inactive classes for tabs\n- Ruby on Rails integration fix for turbo load\n- minor bug fixes and improvements\n\n### v2.2.0\n\n- added new number input component examples\n- created a new InputCounter object for the Flowbite JS API\n\n### v2.1.1\n\n- fix the `InstanceOptions` and `EventListenerInstance` type exports for TypeScript\n\n### v2.1.0\n\nThis update adds [full RTL support](https://flowbite.com/docs/customize/rtl/) to all of the UI components from Flowbite and also provides and update to the Instance Manager API which now allows you to set custom id's as the 4th parameter of each object class.\n\n- updated to Tailwind CSS `v3.3.5`\n- added full RTL support to all UI components\n- updated the JS API and Instance Manager to allow setting custom id's\n- added new vertical tabs component example\n- added three next modal component examples\n- fixed responsive wrapping issues for the table components\n- other minor bug fixes and improvements\n\n### v2.0.0\n\nThis update introduces a new instance manager feature that allows you manage all of the interactive components from a single place. This is useful if you want to programmatically show or hide a modal, popover, or tooltip. This also works if you use the data attributes interface.\n\nThis change introduces a few breaking changes to the JavaScript API when creating objects:\n\n- new `$carouselEl` HTML element when creating a `Carousel` object as the first parameter\n- new `$accordion` HTML element when creating a `Accordion` object as the first parameter\n- new `$tabsEl` HTML element when creating a `Tabs` object as the first parameter\n\nThe breaking changes do not apply to the data attributes interface, only for objects created programmatically via JavaScript.\n\n### v1.8.1\n\n- fix `apexcharts` safelist warning in console\n\n### v1.8.0\n\n- added new chart components\n- enable or disable styles via the Flowbite Plugin\n- added new API option to the dropdowns to prevent closing when clicking on certain elements\n- small bug fixes and improvements overall\n\n### v1.7.0\n\n- integrate new [Flowbite Icons](https://flowbite.com/icons/) with all UI components\n- added new pagination examples and sizes\n- improved spacing and alignment for all buttons with icons\n- improved examples for popovers, toasts, and modals\n- updated docs and website icons\n- update Svelte docs for Svelte 4.0\n\n### v1.6.6\n\n- new device mockups component\n- add nested accordions feature ([#266](https://github.com/themesberg/flowbite/issues/266) issue fixed by (@jneuendorf)[https://github.com/jneuendorf])\n- make init functions (ie. `initDropdowns`, `initFlowbite`) available via the `window` object\n- fix Nuxt.js documentation config path for Tailwind CSS\n\n### v1.6.5\n\n- New gallery component\n- New jumbotron component\n- LiveView support ([issue #486](https://github.com/themesberg/flowbite/issues/486)) for Phoenix by [@jmnda-dev](https://github.com/jmnda-dev)\n- Improve modal responsive behaviour by centering it vertically\n- Improve Svelte getting started guide by [@shinokada](https://github.com/shinokada)\n- Improve font smoothing by adding antialiasing to the docs and examples\n- Improve navbar spacings and font sizes to reflect Figma design system\n\n### v1.6.4\n\n- New bottom navigation component\n- New sticky banner component\n- Export initFlowbite to set up event listeners for all data attributes\n- Fix for Turbo Frame load events ([issue #88](https://github.com/themesberg/flowbite/issues/88))\n- Include WindiCSS on NPM (thanks to [@rgvillanueva28](https://github.com/rgvillanueva28))\n- Adds close tooltips with esc key to meet WCAG (by [@daveholst](https://github.com/daveholst))\n- Astro integration guide\n- GatsbyJS integration guide \n- Symfony integration guide\n- SolidJS integration guide\n- Phoenix (Elixir) integration guide\n\n### v1.6.3\n\n- Added dropdown hover functionality with delay option and examples ([issue #208](https://github.com/themesberg/flowbite/issues/208))\n- Fixed clicking outside of the Popover component not closing when using the \"click\" trigger type ([issue #242](https://github.com/themesberg/flowbite/issues/242))\n- Introduced the \"none\" option for Tooltip, Speed Dial, Popover and Dropdown components for trigger type ([issue #181](https://github.com/themesberg/flowbite/issues/181))\n- Fixed Tooltip and Popover click events on Safari browsers when using mobile devices ([issue #246](https://github.com/themesberg/flowbite/issues/246) and [issue #413](https://github.com/themesberg/flowbite/issues/413))\n- Improve the consistency of the dropdown components across the whole documentation using `border-lg` ([issue #276](https://github.com/themesberg/flowbite/issues/276))\n- Added the optional closable option to the Modal component preventing it from being closed when hitting the ESC button (thanks for the PR [@CorwinDev](https://github.com/CorwinDev))\n- Improved sidebar component examples by including a hamburger icon and multiple layouts\n\n### v1.6.2\n\n- add event listeners for data attributes back to `index.ts`\n- fix import maps for `flowbite.turbo.min.js.map` for Ruby on Rails\n\n### v1.6.1\n\n- Nuxt integration guide + starter kit\n- Add data attribute initialisation support for Vue 3 and Nuxt\n- Remove event listeners from basic `index.js` file and keep it only for `index.umd.js`\n- Fix drawer flickering issue\n- Update Laravel integration guide with Vite (thanks to [@CorWinDev](https://github.com/CorwinDev) for the PR)\n- Fixed checkbox dark mode focus state (thanks to [@CorWinDev](https://github.com/CorwinDev) for the PR)\n- Added Datepicker turbo load support for Ruby on Rails 7 (thanks to [@travisgalloway](https://github.com/travisgalloway) for the PR)\n\n### v1.6.0\n\n- migrated code to TypeScript & introduced types and interfaces\n- integrated ESlint and Prettier\n- fixed event listeners stacking up for all interactive components\n- improved NPM build scripts\n- new stepper component\n- new indicator component\n- new breadcrumb components\n- new spinner examples\n\nBreaking changes:\n\n- modals no longer get initialized via `data-modal-toggle` and you need to switch to `data-modal-target={modalID}` where the value is the id of the modal\n\n### v1.5.5\n\n- added support for Ruby on Rails 7 import map with turbo\n- improved event listeners for interactive components\n\n### v1.5.4\n\n- released new Speed Dial component\n- modals now close by default when clicking outside\n- add new static options to modals to prevent closing when clicking outside\n- add expand code feature to the docs\n- normalize colors for all label inputs\n- remove \"for\" and \"id\" attributes from toggle switch components\n- improve hover and focus style of the hamburger icons\n- update to Tailwind CSS v3.2.2\n\n### v1.5.3\n\n- fix popover / tooltip styles\n\n### v1.5.2\n\n- add new Popover component\n\n### v1.5.1\n\n- fix drawer js build\n\n### v1.5.0\n\n- added new Drawer component\n- added new Skeleton component\n- added new KBD component\n- added new Dropdown and Table components\n- added new Checkbox and Radio examples\n- update documentation code and component preview\n- update table of contents of the docs\n\n### v1.4.7\n\n- fix datepicker CDN JS\n\n### v1.4.6\n\n- fix datepicker colors issues on dark mode\n- fix datepicker range selector issues\n\n### v1.4.5\n\n- show navbar search input on mobile devices\n- fix interactive tabs default active/inactive classes for dark mode\n\n### v1.4.4\n\n- use `data-modal-show=\"true\"` to show modal by default\n- fix accordion onToggle JS bug\n### v1.4.3\n\n- removed `toggle-bg` class as a requirement for the toggle component\n- added new input fields\n- added new textarea components\n- added new checkbox examples\n- added new radio button examples\n- added new toggle colors and sizes\n- added new select component examples\n- added new search input component\n- added new range slider component\n- added new file input examples\n\n\n### v1.4.2\n\n- pass relevant objects for callback functions\n\n### v1.4.1\n\n- fixed mini-css-extract-plugin dependency\n- new avatar component\n- new rating component\n\n### v1.4.0\n\n- refactored all interactive components using JavaScript objects, methods, and callback functions\n- improved accessibility and removed unused classes\n\n### v1.3.4\n\n- added new carousel component\n\n### v1.3.3\n\n- added new accordion component\n- added new sidebar component\n\n### v1.3.2\n\n- add new footer component\n- add a new pricing card\n- add new crypto wallet connect modal component\n- add two new table components\n- remove `.bundle` name convention\n- remove `@themesberg` tag from NPM\n\n### v1.3.1\n\n- add new spinner component\n- add new floating labels for form elements\n\n### v1.3.0\n\n- update plugin file to Tailwind CSS v3.x\n- add React and Vue.js support for the interactive elements (data attributes only)\n\n### v1.2.0\n\nReleased on November 29th, 2021.\n\n- full dark/light mode integration\n- add new tabs component\n- new modal component variations and sizes\n- new card components\n- dark mode switcher guide\n- minor bug fixes\n\n### v1.1.1\n\n- fix the package `mini-svg-data-uri` not being included as a dependency\n\n### v1.1.0\n\n- separated the datepicker plugin from the main `flowbite.js` file and instead created a separate one which is optional to include\n- added more dropdown component variants and placement options\n- reset form styles and move the extra pseudo CSS styles inside the Flowbite Tailwind CSS plugin file (no longer need to write it yourself)\n- create new styles and options for the tooltip component and remove Tippy JS as a dependency\n- improve documentation container styles and spacing\n- create separate files for each component inside the Flowbite JavaScript ES6 file\n\n### v1.0.7\n\n- apply checkbox and radio input styles as base styles using the plugin interface\n\n### v1.0.6\n\n- remove `@tailwindcss/forms` plugin as a dependency\n- create a Tailwind CSS plugin that can be included after requiring via NPM\n- remove some unnecessary HTML markup and classes from the component examples\n\n### v1.0.4\n\n- use single quotes for JavaScript code and event listeners\n- update card button icons\n\n### v1.0.3\n\nReleased on September 28th, 2021.\n\n- improve the modal functionality by generating the backdrop on the fly and enable showing/hiding of the modal with JS not just data attributes by using the `toggleModal` function\n- improve the semantic HTML markup of alerts, button groups, navigation bars, and dropdowns\n- fix the responsive scroll issue for modals (if the content was larger than the viewport, elements inside the modal were unaccessible)\n- create a new component called list group which got separated from the button group component\n- improve navigation bar markup by requiring only one list of pages to prevent duplicate content\n- add the possibility to programmatically show or hide elements using the `toggleCollapse` global function\n\n### v1.0.2\n\nReleased on September 25th, 2021.\n\n- add datepicker plugin and documentation\n- improve documentation\n\n### v1.0.1\n\nReleased on September 12th, 2021.\n\n- updated JavaScript code to use data attributes instead of inline event listeners\n- fixed some of the purged CSS classes for the alerts components\n- clicking outside the dropdown component will now also close the dropdown menu\n- add previous and next links for the docs page\n\n### v1.0.0\n\nReleased on September 9th, 2021.\n\n- initial release files\n"
  },
  {
    "path": "content/getting-started/django.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Django - Flowbite\ndescription: Learn how to install Tailwind CSS and Flowbite inside a Django project and start developing modern web applications with a high-level Python framework\ngroup: getting-started\ntoc: true\nrequires_django: true\n\nprevious: Phoenix (Elixir)\npreviousLink: getting-started/phoenix/\nnext: Flask\nnextLink: getting-started/flask/\n---\n\n[Django](https://www.djangoproject.com/) is an open-source web framework following the model-template-views architecture built in Python currently maintained by the Django Software Organization.\n\nIt is currently being used by small and large corporations for websites such as YouTube, Spotify, Instagram, Disqus, and Dropbox and demand for Django developers is increasing.\n\nBy following this guide you will learn how to properly set up a Django project with Tailwind CSS and Flowbite to start developing modern web applications even faster.\n\n## Requirements\n\nFollow the next steps to create a new Django project and install Tailwind CSS with Flowbite to get the full benefits of the component library.\n\nMake sure that you have both [Node.js](https://nodejs.org) and [Python](https://www.python.org/) installed on your local machine.\n\nAfter that, you'll need to install Django on your local computer by following the official [installation guide](https://docs.djangoproject.com/en/4.0/intro/install/) or by running the following command in the terminal if you have pip available in your Python environment:\n\n{{< code lang=\"bash\" >}}\npython -m pip install Django\n{{< /code >}}\n\nNow that you have all the required technologies installed you can start by creating a new Django project.\n\n## Create a Django project\n\n1. Run the following command in the terminal to create a new Django project with the name `flowbiteapp`:\n\n{{< code lang=\"bash\" >}}\ndjango-admin startproject flowbiteapp\ncd flowbiteapp/\n{{< /code >}}\n\n2. Create a new `templates/` directory inside the project folder and then update the existing `settings.py` file:\n\n{{< code lang=\"python\" file=\"settings.py\" icon=\"file\" >}}\nTEMPLATES = [\n    {\n        ...\n        'DIRS': [BASE_DIR / 'templates'], # new\n        ...\n    },\n]\n{{< /code >}}\n\n3. Installed `django-compressor` by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\npython -m pip install django-compressor\n{{< /code >}}\n\n4. Add `compressor` and `flowbiteapp` (or the name of your app) to the installed apps inside the `settings.py` file:\n\n{{< code lang=\"python\" file=\"settings.py\" icon=\"file\" >}}\n# config/settings.py\n\nINSTALLED_APPS = [\n    'django.contrib.admin',\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    'compressor',  # new\n    'flowbiteapp',  # new\n]\n{{< /code >}}\n\n5. Configure the `compressor` inside the `settings.py` file:\n\n{{< code lang=\"python\" file=\"settings.py\" icon=\"file\" >}}\nCOMPRESS_ROOT = BASE_DIR / 'static'\n\nCOMPRESS_ENABLED = True\n\nSTATICFILES_FINDERS = ('compressor.finders.CompressorFinder',)\n{{< /code >}}\n\n6. Create two new folders and an `input.css` file inside the `static/src/` folder:\n\n{{< code lang=\"bash\" >}}\nstatic\n└── src\n    └── input.css\n{{< /code >}}\n\nLater we will import the Tailwind CSS directives and use it as the source file for the final stylesheet.\n\n7. Create a new `views.py` file inside `flowbiteapp/` next to `urls.py` and add the following content:\n\n{{< code lang=\"python\" file=\"views.py\" icon=\"file\" >}}\nfrom django.shortcuts import render\n\ndef index(request):\n    return render(request, 'index.html')\n{{< /code >}}\n\n8. Import the newly created view instance inside the `urls.py` file by adding the following code:\n\n{{< code lang=\"python\" file=\"urls.py\" icon=\"file\" >}}\nfrom .views import index\n\nurlpatterns = [\n    path('admin/', admin.site.urls),\n    path('', index, name='index')\n]\n{{< /code >}}\n\n9. Create a new `_base.html` file inside the `templates/` directory:\n\n{{< code lang=\"html\" file=\"_base.html\" icon=\"file\" >}}\n<!-- templates/_base.html -->\n\n{% load compress %}\n{% load static %}\n\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Django + Tailwind CSS + Flowbite</title>\n\n    {% compress css %}\n    <link rel=\"stylesheet\" href=\"{% static 'src/output.css' %}\">\n    {% endcompress %}\n\n</head>\n\n<body class=\"bg-green-50\">\n    <div class=\"container mx-auto mt-4\">\n        {% block content %}\n        {% endblock content %}\n    </div>\n</body>\n\n</html>\n{{< /code >}}\n\n10. Create an `index.html` file that will be served as the homepage:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!-- templates/index.html -->\n\n{% extends \"_base.html\" %}\n\n{% block content %}\n  <h1 class=\"text-3xl text-green-800\">Django + Tailwind CSS + Flowbite</h1>\n{% endblock content %}\n{{< /code >}}\n\n11. Finally, create a local server instance by running the following command:\n\n{{< code lang=\"bash\" >}}\npython manage.py runserver\n{{< /code >}}\n\nYou'll now get an error that the `output.css` file doesn't exist, but that'll be fixed once we install Tailwind CSS.\n\nAwesome! Now you have a working Django project locally. Let's continue by installing Tailwind.\n\n## Install Tailwind CSS\n\n1. Run the following command the install Tailwind CSS as a dev dependency using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/cli --save-dev\n{{< /code >}}\n\n2. Import the Tailwind CSS directive inside the `input.css` file:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n/* static/src/input.css */\n\n@import \"tailwindcss\";\n{{< /code >}}\n\n4. Run the following command to watch for changes and compile the Tailwind CSS code:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i ./static/src/input.css -o ./static/src/output.css --watch\n{{< /code >}}\n\nOpen `localhost:3000` in your browser and you'll see working HTML with Tailwind CSS code.\n\nNow that you have configured both Django and Tailwind CSS you can also set up Flowbite to get access to the whole collection of interactive components like navbars, modals, dropdowns, buttons, and more to make development even faster.\n\n## Install Flowbite\n\nFlowbite is an open source library of interactive components built on top of Tailwind CSS and it can be installed using NPM and required as a plugin inside Tailwind CSS.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\n5. Include Flowbite's JavaScript file inside the `_base.html` file just before the end of the `<body>` tag using CDN or by including it directly from the `node_modules/` folder:\n\n{{< code lang=\"html\" file=\"_base.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nNow that you have everything configured you can check out the components from Flowbite such as navbars, modals, buttons, datepickers, and more.\n\n## Flowbite components\n\nIn this section I'll show you how you can search for and use the interactive components from Flowbite.\n\nLet's start by adding a <a href=\"{{< ref \"components/navbar\" >}}\">Navbar component</a> inside the `_base.html` file:\n\n{{< code lang=\"html\" file=\"_base.html\" icon=\"file\" >}}\n<!-- templates/_base.html -->\n\n{% load compress %}\n{% load static %}\n\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Django + Tailwind CSS + Flowbite</title>\n\n    {% compress css %}\n    <link rel=\"stylesheet\" href=\"{% static 'src/output.css' %}\">\n    {% endcompress %}\n\n</head>\n\n<body class=\"bg-green-50\">\n\n    <!-- Add this -->\n    <nav class=\"bg-green-50 border-gray-200 px-2 sm:px-4 py-2.5 rounded-sm dark:bg-gray-800\">\n        <div class=\"container flex flex-wrap items-center justify-between mx-auto\">\n          <a href=\"{{ .Site.Params.homepage }}/\" class=\"flex items-center\">\n              <img src=\"/docs/images/logo.svg\" class=\"h-6 mr-3 sm:h-9\" alt=\"Flowbite Logo\" />\n              <span class=\"self-center text-xl font-semibold whitespace-nowrap dark:text-white\">Flowbite Django</span>\n          </a>\n          <button data-collapse-toggle=\"mobile-menu\" type=\"button\" class=\"inline-flex items-center p-2 ml-3 text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mobile-menu\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z\" clip-rule=\"evenodd\"></path></svg>\n            <svg class=\"hidden w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n          </button>\n          <div class=\"hidden w-full md:block md:w-auto\" id=\"mobile-menu\">\n            <ul class=\"flex flex-col mt-4 md:flex-row md:space-x-8 md:mt-0 md:text-sm md:font-medium\">\n              <li>\n                <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-white bg-green-700 rounded-sm md:bg-transparent md:text-green-700 md:p-0 dark:text-white\" aria-current=\"page\">Home</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-green-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-green-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-green-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Pricing</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-green-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n              </li>\n            </ul>\n          </div>\n        </div>\n      </nav>\n    <!-- End of new HTML -->\n\n    <div class=\"container mx-auto mt-4\">\n        {% block content %}\n        {% endblock content %}\n    </div>\n\n    <script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n</body>\n\n</html>\n{{< /code >}}\n\nThis way you already have a functional and responsive navigation bar added to all pages.\n\nLet's take a look how can added more content directly to the view templates, not just the base template.\n\nCheck out one of the <a href=\"{{< ref \"components/card\" >}}\">card components</a> from Flowbite and add it to the `index.html` file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!-- templates/index.html -->\n\n{% extends \"_base.html\" %}\n\n{% block content %}\n\n<h1 class=\"mb-6 text-3xl text-green-800\">Django + Tailwind CSS + Flowbite</h1>\n<div class=\"max-w-sm bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n    <a href=\"#\">\n        <img class=\"rounded-t-lg\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <div class=\"p-5\">\n        <a href=\"#\">\n            <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology\n                acquisitions 2021</h5>\n        </a>\n        <p class=\"mb-3 font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology\n            acquisitions of 2021 so far, in reverse chronological order.</p>\n        <a href=\"#\"\n            class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-green-700 rounded-lg hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-green-300 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800\">\n            Read more\n            <svg class=\"w-4 h-4 ml-2 -mr-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\"\n                xmlns=\"http://www.w3.org/2000/svg\">\n                <path fill-rule=\"evenodd\"\n                    d=\"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z\"\n                    clip-rule=\"evenodd\"></path>\n            </svg>\n        </a>\n    </div>\n</div>\n\n{% endblock content %}\n{{< /code >}}\n\nAt this point you can use any of the components to build user interfaces easier and faster together with Django, Tailwind CSS and Flowbite. \n\nCheck out all of the components by browsing the menu on the left sidebar under the \"components\" section.\n\n## Django starter project\n\nWe have built a free and open-source [Django starter project with Tailwind CSS](https://github.com/themesberg/tailwind-django-starter) on GitHub that you can clone to use as a reference for this guide and for your own Django web application configured with Flowbite and Tailwind CSS."
  },
  {
    "path": "content/getting-started/flask.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Flask - Flowbite\ndescription: Learn how to install Tailwind CSS and Flowbite inside a Flask project and start building modern web applications with a micro Python web framework\ngroup: getting-started\ntoc: true\nrequires_flask: true\n\nprevious: Django\npreviousLink: getting-started/django/\nnext: Blazor (.NET)\nnextLink: getting-started/blazor/\n---\n\n[Flask](https://flask.palletsprojects.com/) is an open-source micro web framework based on Python that allows you to quickly build websites using only a single Python file without requiring any other particular tools or libraries.\n\nIt is being used by hundreds of thousands of developers and even large companies such as Samsung, Netflix, Reddit, Lyft, and even Airbnb since its initial release in 2010.\n\nBy following this guide you will learn how to properly set up Tailwind CSS with Flowbite inside a Flask project and get started with building websites faster.\n\n## Requirements\n\nFollow the next steps in this tutorial to learn how to install a Flask project with Tailwind CSS and the Flowbite component library.\n\nMake sure that you have both [Node.js](https://nodejs.org) and [Python](https://www.python.org/) installed on your local machine.\n\nAfter that, you'll need to install Flask on your computer by following the official [installation guide](https://flask.palletsprojects.com/en/2.1.x/installation/) or by running the following command in the terminal if you have pip available in your Python environment:\n\n{{< code lang=\"bash\" >}}\npython -m pip install Flask\n{{< /code >}}\n\nNow that you have installed all of the required technologies you can now create a new Flask project.\n\n## Create a Flask project\n\n1. Run the following command in the terminal to create a new Flask project with the name `flowbite-flask`:\n\n{{< code lang=\"bash\" >}}\nmkdir flowbite-flask\ncd flowbite-flask/\n{{< /code >}}\n\n2. Create a new file called `app.py` inside the root of the project folder with the following content:\n\n{{< code lang=\"python\" file=\"app.py\" icon=\"file\" >}}\nfrom flask import Flask, render_template\n\napp = Flask(__name__)\n\n@app.route(\"/\")\n@app.route(\"/index\")\ndef index():\n\treturn render_template(\"index.html\")\n\nif __name__ == '__main__':\n\tapp.run(debug=True)\n{{< /code >}}\n\nWhat we do here is that we import the Flask micro framework from Python and also set the app route for a new `index.html` file inside the `templates/` folder that we will create in the next step.\n\n3. Create two new folders called `templates/` and `static/`:\n\n{{< code lang=\"bash\" >}}\nflowbite-flask/\n   - app.py\n   - templates/\n   - static/\n{{< /code >}}\n\nThis is how your project folder structure should look like.\n\n4. Create a new `index.html` file inside your `templates/` folder and create a basic HTML document structure:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Flowbite Flask</title>\n</head>\n<body>\n    <h1>Hello, Flask!</h1>\n</body>\n</html>\n{{< /code >}}\n\n5. Start a local server by running `python app.py` inside your terminal:\n\n{{< code lang=\"bash\" >}}\npython app.py\n{{< /code >}}\n\nThis should make the project available via the browser by going to `http://localhost:5000/`. \n\n## Install Tailwind CSS\n\nNow that you have a working Flask project we can proceed by installing Tailwind CSS. \n\n1. Run the following command the install Tailwind CSS as a dev dependency using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/cli --save-dev\n{{< /code >}}\n\n2. Create a new `static/src/` folder and add a new `input.css` file with the following content:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n/* static/src/input.css */\n\n@import \"tailwindcss\";\n{{< /code >}}\n\n4. Run the following command to watch for changes and compile the Tailwind CSS code:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i ./static/src/input.css -o ./static/dist/output.css --watch\n{{< /code >}}\n\nThis will generate a new `output.css` file inside the `static/dist/css/` folder that we will now include in the newly created `index.html` template file.\n\n5. Include `output.css` inside the main `index.html` template:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Flowbite Flask</title>\n    <link rel=\"stylesheet\" href=\"{{url_for('static',filename='dist/output.css')}}\">\n</head>\n<body>\n    <h1 class=\"text-fg-brand\">Hello, Flask!</h1>\n</body>\n</html>\n{{< /code >}}\n\nNotice how the `text-fg-brand` class is now being applied using the configuration that we set up which means that you can start building user interfaces with Tailwind CSS.\n\n## Install Flowbite\n\nNow that you have a working Flask and Tailwind CSS configuration you can also include Flowbite inside your project to get started with hundreds of UI components like navbars, dropdowns, tables, and more.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\n5. Include Flowbite's JavaScript file inside the `index.html` file just before the end of the `<body>` tag using CDN or by including it directly from the `node_modules/` folder:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nNow that you have Flowbite also configured you can explore all of the components by browsing the sidebar menu on the left side of the documentation.\n\n## Flowbite components\n\nLet's now take a look how we can quickly build a simple page using the components from Flowbite.\n\nLet's start by adding a <a href=\"{{< ref \"components/navbar\" >}}\">Navbar component</a> inside the `index.html` file:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Flowbite Flask</title>\n    <link rel=\"stylesheet\" href=\"{{url_for('static',filename='dist/output.css')}}\">\n</head>\n\n<body>\n    \n<nav class=\"bg-neutral-primary border-default\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-7\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-xl text-heading font-semibold whitespace-nowrap\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-body rounded-base md:hidden hover:bg-neutral-secondary-soft hover:text-heading focus:outline-none focus:ring-2 focus:ring-neutral-tertiary\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 7h14M5 12h14M5 17h14\"/></svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-default rounded-base bg-neutral-secondary-soft md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-neutral-primary\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-brand rounded md:bg-transparent md:text-fg-brand md:p-0\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-heading rounded hover:bg-neutral-tertiary md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0 md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n\n\n    <script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n</body>\n\n</html>\n{{< /code >}}\n\nAs you can see, the navigation bar will render correctly and even the hamburger icon functionality will work by toggling the mobile menu on smaller devices.\n\nOther than the base components from the library you can also check out some of the free and premium website sections from [Flowbite Blocks](https://flowbite.com/blocks/) such as hero sections, pricing sections, contact sections, and more.\n\nLet's add a free [Tailwind CSS hero section](https://flowbite.com/blocks/marketing/hero/) just after the navigation bar:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n<section class=\"bg-neutral-primary\">\n  <div class=\"py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 lg:px-12\">\n        <h1 class=\"mb-4 mt-8 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-lg font-normal text-body lg:text-xl sm:px-16 xl:px-48\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col mb-8 lg:mb-16 space-y-4 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-4\">\n            <a href=\"#\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">Learn more</a>\n            <a href=\"#\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">\n                <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 6H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1Zm7 11-6-2V9l6-2v10Z\"/>\n                </svg>\n                Watch video\n            </a> \n        </div>\n  </div>\n</section>\n{{< /code >}}\n\nThis gives you a pretty good idea on how powerful a Flask, Tailwind CSS and Flowbite technology stack can be for quickly building websites.\n\n## Flask starter project\n\nThis configuration can also be found on the [Flask starter project](https://github.com/themesberg/tailwind-flask-starter) from GitHub where Flask, Tailwind CSS, and Flowbite are already configured and you can start building websites right away."
  },
  {
    "path": "content/getting-started/gatsby.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Gatsby - Flowbite\ndescription: Learn how to install Gatsby with Tailwind CSS and Flowbite and start building websites with an open-source static site generator built on top of React and GraphQL\ngroup: getting-started\ntoc: true\nrequires_gatsby: true\n\nprevious: Meteor.js\npreviousLink: getting-started/meteor-js/\nnext: SolidJS\nnextLink: getting-started/solid-js/\n---\n\n[Gatsby](https://www.gatsbyjs.com/) is a popular open-source static site generator framework built on top of Node.js, React, and GraphQL that allows you to build websites using content sources such as Markdown, MDX and leverages other headless CMS technologies such as WordPress, Drupal and more.\n\nThis React framework is used by many popular websites and companies such as Snapchat, Tinder, Revolut, Stack, and others and it can help you quickly build a website without having to create a separate administrative panel to manage content.\n\nBy following this guide you will learn how to create a new Gatsby project, install and configure Tailwind CSS and also set up Flowbite to start building websites even faster with the open-source UI components.\n\n## Requirements\n\nBefore creating a new project make sure that you have [Node.js](https://nodejs.org/en/) (v18 or higher) installed on your local machine and production server because it will be required to install all of the three technologies.\n\n## Getting started\n\nThe fastest way to get started is using our project creation CLI, which sets up a new Gatsby project with Flowbite React, Tailwind CSS, and all necessary configurations.\n\n## Create a Gatsby project\n\nRun the following command in your terminal using our CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nnpx create-flowbite-react@latest -t gatsby\n{{< /code >}}\n\nThis will create a new Gatsby project, install and configure Tailwind CSS, install and configure Flowbite React, add dark mode support and also set up example components to get you started.\n\n## Add to existing project\n\nIf you already have a Gatsby project and want to add Flowbite React, you can use our initialization CLI:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis will automatically add Flowbite React to your project and will configure Tailwind CSS with the Flowbite plugin alongside dark mode support.\n\n## Custom installation\n\nIf you prefer to set everything up manually or need more control over the configuration, follow these steps.\n\n### Create a new project\n\nCreate a new Gatsby project using NPM and make sure to select `Tailwind CSS` when prompted:\n\n{{< code lang=\"bash\" >}}\nnpm init gatsby\n{{< /code >}}\n\nYou can now proceed with the installation of Flowbite React.\n\n### Install Flowbite React\n\nRun the following CLI command to add Flowbite React to your project:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command will install Flowbite React and configure Tailwind with the Flowbite plugin.\n\n### Adding dark mode\n\nIn server side rendered applications like Gatsby, if you want to avoid page flicker when dark mode is set, you need to configure the `ThemeModeScript` component.\n\n1. Create `gatsby-ssr.js` file at the root folder of the project:\n\n{{< code lang=\"javascript\" file=\"gatsby-ssr.js\" icon=\"file\" >}}\n// gatsby-ssr.js\nexport const onRenderBody = ({ setPreBodyComponents }) => {\n    setPreBodyComponents([]);\n};\n{{< /code >}}\n\n2. Import `ThemeModeScript` and add it to `setPreBodyComponents` function:\n\n{{< code lang=\"javascript\" file=\"gatsby-ssr.js\" icon=\"file\" >}}\n// gatsby-ssr.js\nimport { ThemeModeScript } from 'flowbite-react';\n\nexport const onRenderBody = ({ setPreBodyComponents }) => {\n    setPreBodyComponents([ThemeModeScript]);\n};\n{{< /code >}}\n\nCongratulations! You have successfully installed Flowbite React.\n\n## React components\n\nNow that you have Flowbite React installed you can start using the components from the library:\n\n{{< code lang=\"javascript\" file=\"src/pages/index.tsx\" icon=\"file\" >}}\n// src/pages/index.tsx (or .jsx)\nimport { Button } from 'flowbite-react';\n\nexport default function IndexPage() {\n    return <Button>Click me</Button>;\n}\n{{< /code >}}\n\nCheck out all of the UI components from the [Flowbite React](https://flowbite-react.com) library.\n\n## Theme customization\n\nFlowbite React offers an advanced system of customizing your components and templates using the new [theming engine](https://flowbite-react.com/docs/customize/theme). You can style components by directly using the `className` attribute of the component, but also by passing a theme object to the `<ThemeProvider>` component.\n\nFor example, here is a simple way you can update a button component:\n\n{{< code lang=\"javascript\" file=\"src/pages/index.tsx\" icon=\"file\" >}}\nimport { Button } from \"flowbite-react\";\n\nfunction App() {\n  return <Button className=\"bg-red-500 hover:bg-red-600\">Custom Button</Button>;\n}\n{{< /code >}}\n\nAdditionally, you can also use the `createTheme` helper to create a theme object that you can then pass on to the `<ThemeProvider>` component with which you can style subcomponents too:\n\n{{< code lang=\"javascript\" file=\"src/pages/index.tsx\" icon=\"file\" >}}\nimport { Button, createTheme, ThemeProvider } from \"flowbite-react\";\n\nconst customTheme = createTheme({\n  button: {\n    color: {\n      primary: \"bg-red-500 hover:bg-red-600\",\n      secondary: \"bg-blue-500 hover:bg-blue-600\",\n    },\n    size: {\n      lg: \"px-6 py-3 text-lg\",\n    },\n  },\n});\n\nfunction App() {\n  return (\n    <ThemeProvider theme={customTheme}>\n      <Button color=\"primary\">Red Button</Button>\n      <Button color=\"secondary\" size=\"lg\">\n        Large Blue Button\n      </Button>\n    </ThemeProvider>\n  );\n}\n{{< /code >}}\n\n## Open-source community\n\nThe Flowbite React UI library is a free, open-source project licensed under MIT. You can find the source code on [GitHub](https://github.com/themesberg/flowbite-react) and collaborate with our developer community to contribute.\n\n## Support development\n\nIf you’d like to support our open-source work, check out the [pro version](https://flowbite.com/pro/) of Flowbite, which offers 400+ components and templates, a Figma design system, an admin dashboard, and more."
  },
  {
    "path": "content/getting-started/hugo.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS HUGO - Flowbite\ndescription: Learn how to install HUGO together with Tailwind CSS and Flowbite to start building websites with one of the most popular static site generators in the world\ngroup: getting-started\ntoc: true\nrequires_hugo: true\n\nprevious: Blazor\npreviousLink: getting-started/blazor/\nnext: MCP UI\nnextLink: getting-started/mcp-ui/\n---\n\n[HUGO](https://gohugo.io/) is a popular and open-source static site generator framework that makes it easy to organize your files and assets where you can also leverage a taxonomy system, multilingual support, fast assets pipeline, and more. HUGO is used by millions of developers and by websites such as Bootstrap, Litecoin, Smashing Magazine, and even Flowbite.\n\nCheck out this guide to learn how to install and set up a HUGO project together with Tailwind CSS and the UI components from Flowbite to start building websites with a stack that enhances your front-end development workflow.\n\n## Requirements\n\nMake sure that you have both [HUGO](https://gohugo.io/installation/) and [Node.js](https://nodejs.org/en/) installed locally on your computer.\n\n## Create a HUGO project\n\nFollow the next steps to learn how to create a new HUGO project after you've installed the dependencies.\n\n1. Run the following CLI command to create a new HUGO application:\n\n{{< code lang=\"bash\" >}}\nhugo new site flowbite-app\ncd flowbite-app\n{{< /code >}}\n\n2. The next step is to create a local custom theme:\n\n{{< code lang=\"bash\" >}}\nhugo new theme flowbite-theme\n{{< /code >}}\n\nThis command will create a new scaffolded theme directory that we can extend with our HUGO app.\n\n3. Next, add the theme to the `config.toml` file:\n\n{{< code lang=\"toml\" file=\"config.toml\" icon=\"file\" >}}\ntheme = [\"flowbite-theme\"]\n{{< /code >}}\n\n4. Run a local server using the following command:\n\n{{< code lang=\"bash\" >}}\nhugo server -D\n{{< /code >}}\n\nNow you should see a basic HUGO website running at a generated localhost server.\n\nCongratulations! You have now successfully installed and configured HUGO.\n\n## Install Tailwind CSS\n\nTailwind CSS is a popular utility-first CSS framework that allows better control over the styling of your website and makes it easier to work together with other team members within your organization.\n\n1. Go to the `flowbite-theme/` directory and run the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/cli --save-dev\n{{< /code >}}\n\n2. Inside your `main.css` file from the `flowbite-theme/` directory add the following:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n3. Compile the CSS code for Tailwind CSS by running this command inside of your theme directory:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i ./assets/css/main.css  -o ./assets/css/output.css --watch\n{{< /code >}}\n\n4. Update the `css.html` file from the `flowbite-theme/` directory with the following:\n\n{{< code lang=\"html\" file=\"css.html\" icon=\"file\" >}}\n{{- with resources.Get \"css/output.css\" }}\n  {{- if eq hugo.Environment \"development\" }}\n    <link rel=\"stylesheet\" href=\"{{ .RelPermalink }}\">\n  {{- else }}\n    {{- with . | minify | fingerprint }}\n      <link rel=\"stylesheet\" href=\"{{ .RelPermalink }}\" integrity=\"{{ .Data.Integrity }}\" crossorigin=\"anonymous\">\n    {{- end }}\n  {{- end }}\n{{- end }}\n{{< /code >}}\n\n5. In order to test out Tailwind CSS, add a utility class inside the `single.html` file:\n\n{{< code lang=\"html\" file=\"single.html\" icon=\"file\" >}}\n{{ define \"main\" }}\n  <h1 class=\"text-fg-brand\">{{ .Title }}</h1>\n\n  {{ $dateMachine := .Date | time.Format \"2006-01-02T15:04:05-07:00\" }}\n  {{ $dateHuman := .Date | time.Format \":date_long\" }}\n  <time datetime=\"{{ $dateMachine }}\">{{ $dateHuman }}</time>\n\n  {{ .Content }}\n  {{ partial \"terms.html\" (dict \"taxonomy\" \"tags\" \"page\" .) }}\n{{ end }}\n{{< /code >}}\n\nBy browsing to one of the post pages, you should now see the text updated in blue.\n\n## Install Flowbite\n\nNow that you have a working HUGO project configured with Tailwind CSS, you can now install Flowbite.\n\nPlease make sure that you install the dependency, just as with Tailwind CSS, inside your `flowbite-theme` directory.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `main.css` CSS file:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"main.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\n5. Add the Flowbite JavaScript inside your `js.html` file:\n\n{{< code lang=\"html\" file=\"js.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@4.0.1/dist/flowbite.min.js\"></script>\n\n{{- with resources.Get \"js/main.js\" }}\n  {{- if eq hugo.Environment \"development\" }}\n    {{- with . | js.Build }}\n      <script src=\"{{ .RelPermalink }}\"></script>\n    {{- end }}\n  {{- else }}\n    {{- $opts := dict \"minify\" true }}\n    {{- with . | js.Build $opts | fingerprint }}\n      <script src=\"{{ .RelPermalink }}\" integrity=\"{{- .Data.Integrity }}\" crossorigin=\"anonymous\"></script>\n    {{- end }}\n  {{- end }}\n{{- end }}\n{{< /code >}}\n\n6. Let's now test out Flowbite by updating our `menu.html` file from the theme directory:\n\n{{< code lang=\"html\" file=\"menu.html\" icon=\"file\" >}}\n{{- /*\nRenders a menu for the given menu ID.\n\n@context {page} page The current page.\n@context {string} menuID The menu ID.\n\n@example: {{ partial \"menu.html\" (dict \"menuID\" \"main\" \"page\" .) }}\n*/}}\n\n{{- $page := .page }}\n{{- $menuID := .menuID }}\n\n{{- with index site.Menus $menuID }}\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        {{- partial \"inline/menu/walk.html\" (dict \"page\" $page \"menuEntries\" .) }}\n      </ul>\n    </div>\n  </div>\n</nav>\n{{- end }}\n\n{{- define \"partials/inline/menu/walk.html\" }}\n  {{- $page := .page }}\n  {{- range .menuEntries }}\n    {{- $attrs := dict \"href\" .URL }}\n    {{- if $page.IsMenuCurrent .Menu . }}\n      {{- $attrs = merge $attrs (dict \"class\" \"active\" \"aria-current\" \"page\") }}\n    {{- else if $page.HasMenuCurrent .Menu .}}\n      {{- $attrs = merge $attrs (dict \"class\" \"ancestor\" \"aria-current\" \"true\") }}\n    {{- end }}\n    {{- $name := .Name }}\n    {{- with .Identifier }}\n      {{- with T . }}\n        {{- $name = . }}\n      {{- end }}\n    {{- end }}\n    <li>\n      <a\n      class=\"block py-2 px-3 text-heading rounded-sm hover:bg-neutral-secondary-soft md:hover:bg-transparent md:border-0 md:hover:text-fg-brand md:p-0\"\n        {{- range $k, $v := $attrs }}\n          {{- with $v }}\n            {{- printf \" %s=%q\" $k $v | safeHTMLAttr }}\n          {{- end }}\n        {{- end -}}\n      >{{ $name }}</a>\n      {{- with .Children }}\n        <ul>\n          {{- partial \"inline/menu/walk.html\" (dict \"page\" $page \"menuEntries\" .) }}\n        </ul>\n      {{- end }}\n    </li>\n  {{- end }}\n{{- end }}\n{{< /code >}}\n\nAfter you reload the server, the pages from the menu should now be rendered inside the navbar component.\n\n## UI components\n\nNow that you have everything installed and set up you can start using the [UI components from Flowbite](https://flowbite.com/blocks/) to build up your website with HUGO much faster and easier with hero sections, navigation bars, admin CRUD layouts, and more.\n\n## HUGO starter theme\n\nWe have developed a free and open-source [HUGO starter theme](https://github.com/themesberg/tailwind-hugo-starter) that you can use to build up your website as a starting point or use it directly as a personal blog website that already has HUGO, Tailwind CSS and Flowbite configured."
  },
  {
    "path": "content/getting-started/introduction.md",
    "content": "---\nlayout: docs\ntitle: Flowbite - Tailwind CSS component library\ndescription: Get started with the most popular open-source library of interactive UI components built with the utility classes from Tailwind CSS\ngroup: getting-started\ntoc: true\ncleanTitle: true\n\nnext: Quickstart\nnextLink: getting-started/quickstart/\n---\n\n## Introduction\n\nFlowbite is an open-source library of UI components based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, templates, and more.\n\nIt includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, but also some more advanced interactive elements such as datepickers. \n\nAll of the elements are built using the utility classes from Tailwind CSS and vanilla JavaScript with support for TypeScript.\n\n<iframe width=\"100%\" class=\"my-8 rounded-lg shadow-lg yt-video\" src=\"https://www.youtube.com/embed/KaLxCiilHns\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\nHere's a quick overview of the Flowbite ecosystem including the open source Tailwind components library, the Figma design files, and the pro version.\n\n<div class=\"mt-10 lg:grid lg:grid-cols-2 lg:gap-8\">\n    <a href=\"{{< ref \"getting-started/quickstart\" >}}\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Quickstart</h3>\n        <p class=\"font-normal text-body\">Learn how to get started by downloading and configuring Flowbite locally on your machine and start developing.</p>\n    </a>\n    <a href=\"{{< ref \"components/alerts\" >}}\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Components</h3>\n        <p class=\"font-normal text-body\">Explore the Tailwind CSS elements such as buttons, navbars, alerts, dropdowns and use them to build your website.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/figma/\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Figma design files</h3>\n        <p class=\"font-normal text-body\">Prototype and design your website before coding with the Flowbite Figma file which is based on the Tailwind CSS classes.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/icons/\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Flowbite Icons</h3>\n        <p class=\"font-normal text-body\">Free and open-source collection of over 430 solid and outline styled SVG icons to use with our UI component library and Figma.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/pro/\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Flowbite Blocks</h3>\n        <p class=\"font-normal text-body\">Take your Figma and Tailwind CSS development to the next level with thousands more elements and pages with Flowbite Pro.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/pro/\" class=\"block p-6 mb-6 bg-neutral-primary border border-default rounded-base hover:bg-neutral-tertiary lg:mb-0\">\n        <h3 class=\"mb-2 text-xl font-semibold tracking-tight text-heading\">Upgrade to Pro</h3>\n        <p class=\"font-normal text-body\">Check out over 450+ website sections and advanced UI components built with Tailwind CSS and the Flowbite Library.</p>\n    </a>\n</div>\n\n## Using Flowbite\n\nOne of the disadvantages of Tailwind CSS compared to other frameworks is that it doesn't have a base set of components. This makes it really hard to quickly prototype a user interface. \n\nThis is where Flowbite comes into play: it's basically Tailwind CSS, but you get all of the components that you would normally get with a classic CSS framework like Bootstrap or Bulma.\n\nThere are over 56 types of UI components including buttons, alerts, breadcrumbs, pagination, and navbars. Flowbite also includes some custom JavaScript that enables interactive components, such as dropdowns, modals, tooltips, and many more. \n\n## Getting started\n\nFlowbite is technically a plugin that can be included into any existing Tailwind CSS project. To get started, you first need to make sure that you have a working Tailwind CSS project installed and that you also have Node and NPM installed on your machine.\n\n### Install using NPM\n\nMake sure that you have <a href=\"https://nodejs.org/en/\" rel=\"nofollow\" target=\"_blank\">Node.js</a> and <a href=\"https://tailwindcss.com/docs/installation/using-postcss\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS</a> installed. This guide works with Tailwind v4.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n5. Include the JavaScript code that powers the interactive elements before the end of your `<body>` tag:\n\n{{< code lang=\"html\" >}}\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nLearn more about the Flowbite JavaScript API and functionalities in the [JavaScript section](https://flowbite.com/docs/getting-started/javascript/).\n\nIf you have and old project with Tailwind CSS v3 then [check out this guide](#tailwind-css-v3-to-v4) to learn how to upgrade to v4.\n\n### Include using CDN\n\nThe quickest way to get started working with Flowbite is to include the CSS and JS into your project via CDN.\n\nRequire the following minified stylesheet inside the `head` tag:\n\n{{< code lang=\"html\" >}}\n<link href=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.css\" rel=\"stylesheet\" />\n{{< /code >}}\n\nAnd include the following JavaScript file before the end of the `body` element:\n\n{{< code lang=\"html\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nPlease remember that the best way to work with Tailwind CSS and Flowbite is by purging the CSS classes.\n\n### Bundled JavaScript\n\nOne of the most popular way of using Flowbite is to include the bundled Javascript file which is UMD ready using a bundler such as Webpack or Parcel which makes sure that all of the data attributes and functionality will work out-of-the-box.\n\nYou can directly import the main JavaScript file inside your bundled `app-bundle.js` file like this:\n\n{{< code lang=\"javascript\" >}}\nimport 'flowbite';\n{{< /code >}}\n\nThis file has access to all of the components and it automatically applies event listeners to the data attributes.\n\n### Data attributes\n\nThe preferred way to use the interactive UI components from Flowbite is via the data attributes interface which allows us to add functionality via the HTML element attributes and most of the examples on our documentation applies this strategy.\n\nFor example, to set up a modal component all you need to do is use `data-modal-target` and `data-modal-{toggle|show|hide}` to toggle, show, or hide the component by clicking on any trigger element.\n\n### Init functions\n\nYou can also use the init functions to set up the event listeners yourself. Here's an example how you can do it with Vue or Nuxt:\n\n{{< code lang=\"javascript\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n{{< /code >}}\n\nThe `initFlowbite` function sets up all of the init functions for dropdowns, modals, navbars, tooltips and so on to hook onto the data attributes. Alternatively, you can also initialise each component category class separately with `initDropdowns` or `initModals`.\n\nYou can view more examples by browsing the [components from Flowbite](#components).\n\n### ESM and CJS\n\nFlowbite also offers an API for using the components programmatically and it supports both CJS and ESM for JavaScript which can be helpful if you need to expand the default capabilities of the data attributes interface and get access to function callbacks.\n\nHere's an example how you can import and create a new Modal component inside JavaScript:\n\n{{< code lang=\"javascript\" >}}\nimport { Modal } from 'flowbite'\n\nconst $modalElement = document.querySelector('#modalEl');\n\nconst modalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    }\n}\n\nconst modal = new Modal($modalElement, modalOptions);\n\nmodal.show();\n{{< /code >}}\n\nCheck out the JavaScript behaviour section of each component's page to learn how you can use this.\n\n### TypeScript\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n{{< code lang=\"javascript\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\nimport type { InstanceOptions } from 'flowbite';\n\n// other code\n{{< /code >}}\n\nLearn more about Flowbite and TypeScript in the [quickstart guide](https://flowbite.com/docs/getting-started/typescript/).\n\n## Figma Design System\n\nThe components from Flowbite are first conceptualized and designed in Figma using the latest features such as variants, auto-layout, grids, responsive layouts, and more.\n\nLearn more by checking out <a href=\"{{< param homepage >}}/figma/\">Flowbite's Figma design system</a> and start designing your Tailwind CSS projects before actually coding them.\n\n## Flowbite SVG Icons\n\nCheck out a free and open-source collection of over 430 SVG icons with solid and outline styles to integrate with the UI components from Flowbite.\n\nLearn more by browsing the <a href=\"{{< param homepage >}}/icons/\">Flowbite Icons</a> page and interface to directly copy-paste the icons into your project as raw SVGs or React (JSX) code.\n\n## Flowbite GPT\n\nWe've developed a custom trained ChatGPT model that you can use to generate website sections and pages based on the resources from Flowbite and Tailwind CSS.\n\nStart generating with [Flowbite GPT](https://chat.openai.com/g/g-y7yC35HB9-flowbite-gpt).\n\n## Pro version\n\nIf you want to take your Tailwind development workflow to the next level you can check out the [pro version of Flowbite]({{< param homepage >}}/pro/) which includes fully coded pages and layouts for application, marketing, and e-commerce user interfaces.\n\n## Work with us\n\nIf you're ready to take your application to the next level you can [work with us](https://flowbite.com/work-with-us/) on your project with developers who have been using Flowbite and Tailwind CSS.\n\n## Learn Design Concepts\n\nIf you want to create even better Flowbite pages, learn design fundamentals from [Teach Me Design - Enhance UI](https://www.enhanceui.com/?ref=flowbite-introduction), a book that covers color theory, typography, UI and UX so you can make the most to implement the Flowbite Ecosystem!\n\n## Tailwind CSS v3 to v4\n\nIf you want to upgrade v3 from Tailwind CSS with Flowbite you have to follow the <a href=\"https://tailwindcss.com/docs/v4-beta\" rel=\"nofollow\" target=\"_blank\">v4 upgrade guide</a>.\n\n1. Install the next versions of Tailwind CSS and Flowbite using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/postcss postcss\n{{< /code >}}\n\n2. Add the PostCSS plugin inside the `postcss.config.js` file:\n\n{{< code lang=\"bash\" >}}\nexport default {\n  plugins: {\n    '@tailwindcss/postcss': {},\n  },\n};\n{{< /code >}}\n\n3. Remove the old directives in your main CSS file and import Tailwind:\n\n{{< code lang=\"bash\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n4. Use the `@config` directive to import the old configuration file from your project:\n\n{{< code lang=\"bash\" >}}\n/* add this to copy the configuration settings from your project */\n@config \"../tailwind.config.js\";\n{{< /code >}}\n\n5. Compile the source CSS file using NPX:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i input.css -o output.css\n{{< /code >}}\n\nNow you should be good to go! Check the <a href=\"https://tailwindcss.com/docs/upgrade-guide#changes-from-v3\" rel=\"nofollow\" target=\"_blank\">deprecated changes from v3</a> to learn more about the new features.\n\n## Tailwind CSS v3\n\nWe recommend you to follow the upgrade guide from v3 to v4 since Flowbite works with both.\n\n## Tailwind CSS v2\n\nFlowbite works with the 2.x version of Tailwind CSS.\n\n## WindiCSS\n\nFlowbite also works with WindiCSS by including the plugin inside the `windi.config.js` file:\n\n{{< code lang=\"bash\" >}}\nplugins: [\n    require('flowbite/plugin-windicss')\n],\n{{< /code >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_react >}}\n</div>\n\n## React\n\nIf you're using React as a front-end library you can also use the components from Flowbite including the interactive ones such as the dropdowns, modals, and tooltips as long as you install Tailwind CSS and Flowbite in an existing project.\n\nLearn how to <a href=\"{{< ref \"getting-started/react\" >}}\">install Tailwind CSS and Flowbite with React</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_nextjs >}}\n</div>\n\n## Next.js\n\nIf you're using React as a front-end library and Next.js as a framework you can also use the components from Flowbite React such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/next-js\" >}}\">install Tailwind CSS and Flowbite with Next.js and React</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_vue >}}\n</div>\n\n## Vue.js\n\nThe components from Flowbite can also be used any new or existing Vue 3 projects as long as you install Tailwind CSS and Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/vue\" >}}\">install Tailwind CSS and Flowbite with Vue.js</a>.\n\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_nuxtjs >}}\n</div>\n\n## Nuxt\n\nIf you're using Vue 3 as a front-end library and Nuxt as a framework you can also use the components from Flowbite Vue such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/nuxt-js\" >}}\">install Tailwind CSS and Flowbite with Nuxt and Vue 3</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_laravel >}}\n</div>\n\n## Laravel\n\nIf you're running a Laravel application you can easily set up Tailwind CSS and Flowbite and start developing user interfaces based on the utility-first classes and components.\n\nLearn how to <a href=\"{{< ref \"getting-started/laravel\" >}}\">install Tailwind CSS and Flowbite with Laravel</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_svelte >}}\n</div>\n\n## Svelte\n\nIf you're using a Svelte application you can install a standalone Flowbite Svelte library and start developing modern websites using the components from Flowbite and the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/svelte\" >}}\">install Tailwind CSS and Flowbite with Svelte</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_angular >}}\n</div>\n\n## Angular\n\nYou can read our official guide to learn how to set up a new Angular project together with Tailwind CSS and Flowbite to start building advanced web applications with Google's framework.\n\nLearn how to <a href=\"{{< ref \"getting-started/angular\" >}}\">install Tailwind CSS and Flowbite with Angular</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_ruby >}}\n</div>\n\n## Ruby on Rails\n\nIf you're using a Ruby on Rails project you can install Tailwind CSS with Flowbite and start building web pages using the utility-first classes and the interactive UI compnonents from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/rails\" >}}\">install Tailwind CSS and Flowbite with Ruby on Rails</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_django >}}\n</div>\n\n## Django\n\nCheck out the Django integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing even faster using the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/django\" >}}\">install Tailwind CSS and Flowbite with Django</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_flask >}}\n</div>\n\n## Flask\n\nCheck out the Flask integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing with a micro framework combined with the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/flask\" >}}\">install Tailwind CSS and Flowbite with Flask</a>.\n\n## Licensing\n\nThe library of components from Flowbite is open source under the [MIT License]({{< ref \"getting-started/license\" >}}).\n\n## Contributions\n\nFlowbite is an open source library under the MIT license and anyone who would like to contribute to the codebase or design is welcome to do so. \n\nPlease reach out to us via the <a href=\"https://github.com/themesberg/flowbite\">official Github repository</a> and the main development team will get in touch as soon as possible.\n\n## Discord community\n\nFeel free to join our <a href=\"https://discord.gg/4eeurUVvTy\" rel=\"nofollow\">community on Discord</a> to receive help, contribute to the project, or just discuss about Flowbite, Tailwind CSS, and web development in general.\n\n## YouTube channel\n\nYou can also subscribe to the official [Flowbite YouTube channel](https://www.youtube.com/channel/UC_Ms4V2kYDsh7F_CSsHyQ6A) to view tutorials on how you can use the Flowbite ecosystem to design and build websites.\n\n## Authors\n\n- <a href=\"https://twitter.com/zoltanszogyenyi\">Zoltán Szőgyényi</a> (web developer)\n- <a href=\"https://twitter.com/RobertTanislav\">Robert Tanislav</a> (web designer)"
  },
  {
    "path": "content/getting-started/javascript.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS JavaScript - Flowbite\ndescription: Learn how to set up a Tailwind CSS project with the JavaScript from Flowbite and start working with the interactive UI components based on the Flowbite API and data attributes interface\ngroup: getting-started\ntoc: true\nrequires_javascript: true\n\nprevious: Quickstart\npreviousLink: getting-started/quickstart/\nnext: TypeScript\nnextLink: getting-started/typescript/\n---\n\n[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) is one of the most popular programming languages in the world, basically powering the client side of nearly 98% percent of all websites alongside HTML and CSS. It is a high-level language which uses dynamic typing and supports features such as object orientation, first-class functions and the web based API allows you access to the DOM (Document Object Model).\n\nFlowbite uses JavaScript to power the interactivity of the more complex UI components such as datepickers, dropdowns, and modals while also leveraging the utility classes from Tailwind CSS. \n\nThere are two main ways you can use JavaScript to power the interactive UI components:\n\n- use the data attributes interface and include the Flowbite JavaScript via NPM or CDN\n- programmatically create instances of the UI components and call methods and attach events to elements\n\nOn this page you will learn how to leverage the Flowbite API to work with the interactivity part of the UI library and how you can customize the default behaviour of the UI components using JavaScript.\n\n## Flowbite API\n\nFlowbite is written in JavaScript with optional support for TypeScript and provides an extensive API for the interactive UI components that you use by creating new instances of the objects, setting them up with various options, calling methods such as to show or hide a component and even access a global instance manager to get access to the initialised objects.\n\nEach component page on the documentation has a section called \"JavaScript Behaviour\" that documents how you can create and manage an object such as a Modal, Carousel, Dropdown, or any other interactive UI components that requires JavaScript to function.\n\nHere is an extensive example on how you can work with the Modal component:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// set the modal menu element\nconst $targetEl = document.getElementById('modalEl');\n\n// options with default values\nconst options = {\n  placement: 'bottom-right',\n  backdrop: 'dynamic',\n  backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n  closable: true,\n  onHide: () => {\n      console.log('modal is hidden');\n  },\n  onShow: () => {\n      console.log('modal is shown');\n  },\n  onToggle: () => {\n      console.log('modal has been toggled');\n  }\n};\n{{< /code >}}\n\nCreate a new Modal object based on the options above.\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nimport { Modal } from 'flowbite';\n\n/*\n* $targetEl: required\n* options: optional\n*/\nconst modal = new Modal($targetEl, options);\n{{< /code >}}\n\nUse the `show` and `hide` methods to show and hide the modal component directly from JavaScript.\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n{{< /code >}}\n\nUse the `toggle` method to toggle the visibility of the modal.\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// toggle the modal\nmodal.toggle();\n{{< /code >}}\n\nUse the `isHidden` or `isVisible` method to check if the modal is visible or not.\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// true if hidden\nmodal.isHidden();\n\n// true if visible\nmodal.isVisible();\n{{< /code >}}\n\nPlease take into consideration that for this example you also need to have the appropriate HTML markup available on the page where the JS is loaded:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n\n<!-- Main modal -->\n<div id=\"modalEl\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"modalEl\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /code >}}\n\nEach component that requires JavaScript is well documented on their respective pages under the \"JavaScript Behaviour\" section as described above.\n\n## Data attributes\n\nThe recommended and quickest way of using Flowbite is to use the data attributes interface that automatically creates instances and behaviour for the UI components by applying inline data attributes to the HTML elements, thus making them interactive via the Flowbite JavaScript API.\n\nAll of the examples on the Flowbite Docs already have the data attributes applied and they are also documented just above the component preview. \n\nHere's an example of how you can set up the modal behaviour and apply \"show\" and \"hide\" actions:\n\n{{< example github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n<!-- Modal toggle -->\n<button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"default-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-4 md:space-y-6 py-4 md:py-6\">\n                <p class=\"leading-relaxed text-body\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"leading-relaxed text-body\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center border-t border-default space-x-4 pt-4 md:pt-5\">\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">I accept</button>\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n{{< /example >}}\n\nIn order to create a modal with Tailwind CSS you only have to add `data-modal-target=\"modalId\"` data attribute where `modalId` is the ID of the modal that you are targeting.\n\nIf you want to toggle the visibility, show, or hide the modal you can use the following data attributes where the value is the unique ID of the modal component:\n\n- `data-modal-toggle=\"modalID\"` - toggle the modal\n- `data-modal-show=\"modalID\"` - show the modal\n\nThis is just one example that shows you how Flowbite leverages the data attributes and sets up the JavaScript API, without having to create new instances of the objects yourself.\n\n## Init functions\n\nIf you want to programmatically call the initialisation functions when using data attributes (for example, you might want to call it after the DOM re-rendered) then you can use the `initFlowbite()` function or the separate component initialisation functions such as `initModals()` or `initDropdowns()` wherever you want in your JS code:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.html\" >}}\n<script type=\"application/javascript\">\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\ninitFlowbite();\n</script>\n{{< /code >}}\n\nBasically, the `initFlowbite()` function parses your DOM for all of the data attributes and creates new instances of the appropriate components like modals or dropdowns and sets up the behaviour of the examples from the Flowbite Docs - applying the functionality of showing and hiding the components such as hiding the modal when clicking on the \"X\" (close) button.\n\n## Instance manager\n\nSince version `2.0.0`, the Flowbite JS API also provides a way to globally access all of the instances even if they were created via the data attributes interface. This allows you to programmatically handle the components while also giving you the possibility to use the recommended and quick way of accessing the data attributes interface and UI component examples.\n\nAfter the window has loaded and the UI components from Flowbite have been initialised (either via CDN or the `initFlowbite()` function) you can use the following global object and methods to get access to the object instances:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nwindow.addEventListener('load', function() {\n    const modal = FlowbiteInstances.getInstance('Modal', 'modal-id');\n})\n{{< /code >}}\n\nAs you can see, the `FlowbiteInstances` global object has two main parameters:\n\n- the first parameter is the component type which can be `Modal`, `Carousel`, `Dropdown` (ie. the name of the object class)\n- the second parameter is the target ID or parent ID of the main element and it's always a string\n\nIf you provide the wrong category or ID then the console will give you a warning.\n\nIf you have provided the correct category and element ID then you can now access the object as if you've created it yourself and work with it programmatically via JavaScript:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n{{< /code >}}\n\nYou can even remove the instance from the instance manager:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// remove the instance object from the global FlowbiteInstances manager\nmodal.removeInstance();\n{{< /code >}}\n\nYou can also both destroy and remove the instance at the same time:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nmodal.destroyAndRemoveInstance();\n{{< /code >}}\n\nThis in turn will basically remove the object instance from the global `flowbiteStorage` instance manager - you might want to do this if you want to reset certain elements from the DOM in single page applications.\n\nAnother example if you want to show or hide a tooltip that was created via data attributes would be:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nconst tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-id');\n{{< /code >}}\n\nAnd now you can show or hide the tooltip programmatically:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// show the tooltip\ntooltip.show();\n\n// hide the tooltip\ntooltip.hide();\n{{< /code >}}\n\nYou can call the `destroy()` and `init()` methods to re-calculate the positioning of the tooltip:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n// destroy the tooltip event listeners\ntooltip.destroy();\n\n// re-init the tooltip object and event listeners\ntooltip.init();\n\n// show the tooltip\ntooltip.show();\n{{< /code >}}\n\nA component is added to the `flowbiteStorage` global instance manager automatically when it's created via the `constructor` method of the object class, regardless of which component is being used from Flowbite.\n\nFinally, you can also access all of the instances by calling the following method:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nFlowbiteInstances.getAllInstances();\n{{< /code >}}\n\nAlternatively, you can also get all of the instances from one component pool such as from the modals:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nFlowbiteInstances.getInstances('Modal');\n{{< /code >}}\n\n## Instance options\n\nWhen creating a new object you can also use the last parameter to set the `instanceOptions` object through which you can set custom options for the Instance manager:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nimport type { InstanceOptions } from 'flowbite';\n\nconst instanceOptions: InstanceOptions = {\n    id: \"my-unique-id\",\n    override: true,\n};\n\nconst modal = new Modal($targetEl, options, instanceOptions);\n{{< /code >}}\n\nIn this example, the ID of the instance that you can get it from the `FlowbiteInstances` global instance manager object will be `my-unique-id` instead of the `$targetEl` unique ID.\n\nThis can be used to override existing instances if you want to re-initialise the same component with different options, such as when using the collapse object for the same object ID.\n\nIn our default UI components we use this when we want to toggle the mobile navigation both with the hamburger menu icon and the search icon, even though the target element is the same.\n\n## TypeScript support\n\nFlowbite has support for type declarations of the Flowbite JS API which helps you to keep your code more maintainable and predictable by giving you safety constraints for the parameters and object methods that you're using through your application.\n\nLearn more about Flowbite and TypeScript in the [introduction guide](https://flowbite.com/docs/getting-started/typescript/).\n\n## Frameworks support\n\nYou can use all of the JS frameworks for the UI components that don't require JavaScript to function (such as buttons, badges, cards) and for the UI components that require JS to work you need to set up the `initFlowbite()` function whenever the DOM has rendered so that you can re-apply the event listeners and object instances to the HTML elements that have data attributes. Otherwise, you need to create the objects and set the event listeners yourself.\n\nWe have written integration guides for all major front-end and back-end frameworks - generally we have standalone libraries for the major front-end frameworks such as [Flowbite React](https://www.flowbite-react.com/), [Flowbite Svelte](https://www.flowbite-svelte.com/), and [Flowbite Vue](https://flowbite-vue.com/).\n\nFor all of the back-end frameworks we recommend the vanilla JS version of Flowbite which integrates very well with frameworks such as [Laravel](https://flowbite.com/docs/getting-started/laravel/), [Django](https://flowbite.com/docs/getting-started/django/), or [Flask](https://flowbite.com/docs/getting-started/flask/).\n"
  },
  {
    "path": "content/getting-started/laravel.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Laravel - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite in a Laravel PHP project and start building modern websites with the most popular PHP framework in the world\ngroup: getting-started\ntoc: true\nrequires_laravel: true\n\nprevious: Qwik\npreviousLink: getting-started/qwik/\nnext: Symfony\nnextLink: getting-started/symfony/\n---\n\nLaravel is the most popular free and open-source PHP web framework that helps you build modern web applications and API's based on a model-view-controller (MVC) programming architecture. It's an iteration of the [Symfony](https://flowbite.com/docs/getting-started/symfony/) framework and it's being used by millions of developers and companies around the world.\n\nCheck out this guide to learn how to set up a new Laravel project together with Tailwind CSS and the UI components from Flowbite to enhance your front-end development workflow.\n\n## Create a Laravel app\n\nMake sure that you have <a href=\"https://getcomposer.org/\" rel=\"nofollow\">Composer</a> and <a href=\"https://nodejs.org/en/\" rel=\"nofollow\">Node.js</a> installed locally on your computer.\n\nFollow the next steps to install Tailwind CSS and Flowbite with Laravel Mix. \n\n1. Require the Laravel Installer globally using Composer:\n\n{{< code lang=\"bash\" >}}\ncomposer global require laravel/installer\n{{< /code >}}\n\nMake sure to place the vendor bin directory in your PATH. Here's how you can do it based on each OS:\n\n- macOS: `export PATH=\"$PATH:$HOME/.composer/vendor/bin\"`\n- Windows: `set PATH=%PATH%;%USERPROFILE%\\AppData\\Roaming\\Composer\\vendor\\bin`\n- Linux: `export PATH=\"~/.config/composer/vendor/bin:$PATH\"`\n\n2. Create a new project using Laravel's CLI:\n\n{{< code lang=\"bash\" >}}\nlaravel new flowbite-app\ncd flowbite-app\n{{< /code >}}\n\nStart the development server using the following command:\n\n{{< code lang=\"bash\" >}}\ncomposer run dev\n{{< /code >}}\n\nYou can now access the Laravel application on `http://localhost:8000`.\n\nThis command will initialize a blank Laravel project that you can get started with.\n\n## Install Tailwind CSS\n\nSince Laravel 12, the latest version of Tailwind v4 will be installed by default, so if you have that version or later then you can skip this step and proceed with installing Flowbite.\n\n1. Install Tailwind CSS using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/vite --save-dev\n{{< /code >}}\n\n2. Configure the `vite.config.ts` file by importing the Tailwind plugin:\n\n{{< code lang=\"javascript\" file=\"vite.config.ts\" icon=\"file\" >}}\nimport { defineConfig } from 'vite'\nimport tailwindcss from '@tailwindcss/vite'\nexport default defineConfig({\n  plugins: [\n    tailwindcss(),\n    // …\n  ],\n})\n{{< /code >}}\n\n3. Import the main Tailwind directive inside your `app.css` CSS file:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n5. Run the build process for Vite using `npm run dev`. Use `npm run build` for production builds.\n\n## Install Flowbite\n\n[Flowbite](https://flowbite.com) is a popular and open-source UI component library built on top of the Tailwind CSS framework that allows you to choose from a wide range of UI components such as modals, drawers, buttons, dropdowns, datepickers, and more to make your development workflow faster and more efficient.\n\nFollow the next steps to install Flowbite using NPM.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `app.css` CSS file:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\n5. Add the Flowbite JS script inside your main `app.blade.php` layout file:\n\n{{< code lang=\"html\" file=\"app.blade.php\" icon=\"file\" >}}\n<body>\n    @yield('content')\n\n    <script src=\"https://cdn.jsdelivr.net/npm/flowbite@4.0.1/dist/flowbite.min.js\"></script>\n</body>\n{{< /code >}}\n\nThis will have the JavaScript loaded in all the files that extend this main layout.\n\n## UI components\n\nNow that you have successfully installed the project you can start using the UI components from Flowbite and Tailwind CSS to develop modern websites and web applications.\n\nWe recommend exploring the components using the search bar navigation (`cmd` or `ctrl` + `k`) or by browsing the components section of the sidebar on the left side of this page.\n\n## Laravel starter project\n\nDownload or clone the [Flowbite Laravel](https://github.com/themesberg/tailwind-laravel-starter) Github boilerplate repository to get access to a project that already has Laravel, Tailwind CSS, and Flowbite set up for development.\n\nFor even more resources and UI components you can check out [Flowbite Pro](https://flowbite.com/pro/)."
  },
  {
    "path": "content/getting-started/license.md",
    "content": "---\nlayout: docs\ntitle: Flowbite - License\ndescription: Learn more about the licensing terms for Flowbite and Tailwind CSS\ngroup: getting-started\ntoc: true\n\nprevious: LLM\npreviousLink: getting-started/llm/\nnext: Changelog\nnextLink: getting-started/changelog/\n---\n\n## Copyright\n\nThe Flowbite name and logos are trademarks of Bergside Inc. Learn more about the [Flowbite Brand Guideline](https://flowbite.com/brand/).\n\n## Released code\n\nThe released code is licensed under the [MIT license](https://github.com/themesberg/flowbite/blob/main/README.md).\n\nCopyright (c) Themesberg (Bergside Inc.)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Documentation\n\nThe docs code is licensed under the [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/).\n\nAttribution: the documentation code was initially forked from [Bootstrap](https://github.com/twbs/bootstrap) created by the [Bootstrap authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter Inc.](https://twitter.com/) and changes have been made since then to adapt to the Tailwind CSS and Flowbite ecosystem and technologies.\n\n## Pro version\n\nThe pro version is licensed under the [EULA](https://flowbite.com/license/) from our website."
  },
  {
    "path": "content/getting-started/llm.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS AI and LLM - Flowbite\ndescription: Learn how to integrate Flowbite and Tailwind CSS with any LLM interface such as OpenAI, Anthropic, or Gemini to leverage the power of AI and LLMs in your web applications\ngroup: getting-started\ntoc: true\n\nprevious: MCP Server\npreviousLink: getting-started/mcp/\nnext: License\nnextLink: getting-started/license/\n---\n\nYou can use Flowbite and Tailwind CSS together to generate UIs and integrate them into your own tech stack using LLMs and AI tools such as Windsurf or Cursor based on AI models from OpenAI, Anthropic, Gemini and more. We provide a basic `llms.txt` based on the [LLMs standard](https://llmstxt.org/) that you can use to feed data.\n\nLLMs and AI integration tools are now a standard way of working in the web industry and it can drastically improve your workflow and productivity. We recommend using our UI library and resources as a stable base for your AI integration.\n\nAI still has shortcomings and limitations and it is not a replacement for human work. However, that doesn't mean you can't leverage it to generate UIs and components faster and more efficiently.\n\n## API routes for LLMs\n\nThe LLMs files are hosted on the following routes on Flowbite:\n\n- `https://raw.githubusercontent.com/themesberg/flowbite/refs/heads/main/llms.txt` - this is the main file that you can use to feed data to your AI tools\n- `https://raw.githubusercontent.com/themesberg/flowbite/refs/heads/main/llms-full.txt` - this is the full file that is much larger and contains more data\n\nOn a general level, the first file should be enough for LLMs that are able to parse the web.\n\n## Markdown files\n\nOur documentation is hosted on GitHub and you can parse the markdown files directly too:\n\n- `https://github.com/themesberg/flowbite/blob/main/content/components/accordion.md` - this is an example of a documentation file for the accordion component\n- `https://github.com/themesberg/flowbite/blob/main/content/getting-started/angular.md` - this is a documentation file for the Angular integration guide\n\nWe recommend checking out the [content folder](https://github.com/themesberg/flowbite/tree/main/content) from GitHub to view all documentation files.\n\n## Implementation examples\n\nYou can use the following code examples to implement LLMs in your web application:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\nasync function getLLMData() {\n    const response = await fetch('https://raw.githubusercontent.com/themesberg/flowbite/refs/heads/main/llms.txt');\n    const data = await response.text();\n    return data;\n}\n\nconsole.log(await getLLMData());\n{{< /code >}}\n\n## Flowbite AI\n\nWe are currently working on a Flowbite AI feature that will allow you to generate UIs and components using AI models from OpenAI, Anthropic, Gemini and more. One of the features will be to convert your Figma designs into code and generate components using Flowbite and Tailwind CSS.\n\nIf you'd like to be notified when the Flowbite AI feature is available, please sign up below to our newsletter."
  },
  {
    "path": "content/getting-started/mcp-ui.md",
    "content": "---\nlayout: docs\ntitle: MCP UI - Build MCP apps with Flowbite\ndescription: Learn how create and install an MCP application that can be used to build apps for ChatGPT, Claude, Gemini, and any other MCP client and leverage the UI components from Flowbite\ngroup: getting-started\ntoc: true\n\nprevious: HUGO\npreviousLink: getting-started/hugo/\nnext: Configuration\nnextLink: customize/configuration/\n---\n\nMCP UI is the standard SDK that you can use to deliver MCP apps which can be used as applications for ChatGPT, Gemini, Claude, and other MCP clients like Cursor or Windsurf. [Model Context Protocol](https://modelcontextprotocol.io/docs/getting-started/intro) (MCP) is part of the Agentic AI Foundation donated by Anthropic in 2025 and it is one of the fastest growing open-source projects in the AI category with over 100 million monthly SDK downloads.\n\nIn this guide you will learn how to create an MCP app using Flowbite and Skybridge and start developing application for ChatGPT, Claude, Gemini and any other AI client that uses the MCP standard. After setting up the project you'll be able to integrate any UI component and theme from the Flowbite documentation inside your MCP application.\n\nWe decided to use the [Skybridge](https://github.com/alpic-ai/skybridge) framework to build MCP apps and we are using the UI components from [Flowbite](https://flowbite.com/).\n\n<iframe width=\"100%\" class=\"my-8 rounded-lg shadow-lg yt-video\" src=\"https://www.youtube.com/embed/t9KRwktrZyk?si=eo2EOgOJd0ha1NWI\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>\n\n## Create new MCP app\n\nThe first step is to create a new MCP application and start developing locally:\n\n1. Download or clone the [MCP UI Starter](https://github.com/themesberg/mcp-ui-starter/) repository:\n\n{{< code lang=\"bash\" >}}\ngit clone https://github.com/themesberg/mcp-ui-starter.git\n{{< /code >}}\n\n2. Install dependencies using NPM, PNPM, Yarn or Bun:\n\n{{< code lang=\"bash\" >}}\nnpm install\n{{< /code >}}\n\n3. Run a local development server:\n\n{{< code lang=\"bash\" >}}\nnpm run dev --use-forwarded-host\n{{< /code >}}\n\nThis command will run a local server on `http://localhost:3000` and will create the following:\n\n- the main MCP server on the `/mcp` endpoint\n- a collection of widgets built with Flowbite and React used as tools\n\n## Connect with NGROK\n\nIn order to expose the server to AI clients such as ChatGPT, Gemini or Claude we need to host the MCP server.\n\nInstall `ngrok` on your computer using Homebrew and run the following command:\n\n{{< code lang=\"bash\" >}}\nngrok http 3000\n{{< /code >}}\n\nThis will host the MCP server on a URL similar to this one:\n\n{{< code lang=\"bash\" >}}\n# this is just an example\nhttps://3785c5ddc4b6.ngrok-free.app/mcp\n{{< /code >}}\n\nYou will now be able to use this URL to create an application for ChatGPT, Claude, Gemini, and for any MCP clients.\n\nDon't forget to add the `/mcp` endpoint to the URL generated by NGROK.\n\n## Install on AI providers\n\nUse the following guides to connect your MCP app to major AI providers like ChatGPT, Claude, and Gemini.\n\n### ChatGPT apps\n\nMake sure that you have a paid plan to create an application on ChatGPT.\n\n1. Go to Settings > Connectors\n2. Scroll down and click on \"Advanced Settings\"\n3. Enable Developer mode\n4. Go back to the Settings > Connectors page, and click on \"Create in the Browser Connectors\"\n5. Add a custom connector with the MCP Server URL: `[NGROK_FORWARDING_URL]/mcp`\n6. Click on \"Create to add the MCP server as a Connector\"\n7. To use your connector in the chat, click \"+\"\" then \"More\" and select it.\n\n### Claude Web\n\nMake sure that you have a paid plan to create an application on Claude.\n\n1. Go to Settings > Connectors\n2. Find the \"Connectors\" section\n3. Click on \"Add custom connector\" at the bottom of the section\n4. Add your connector's remote MCP server URL: [NGROK_FORWARDING_URL]/mcp\n5. Finish configuring your connector and click \"Add\"\n6. To enable connectors, use the \"Search and tools button\" on the lower left of the chat interface.\n\n### Gemini CLI\n\nRun the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\ngemini mcp add --transport http <server-name> \"[NGROK_FORWARDING_URL]/mcp\"\n{{< /code >}}\n\nUse `/mcp` in the Gemini CLI terminal to view your recently added MCP server status and discovered tools.\n\n### Cursor\n\nAdd your MCP server to Cursor by opening the `mcp.json` file and configure it using `mcpServers`.\n\n{{< code lang=\"bash\" >}}\n{\n  \"mcpServers\": {\n    \"<server-name>\": {\n      \"type\": \"http\",\n      \"url\": \"[NGROK_FORWARDING_URL]/mcp\"\n    }\n  }\n}\n{{< /code >}}\n\n### VS Code\n\nTo add your MCP server to VS Code you need to open the `.vscode/mcp.json` file and configure `servers`.\n\n{{< code lang=\"bash\" >}}\n{\n  \"servers\": {\n    \"<server-name>\": {\n      \"type\": \"http\",\n      \"url\": \"[NGROK_FORWARDING_URL]/mcp\"\n    }\n  }\n}\n{{< /code >}}\n\n### Claude Code\n\nMCP servers are stored at `~/.claude.json` in Claude Code. Use the CLI to add your MCP app:\n\n{{< code lang=\"bash\" >}}\nclaude mcp add --transport http <server-name> \"[NGROK_FORWARDING_URL]/mcp\"\n{{< /code >}}\n\n### Mistral AI\n\n1. Open the side panel and expand Intelligence > Connectors\n2. Click \"+ Add Connector\" on the right side of the page\n3. In the MCP Connectors directory, click the \"Custom MCP Connector tab\"\n4. Enter a name for the connector and the following server URL: `[NGROK_FORWARDING_URL]/mcp`\n5. Finish configuring your connector and click \"Create\"\n6. To use the connector, click the \"Tools\" button below the chat input and enable it in the \"Connectors\" section.\n\n### Codex\n\nMCP servers in Codex are located at `~/.codex/config.toml` and you can install your MCP app using the CLI:\n\n{{< code lang=\"bash\" >}}\ncodex mcp add <server-name> --url \"[NGROK_FORWARDING_URL]/mcp\"\n{{< /code >}}\n\n## Create a widget\n\nCreating a new widget means setting up the server side where we can set up the input data that comes from the AI client (which is the user prompt itself) and the web component which is the front-end widget where we show the output (such as a chart, data table, or just text).\n\n### Server component\n\nIf you want to create a new widget yourself, then first create a new file inside the `server/src/widgets` folder and add the following code that creates a basic server side tool which returns a string as output:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"widgets/basic-text-server.tsx\" >}}\nimport { z } from \"zod\";\n\n// Basic Answer widget configuration\nexport const basicTextWidget = {\n  name: \"basic-text\" as const,\n  metadata: {\n    description: \"Basic Text\",\n  },\n  toolConfig: {\n    description: \"Show a text message based on a question.\",\n    inputSchema: {\n      question: z.string().describe(\"The user's question.\"),\n    },\n  },\n  handler: async () => {\n    try {\n      const answer = \"Hello, world!\";\n      return {\n        structuredContent: { answer },\n        content: [],\n        isError: false,\n      };\n    } catch (error) {\n      return {\n        content: [{ type: \"text\" as const, text: `Error: ${error}` }],\n        isError: true,\n      };\n    }\n  },\n};\n{{< /code >}}\n\n### Web component\n\nThen create the front-end part of the widget inside the `web/src/widgets` folder where you can use React code to create the markup of the widget and use the server data, which in this case is a basic text coming from our server component:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"web/src/widgets/basic-text.tsx\" >}}\nimport \"@/index.css\";\n\nimport { mountWidget } from \"skybridge/web\";\nimport { useToolInfo } from \"../helpers\";\n\nfunction BasicTextWidget() {\n  const { input, output } = useToolInfo<\"basic-text\">();\n  if (!output) {\n    return (\n      <div role=\"status\">\n          <svg aria-hidden=\"true\" className=\"w-8 h-8 text-neutral-tertiary animate-spin fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n              <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n              <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n          </svg>\n          <span className=\"sr-only\">Loading...</span>\n      </div>\n    );\n  }\n\n  return (\n    <div className=\"p-4 space-y-2\">\n      <p className=\"text-body\"><strong>Question:</strong> {input.question}</p>\n      <p className=\"text-body\"><strong>Answer:</strong> {output.answer}</p>\n    </div>\n  );\n}\n\nexport default BasicTextWidget;\n\nmountWidget(<BasicTextWidget />);\n{{< /code >}}\n\nFinally, register the widget in the `server.ts` file:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"server.ts\" >}}\nimport { McpServer } from \"skybridge/server\";\nimport { basicTextWidget } from \"./widgets/basic-text-server.js\";\n\nconst server = new McpServer(\n  {\n    name: \"mcp-ui-components\",\n    version: \"0.0.1\",\n  },\n  { capabilities: {} }\n)\n  .registerWidget(\n    basicTextWidget.name,\n    basicTextWidget.metadata,\n    basicTextWidget.toolConfig,\n    basicTextWidget.handler\n  )\n{{< /code >}}\n\n## Customize theming\n\nFlowbite allows you to easily customize the appearance of the UI components from the MCP apps by using the [theming options](https://flowbite.com/docs/customize/theming/) based on CSS variables from Tailwind.\n\nSelect one of the predefined themes from Flowbite or customize the variables yourself in the `index.css` file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"index.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n<!-- ## Build for production\n\n## Host your MCP app -->"
  },
  {
    "path": "content/getting-started/mcp.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS MCP Server - Flowbite\ndescription: Get started with the official MCP server for Flowbite to integrate UI components into your AI development workflow from Cursor, Windsurf, Claude and other MCP client providers\ngroup: getting-started\ntoc: true\n\nprevious: TypeScript\npreviousLink: getting-started/typescript/\nnext: LLM\nnextLink: getting-started/llm/\n---\n\nMCP (Model-Context-Protocol) is a new way to structure a communication protocol between MCP servers (Flowbite MCP) and MCP clients (ie. Windsurf, Cursor). It enables adding additional context to your AI development workflow by integrating resources and tools specific to your project.\n\nFlowbite MCP is an open-source server that adds the right amount of context to the LLM providers which improves the quality of UI generation in code - whether it's HTML, React, Svelte, or other frameworks.\n\nAdditionally, we also developed tools to convert Figma layers to code relevant to your codebase using Flowbite and Tailwind CSS and also other tools such as generating theme files based on branded colors.\n\n## Install Flowbite MCP\n\nThe easiest way to install the Flowbite MCP is using NPX:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-mcp\n{{< /code >}}\n\nYou can also run `npx flowbite-mcp --help` to show a list of helpful options.\n\n## Requirements\n\nIf you want to use the Figma to code converter tool, you need to get a [personal access token](https://help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens) from Figma and set it as an environment variable. Otherwise, Flowbite MCP is specifically built for a project that would use Tailwind CSS, Flowbite and optionally Figma for prototyping.\n\n## Configuring MCP client\n\nAn MCP client is a software tool such as Cursor, Windsurf or Claude Code that you use for AI development.\n\nMost of these tools supports MCP servers out of the box and you need to update a JSON file that contains the configuration for the MCP servers.\n\n### Cursor\n\n[![Install MCP Server](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=flowbite&config=eyJlbnYiOnsiRklHTUFfQUNDRVNTX1RPS0VOIjoiWU9VUl9QRVJTT05BTF9GSUdNQV9BQ0NFU1NfVE9LRU4ifSwiY29tbWFuZCI6Im5weCAteSBmbG93Yml0ZS1tY3AifQ%3D%3D)\n\nCursor is one of the most popular IDEs for AI development for software engineers and web development. \n\nTo set up Flowbite MCP with Cursor, open the `mcp.json` and add the following configuration:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"mcp.json\" >}}\n{\n  \"mcpServers\": {\n    \"flowbite\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"flowbite-mcp\"],\n      \"env\": {\n        \"FIGMA_ACCESS_TOKEN\": \"YOUR_PERSONAL_FIGMA_ACCESS_TOKEN\"\n      }\n    }\n  }\n}\n{{< /code >}}\n\n### Windsurf\n\nWindsurf is the second most popular IDE for AI development and the configuration is similar to Cursor. \n\nUpdate the `mcp_config.json` file with the following configuration:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"mcp_config.json\" >}}\n{\n  \"mcpServers\": {\n    \"flowbite\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"flowbite-mcp\"],\n      \"env\": {\n        \"FIGMA_ACCESS_TOKEN\": \"YOUR_PERSONAL_FIGMA_ACCESS_TOKEN\"\n      }\n    }\n  }\n}\n{{< /code >}}\n\n### Claude Code\n\nTo install Flowbite MCP in Claude Desktop you need to configure the `claude_desktop_config.json` file:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"mcp_config.json\" >}}\n{\n  \"mcpServers\": {\n    \"flowbite\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"flowbite-mcp\"],\n      \"env\": {\n        \"FIGMA_ACCESS_TOKEN\": \"YOUR_PERSONAL_FIGMA_ACCESS_TOKEN\"\n      }\n    }\n  }\n}\n{{< /code >}}\n\nIf you'd like to request a new integration or have any questions, please open an issue on our [GitHub repository](https://github.com/themesberg/flowbite-mcp).\n\n## Flowbite MCP tools\n\nUse the tools from Flowbite MCP to enhance your AI development workflow.\n\n### Convert Figma to code\n\nWith Flowbite MCP you can now convert [Figma layers](https://flowbite.com/figma/) to code by prompting any AI provider. \n\nCurrently, we recommend either Gemini 3, GPT 5 or Sonnet 4.5 for the highest quality code conversions and based on the complexity of the designs, you need to follow up with \"reparation prompts\".\n\nHere's a prompt example that you can use to convert Figma design to code:\n\n{{< code lang=\"html\" file=\"Chat interface\" >}}\nuse flowbite mcp to convert this figma <FIGMA_NODE_LINK> to code\n{{< /code >}}\n\nNote: to get the node link from Figma, all you need to do is:\n\n1. Select the Figma layer in your project\n2. Right click and select `Copy/paste as`\n3. Select `Copy link to selection`\n\nWe recommend using the offical [Flowbite Design System](https://flowbite.com/figma/) as a solid foundation for your UI generation.\n\n### Generate theme file\n\nSince we released [theming support](https://flowbite.com/docs/customize/theming/) for Flowbite by providing a better way to customize UI using variables we also built a tool in Flowbite MCP to generate a theme file based on a brand color and a general description of the UI that you'd like to use in your project.\n\nHere's a prompt example that you can use:\n\n{{< code lang=\"html\" file=\"Chat interface\" >}}\nuse flowbite mcp to generate a theme file using the \"#0000FF\" brand color\nand create a professional, enterprise, clean looking UI (ie. Jira, Facebook)\n{{< /code >}}\n\n## Local development\n\nIf you'd like to extend Flowbite MCP or contribute to the project, you can run it locally as a server.\n\nWe recommend cloning the repository from GitHub, installing the dependencies, building and then running the server.\n\nUsing the native MCP inspector tool can also be a great way to debug and test the server.\n\n{{< code lang=\"bash\" >}}\n# Clone the repository\ngit clone https://github.com/themesberg/flowbite-mcp.git\ncd flowbite-mcp\n\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Run in stdio mode (for Claude Desktop, Cursor)\nnpm start\n\n# Run inspector\nnpm run start inspector\n{{< /code >}}\n\n### Transport modes\n\nFlowbite MCP supports both stdio and http transport modes if you want to run it locally as a server.\n\nUse the `--mode` option to set either `http` or `stdio` transport mode.\n\n{{< code lang=\"bash\" >}}\n# Run in HTTP server mode for production\nnpx flowbite-mcp --mode http --port 3000\n{{< /code >}}\n\nAdditionally, you can also set the `--port` option to choose a different port for the HTTP server.\n\n### Docker configuration\n\nFlowbite MCP also has a Docker configuration file that you can use to run it as a container.\n\n{{< code lang=\"bash\" >}}\n# Build and run with Docker Compose (recommended)\ndocker-compose up -d\n\n# Check health\ncurl http://localhost:3000/health\n\n# View logs\ndocker-compose logs -f\n\n# Stop\ndocker-compose down\n{{< /code >}}\n\n## Contributing\n\n[Flowbite MCP](https://github.com/themesberg/flowbite-mcp) is open-source under the MIT license and contributions are more than welcome to the project."
  },
  {
    "path": "content/getting-started/meteor-js.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Meteor.js - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Meteor.js project to build full-stack JavaScript or TypeScript web, mobile, and desktop applications\ngroup: getting-started\ntoc: true\nrequires_meteorjs: true\n\nprevious: Remix\npreviousLink: getting-started/remix/\nnext: Gatsby\nnextLink: getting-started/gatsby/\n---\n\n[Meteor.js](https://meteor.com/) is a full-stack JavaScript platform for developing modern web and mobile applications. Meteor includes a key set of technologies for building connected-client reactive applications, a build tool, and a curated set of packages from the Node.js and general JavaScript community.\n\n- Meteor allows you to develop in one language, JavaScript, in all environments: application server, web browser, and mobile device.\n\n- Meteor uses data on the wire, meaning the server sends data, not HTML, and the client renders it.\n\n- Meteor embraces the ecosystem, bringing the best parts of the extremely active JavaScript community to you in a careful and considered way.\n\n- Meteor provides full stack reactivity, allowing your UI to seamlessly reflect the true state of the world with minimal development effort.\n\nUsing both Meteor.js, Tailwind CSS and Flowbite can help you get started building modern UI web applications by leveraging the extensive framework features of Meteor.js, the utility-first approach of the Tailwind CSS framework and the open-source UI components from the Flowbite Library.\n\n## Getting started\n\nThe fastest way to get started is using our project creation CLI, which sets up a new Meteor project with Flowbite React, Tailwind CSS, and all necessary configurations.\n\n## Create a Meteor.js project\n\nUse the following command from the Flowbite React CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nnpx create-flowbite-react@latest -t meteorjs\n{{< /code >}}\n\nThis will create a new Meteor project, install and configure Tailwind CSS, set up Flowbite React and its dependencies, configure dark mode and also add example components for you to get started.\n\n## Add to existing project\n\nIf you already have a Meteor project and want to add Flowbite React, you can use our initialization CLI:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command will install Flowbite React and configure Tailwind with the Flowbite plugin.\n\n## Custom installation\n\nIf you prefer to set everything up manually or need more control over the configuration, follow these steps.\n\n### Create a project\n\nThe first step is to create a new Meteor.js project using their CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nmeteor create meteor-project\ncd meteor-project\n{{< /code >}}\n\nIf you prefer using TypeScript, then add the `--typescript` flag to the command:\n\n{{< code lang=\"bash\" >}}\nmeteor create meteor-project --typescript\ncd meteor-project\n{{< /code >}}\n\nNow that you have a new Meteor.js project, you can proceed with installing Tailwind CSS.\n\n### Install Tailwind CSS\n\nThe next step is to now install Tailwind CSS (v4) using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install -D tailwindcss @tailwindcss/postcss postcss postcss-load-config\n{{< /code >}}\n\nCreate a `postcss.config.mjs` file inside the root directory of your Meteor.js project:\n\n{{< code lang=\"bash\" >}}\ntouch postcss.config.mjs\n{{< /code >}}\n\nAdd `@tailwindcss/postcss` to your `postcss.config.mjs` file:\n\n{{< code lang=\"javascript\" file=\"postcss.config.mjs\" icon=\"file\" >}}\n/** @type {import('postcss-load-config').Config} */\nconst config = {\n    plugins: {\n        '@tailwindcss/postcss': {},\n    },\n};\nexport default config;\n{{< /code >}}\n\nUpdate the css file `client/main.css` to include Tailwind CSS:\n\n{{< code lang=\"css\" file=\"client/main.css\" icon=\"file\" >}}\n@import 'tailwindcss';\n{{< /code >}}\n\nNow that you have installed and configured Tailwind CSS, you can now proceed with installing Flowbite React.\n\n### Install Flowbite React\n\nTo easily install Flowbite React you can use our official CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command installs Flowbite React and configures it with Tailwind CSS.\n\n## React components\n\nNow that you have succesfully installed Flowbite React, Meteor.js and Tailwind CSS you can start using our components such as buttons, dropdowns, modal, navbars, and more:\n\n{{< code lang=\"javascript\" file=\"imports/ui/App.tsx\" icon=\"file\" >}}\n// imports/ui/App.tsx (or .jsx)\nimport { Button } from 'flowbite-react';\nimport React from 'react';\n\nexport const App = () => (\n    <>\n        <Button>Click me</Button>\n    </>\n);\n{{< /code >}}\n\nCheck out the [official documentation](https://flowbite-react.com) to learn more about the components and how to use them.\n\n## Theme customization\n\nFlowbite React offers an advanced system of customizing your components and templates using the new [theming engine](https://flowbite-react.com/docs/customize/theme). You can style components by directly using the `className` attribute of the component, but also by passing a theme object to the `<ThemeProvider>` component.\n\nFor example, here is a simple way you can update a button component:\n\n{{< code lang=\"javascript\" file=\"App.tsx\" icon=\"file\" >}}\nimport { Button } from \"flowbite-react\";\n\nfunction App() {\n  return <Button className=\"bg-red-500 hover:bg-red-600\">Custom Button</Button>;\n}\n{{< /code >}}\n\nAdditionally, you can also use the `createTheme` helper to create a theme object that you can then pass on to the `<ThemeProvider>` component with which you can style subcomponents too:\n\n{{< code lang=\"javascript\" file=\"App.tsx\" icon=\"file\" >}}\nimport { Button, createTheme, ThemeProvider } from \"flowbite-react\";\n\nconst customTheme = createTheme({\n  button: {\n    color: {\n      primary: \"bg-red-500 hover:bg-red-600\",\n      secondary: \"bg-blue-500 hover:bg-blue-600\",\n    },\n    size: {\n      lg: \"px-6 py-3 text-lg\",\n    },\n  },\n});\n\nfunction App() {\n  return (\n    <ThemeProvider theme={customTheme}>\n      <Button color=\"primary\">Red Button</Button>\n      <Button color=\"secondary\" size=\"lg\">\n        Large Blue Button\n      </Button>\n    </ThemeProvider>\n  );\n}\n{{< /code >}}\n\n## Open-source community\n\nThe Flowbite React UI library is a free, open-source project licensed under MIT. You can access the source code on [GitHub](https://github.com/themesberg/flowbite-react) and collaborate with our developer community to contribute.\n\n## Support development\n\nIf you’d like to support our open-source work, consider exploring the [pro version](https://flowbite.com/pro/) of Flowbite, which includes 400+ components and templates, a Figma design system, an admin dashboard, and more."
  },
  {
    "path": "content/getting-started/next-js.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Next.js - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Next.js project and start developing with the most popular React-based framework built by Vercel\ngroup: getting-started\ntoc: true\nrequires_nextjs: true\n\nprevious: React\npreviousLink: getting-started/react/\nnext: Vue\nnextLink: getting-started/vue/\n---\n\n[Next.js](https://nextjs.org/) is a popular web development framework based on the React library that enables server-side rendering and generating static websites improving development time and website performance.\n\nThis technology is being used by hundreds of thousands of developers and companies such as Vercel, Netflix, TikTok, Twitch, Hulu, Nike and HBO Max since its original release in 2016.\n\n## Getting started\n\nThe fastest way you can get started with Flowbite React and Next.js is by using our project creation CLI.\n\n## Create a Next.js project\n\nUse the following command to create a new Next.js project:\n\n{{< code lang=\"bash\" >}}\nnpx create-flowbite-react@latest -t nextjs\n{{< /code >}}\n\nThis will create a new project configured with Next.js,Tailwind CSS (v4) and Flowbite React and it also sets up the dark mode configuration and a couple of example components.\n\n## Add to existing project\n\nIf you already have a Next.js project and want to add Flowbite React, you can use our initialization CLI:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command will install Flowbite React and its dependencies, configure Tailwind CSS to include Flowbite React plugin, and set up necessary configurations.\n\n## Custom installation\n\nIf you prefer to set everything up manually or need more control over the configuration, follow these steps:\n\n### Create new project\n\nUse the CLI toolkit from Vercel to create a new Next.js project and include Tailwind CSS when prompted:\n\n{{< code lang=\"bash\" >}}\nnpx create-next-app@latest\n{{< /code >}}\n\nNow you can proceed with installing the Flowbite React UI component library.\n\n### Install Flowbite React\n\nYou can easily install Flowbite React by using the official CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis will install Flowbite React with all dependencies and configures Tailwind to include the Flowbite plugin.\n\n### Adding dark mode\n\nIf you want to properly configure dark mode and prevent page flickering before hydration, then you need to add the `ThemeModeScript` to your root layout.\n\nAdd the following code to the app router:\n\n{{< code lang=\"javascript\" file=\"app/layout.tsx\" icon=\"file\" >}}\n// app/layout.tsx\nimport { ThemeModeScript } from 'flowbite-react';\n\nexport default function RootLayout({ children }) {\n    return (\n        <html suppressHydrationWarning>\n            <head>\n                <ThemeModeScript />\n            </head>\n            <body>{children}</body>\n        </html>\n    );\n}\n{{< /code >}}\n\nAnd the following code to the page router:\n\n{{< code lang=\"javascript\" file=\"pages/_document.tsx\" icon=\"file\" >}}\n// pages/_document.tsx\nimport { ThemeModeScript } from 'flowbite-react';\n\nexport default function Document() {\n    return (\n        <Html suppressHydrationWarning>\n            <Head>\n                <ThemeModeScript />\n            </Head>\n            <body>\n                <Main />\n                <NextScript />\n            </body>\n        </Html>\n    );\n}\n{{< /code >}}\n\nCongratulations! You have now installed and configured Flowbite React in your Next.js application.\n\n## Next.js components\n\nNow that you have successfully installed Flowbite React you can start using the components from the library:\n\n{{< code lang=\"javascript\" file=\"app/page.tsx\" icon=\"file\" >}}\n// app/page.tsx\nimport { Button } from 'flowbite-react';\n\nexport default function Page() {\n    return <Button>Click me</Button>;\n}\n{{< /code >}}\n\nYou can check out all of the UI components from the [Flowbite React](https://flowbite-react.com) library.\n\n## Theme customization\n\nFlowbite React offers an advanced system of customizing your components and templates using the new [theming engine](https://flowbite-react.com/docs/customize/theme). You can style components by directly using the `className` attribute of the component, but also by passing a theme object to the `<ThemeProvider>` component.\n\nFor example, here is a simple way you can update a button component:\n\n{{< code lang=\"javascript\" file=\"app.tsx\" icon=\"file\" >}}\nimport { Button } from \"flowbite-react\";\n\nfunction App() {\n  return <Button className=\"bg-red-500 hover:bg-red-600\">Custom Button</Button>;\n}\n{{< /code >}}\n\nAdditionally, you can also use the `createTheme` helper to create a theme object that you can then pass on to the `<ThemeProvider>` component with which you can style subcomponents too:\n\n{{< code lang=\"javascript\" file=\"app.tsx\" icon=\"file\" >}}\nimport { Button, createTheme, ThemeProvider } from \"flowbite-react\";\n\nconst customTheme = createTheme({\n  button: {\n    color: {\n      primary: \"bg-red-500 hover:bg-red-600\",\n      secondary: \"bg-blue-500 hover:bg-blue-600\",\n    },\n    size: {\n      lg: \"px-6 py-3 text-lg\",\n    },\n  },\n});\n\nfunction App() {\n  return (\n    <ThemeProvider theme={customTheme}>\n      <Button color=\"primary\">Red Button</Button>\n      <Button color=\"secondary\" size=\"lg\">\n        Large Blue Button\n      </Button>\n    </ThemeProvider>\n  );\n}\n{{< /code >}}\n\n## Open-source community\n\nThe Flowbite React UI library is a free and open-source project under the MIT license. You can find the source code on [GitHub](https://github.com/themesberg/flowbite-react) and contribute to the project together with our community of developers.\n\n## Support development\n\nIf you would like to support our open-source work, then you can check out the [pro version](https://flowbite.com/pro/) of Flowbite which brings you over 400+ components and templates, a Figma design system, admin dashboard, and more."
  },
  {
    "path": "content/getting-started/nuxt-js.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Nuxt - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Nuxt 3 project and start developing with the most popular Vue-based framework inspired by Next.js\ngroup: getting-started\ntoc: true\nrequires_nuxtjs: true\n\nprevious: Vue\npreviousLink: getting-started/vue/\nnext: Svelte\nnextLink: getting-started/svelte/\n---\n\n[Nuxt](https://nuxt.com/) is a free and open-source JavaScript framework based on Vue.js that helps you develop modern web applications using SSR (server-side rendering) which provides a faster load, better SEO (search engine optimization), and better caching capabilities.\n\nThe framework was inspired by Vercel's Next.js framework built with React and it is being used by large companies such as Ecosia, Upwork, NASA, Appsumo, and CDN JS.\n\nIf you follow this guide you will learn how to install the latest version 3 of Nuxt with Tailwind CSS v4 and Flowbite and also show you how to use the TypeScript version.\n\n## Create a Nuxt project\n\nBefore continuing make sure that you have Node.js and NPM installed on your local machine.\n\n1. Create a new Nuxt project by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpx nuxi init flowbite-app\ncd flowbite-app\n{{< /code >}}\n\n2. Install the project dependencies by executing the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install\n{{< /code >}}\n\n3. Run the following command to start a local development server on `http://localhost:3000/`:\n\n{{< code lang=\"bash\" >}}\nnpm run dev\n{{< /code >}}\n\nThis will make the Nuxt project accessible via the browser.\n\n## Install Tailwind CSS\n\nNow that you have locally set up a Nuxt project we will proceed by installing Tailwind CSS.\n\n1. Require and install the NuxtTailwind module by installing it via NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/vite --save\n{{< /code >}}\n\n2. Configure the Nuxt configuration file to include the Tailwind module:\n\n{{< code lang=\"javascript\" file=\"nuxt.config.ts\" icon=\"file\" >}}\nimport tailwindcss from \"@tailwindcss/vite\";\n\nexport default defineNuxtConfig({\n  devtools: { enabled: true },\n  css: ['~/assets/css/input.css'], // you'll have to create this file\n  vite: {\n    plugins: [\n      tailwindcss(),\n    ],\n  },\n});\n{{< /code >}}\n\n3. Create a new CSS file `./assets/css/input.css` and import Tailwind:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\nTailwind CSS is now configured in your project and if you add the utility classes anywhere in your Vue template files the CSS will be generated and included.\n\n## Install Flowbite\n\nAfter installing both Nuxt and Tailwind CSS inside your project we can proceed by installing Flowbite.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\n## Flowbite components\n\nNow that you have successfully installed Nuxt, Tailwind CSS and Flowbite you can start importing and using components from the open-source library of [Flowbite](https://flowbite.com) such as modals, navbars, tables, dropdowns, and more.\n\nLet's use the <a href=\"{{< ref \"components/modal\" >}}#javascript-behaviour\">Modal component</a> as an example and copy-paste the markup from the documentation inside your `app.vue` page:\n\n{{< code lang=\"html\" file=\"app.vue\" icon=\"file\" >}}\n<template>\n    <div>\n        <div class=\"flex justify-center p-4\">\n            <button id=\"button\" data-modal-toggle=\"modal\" data-modal-target=\"modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Show modal</button>\n        </div>\n        <div id=\"modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n            <div class=\"relative w-full max-w-2xl max-h-full\">\n                <!-- Modal content -->\n                <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                    <!-- Modal header -->\n                    <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                        <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                            Terms of Service\n                        </h3>\n                        <button id=\"closeButton\" data-modal-hide=\"modal\" type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                            <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>  \n                        </button>\n                    </div>\n                    <!-- Modal body -->\n                    <div class=\"p-6 space-y-6\">\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                        </p>\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                        </p>\n                    </div>\n                    <!-- Modal footer -->\n                    <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                        <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                        <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</template>\n{{< /code >}}\n\n### Data attributes\n\nYou can automatically make the interactive components work by importing the init functions from the Flowbite package using the onMounted lifecycle method from Nuxt.\n\nWhen using Flowbite you need to make sure that the client side JavaScript is executed only after the page is fully loaded. This is why we recommend you to create a `useFlowbite.js` file inside the `composables` folder:\n\n{{< code lang=\"javascript\" file=\"useFlowbite.js\" icon=\"file\" >}}\n// composables/useFlowbite.js\n\nexport function useFlowbite(callback) {\n  if (process.client) {\n    import('flowbite').then((flowbite) => {\n      callback(flowbite);\n    });\n  }\n}\n{{< /code >}}\n\n**Important**: if you are using SSR make sure that this is the only way you're importing Flowbite in your Nuxt application to prevent the document object not being available on the server side.\n\nThen you can import the `useFlowbite` function inside your Nuxt page and use it to initialize the components:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { useFlowbite } from '~/composables/useFlowbite';\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    useFlowbite(() => {\n        initFlowbite();\n    })\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n{{< /code >}}\n\nAlternatively, here's a full list of available functions to use to initialise the components separately:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { useFlowbite } from '~/composables/useFlowbite';\nimport { \n    initAccordions, \n    initCarousels, \n    initCollapses, \n    initDials, \n    initDismisses, \n    initDrawers, \n    initDropdowns, \n    initModals, \n    initPopovers, \n    initTabs, \n    initTooltips } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    useFlowbite(() => {\n        initAccordions();\n        initCarousels();\n        initCollapses();\n        initDials();\n        initDismisses();\n        initDrawers();\n        initDropdowns();\n        initModals();\n        initPopovers();\n        initTabs();\n        initTooltips();\n    })\n})\n</script>\n{{< /code >}}\n\nAlthough this will make sure all of the interactive components will work with data attributes from Flowbite, we actually recommend only initializing the ones that you use for every page to optimize load speed.\n\nCheck out the [starter guide's](https://github.com/themesberg/tailwind-nuxt-starter) `Events.vue` file to see it in action.\n\n### JavaScript API\n\nTo make the component interactive we need to import the Modal object from Flowbite and set up the object parameters, options, and methods to show or hide the modal based on the button click.\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { Modal } from 'flowbite'\nimport { useFlowbite } from '~/composables/useFlowbite';\n\nonMounted(() => {\n    useFlowbite(() => {\n        // setup available elements\n        const $buttonElement = document.querySelector('#button');\n        const $modalElement = document.querySelector('#modal');\n        const $closeButton = document.querySelector('#closeButton');\n\n        // set modal options\n        const modalOptions = {\n            backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40'\n        }\n\n        // create a new modal instance\n        if ($modalElement) {\n            const modal = new Modal($modalElement, modalOptions);\n\n            // set event listeners for the button to show the modal\n            $buttonElement.addEventListener('click', () => modal.toggle());\n            $closeButton.addEventListener('click', () => modal.hide());\n\n        }\n    })\n})\n</script>\n{{< /code >}}\n\nAs you can see we use the onMounted() lifecycle method from Vue 3 to query for the elements that we need to create a modal component and then programmatically use the methods such as showing or hiding the modal.\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\n// add your own logic and then show the modal\nmodal.show();\n\n// or you can hide it\nmodal.hide();\n{{< /code >}}\n\nEvery interactive component page that requires JavaScript has documentation on Flowbite showing you the available parameters, options, and methods that you can use.\n\n### Using types\n\nFlowbite also supports TypeScript as of v1.6.0 and it allows us to use type declarations and interfaces for the objects, parameters, and option values for the JavaScript API.\n\nYou can import these types or interfaces like this:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\n// other code\n{{< /code >}}\n\nGenerally speaking, all of the components have an interface definition that you can use whenever you create a new object to make sure that you’re using the correct types of parameters and methods.\n\nWhen creating a new modal you can set the ModalInterface as the main type:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n{{< /code >}}\n\nAll of the Flowbite components also support type declaration for the options object. Here's an example:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n{{< /code >}}\n\nUsing types can be very beneficial because it makes sure that you only use the allowed types and values for the options that are available. For example, if you used a value such as `yellow` for the placement object, which is a color, TypeScript will throw an error because it does not meet the type requirements from Flowbite.\n\nHere's the full code using types with TypeScript:\n\n{{< code lang=\"javascript\" file=\"app.vue\" icon=\"file\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\nconst $buttonElement: HTMLElement = document.querySelector('#button');\nconst $modalElement: HTMLElement = document.querySelector('#modal');\n\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n$buttonElement.addEventListener('click', () => modal.toggle());\n\nmodal.show();\n{{< /code >}}\n\nLearn more about using <a href=\"{{< ref \"getting-started/typescript\" >}}#javascript-behaviour\">Flowbite with TypeScript</a> on the official docs page.\n\n## Nuxt Starter Project\n\nWe have created a free and open-source [Tailwind CSS and Nuxt starter project](https://github.com/themesberg/tailwind-nuxt-starter) showcasing all of the interactive UI components from Flowbite to help you get started building web applications.\n\n## Flowbite Vue Library\n\nWe also started working on a [standalone Flowbite Vue 3 UI component library](https://github.com/themesberg/flowbite-vue) which when launched in a stable version will be the recommended way of working in a Vue 3 or Nuxt environment. Contributions are more than welcome!"
  },
  {
    "path": "content/getting-started/phoenix.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Phoenix (Elixir) - Flowbite\ndescription: Learn how to install Flowbite with Phoenix and Tailwind CSS to start building rich and interactive web applications based on the Elixir programming language\ngroup: getting-started\ntoc: true\nrequires_phoenix: true\n\nprevious: Ruby on Rails\npreviousLink: getting-started/rails/\nnext: Django\nnextLink: getting-started/django/\n---\n\n[Phoenix](https://www.phoenixframework.org/) is a popular open-source web development framework based on the Elixir programming language that leverages the Model-View-Controller (MVC) architecture and it can be a viable alternative compared to other back-end framework languages such as Ruby on Rails, Django, or even Flask.\n\nThe Phoenix framework and the Elixir programming language are used by quite a few well-established companies and websites such as Pinterest, Moz, Financial Times, Toyota, and even Discord.\n\nBy following this guide you will learn how to create a new Phoenix project powered by Elixir, install and set up the Tailwind CSS framework, and finally install Flowbite to leverage the open-source UI components.\n\n## Requirements\n\nBefore getting started you need to have both [Elixir](https://elixir-lang.org/), the [Hex](https://hex.pm/) package manager, the [PostgreSQL](https://www.postgresql.org/) relational database server and [Node.js](https://nodejs.org/) installed on your local computer to be able to follow through this guide.\n\n### Install Elixir\n\nIf you're using macOS you can use Homebrew to install Elixir in your terminal:\n\n{{< code lang=\"bash\" >}}\nbrew install elixir\n{{< /code >}}\n\nAlternatively, if you're on a Windows device you can install Elixir using Scoop:\n\n{{< code lang=\"bash\" >}}\nscoop install erlang\nscoop install elixir\n{{< /code >}}\n\nYou can run `elixir -v` in your terminal to confirm that Elixir has been successfully installed.\n\nRead more about the [Elixir installation guide](https://elixir-lang.org/install.html) for more details if needed.\n\n### Install Hex\n\nMake sure that the Hex package manager is also available. Install it by running the following command:\n\n{{< code lang=\"bash\" >}}\nmix local.hex\n{{< /code >}}\n\nIf you already had Hex locally installed this command will upgrade it to the latest version.\n\n### Install PostgreSQL\n\nTo install the open-source PostgreSQL (optional) relational database server we recommend checking out the official [installation guides](https://wiki.postgresql.org/wiki/Detailed_installation_guides) where you can learn how to install the software based on your operating system and device.\n\nIf you have Homebrew available you can install PostgreSQL via the terminal:\n\n{{< code lang=\"bash\" >}}\nbrew install postgresql\n{{< /code >}}\n\nAlternatively, you can also use Scoop if you're running on a Windows device:\n\n{{< code lang=\"bash\" >}}\nscoop install postgresql\n{{< /code >}}\n\nAfter you've installed PostgreSQL you need to start the server:\n\n{{< code lang=\"bash\" >}}\nbrew services start postgresql\n{{< /code >}}\n\nAdditionally, you can connect via the terminal using:\n\n{{< code lang=\"bash\" >}}\npsql postgres\n{{< /code >}}\n\nNow that you have PostgreSQL installed we can proceed with the other requirements.\n\n### App generator\n\nNow that you have both Elixir and Hex installed you need to set up the Phoenix application generator by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nmix archive.install hex phx_new\n{{< /code >}}\n\nMake sure that you press \"Yes\" to all prompts.\n\n## Create a Phoenix project\n\nNow that you have all of the required languages and tools installed you can create a new Phoenix project.\nThis command will create a fresh installation of a Phoenix application with a folder structure that already includes examples of the MVC pattern including controllers, view templates, and data models.\n\nUsing the application generator, you can create a new Phoenix project and make sure that you press \"Yes\" when prompted to install the local dependencies.\n\nUse this command if you have Postgresql installed:\n\n{{< code lang=\"bash\" >}}\n# requires Postgres installed on your machine\nmix phx.new my_app\ncd my_app/\n{{< /code >}}\n\nAlternatively, use the command below to create a Phoenix project without database configurations or generate a project configured with SQLite:\n\n{{< code lang=\"bash\" >}}\n# Create Phoenix project without database\nmix phx.new my_app --no-ecto\ncd my_app/\n{{< /code >}}\n\nOr use this command to set up a database with SQLite preconfigured:\n\n{{< code lang=\"bash\" >}}\n# Create Phoenix project with SQLite\nmix phx.new my_app --database sqlite3\ncd my_app/\n{{< /code >}}\n\nThis command will create a fresh installation of a Phoenix application with a folder structure that already includes examples of the MVC pattern including controllers, view templates, and data models.\n\n2. Run the command below to setup your generated Phoenix project:\n\n{{< code lang=\"bash\" >}}\nmix setup\n{{< /code >}}\n\nIf you used a command that generates a Phoenix project with database configurations, make sure that you have a `postgres` SUPERUSER and a `postgres` database. You can create them first by running the following SQL command while logged into PostgreSQL via the terminal by running `psql postgres`:\n\n{{< code lang=\"bash\" >}}\nCREATE USER postgres SUPERUSER;\nCREATE DATABASE postgres WITH OWNER postgres;\nexit\n{{< /code >}}\n\nThe `mix ecto.setup` will create a new database for your Phoenix application.\n\n3. Create a local server by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nmix phx.server\n{{< /code >}}\n\nThis will make the Phoenix project available via the browser on `http://localhost:4000`.\n\n## Install Tailwind CSS\n\n[Tailwind CSS](https://tailwindcss.com) is a popular and open-source utility-first CSS framework that allows you to use a huge collection of utility classes directly inside your HTML without having to touch your CSS or create class name constructs - allowing you to focus on developing websites fast and efficiently.\n\nIf you are installing [Phoenix version 1.7](https://phoenixframework.org/blog/phoenix-1.7-final-released) or later you can skip this part and go directly to the Flowbite installation guide because Tailwind CSS is automatically configured.\n\n1. Install the Tailwind plugin inside the `mix.exs` file:\n\n{{< code lang=\"elixir\" file=\"mix.exs\" icon=\"file\" >}}\ndefp deps do\n[\n    # other dependencies\n    {:tailwind, \"~> 0.1\", runtime: Mix.env() == :dev}\n]\nend\n{{< /code >}}\n\n2. Configure the input and output files inside the `config.exs` file:\n\n{{< code lang=\"elixir\" file=\"config.exs\" icon=\"file\" >}}\nconfig :tailwind, version: \"3.2.7\", default: [\n  args: ~w(\n    --config=tailwind.config.js\n    --input=css/app.css\n    --output=../priv/static/assets/app.css\n  ),\n  cd: Path.expand(\"../assets\", __DIR__)\n]\n{{< /code >}}\n\nYou can also set the version of Tailwind CSS that you want to download.\n\n3. Integrate the compilation of Tailwind CSS on deployment inside `mix.esx`:\n\n{{< code lang=\"elixir\" file=\"mix.exs\" icon=\"file\" >}}\ndefp aliases do\n    [\n      # other scripts\n      \"assets.deploy\": [\"tailwind default --minify\", \"esbuild default --minify\", \"phx.digest\"],\n    ]\nend\n{{< /code >}}\n\n4. Inside your `dev.exs` file set up a watcher to compile Tailwind CSS:\n\n{{< code lang=\"elixir\" file=\"dev.exs\" icon=\"file\" >}}\nwatchers: [\n    # other watchers\n    tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]}\n]\n{{< /code >}}\n\n5. Install the official Tailwind CLI and generate a `tailwind.config.js` file:\n\n{{< code lang=\"bash\" >}}\nmix tailwind.install\n{{< /code >}}\n\nYou may have to run `mix deps.get` if the command doesn't install Tailwind CSS right away.\n\n6. Remove the default CSS styles and import the Tailwind directives inside the `./assets/css/app.css` file:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n7. Restart the server using `mix phx.server` and add some Tailwind CSS classes inside the `index.html.heex` file:\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n<section class=\"bg-neutral-secondary\">\n  <h1 class=\"text-4xl font-medium text-fg-brand\"><%= gettext \"Welcome to %{name}!\", name: \"Phoenix\" %></h1>\n  <p>Peace of mind from prototype to production</p>\n</section>\n{{< /code >}}\n\nYou can now use a collection of open-source UI components based on Tailwind CSS from the [Flowbite Library](https://flowbite.com/docs/getting-started/introduction/) and website sections from the [Flowbite Blocks](https://flowbite.com/blocks/) collection including CRUD layouts, marketing sections, blog layouts, and more.\n\nNow that you have installed both Phoenix and Tailwind CSS we can proceed by installing Flowbite to enable interactivity for the UI components from Flowbite based on JavaScript.\n\n## Install Flowbite\n\n### ESBuild\n\n[Flowbite](https://flowbite.com) is a free and open-source ecosystem of UI component libraries that use the utility-first classes from Tailwind CSS to leverage building interactive, accessible, and commonly used UI components such as dropdowns, navbars, modals, datepickers that can help you build websites even faster.\n\n1. Create a `package.json` file using `npm init` inside the `./assets/` folder and then install the Flowbite package using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n5. Finally, import the Flowbite JS package inside the default `./assets/js/app.js` file.\n   \nBecause of how Phoenix LiveView works, you will need to import a version of Flowbite which supports the `phx:page-loading-stop` event listeners instead of `load`. \n\nThis will enable the interactive elements like dropdowns, modals, and navbars to work by hooking the event listeners and actions to the data attributes whenever a new LiveView page is loaded, after `navigate`, `patch` or `redirect`.\n\nTo do this add the line below to your `app.js` file:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\n// ...\n\nimport \"flowbite/dist/flowbite.phoenix.js\";\n\n// other Phoenix packages\n{{< /code >}}\n### Include via CDN\n\nAlternatively to all of the above you can also include the JavaScript via CDN:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n// include via CDN\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.phoenix.min.js\"></script>\n{{< /code >}}\n\nThis will work for both LiveViews and regular Views.\n\n\nYou can also check out the [Flowbite Quickstart](https://flowbite.com/docs/getting-started/quickstart/) guide to learn how you can set up the Javascript using CDN, via bundling or even using TypeScript.\n\n\n## Flowbite components\n\nNow that we have a Phoenix project with Tailwind CSS and Flowbite installed we can finally leverage the three technologies to build websites. \n\nIn this section, you will learn how to set up a landing page using the [Flowbite Blocks](https://flowbite.com/blocks/) collection that relies on the open-source Flowbite Library UI components.\n\n1. Go to the `root.html.heex` file and change the default `<header>` tag with a [Flowbite Header](https://flowbite.com/blocks/marketing/header/) component:\n\n{{< code lang=\"html\" file=\"root.html.heex\" icon=\"file\" >}}\n<header>\n    <nav class=\"bg-white border-gray-200 px-4 lg:px-6 py-2.5 dark:bg-gray-800\">\n        <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto\">\n            <a href=\"https://flowbite.com\" class=\"flex items-center\">\n                <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 mr-3 sm:h-9\" alt=\"Flowbite Logo\" />\n                <span class=\"self-center text-xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n            </a>\n            <div class=\"flex items-center lg:order-2\">\n                <a href=\"#\" class=\"text-gray-800 dark:text-white hover:bg-gray-50 focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 mr-2 dark:hover:bg-gray-700 focus:outline-none dark:focus:ring-gray-800\">Log in</a>\n                <a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 mr-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get started</a>\n                <button data-collapse-toggle=\"mobile-menu-2\" type=\"button\" class=\"inline-flex items-center p-2 ml-1 text-sm text-gray-500 rounded-lg lg:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mobile-menu-2\" aria-expanded=\"false\">\n                    <span class=\"sr-only\">Open main menu</span>\n                    <svg class=\"w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z\" clip-rule=\"evenodd\"></path></svg>\n                    <svg class=\"hidden w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n                </button>\n            </div>\n            <div class=\"items-center justify-between hidden w-full lg:flex lg:w-auto lg:order-1\" id=\"mobile-menu-2\">\n                <ul class=\"flex flex-col mt-4 font-medium lg:flex-row lg:space-x-8 lg:mt-0\">\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-white bg-blue-700 rounded-sm lg:bg-transparent lg:text-blue-700 lg:p-0 dark:text-white\" aria-current=\"page\">Home</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Company</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Features</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Team</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                    </li>\n                </ul>\n            </div>\n        </div>\n    </nav>\n</header>\n{{< /code >}}\n\nIf you check out your browser you'll see the component at the top part of your page with an already responsive hamburger menu on mobile devices.\n\n2. Let's find a [hero section](https://flowbite.com/blocks/marketing/hero/) from the Flowbite Blocks collection and add it inside the `index.html.heex` file:\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"max-w-screen-xl px-4 py-8 mx-auto text-center lg:py-16 lg:px-12\">\n        <a href=\"#\" class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-gray-600 bg-gray-100 rounded-full mb-7 dark:bg-gray-800 dark:text-white hover:bg-gray-200 dark:hover:bg-gray-700\" role=\"alert\">\n            <span class=\"text-xs bg-blue-600 rounded-full text-white px-4 py-1.5 mr-3\">New</span> <span class=\"text-sm font-medium\">Flowbite is out! See what's new</span>\n            <svg class=\"w-5 h-5 ml-2\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\" clip-rule=\"evenodd\"></path></svg>\n        </a>\n        <h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 xl:px-48 dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col mb-8 space-y-4 lg:mb-16 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-4\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                Learn more\n                <svg class=\"w-5 h-5 ml-2 -mr-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n            </a>\n            <a href=\"#\" class=\"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-gray-900 border border-gray-300 rounded-lg hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:text-white dark:border-gray-700 dark:hover:bg-gray-700 dark:focus:ring-gray-800\">\n                <svg class=\"w-5 h-5 mr-2 -ml-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z\"></path></svg>\n                Watch video\n            </a>\n        </div>\n        <div class=\"px-4 mx-auto text-center md:max-w-screen-md lg:max-w-screen-lg lg:px-36\">\n            <span class=\"font-semibold text-gray-400 uppercase\">FEATURED IN</span>\n            <div class=\"flex flex-wrap items-center justify-center mt-8 text-gray-500 sm:justify-between\">\n                <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                    <svg class=\"h-8\" viewBox=\"0 0 132 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M39.4555 5.17846C38.9976 3.47767 37.6566 2.13667 35.9558 1.67876C32.8486 0.828369 20.4198 0.828369 20.4198 0.828369C20.4198 0.828369 7.99099 0.828369 4.88379 1.64606C3.21571 2.10396 1.842 3.47767 1.38409 5.17846C0.566406 8.28567 0.566406 14.729 0.566406 14.729C0.566406 14.729 0.566406 21.2051 1.38409 24.2796C1.842 25.9804 3.183 27.3214 4.88379 27.7793C8.0237 28.6297 20.4198 28.6297 20.4198 28.6297C20.4198 28.6297 32.8486 28.6297 35.9558 27.812C37.6566 27.3541 38.9976 26.0131 39.4555 24.3123C40.2732 21.2051 40.2732 14.7618 40.2732 14.7618C40.2732 14.7618 40.3059 8.28567 39.4555 5.17846Z\" fill=\"currentColor\"/>\n                        <path d=\"M16.4609 8.77612V20.6816L26.7966 14.7289L16.4609 8.77612Z\" fill=\"white\"/>\n                        <path d=\"M64.272 25.0647C63.487 24.5413 62.931 23.7237 62.6039 22.5789C62.2768 21.4669 62.1133 19.9623 62.1133 18.1307V15.6122C62.1133 13.7479 62.3095 12.2434 62.6693 11.0986C63.0618 9.95386 63.6505 9.13618 64.4355 8.61286C65.2532 8.08954 66.2998 7.82788 67.6081 7.82788C68.8837 7.82788 69.9304 8.08954 70.7153 8.61286C71.5003 9.13618 72.0564 9.98657 72.4161 11.0986C72.7759 12.2107 72.9722 13.7152 72.9722 15.6122V18.1307C72.9722 19.995 72.8086 21.4669 72.4488 22.6116C72.0891 23.7237 71.533 24.5741 70.7481 25.0974C69.9631 25.6207 68.8837 25.8824 67.5427 25.8824C66.169 25.8496 65.057 25.588 64.272 25.0647ZM68.6875 22.3172C68.9164 21.7612 69.0146 20.8127 69.0146 19.5371V14.1077C69.0146 12.8648 68.9164 11.949 68.6875 11.3603C68.4585 10.7715 68.0988 10.5099 67.5427 10.5099C67.0194 10.5099 66.6269 10.8043 66.4307 11.3603C66.2017 11.949 66.1036 12.8648 66.1036 14.1077V19.5371C66.1036 20.8127 66.2017 21.7612 66.4307 22.3172C66.6269 22.8733 67.0194 23.1676 67.5754 23.1676C68.0987 23.1676 68.4585 22.906 68.6875 22.3172Z\" fill=\"currentColor\"/>\n                        <path d=\"M124.649 18.1634V19.0465C124.649 20.1586 124.682 21.009 124.748 21.565C124.813 22.121 124.944 22.5462 125.173 22.7752C125.369 23.0368 125.696 23.1677 126.154 23.1677C126.743 23.1677 127.135 22.9387 127.364 22.4808C127.593 22.0229 127.691 21.2706 127.724 20.1913L131.093 20.3875C131.125 20.5511 131.125 20.7473 131.125 21.009C131.125 22.6117 130.7 23.8218 129.817 24.6068C128.934 25.3918 127.691 25.7843 126.089 25.7843C124.159 25.7843 122.818 25.1628 122.033 23.9527C121.248 22.7425 120.855 20.8782 120.855 18.327V15.2852C120.855 12.6686 121.248 10.7715 122.066 9.56136C122.883 8.35119 124.257 7.76245 126.187 7.76245C127.528 7.76245 128.574 8.02411 129.294 8.51472C130.013 9.00534 130.504 9.79032 130.798 10.8042C131.093 11.8509 131.223 13.29 131.223 15.1216V18.098H124.649V18.1634ZM125.14 10.837C124.944 11.0986 124.813 11.4911 124.748 12.0471C124.682 12.6032 124.649 13.4536 124.649 14.5983V15.8412H127.528V14.5983C127.528 13.4863 127.495 12.6359 127.43 12.0471C127.364 11.4584 127.201 11.0659 127.004 10.837C126.808 10.608 126.481 10.4772 126.089 10.4772C125.631 10.4445 125.336 10.5753 125.14 10.837Z\" fill=\"currentColor\"/>\n                        <path d=\"M54.7216 17.8362L50.2734 1.71143H54.1656L55.7356 9.0052C56.1281 10.8041 56.4224 12.3414 56.6187 13.617H56.7168C56.8476 12.7011 57.142 11.1966 57.5999 9.0379L59.2353 1.71143H63.1274L58.6138 17.8362V25.5552H54.7543V17.8362H54.7216Z\" fill=\"currentColor\"/>\n                        <path d=\"M85.6299 8.15479V25.5878H82.5554L82.2283 23.4619H82.1302C81.3125 25.0645 80.0369 25.8822 78.3688 25.8822C77.2241 25.8822 76.3737 25.4897 75.8177 24.7375C75.2617 23.9852 75 22.8077 75 21.1723V8.15479H78.9249V20.9434C78.9249 21.7284 79.023 22.2844 79.1865 22.6115C79.3501 22.9385 79.6444 23.1021 80.0369 23.1021C80.364 23.1021 80.6911 23.004 81.0181 22.775C81.3452 22.5788 81.5742 22.3171 81.705 21.99V8.15479H85.6299Z\" fill=\"currentColor\"/>\n                        <path d=\"M105.747 8.15479V25.5878H102.673L102.346 23.4619H102.247C101.43 25.0645 100.154 25.8822 98.4861 25.8822C97.3413 25.8822 96.4909 25.4897 95.9349 24.7375C95.3788 23.9852 95.1172 22.8077 95.1172 21.1723V8.15479H99.0421V20.9434C99.0421 21.7284 99.1402 22.2844 99.3038 22.6115C99.4673 22.9385 99.7617 23.1021 100.154 23.1021C100.481 23.1021 100.808 23.004 101.135 22.775C101.462 22.5788 101.691 22.3171 101.822 21.99V8.15479H105.747Z\" fill=\"currentColor\"/>\n                        <path d=\"M96.2907 4.88405H92.3986V25.5552H88.5718V4.88405H84.6797V1.71143H96.2907V4.88405Z\" fill=\"currentColor\"/>\n                        <path d=\"M118.731 10.935C118.502 9.82293 118.11 9.03795 117.587 8.54734C117.063 8.05672 116.311 7.79506 115.395 7.79506C114.676 7.79506 113.989 7.99131 113.367 8.41651C112.746 8.809 112.255 9.36502 111.928 10.0192H111.896V0.828369H108.102V25.5552H111.34L111.732 23.9199H111.83C112.125 24.5086 112.582 24.9665 113.204 25.3263C113.825 25.6533 114.479 25.8496 115.232 25.8496C116.573 25.8496 117.521 25.2281 118.143 24.018C118.764 22.8078 119.091 20.8781 119.091 18.2942V15.5467C119.059 13.5516 118.96 12.0143 118.731 10.935ZM115.134 18.0325C115.134 19.3081 115.068 20.2893 114.97 21.0089C114.872 21.7285 114.676 22.2518 114.447 22.5461C114.185 22.8405 113.858 23.004 113.466 23.004C113.138 23.004 112.844 22.9386 112.582 22.7751C112.321 22.6116 112.092 22.3826 111.928 22.0882V12.2106C112.059 11.7527 112.288 11.3602 112.615 11.0331C112.942 10.7387 113.302 10.5752 113.662 10.5752C114.054 10.5752 114.381 10.7387 114.578 11.0331C114.807 11.3602 114.937 11.8835 115.036 12.6031C115.134 13.3553 115.166 14.402 115.166 15.743V18.0325H115.134Z\" fill=\"currentColor\"/>\n                    </svg>\n                </a>\n                <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                    <svg class=\"h-11\" viewBox=\"0 0 208 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M42.7714 20.729C42.7714 31.9343 33.6867 41.019 22.4814 41.019C11.2747 41.019 2.19141 31.9343 2.19141 20.729C2.19141 9.52228 11.2754 0.438965 22.4814 0.438965C33.6867 0.438965 42.7714 9.52297 42.7714 20.729Z\" fill=\"currentColor\"/>\n                        <path d=\"M25.1775 21.3312H20.1389V15.9959H25.1775C25.5278 15.9959 25.8747 16.0649 26.1983 16.1989C26.522 16.333 26.8161 16.5295 27.0638 16.7772C27.3115 17.0249 27.508 17.319 27.6421 17.6427C27.7761 17.9663 27.8451 18.3132 27.8451 18.6635C27.8451 19.0139 27.7761 19.3608 27.6421 19.6844C27.508 20.0081 27.3115 20.3021 27.0638 20.5499C26.8161 20.7976 26.522 20.9941 26.1983 21.1281C25.8747 21.2622 25.5278 21.3312 25.1775 21.3312ZM25.1775 12.439H16.582V30.2234H20.1389V24.8881H25.1775C28.6151 24.8881 31.402 22.1012 31.402 18.6635C31.402 15.2258 28.6151 12.439 25.1775 12.439Z\" fill=\"white\"/>\n                        <path d=\"M74.9361 17.4611C74.9361 16.1521 73.9305 15.3588 72.6239 15.3588H69.1216V19.5389H72.6248C73.9313 19.5389 74.9369 18.7457 74.9369 17.4611H74.9361ZM65.8047 28.2977V12.439H73.0901C76.4778 12.439 78.3213 14.7283 78.3213 17.4611C78.3213 20.1702 76.4542 22.4588 73.0901 22.4588H69.1216V28.2977H65.8055H65.8047ZM80.3406 28.2977V16.7362H83.3044V18.2543C84.122 17.2731 85.501 16.4563 86.9027 16.4563V19.3518C86.6912 19.3054 86.4349 19.2826 86.0851 19.2826C85.1039 19.2826 83.7949 19.8424 83.3044 20.5681V28.2977H80.3397H80.3406ZM96.8802 22.3652C96.8802 20.6136 95.8503 19.0955 93.9823 19.0955C92.1364 19.0955 91.1105 20.6136 91.1105 22.366C91.1105 24.1404 92.1364 25.6585 93.9823 25.6585C95.8503 25.6585 96.8794 24.1404 96.8794 22.3652H96.8802ZM88.0263 22.3652C88.0263 19.1663 90.2684 16.4563 93.9823 16.4563C97.7198 16.4563 99.962 19.1655 99.962 22.3652C99.962 25.5649 97.7198 28.2977 93.9823 28.2977C90.2684 28.2977 88.0263 25.5649 88.0263 22.3652ZM109.943 24.3739V20.3801C109.452 19.6316 108.378 19.0955 107.396 19.0955C105.693 19.0955 104.524 20.4265 104.524 22.366C104.524 24.3267 105.693 25.6585 107.396 25.6585C108.378 25.6585 109.452 25.1215 109.943 24.3731V24.3739ZM109.943 28.2977V26.5697C109.054 27.6899 107.841 28.2977 106.462 28.2977C103.637 28.2977 101.465 26.1499 101.465 22.3652C101.465 18.6993 103.59 16.4563 106.462 16.4563C107.793 16.4563 109.054 17.0177 109.943 18.1843V12.439H112.932V28.2977H109.943ZM123.497 28.2977V26.5925C122.727 27.4337 121.372 28.2977 119.526 28.2977C117.052 28.2977 115.884 26.9431 115.884 24.7473V16.7362H118.849V23.5798C118.849 25.1451 119.666 25.6585 120.927 25.6585C122.071 25.6585 122.983 25.028 123.497 24.3731V16.7362H126.463V28.2977H123.497ZM128.69 22.3652C128.69 18.9092 131.212 16.4563 134.67 16.4563C136.982 16.4563 138.383 17.4611 139.131 18.4886L137.191 20.3093C136.655 19.5153 135.838 19.0955 134.81 19.0955C133.011 19.0955 131.751 20.4037 131.751 22.366C131.751 24.3267 133.011 25.6585 134.81 25.6585C135.838 25.6585 136.655 25.1915 137.191 24.4203L139.131 26.2426C138.383 27.2702 136.982 28.2977 134.67 28.2977C131.212 28.2977 128.69 25.8456 128.69 22.3652ZM141.681 25.1915V19.329H139.813V16.7362H141.681V13.6528H144.648V16.7362H146.935V19.329H144.648V24.3975C144.648 25.1215 145.02 25.6585 145.675 25.6585C146.118 25.6585 146.541 25.495 146.702 25.3087L147.334 27.5728C146.891 27.9714 146.096 28.2977 144.857 28.2977C142.779 28.2977 141.681 27.2238 141.681 25.1915ZM165.935 28.2977V21.454H158.577V28.2977H155.263V12.439H158.577V18.5577H165.935V12.4398H169.275V28.2977H165.935ZM179.889 28.2977V26.5925C179.119 27.4337 177.764 28.2977 175.919 28.2977C173.443 28.2977 172.276 26.9431 172.276 24.7473V16.7362H175.241V23.5798C175.241 25.1451 176.058 25.6585 177.32 25.6585C178.464 25.6585 179.376 25.028 179.889 24.3731V16.7362H182.856V28.2977H179.889ZM193.417 28.2977V21.1986C193.417 19.6333 192.602 19.0963 191.339 19.0963C190.172 19.0963 189.285 19.7504 188.77 20.4045V28.2985H185.806V16.7362H188.77V18.1843C189.495 17.3439 190.896 16.4563 192.718 16.4563C195.217 16.4563 196.408 17.8573 196.408 20.0523V28.2977H193.418H193.417ZM199.942 25.1915V19.329H198.076V16.7362H199.943V13.6528H202.91V16.7362H205.198V19.329H202.91V24.3975C202.91 25.1215 203.282 25.6585 203.936 25.6585C204.38 25.6585 204.802 25.495 204.965 25.3087L205.595 27.5728C205.152 27.9714 204.356 28.2977 203.119 28.2977C201.04 28.2977 199.943 27.2238 199.943 25.1915\" fill=\"currentColor\"/>\n                    </svg>\n                </a>\n                <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                    <svg class=\"h-11\" viewBox=\"0 0 120 41\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                        <path d=\"M20.058 40.5994C31.0322 40.5994 39.9286 31.7031 39.9286 20.7289C39.9286 9.75473 31.0322 0.858398 20.058 0.858398C9.08385 0.858398 0.1875 9.75473 0.1875 20.7289C0.1875 31.7031 9.08385 40.5994 20.058 40.5994Z\" fill=\"currentColor\"/>\n                        <path d=\"M33.3139 20.729C33.3139 19.1166 32.0101 17.8362 30.4211 17.8362C29.6388 17.8362 28.9272 18.1442 28.4056 18.6424C26.414 17.2196 23.687 16.2949 20.6518 16.1765L21.9796 9.96387L26.2951 10.8885C26.3429 11.9793 27.2437 12.8567 28.3584 12.8567C29.4965 12.8567 30.4211 11.9321 30.4211 10.7935C30.4211 9.65536 29.4965 8.73071 28.3584 8.73071C27.5522 8.73071 26.8406 9.20497 26.5086 9.89271L21.6954 8.87303C21.553 8.84917 21.4107 8.87303 21.3157 8.94419C21.1972 9.01535 21.1261 9.13381 21.1026 9.27613L19.6321 16.1999C16.5497 16.2949 13.7753 17.2196 11.7599 18.6662C11.2171 18.1478 10.495 17.8589 9.74439 17.86C8.13201 17.86 6.85156 19.1639 6.85156 20.7529C6.85156 21.9383 7.56272 22.9341 8.55897 23.3849C8.51123 23.6691 8.48781 23.9538 8.48781 24.2623C8.48781 28.7197 13.6807 32.348 20.083 32.348C26.4852 32.348 31.6781 28.7436 31.6781 24.2623C31.6781 23.9776 31.6543 23.6691 31.607 23.3849C32.6028 22.9341 33.3139 21.9144 33.3139 20.729ZM13.4434 22.7918C13.4434 21.6536 14.368 20.729 15.5066 20.729C16.6447 20.729 17.5694 21.6536 17.5694 22.7918C17.5694 23.9299 16.6447 24.855 15.5066 24.855C14.368 24.8784 13.4434 23.9299 13.4434 22.7918ZM24.9913 28.2694C23.5685 29.6921 20.8653 29.7872 20.083 29.7872C19.2768 29.7872 16.5736 29.6683 15.1742 28.2694C14.9612 28.0559 14.9612 27.7239 15.1742 27.5105C15.3877 27.2974 15.7196 27.2974 15.9331 27.5105C16.8343 28.4117 18.7314 28.7197 20.083 28.7197C21.4346 28.7197 23.355 28.4117 24.2324 27.5105C24.4459 27.2974 24.7778 27.2974 24.9913 27.5105C25.1809 27.7239 25.1809 28.0559 24.9913 28.2694ZM24.6116 24.8784C23.4735 24.8784 22.5488 23.9538 22.5488 22.8156C22.5488 21.6775 23.4735 20.7529 24.6116 20.7529C25.7502 20.7529 26.6748 21.6775 26.6748 22.8156C26.6748 23.9299 25.7502 24.8784 24.6116 24.8784Z\" fill=\"white\"/>\n                        <path d=\"M108.412 16.6268C109.8 16.6268 110.926 15.5014 110.926 14.1132C110.926 12.725 109.8 11.5996 108.412 11.5996C107.024 11.5996 105.898 12.725 105.898 14.1132C105.898 15.5014 107.024 16.6268 108.412 16.6268Z\" fill=\"currentColor\"/>\n                        <path d=\"M72.5114 24.8309C73.7446 24.8309 74.4557 23.9063 74.4084 23.0051C74.385 22.5308 74.3373 22.2223 74.29 21.9854C73.5311 18.7133 70.8756 16.2943 67.7216 16.2943C63.9753 16.2943 60.9401 19.6853 60.9401 23.8586C60.9401 28.0318 63.9753 31.4228 67.7216 31.4228C70.0694 31.4228 71.753 30.5693 72.9622 29.2177C73.5549 28.5538 73.4365 27.5341 72.7249 27.036C72.1322 26.6329 71.3972 26.7752 70.8517 27.2256C70.3302 27.6765 69.3344 28.5772 67.7216 28.5772C65.825 28.5772 64.2126 26.941 63.8568 24.7832H72.5114V24.8309ZM67.6981 19.1637C69.4051 19.1637 70.8756 20.4915 71.421 22.3173H63.9752C64.5207 20.468 65.9907 19.1637 67.6981 19.1637ZM61.0824 17.7883C61.0824 17.0771 60.5609 16.5078 59.897 16.3894C57.8338 16.0813 55.8895 16.8397 54.7752 18.2391V18.049C54.7752 17.1717 54.0636 16.6267 53.3525 16.6267C52.5697 16.6267 51.9297 17.2667 51.9297 18.049V29.6681C51.9297 30.427 52.4985 31.0908 53.2574 31.1381C54.0875 31.1854 54.7752 30.5454 54.7752 29.7154V23.7162C54.7752 21.0608 56.7668 18.8791 59.5173 19.1876H59.802C60.5131 19.1399 61.0824 18.5233 61.0824 17.7883ZM109.834 19.306C109.834 18.5233 109.194 17.8833 108.412 17.8833C107.629 17.8833 106.989 18.5233 106.989 19.306V29.7154C106.989 30.4981 107.629 31.1381 108.412 31.1381C109.194 31.1381 109.834 30.4981 109.834 29.7154V19.306ZM88.6829 11.4338C88.6829 10.651 88.0429 10.011 87.2602 10.011C86.4779 10.011 85.8379 10.651 85.8379 11.4338V17.7648C84.8655 16.7924 83.6562 16.3182 82.2096 16.3182C78.4632 16.3182 75.4281 19.7091 75.4281 23.8824C75.4281 28.0557 78.4632 31.4466 82.2096 31.4466C83.6562 31.4466 84.8893 30.9485 85.8613 29.9761C85.9797 30.6405 86.5729 31.1381 87.2602 31.1381C88.0429 31.1381 88.6829 30.4981 88.6829 29.7154V11.4338ZM82.2334 28.6245C80.0518 28.6245 78.2971 26.5145 78.2971 23.8824C78.2971 21.2742 80.0518 19.1399 82.2334 19.1399C84.4151 19.1399 86.1698 21.2504 86.1698 23.8824C86.1698 26.5145 84.3912 28.6245 82.2334 28.6245ZM103.527 11.4338C103.527 10.651 102.887 10.011 102.104 10.011C101.322 10.011 100.681 10.651 100.681 11.4338V17.7648C99.7093 16.7924 98.5 16.3182 97.0534 16.3182C93.307 16.3182 90.2719 19.7091 90.2719 23.8824C90.2719 28.0557 93.307 31.4466 97.0534 31.4466C98.5 31.4466 99.7327 30.9485 100.705 29.9761C100.824 30.6405 101.416 31.1381 102.104 31.1381C102.887 31.1381 103.527 30.4981 103.527 29.7154V11.4338ZM97.0534 28.6245C94.8717 28.6245 93.1174 26.5145 93.1174 23.8824C93.1174 21.2742 94.8717 19.1399 97.0534 19.1399C99.235 19.1399 100.99 21.2504 100.99 23.8824C100.99 26.5145 99.235 28.6245 97.0534 28.6245ZM117.042 29.7392V19.1637H118.299C118.963 19.1637 119.556 18.6656 119.603 17.9779C119.651 17.2428 119.058 16.6267 118.347 16.6267H117.042V14.6347C117.042 13.8758 116.474 13.2119 115.715 13.1646C114.885 13.1173 114.197 13.7573 114.197 14.5874V16.6501H113.011C112.348 16.6501 111.755 17.1483 111.708 17.836C111.66 18.571 112.253 19.1876 112.964 19.1876H114.173V29.7631C114.173 30.5454 114.814 31.1854 115.596 31.1854C116.426 31.1381 117.042 30.5216 117.042 29.7392Z\" fill=\"currentColor\"/>\n                    </svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</section>\n{{< /code >}}\n\nRemove the default `container` class from the `app.html.heex` file to enable the built-in containers.\n\n3. Let's add one of the [content sections](https://flowbite.com/blocks/marketing/content/) right after the hero section:\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"items-center max-w-screen-xl gap-16 px-4 py-8 mx-auto lg:grid lg:grid-cols-2 lg:py-16 lg:px-6\">\n        <div class=\"text-gray-500 sm:text-lg dark:text-gray-400\">\n            <h2 class=\"mb-4 text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white\">We didn't reinvent the wheel</h2>\n            <p class=\"mb-4\">We are strategists, designers and developers. Innovators and problem solvers. Small enough to be simple and quick, but big enough to deliver the scope you want at the pace you need. Small enough to be simple and quick, but big enough to deliver the scope you want at the pace you need.</p>\n            <p>We are strategists, designers and developers. Innovators and problem solvers. Small enough to be simple and quick.</p>\n        </div>\n        <div class=\"grid grid-cols-2 gap-4 mt-8\">\n            <img class=\"w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/office-long-2.png\" alt=\"office content 1\">\n            <img class=\"w-full mt-4 rounded-lg lg:mt-10\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/office-long-1.png\" alt=\"office content 2\">\n        </div>\n    </div>\n</section>\n{{< /code >}}\n\n4. Furthermore, we can copy one of the [feature sections](https://flowbite.com/blocks/marketing/feature/) and add it next in the line:\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n<section class=\"bg-white dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl px-4 py-8 mx-auto sm:py-16 lg:px-6\">\n      <div class=\"max-w-screen-md mb-8 lg:mb-16\">\n          <h2 class=\"mb-4 text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white\">Designed for business teams like yours</h2>\n          <p class=\"text-gray-500 sm:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n      </div>\n      <div class=\"space-y-8 md:grid md:grid-cols-2 lg:grid-cols-3 md:gap-12 md:space-y-0\">\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M3 3a1 1 0 000 2v8a2 2 0 002 2h2.586l-1.293 1.293a1 1 0 101.414 1.414L10 15.414l2.293 2.293a1 1 0 001.414-1.414L12.414 15H15a2 2 0 002-2V5a1 1 0 100-2H3zm11.707 4.707a1 1 0 00-1.414-1.414L10 9.586 8.707 8.293a1 1 0 00-1.414 0l-2 2a1 1 0 101.414 1.414L8 10.414l1.293 1.293a1 1 0 001.414 0l4-4z\" clip-rule=\"evenodd\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Marketing</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Plan it, create it, launch it. Collaborate seamlessly with all  the organization and hit your marketing goals every month with our marketing plan.</p>\n          </div>\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.394 2.08a1 1 0 00-.788 0l-7 3a1 1 0 000 1.84L5.25 8.051a.999.999 0 01.356-.257l4-1.714a1 1 0 11.788 1.838L7.667 9.088l1.94.831a1 1 0 00.787 0l7-3a1 1 0 000-1.838l-7-3zM3.31 9.397L5 10.12v4.102a8.969 8.969 0 00-1.05-.174 1 1 0 01-.89-.89 11.115 11.115 0 01.25-3.762zM9.3 16.573A9.026 9.026 0 007 14.935v-3.957l1.818.78a3 3 0 002.364 0l5.508-2.361a11.026 11.026 0 01.25 3.762 1 1 0 01-.89.89 8.968 8.968 0 00-5.35 2.524 1 1 0 01-1.4 0zM6 18a1 1 0 001-1v-2.065a8.935 8.935 0 00-2-.712V17a1 1 0 001 1z\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Legal</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Protect your organization, devices and stay compliant with our structured workflows and custom permissions made for you.</p>\n          </div>\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M6 6V5a3 3 0 013-3h2a3 3 0 013 3v1h2a2 2 0 012 2v3.57A22.952 22.952 0 0110 13a22.95 22.95 0 01-8-1.43V8a2 2 0 012-2h2zm2-1a1 1 0 011-1h2a1 1 0 011 1v1H8V5zm1 5a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1z\" clip-rule=\"evenodd\"></path><path d=\"M2 13.692V16a2 2 0 002 2h12a2 2 0 002-2v-2.308A24.974 24.974 0 0110 15c-2.796 0-5.487-.46-8-1.308z\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Business Automation</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Auto-assign tasks, send Slack messages, and much more. Now power up with hundreds of new templates to help you get started.</p>\n          </div>\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z\"></path><path fill-rule=\"evenodd\" d=\"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z\" clip-rule=\"evenodd\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Finance</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Audit-proof software built for critical financial operations like month-end close and quarterly budgeting.</p>\n          </div>\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 3a1 1 0 000 2h6a1 1 0 100-2H7zM4 7a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1zM2 11a2 2 0 012-2h12a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4z\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Enterprise Design</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Craft beautiful, delightful experiences for both marketing and product with real cross-company collaboration.</p>\n          </div>\n          <div>\n              <div class=\"flex items-center justify-center w-10 h-10 mb-4 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-900\">\n                  <svg class=\"w-5 h-5 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M11.49 3.17c-.38-1.56-2.6-1.56-2.98 0a1.532 1.532 0 01-2.286.948c-1.372-.836-2.942.734-2.106 2.106.54.886.061 2.042-.947 2.287-1.561.379-1.561 2.6 0 2.978a1.532 1.532 0 01.947 2.287c-.836 1.372.734 2.942 2.106 2.106a1.532 1.532 0 012.287.947c.379 1.561 2.6 1.561 2.978 0a1.533 1.533 0 012.287-.947c1.372.836 2.942-.734 2.106-2.106a1.533 1.533 0 01.947-2.287c1.561-.379 1.561-2.6 0-2.978a1.532 1.532 0 01-.947-2.287c.836-1.372-.734-2.942-2.106-2.106a1.532 1.532 0 01-2.287-.947zM10 13a3 3 0 100-6 3 3 0 000 6z\" clip-rule=\"evenodd\"></path></svg>\n              </div>\n              <h3 class=\"mb-2 text-xl font-bold dark:text-white\">Operations</h3>\n              <p class=\"text-gray-500 dark:text-gray-400\">Keep your company’s lights on with customizable, iterative, and structured workflows built for all efficient teams and individual.</p>\n          </div>\n      </div>\n  </div>\n</section>\n{{< /code >}}\n\n5. Before the end of the page we probably want to add a [CTA section](https://flowbite.com/blocks/marketing/cta/):\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"items-center max-w-screen-xl gap-8 px-4 py-8 mx-auto xl:gap-16 md:grid md:grid-cols-2 sm:py-16 lg:px-6\">\n        <img class=\"w-full dark:hidden\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/cta/cta-dashboard-mockup.svg\" alt=\"dashboard image\">\n        <img class=\"hidden w-full dark:block\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/cta/cta-dashboard-mockup-dark.svg\" alt=\"dashboard image\">\n        <div class=\"mt-4 md:mt-0\">\n            <h2 class=\"mb-4 text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white\">Let's create more tools and ideas that brings us together.</h2>\n            <p class=\"mb-6 text-gray-500 md:text-lg dark:text-gray-400\">Flowbite helps you connect with friends and communities of people who share your interests. Connecting with your friends and family as well as discovering new ones is easy with features like Groups.</p>\n            <a href=\"#\" class=\"inline-flex items-center text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-blue-900\">\n                Get started\n                <svg class=\"w-5 h-5 ml-2 -mr-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n            </a>\n        </div>\n    </div>\n</section>\n{{< /code >}}\n\n6. Finally, we can finish the landing page by adding one of the [footer components](https://flowbite.com/blocks/marketing/footer/) from Flowbite:\n\n{{< code lang=\"html\" >}}\n<footer class=\"p-4 bg-white sm:p-6 dark:bg-gray-800\">\n    <div class=\"max-w-screen-xl mx-auto\">\n        <div class=\"md:flex md:justify-between\">\n            <div class=\"mb-6 md:mb-0\">\n                <a href=\"https://flowbite.com\" class=\"flex items-center\">\n                    <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8 mr-3\" alt=\"FlowBite Logo\" />\n                    <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n                </a>\n            </div>\n            <div class=\"grid grid-cols-2 gap-8 sm:gap-6 sm:grid-cols-3\">\n                <div>\n                    <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Resources</h2>\n                    <ul class=\"text-gray-600 dark:text-gray-400\">\n                        <li class=\"mb-4\">\n                            <a href=\"https://flowbite.com\" class=\"hover:underline\">Flowbite</a>\n                        </li>\n                        <li>\n                            <a href=\"https://tailwindcss.com/\" class=\"hover:underline\">Tailwind CSS</a>\n                        </li>\n                    </ul>\n                </div>\n                <div>\n                    <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Follow us</h2>\n                    <ul class=\"text-gray-600 dark:text-gray-400\">\n                        <li class=\"mb-4\">\n                            <a href=\"https://github.com/themesberg/flowbite\" class=\"hover:underline \">Github</a>\n                        </li>\n                        <li>\n                            <a href=\"https://discord.gg/4eeurUVvTy\" class=\"hover:underline\">Discord</a>\n                        </li>\n                    </ul>\n                </div>\n                <div>\n                    <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Legal</h2>\n                    <ul class=\"text-gray-600 dark:text-gray-400\">\n                        <li class=\"mb-4\">\n                            <a href=\"#\" class=\"hover:underline\">Privacy Policy</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"hover:underline\">Terms &amp; Conditions</a>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n        </div>\n        <hr class=\"my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8\" />\n        <div class=\"sm:flex sm:items-center sm:justify-between\">\n            <span class=\"text-sm text-gray-500 sm:text-center dark:text-gray-400\">© 2022 <a href=\"https://flowbite.com\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n            </span>\n            <div class=\"flex mt-4 space-x-6 sm:justify-center sm:mt-0\">\n                <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z\" clip-rule=\"evenodd\" /></svg>\n                </a>\n                <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z\" clip-rule=\"evenodd\" /></svg>\n                </a>\n                <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84\" /></svg>\n                </a>\n                <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z\" clip-rule=\"evenodd\" /></svg>\n                </a>\n                <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10c5.51 0 10-4.48 10-10S17.51 2 12 2zm6.605 4.61a8.502 8.502 0 011.93 5.314c-.281-.054-3.101-.629-5.943-.271-.065-.141-.12-.293-.184-.445a25.416 25.416 0 00-.564-1.236c3.145-1.28 4.577-3.124 4.761-3.362zM12 3.475c2.17 0 4.154.813 5.662 2.148-.152.216-1.443 1.941-4.48 3.08-1.399-2.57-2.95-4.675-3.189-5A8.687 8.687 0 0112 3.475zm-3.633.803a53.896 53.896 0 013.167 4.935c-3.992 1.063-7.517 1.04-7.896 1.04a8.581 8.581 0 014.729-5.975zM3.453 12.01v-.26c.37.01 4.512.065 8.775-1.215.25.477.477.965.694 1.453-.109.033-.228.065-.336.098-4.404 1.42-6.747 5.303-6.942 5.629a8.522 8.522 0 01-2.19-5.705zM12 20.547a8.482 8.482 0 01-5.239-1.8c.152-.315 1.888-3.656 6.703-5.337.022-.01.033-.01.054-.022a35.318 35.318 0 011.823 6.475 8.4 8.4 0 01-3.341.684zm4.761-1.465c-.086-.52-.542-3.015-1.659-6.084 2.679-.423 5.022.271 5.314.369a8.468 8.468 0 01-3.655 5.715z\" clip-rule=\"evenodd\" /></svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</footer>\n{{< /code >}}\n\nYou can check out the full collection of website sections by browsing the [Flowbite Blocks](https://flowbite.com/blocks/) collection which includes not only marketing sections, but also application UI layouts, CRUD pages, blog templates, and more.\n\n## Datepicker plugin\n\nSince the release of version `2.4.0` of Flowbite the Datepicker component is part of the main package so it should work out of the box without any additional setup.\n\n### Versions prior to 2.4.0\n\nTo use the <a href=\"{{< ref \"plugins/datepicker\" >}}\">Flowbite Datepicker</a> plugin using JavaScript you will need to include it into your project via NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite-datepicker --save\n{{< /code >}}\n\nAfter you've installed the NPM library, you will need to import the `Datepicker` module in your `app.js` file:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\nimport Datepicker from 'flowbite-datepicker/Datepicker';\n{{< /code >}}\n\nInitialize a new element using the `Datepicker` constructor in `app.js` file and optionally add custom options based on your needs:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\nHooks = {}\n\nHooks.Datepicker = {\n    mounted() {\n        const datepickerEl = this.el;\n        new Datepicker(datepickerEl, {\n            // options\n        });\n    },\n    updated() {\n        this.mounted();\n    }\n}\n{{< /code >}}\n\nAdd hooks to your livesocket:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\nlet liveSocket = new LiveSocket(\"/live\", Socket, { params: { _csrf_token: csrfToken }, hooks: Hooks })\n{{< /code >}}\n\nThen to your input field add the `Datepicker` `phx-hook` to initialize the datepicker:\n\n{{< code lang=\"html\" file=\"index.html.heex\" icon=\"file\" >}}\n  <input phx-hook=\"Datepicker\" id=\"myInput\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n{{< /code >}}\n\n## Phoenix starter project\n\nThe awesome open-source community from Flowbite built a [Phoenix starter project](https://github.com/themesberg/tailwind-phoenix-starter) with Tailwind CSS and Flowbite already configured so that you can use build websites even faster with the most popular utility-first CSS framework and the open-source UI components and website sections from Flowbite."
  },
  {
    "path": "content/getting-started/quickstart.md",
    "content": "---\nlayout: docs\ntitle: Flowbite - Quickstart\ndescription: Get started with Flowbite by including it into your project using NPM or CDN\ngroup: getting-started\ntoc: true\n\nprevious: Introduction\npreviousLink: getting-started/introduction/\nnext: JavaScript\nnextLink: getting-started/javascript/\n---\n\nFlowbite is a library of components built on top of the utility-classes from Tailwind CSS and it also includes a JavaScript file that makes interactive elements works, such as modals, dropdowns, and more. Learn how to get started by following this quickstart guide.\n\n## Getting started\n\nFlowbite can be easily integrated into your project through NPM. It functions as a plugin for Tailwind CSS and offers both a data attributes interface and a JavaScript API for powering interactive UI components.\n\n### Install using NPM\n\nMake sure that you have <a href=\"https://nodejs.org/en/\" rel=\"nofollow\" target=\"_blank\">Node.js</a> and <a href=\"https://tailwindcss.com/docs/installation/using-postcss\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS</a> installed. This guide works with Tailwind v4.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n5. Include the JavaScript code that powers the interactive elements before the end of your `<body>` tag:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nLearn more about the Flowbite JavaScript API and functionalities in the [JavaScript section](https://flowbite.com/docs/getting-started/javascript/).\n\nIf you have and old project with Tailwind CSS v3 then [check out this guide](#tailwind-css-v3-to-v4) to learn how to upgrade to v4.\n\n### Include using CDN\n\nThe quickest way to get started working with Flowbite is to include the CSS and JS into your project via CDN.\n\nRequire the following minified stylesheet inside the `head` tag:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<link href=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.css\" rel=\"stylesheet\" />\n{{< /code >}}\n\nAnd include the following JavaScript file before the end of the `body` element:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\nPlease remember that the best way to work with Tailwind CSS and Flowbite is by purging the CSS classes.\n\n### Bundled JavaScript\n\nOne of the most popular way of using Flowbite is to include the bundled Javascript file which is UMD ready using a bundler such as Webpack or Parcel which makes sure that all of the data attributes and functionality will work out-of-the-box.\n\nYou can directly import the main JavaScript file inside your bundled `app-bundle.js` file like this:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nimport 'flowbite';\n{{< /code >}}\n\nThis file has access to all of the components and it automatically applies event listeners to the data attributes.\n\n### Data attributes\n\nThe preferred way to use the interactive UI components from Flowbite is via the data attributes interface which allows us to add functionality via the HTML element attributes and most of the examples on our documentation applies this strategy.\n\nFor example, to set up a modal component all you need to do is use `data-modal-target` and `data-modal-{toggle|show|hide}` to toggle, show, or hide the component by clicking on any trigger element.\n\n### Init functions\n\nYou can also use the init functions to set up the event listeners yourself. Here's an example how you can do it with Vue or Nuxt:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n{{< /code >}}\n\nThe `initFlowbite` function sets up all of the init functions for dropdowns, modals, navbars, tooltips and so on to hook onto the data attributes. Alternatively, you can also initialise each component category class separately with `initDropdowns` or `initModals`.\n\nYou can view more examples by browsing the [components from Flowbite](#components).\n\n### ESM and CJS\n\nFlowbite also offers an API for using the components programmatically and it supports both CJS and ESM for JavaScript which can be helpful if you need to expand the default capabilities of the data attributes interface and get access to function callbacks.\n\nHere's an example how you can import and create a new Modal component inside JavaScript:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.js\" >}}\nimport { Modal } from 'flowbite'\n\nconst $modalElement = document.querySelector('#modalEl');\n\nconst modalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    }\n}\n\nconst modal = new Modal($modalElement, modalOptions);\n\nmodal.show();\n{{< /code >}}\n\nCheck out the JavaScript behaviour section of each component's page to learn how you can use this.\n\n### TypeScript\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"app.ts\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\n// other code\n{{< /code >}}\n\nLearn more about Flowbite and TypeScript in the [quickstart guide](https://flowbite.com/docs/getting-started/typescript/).\n\n## Tailwind CSS v3 to v4\n\nIf you want to upgrade v3 from Tailwind CSS with Flowbite you have to follow the <a href=\"https://tailwindcss.com/docs/v4-beta\" rel=\"nofollow\" target=\"_blank\">v4 upgrade guide</a>.\n\n1. Install the next versions of Tailwind CSS and Flowbite using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/postcss postcss\n{{< /code >}}\n\n2. Add the PostCSS plugin inside the `postcss.config.js` file:\n\n{{< code lang=\"bash\" icon=\"file\" file=\"postcss.config.js\" >}}\nexport default {\n  plugins: {\n    '@tailwindcss/postcss': {},\n  },\n};\n{{< /code >}}\n\n3. Remove the old directives in your main CSS file and import Tailwind:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n4. Use the `@config` directive to import the old configuration file from your project:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* add this to copy the configuration settings from your project */\n@config \"../tailwind.config.js\";\n{{< /code >}}\n\n5. Compile the source CSS file using NPX:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i input.css -o output.css\n{{< /code >}}\n\nNow you should be good to go! Check the <a href=\"https://tailwindcss.com/docs/upgrade-guide#changes-from-v3\" rel=\"nofollow\" target=\"_blank\">deprecated changes from v3</a> to learn more about the new features.\n\n## Tailwind CSS v3\n\nWe recommend you to follow the upgrade guide from v3 to v4 since Flowbite works with both.\n\n## Tailwind CSS v2\n\nFlowbite works with the 2.x version of Tailwind CSS.\n\n## WindiCSS\n\nFlowbite also works with WindiCSS by including the plugin inside the `windi.config.js` file:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"windi.config.js\" >}}\nplugins: [\n    require('flowbite/plugin-windicss')\n],\n{{< /code >}}\n\n## Figma design system\n\nThe components from Flowbite are first conceptualized and designed in Figma using the latest features such as variants, auto-layout, grids, responsive layouts, and more.\n\nLearn more by checking out <a href=\"{{< param homepage >}}/figma/\">Flowbite's Figma design system</a> and start designing your Tailwind CSS projects before actually coding them.\n\n## TypeScript\n\nIf you want to use types for the interactive elements you can do that because since `v1.6.0` Flowbite also supports TypeScript.\n\nLearn how to <a href=\"{{< ref \"getting-started/typescript\" >}}\">install Tailwind CSS and Flowbite with TypeScript</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_react >}}\n</div>\n\n## React\n\nIf you're using React as a front-end library you can also use the components from Flowbite including the interactive ones such as the dropdowns, modals, and tooltips as long as you install Tailwind CSS and Flowbite in an existing project.\n\nLearn how to <a href=\"{{< ref \"getting-started/react\" >}}\">install Tailwind CSS and Flowbite with React</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_nextjs >}}\n</div>\n\n## Next.js\n\nIf you're using React as a front-end library and Next.js as a framework you can also use the components from Flowbite React such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/next-js\" >}}\">install Tailwind CSS and Flowbite with Next.js and React</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_vue >}}\n</div>\n\n## Vue.js\n\nThe components from Flowbite can also be used any new or existing Vue 3 projects as long as you install Tailwind CSS and Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/vue\" >}}\">install Tailwind CSS and Flowbite with Vue.js</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_nuxtjs >}}\n</div>\n\n## Nuxt\n\nIf you're using Vue 3 as a front-end library and Nuxt as a framework you can also use the components from Flowbite Vue such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/nuxt-js\" >}}\">install Tailwind CSS and Flowbite with Nuxt and Vue 3</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_laravel >}}\n</div>\n\n## Laravel\n\nIf you're running a Laravel application you can easily set up Tailwind CSS and Flowbite and start developing user interfaces based on the utility-first classes and components.\n\nLearn how to <a href=\"{{< ref \"getting-started/laravel\" >}}\">install Tailwind CSS and Flowbite with Laravel</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_svelte >}}\n</div>\n\n## Svelte\n\nIf you're using a Svelte application you can install a standalone Flowbite Svelte library and start developing modern websites using the components from Flowbite and the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/svelte\" >}}\">install Tailwind CSS and Flowbite with Svelte</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_ruby >}}\n</div>\n\n## Ruby on Rails\n\nIf you're using a Ruby on Rails project you can install Tailwind CSS with Flowbite and start building web pages using the utility-first classes and the interactive UI compnonents from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/rails\" >}}\">install Tailwind CSS and Flowbite with Ruby on Rails</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_django >}}\n</div>\n\n## Django\n\nCheck out the Django integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing even faster using the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/django\" >}}\">install Tailwind CSS and Flowbite with Django</a>.\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_flask >}}\n</div>\n\n## Flask\n\nCheck out the Flask integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing with a micro framework combined with the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/flask\" >}}\">install Tailwind CSS and Flowbite with Flask</a>.\n\n## Github repository\n\nThe source files are also available to be cloned or downloaded from the official <a href=\"https://github.com/themesberg/flowbite\">FlowBite Github repository</a>. Don't forget to give it a star if you appreciate the project.\n"
  },
  {
    "path": "content/getting-started/qwik.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Qwik - Flowbite\ndescription: Learn how to create a Qwik project and install Tailwind CSS to instantly build scalable and interactive web apps using the UI components from Flowbite\ngroup: getting-started\ntoc: true\nrequires_qwik: true\n\nprevious: SolidJS\npreviousLink: getting-started/solid-js/\nnext: Laravel\nnextLink: getting-started/laravel/\n---\n\n[Qwik](https://qwik.builder.io/) is a free and open-source front-end framework built by the team behind Builder that allows you to build instant-loading, scalable and interactive web apps by leveraging the precision lazy-loading feature by asynchronously loading component rendering, tasks, listeners, and styles.\n\nThe framework was first released on July 18th, 2021 by Adam Bradley and Miško Hevery and has a large community of active developers with a popular GitHub repository with over 18k stars and has a showcase of websites such as Builder.io, Reflact.app, Soundy.cloud and more that rely on Qwik for building websites.\n\nBy following this guide you will learn how to create a new Qwik project, install and configure Tailwind CSS and proceed by installing Flowbite to start leveraging the open-source UI components to build interactive and instant-loading websites faster.\n\n## Requirements\n\nBefore getting started make sure that you have [Node.js v16.8](https://nodejs.org/en) or higher available on your local machine and we also recommend to install the [Qwik VS Code Extension](https://marketplace.visualstudio.com/items?itemName=johnreemar.vscode-qwik-snippets) to enable Qwik snippets.\n\n## Create a Qwik project\n\n1. Create a new project by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm create qwik@latest\n{{< /code >}}\n\nThe custom CLI (command line interface) from Qwik will prompt you with some questions on how you want your project to be configured - follow the steps until you have a fully working directory.\n\n2. Start a local development server by running:\n\n{{< code lang=\"bash\" >}}\nnpm run start\n{{< /code >}}\n\nYou should now be able to access a boilerplate Qwik project on `http://localhost:5173/` from your local browser and start developing with the framework.\n\n## Install Tailwind CSS\n\nTailwind CSS is a popular utility-first CSS framework that allows you to quickly build website user interfaces by directly writing the CSS and styles in your HTML templates via the rich collection of utility classes.\n\nThe easiest way to set up Tailwind CSS within your Qwik project is to run a starter script command:\n\n{{< code lang=\"bash\" >}}\nnpm run qwik add tailwind\n{{< /code >}}\n\nThis command will automatically set up the following:\n\n- install Tailwind CSS and its dependencies\n- modify the `src/global.css` file to import the Tailwind module\n\nBy restarting the sever you will now be able to use the utility-first classes from Tailwind CSS.\n\n## Install Flowbite\n\n[Flowbite](https://flowbite.com) is a popular open-source UI component library that is built on top of the Tailwind CSS framework leveraging the utility-first class approach with custom interactive JavaScript that allows you to use and customize a collection of components like dropdowns, navbars, modals, and more.\n\nFollow the next steps to install and set up Flowbite in your Qwik project:\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `global.css` CSS file:\n\n{{< code lang=\"css\" file=\"src/global.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"src/global.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"src/global.css\" icon=\"file\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n5. Finally, in the `src/root.tsx` file import the Flowbite JavaScript file inside your Qwik project to start using interactive components that require JavaScript such as the navbars, dropdowns, drawers, and more:\n\n{{< code lang=\"javascript\" file=\"src/root.tsx\" icon=\"file\" >}}\nimport { component$, useVisibleTask$ } from \"@builder.io/qwik\";\nimport {\n  QwikCityProvider,\n  RouterOutlet,\n  ServiceWorkerRegister,\n} from \"@builder.io/qwik-city\";\nimport { RouterHead } from \"./components/router-head/router-head\";\nimport { isDev } from \"@builder.io/qwik\";\n\n// import the Flowbite module\nimport { initFlowbite } from \"flowbite\";\n\nimport \"./global.css\";\n\nexport default component$(() => {\n  /**\n   * The root of a QwikCity site always start with the <QwikCityProvider> component,\n   * immediately followed by the document's <head> and <body>.\n   *\n   * Don't remove the `<head>` and `<body>` elements.\n   */\n\n  // initialise the event listeners for the data attributes on render\n  useVisibleTask$(() => {\n    initFlowbite();\n  });\n\n  return (\n    <QwikCityProvider>\n      <head>\n        <meta charset=\"utf-8\" />\n        {!isDev && (\n          <link\n            rel=\"manifest\"\n            href={`${import.meta.env.BASE_URL}manifest.json`}\n          />\n        )}\n        <RouterHead />\n      </head>\n      <body lang=\"en\">\n        <RouterOutlet />\n        {!isDev && <ServiceWorkerRegister />}\n      </body>\n    </QwikCityProvider>\n  );\n});\n\n{{< /code >}}\n\nCongratulations! Now you can start using all of the UI components from the Flowbite Library inside your Qwik project together with Tailwind CSS and build websites and user interfaces even faster.\n\n## UI components\n\nBy installing and configuring Flowbite in your Qwik project you can now directly copy and paste any [UI component from the library](https://flowbite.com/docs/getting-started/introduction/) and the [blocks collection](https://flowbite.com/blocks/) into your view files.\n\nCheck out one of the [navbar components](https://flowbite.com/docs/components/navbar/) from Flowbite and add it inside your Qwik project for navigation:\n\n{{< code lang=\"javascript\" file=\"src/components/Navbar.jsx\" icon=\"file\" >}}\nexport default header$(() => {\n  return (\n  <nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n    <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n      <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n          <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n          <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n      </a>\n      <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n          <span class=\"sr-only\">Open main menu</span>\n          <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n          </svg>\n      </button>\n      <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n        <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n          <li>\n            <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">About</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n          </li>\n        </ul>\n      </div>\n    </div>\n  </nav>\n  );\n});\n{{< /code >}}\n\nAnother example is the [modal component](https://flowbite.com/docs/components/modal/) which you could use for a seamless authentication experience:\n\n{{< code lang=\"javascript\" file=\"src/components/Modal.jsx\" icon=\"file\" >}}\nexport default modal$(() => {\n  return (\n    <div>\n        <button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n          Toggle modal\n        </button>\n\n        <div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n            <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n                <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                    <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                        <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                            Terms of Service\n                        </h3>\n                        <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"default-modal\">\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                            </svg>\n                            <span class=\"sr-only\">Close modal</span>\n                        </button>\n                    </div>\n                    <div class=\"p-4 md:p-5 space-y-4\">\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                        </p>\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                        </p>\n                    </div>\n                    <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                        <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                        <button data-modal-hide=\"default-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n  );\n});\n{{< /code >}}\n\nLastly, you can also copy-paste whole [blocks of code](https://flowbite.com/blocks/marketing/hero/) such as hero, footer, header, and feature sections:\n\n{{< code lang=\"javascript\" file=\"src/components/Hero.jsx\" icon=\"file\" >}}\nexport default hero$(() => {\n  return (\n    <section class=\"bg-white dark:bg-gray-900\">\n        <div class=\"py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 lg:px-12\">\n            <a href=\"#\" class=\"inline-flex justify-between items-center py-1 px-1 pr-4 mb-7 text-sm text-gray-600 bg-gray-100 rounded-full dark:bg-gray-800 dark:text-white hover:bg-gray-200 dark:hover:bg-gray-700\" role=\"alert\">\n                <span class=\"text-xs bg-blue-600 rounded-full text-white px-4 py-1.5 mr-3\">New</span> <span class=\"text-sm font-medium\">Flowbite is out! See what's new</span> \n                <svg class=\"ml-2 w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\" clip-rule=\"evenodd\"></path></svg>\n            </a>\n            <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n            <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 xl:px-48 dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <div class=\"flex flex-col mb-8 lg:mb-16 space-y-4 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-4\">\n                <a href=\"#\" class=\"inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                    Learn more\n                    <svg class=\"ml-2 -mr-1 w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n                </a>\n                <a href=\"#\" class=\"inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-gray-900 rounded-lg border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:text-white dark:border-gray-700 dark:hover:bg-gray-700 dark:focus:ring-gray-800\">\n                    <svg class=\"mr-2 -ml-1 w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z\"></path></svg>\n                    Watch video\n                </a>  \n            </div>\n            <div class=\"px-4 mx-auto text-center md:max-w-screen-md lg:max-w-screen-lg lg:px-36\">\n                <span class=\"font-semibold text-gray-400 uppercase\">FEATURED IN</span>\n                <div class=\"flex flex-wrap justify-center items-center mt-8 text-gray-500 sm:justify-between\">\n                    <a href=\"#\" class=\"mr-5 mb-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-8\" viewBox=\"0 0 132 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M39.4555 5.17846C38.9976 3.47767 37.6566 2.13667 35.9558 1.67876C32.8486 0.828369 20.4198 0.828369 20.4198 0.828369C20.4198 0.828369 7.99099 0.828369 4.88379 1.64606C3.21571 2.10396 1.842 3.47767 1.38409 5.17846C0.566406 8.28567 0.566406 14.729 0.566406 14.729C0.566406 14.729 0.566406 21.2051 1.38409 24.2796C1.842 25.9804 3.183 27.3214 4.88379 27.7793C8.0237 28.6297 20.4198 28.6297 20.4198 28.6297C20.4198 28.6297 32.8486 28.6297 35.9558 27.812C37.6566 27.3541 38.9976 26.0131 39.4555 24.3123C40.2732 21.2051 40.2732 14.7618 40.2732 14.7618C40.2732 14.7618 40.3059 8.28567 39.4555 5.17846Z\" fill=\"currentColor\"/>\n                            <path d=\"M16.4609 8.77612V20.6816L26.7966 14.7289L16.4609 8.77612Z\" fill=\"white\"/>\n                            <path d=\"M64.272 25.0647C63.487 24.5413 62.931 23.7237 62.6039 22.5789C62.2768 21.4669 62.1133 19.9623 62.1133 18.1307V15.6122C62.1133 13.7479 62.3095 12.2434 62.6693 11.0986C63.0618 9.95386 63.6505 9.13618 64.4355 8.61286C65.2532 8.08954 66.2998 7.82788 67.6081 7.82788C68.8837 7.82788 69.9304 8.08954 70.7153 8.61286C71.5003 9.13618 72.0564 9.98657 72.4161 11.0986C72.7759 12.2107 72.9722 13.7152 72.9722 15.6122V18.1307C72.9722 19.995 72.8086 21.4669 72.4488 22.6116C72.0891 23.7237 71.533 24.5741 70.7481 25.0974C69.9631 25.6207 68.8837 25.8824 67.5427 25.8824C66.169 25.8496 65.057 25.588 64.272 25.0647ZM68.6875 22.3172C68.9164 21.7612 69.0146 20.8127 69.0146 19.5371V14.1077C69.0146 12.8648 68.9164 11.949 68.6875 11.3603C68.4585 10.7715 68.0988 10.5099 67.5427 10.5099C67.0194 10.5099 66.6269 10.8043 66.4307 11.3603C66.2017 11.949 66.1036 12.8648 66.1036 14.1077V19.5371C66.1036 20.8127 66.2017 21.7612 66.4307 22.3172C66.6269 22.8733 67.0194 23.1676 67.5754 23.1676C68.0987 23.1676 68.4585 22.906 68.6875 22.3172Z\" fill=\"currentColor\"/>\n                            <path d=\"M124.649 18.1634V19.0465C124.649 20.1586 124.682 21.009 124.748 21.565C124.813 22.121 124.944 22.5462 125.173 22.7752C125.369 23.0368 125.696 23.1677 126.154 23.1677C126.743 23.1677 127.135 22.9387 127.364 22.4808C127.593 22.0229 127.691 21.2706 127.724 20.1913L131.093 20.3875C131.125 20.5511 131.125 20.7473 131.125 21.009C131.125 22.6117 130.7 23.8218 129.817 24.6068C128.934 25.3918 127.691 25.7843 126.089 25.7843C124.159 25.7843 122.818 25.1628 122.033 23.9527C121.248 22.7425 120.855 20.8782 120.855 18.327V15.2852C120.855 12.6686 121.248 10.7715 122.066 9.56136C122.883 8.35119 124.257 7.76245 126.187 7.76245C127.528 7.76245 128.574 8.02411 129.294 8.51472C130.013 9.00534 130.504 9.79032 130.798 10.8042C131.093 11.8509 131.223 13.29 131.223 15.1216V18.098H124.649V18.1634ZM125.14 10.837C124.944 11.0986 124.813 11.4911 124.748 12.0471C124.682 12.6032 124.649 13.4536 124.649 14.5983V15.8412H127.528V14.5983C127.528 13.4863 127.495 12.6359 127.43 12.0471C127.364 11.4584 127.201 11.0659 127.004 10.837C126.808 10.608 126.481 10.4772 126.089 10.4772C125.631 10.4445 125.336 10.5753 125.14 10.837Z\" fill=\"currentColor\"/>\n                            <path d=\"M54.7216 17.8362L50.2734 1.71143H54.1656L55.7356 9.0052C56.1281 10.8041 56.4224 12.3414 56.6187 13.617H56.7168C56.8476 12.7011 57.142 11.1966 57.5999 9.0379L59.2353 1.71143H63.1274L58.6138 17.8362V25.5552H54.7543V17.8362H54.7216Z\" fill=\"currentColor\"/>\n                            <path d=\"M85.6299 8.15479V25.5878H82.5554L82.2283 23.4619H82.1302C81.3125 25.0645 80.0369 25.8822 78.3688 25.8822C77.2241 25.8822 76.3737 25.4897 75.8177 24.7375C75.2617 23.9852 75 22.8077 75 21.1723V8.15479H78.9249V20.9434C78.9249 21.7284 79.023 22.2844 79.1865 22.6115C79.3501 22.9385 79.6444 23.1021 80.0369 23.1021C80.364 23.1021 80.6911 23.004 81.0181 22.775C81.3452 22.5788 81.5742 22.3171 81.705 21.99V8.15479H85.6299Z\" fill=\"currentColor\"/>\n                            <path d=\"M105.747 8.15479V25.5878H102.673L102.346 23.4619H102.247C101.43 25.0645 100.154 25.8822 98.4861 25.8822C97.3413 25.8822 96.4909 25.4897 95.9349 24.7375C95.3788 23.9852 95.1172 22.8077 95.1172 21.1723V8.15479H99.0421V20.9434C99.0421 21.7284 99.1402 22.2844 99.3038 22.6115C99.4673 22.9385 99.7617 23.1021 100.154 23.1021C100.481 23.1021 100.808 23.004 101.135 22.775C101.462 22.5788 101.691 22.3171 101.822 21.99V8.15479H105.747Z\" fill=\"currentColor\"/>\n                            <path d=\"M96.2907 4.88405H92.3986V25.5552H88.5718V4.88405H84.6797V1.71143H96.2907V4.88405Z\" fill=\"currentColor\"/>\n                            <path d=\"M118.731 10.935C118.502 9.82293 118.11 9.03795 117.587 8.54734C117.063 8.05672 116.311 7.79506 115.395 7.79506C114.676 7.79506 113.989 7.99131 113.367 8.41651C112.746 8.809 112.255 9.36502 111.928 10.0192H111.896V0.828369H108.102V25.5552H111.34L111.732 23.9199H111.83C112.125 24.5086 112.582 24.9665 113.204 25.3263C113.825 25.6533 114.479 25.8496 115.232 25.8496C116.573 25.8496 117.521 25.2281 118.143 24.018C118.764 22.8078 119.091 20.8781 119.091 18.2942V15.5467C119.059 13.5516 118.96 12.0143 118.731 10.935ZM115.134 18.0325C115.134 19.3081 115.068 20.2893 114.97 21.0089C114.872 21.7285 114.676 22.2518 114.447 22.5461C114.185 22.8405 113.858 23.004 113.466 23.004C113.138 23.004 112.844 22.9386 112.582 22.7751C112.321 22.6116 112.092 22.3826 111.928 22.0882V12.2106C112.059 11.7527 112.288 11.3602 112.615 11.0331C112.942 10.7387 113.302 10.5752 113.662 10.5752C114.054 10.5752 114.381 10.7387 114.578 11.0331C114.807 11.3602 114.937 11.8835 115.036 12.6031C115.134 13.3553 115.166 14.402 115.166 15.743V18.0325H115.134Z\" fill=\"currentColor\"/>\n                        </svg>                        \n                    </a>\n                    <a href=\"#\" class=\"mr-5 mb-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-11\" viewBox=\"0 0 208 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M42.7714 20.729C42.7714 31.9343 33.6867 41.019 22.4814 41.019C11.2747 41.019 2.19141 31.9343 2.19141 20.729C2.19141 9.52228 11.2754 0.438965 22.4814 0.438965C33.6867 0.438965 42.7714 9.52297 42.7714 20.729Z\" fill=\"currentColor\"/>\n                            <path d=\"M25.1775 21.3312H20.1389V15.9959H25.1775C25.5278 15.9959 25.8747 16.0649 26.1983 16.1989C26.522 16.333 26.8161 16.5295 27.0638 16.7772C27.3115 17.0249 27.508 17.319 27.6421 17.6427C27.7761 17.9663 27.8451 18.3132 27.8451 18.6635C27.8451 19.0139 27.7761 19.3608 27.6421 19.6844C27.508 20.0081 27.3115 20.3021 27.0638 20.5499C26.8161 20.7976 26.522 20.9941 26.1983 21.1281C25.8747 21.2622 25.5278 21.3312 25.1775 21.3312ZM25.1775 12.439H16.582V30.2234H20.1389V24.8881H25.1775C28.6151 24.8881 31.402 22.1012 31.402 18.6635C31.402 15.2258 28.6151 12.439 25.1775 12.439Z\" fill=\"white\"/>\n                            <path d=\"M74.9361 17.4611C74.9361 16.1521 73.9305 15.3588 72.6239 15.3588H69.1216V19.5389H72.6248C73.9313 19.5389 74.9369 18.7457 74.9369 17.4611H74.9361ZM65.8047 28.2977V12.439H73.0901C76.4778 12.439 78.3213 14.7283 78.3213 17.4611C78.3213 20.1702 76.4542 22.4588 73.0901 22.4588H69.1216V28.2977H65.8055H65.8047ZM80.3406 28.2977V16.7362H83.3044V18.2543C84.122 17.2731 85.501 16.4563 86.9027 16.4563V19.3518C86.6912 19.3054 86.4349 19.2826 86.0851 19.2826C85.1039 19.2826 83.7949 19.8424 83.3044 20.5681V28.2977H80.3397H80.3406ZM96.8802 22.3652C96.8802 20.6136 95.8503 19.0955 93.9823 19.0955C92.1364 19.0955 91.1105 20.6136 91.1105 22.366C91.1105 24.1404 92.1364 25.6585 93.9823 25.6585C95.8503 25.6585 96.8794 24.1404 96.8794 22.3652H96.8802ZM88.0263 22.3652C88.0263 19.1663 90.2684 16.4563 93.9823 16.4563C97.7198 16.4563 99.962 19.1655 99.962 22.3652C99.962 25.5649 97.7198 28.2977 93.9823 28.2977C90.2684 28.2977 88.0263 25.5649 88.0263 22.3652ZM109.943 24.3739V20.3801C109.452 19.6316 108.378 19.0955 107.396 19.0955C105.693 19.0955 104.524 20.4265 104.524 22.366C104.524 24.3267 105.693 25.6585 107.396 25.6585C108.378 25.6585 109.452 25.1215 109.943 24.3731V24.3739ZM109.943 28.2977V26.5697C109.054 27.6899 107.841 28.2977 106.462 28.2977C103.637 28.2977 101.465 26.1499 101.465 22.3652C101.465 18.6993 103.59 16.4563 106.462 16.4563C107.793 16.4563 109.054 17.0177 109.943 18.1843V12.439H112.932V28.2977H109.943ZM123.497 28.2977V26.5925C122.727 27.4337 121.372 28.2977 119.526 28.2977C117.052 28.2977 115.884 26.9431 115.884 24.7473V16.7362H118.849V23.5798C118.849 25.1451 119.666 25.6585 120.927 25.6585C122.071 25.6585 122.983 25.028 123.497 24.3731V16.7362H126.463V28.2977H123.497ZM128.69 22.3652C128.69 18.9092 131.212 16.4563 134.67 16.4563C136.982 16.4563 138.383 17.4611 139.131 18.4886L137.191 20.3093C136.655 19.5153 135.838 19.0955 134.81 19.0955C133.011 19.0955 131.751 20.4037 131.751 22.366C131.751 24.3267 133.011 25.6585 134.81 25.6585C135.838 25.6585 136.655 25.1915 137.191 24.4203L139.131 26.2426C138.383 27.2702 136.982 28.2977 134.67 28.2977C131.212 28.2977 128.69 25.8456 128.69 22.3652ZM141.681 25.1915V19.329H139.813V16.7362H141.681V13.6528H144.648V16.7362H146.935V19.329H144.648V24.3975C144.648 25.1215 145.02 25.6585 145.675 25.6585C146.118 25.6585 146.541 25.495 146.702 25.3087L147.334 27.5728C146.891 27.9714 146.096 28.2977 144.857 28.2977C142.779 28.2977 141.681 27.2238 141.681 25.1915ZM165.935 28.2977V21.454H158.577V28.2977H155.263V12.439H158.577V18.5577H165.935V12.4398H169.275V28.2977H165.935ZM179.889 28.2977V26.5925C179.119 27.4337 177.764 28.2977 175.919 28.2977C173.443 28.2977 172.276 26.9431 172.276 24.7473V16.7362H175.241V23.5798C175.241 25.1451 176.058 25.6585 177.32 25.6585C178.464 25.6585 179.376 25.028 179.889 24.3731V16.7362H182.856V28.2977H179.889ZM193.417 28.2977V21.1986C193.417 19.6333 192.602 19.0963 191.339 19.0963C190.172 19.0963 189.285 19.7504 188.77 20.4045V28.2985H185.806V16.7362H188.77V18.1843C189.495 17.3439 190.896 16.4563 192.718 16.4563C195.217 16.4563 196.408 17.8573 196.408 20.0523V28.2977H193.418H193.417ZM199.942 25.1915V19.329H198.076V16.7362H199.943V13.6528H202.91V16.7362H205.198V19.329H202.91V24.3975C202.91 25.1215 203.282 25.6585 203.936 25.6585C204.38 25.6585 204.802 25.495 204.965 25.3087L205.595 27.5728C205.152 27.9714 204.356 28.2977 203.119 28.2977C201.04 28.2977 199.943 27.2238 199.943 25.1915\" fill=\"currentColor\"/>\n                        </svg>                       \n                    </a>\n                    <a href=\"#\" class=\"mr-5 mb-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-11\" viewBox=\"0 0 120 41\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M20.058 40.5994C31.0322 40.5994 39.9286 31.7031 39.9286 20.7289C39.9286 9.75473 31.0322 0.858398 20.058 0.858398C9.08385 0.858398 0.1875 9.75473 0.1875 20.7289C0.1875 31.7031 9.08385 40.5994 20.058 40.5994Z\" fill=\"currentColor\"/>\n                            <path d=\"M33.3139 20.729C33.3139 19.1166 32.0101 17.8362 30.4211 17.8362C29.6388 17.8362 28.9272 18.1442 28.4056 18.6424C26.414 17.2196 23.687 16.2949 20.6518 16.1765L21.9796 9.96387L26.2951 10.8885C26.3429 11.9793 27.2437 12.8567 28.3584 12.8567C29.4965 12.8567 30.4211 11.9321 30.4211 10.7935C30.4211 9.65536 29.4965 8.73071 28.3584 8.73071C27.5522 8.73071 26.8406 9.20497 26.5086 9.89271L21.6954 8.87303C21.553 8.84917 21.4107 8.87303 21.3157 8.94419C21.1972 9.01535 21.1261 9.13381 21.1026 9.27613L19.6321 16.1999C16.5497 16.2949 13.7753 17.2196 11.7599 18.6662C11.2171 18.1478 10.495 17.8589 9.74439 17.86C8.13201 17.86 6.85156 19.1639 6.85156 20.7529C6.85156 21.9383 7.56272 22.9341 8.55897 23.3849C8.51123 23.6691 8.48781 23.9538 8.48781 24.2623C8.48781 28.7197 13.6807 32.348 20.083 32.348C26.4852 32.348 31.6781 28.7436 31.6781 24.2623C31.6781 23.9776 31.6543 23.6691 31.607 23.3849C32.6028 22.9341 33.3139 21.9144 33.3139 20.729ZM13.4434 22.7918C13.4434 21.6536 14.368 20.729 15.5066 20.729C16.6447 20.729 17.5694 21.6536 17.5694 22.7918C17.5694 23.9299 16.6447 24.855 15.5066 24.855C14.368 24.8784 13.4434 23.9299 13.4434 22.7918ZM24.9913 28.2694C23.5685 29.6921 20.8653 29.7872 20.083 29.7872C19.2768 29.7872 16.5736 29.6683 15.1742 28.2694C14.9612 28.0559 14.9612 27.7239 15.1742 27.5105C15.3877 27.2974 15.7196 27.2974 15.9331 27.5105C16.8343 28.4117 18.7314 28.7197 20.083 28.7197C21.4346 28.7197 23.355 28.4117 24.2324 27.5105C24.4459 27.2974 24.7778 27.2974 24.9913 27.5105C25.1809 27.7239 25.1809 28.0559 24.9913 28.2694ZM24.6116 24.8784C23.4735 24.8784 22.5488 23.9538 22.5488 22.8156C22.5488 21.6775 23.4735 20.7529 24.6116 20.7529C25.7502 20.7529 26.6748 21.6775 26.6748 22.8156C26.6748 23.9299 25.7502 24.8784 24.6116 24.8784Z\" fill=\"white\"/>\n                            <path d=\"M108.412 16.6268C109.8 16.6268 110.926 15.5014 110.926 14.1132C110.926 12.725 109.8 11.5996 108.412 11.5996C107.024 11.5996 105.898 12.725 105.898 14.1132C105.898 15.5014 107.024 16.6268 108.412 16.6268Z\" fill=\"currentColor\"/>\n                            <path d=\"M72.5114 24.8309C73.7446 24.8309 74.4557 23.9063 74.4084 23.0051C74.385 22.5308 74.3373 22.2223 74.29 21.9854C73.5311 18.7133 70.8756 16.2943 67.7216 16.2943C63.9753 16.2943 60.9401 19.6853 60.9401 23.8586C60.9401 28.0318 63.9753 31.4228 67.7216 31.4228C70.0694 31.4228 71.753 30.5693 72.9622 29.2177C73.5549 28.5538 73.4365 27.5341 72.7249 27.036C72.1322 26.6329 71.3972 26.7752 70.8517 27.2256C70.3302 27.6765 69.3344 28.5772 67.7216 28.5772C65.825 28.5772 64.2126 26.941 63.8568 24.7832H72.5114V24.8309ZM67.6981 19.1637C69.4051 19.1637 70.8756 20.4915 71.421 22.3173H63.9752C64.5207 20.468 65.9907 19.1637 67.6981 19.1637ZM61.0824 17.7883C61.0824 17.0771 60.5609 16.5078 59.897 16.3894C57.8338 16.0813 55.8895 16.8397 54.7752 18.2391V18.049C54.7752 17.1717 54.0636 16.6267 53.3525 16.6267C52.5697 16.6267 51.9297 17.2667 51.9297 18.049V29.6681C51.9297 30.427 52.4985 31.0908 53.2574 31.1381C54.0875 31.1854 54.7752 30.5454 54.7752 29.7154V23.7162C54.7752 21.0608 56.7668 18.8791 59.5173 19.1876H59.802C60.5131 19.1399 61.0824 18.5233 61.0824 17.7883ZM109.834 19.306C109.834 18.5233 109.194 17.8833 108.412 17.8833C107.629 17.8833 106.989 18.5233 106.989 19.306V29.7154C106.989 30.4981 107.629 31.1381 108.412 31.1381C109.194 31.1381 109.834 30.4981 109.834 29.7154V19.306ZM88.6829 11.4338C88.6829 10.651 88.0429 10.011 87.2602 10.011C86.4779 10.011 85.8379 10.651 85.8379 11.4338V17.7648C84.8655 16.7924 83.6562 16.3182 82.2096 16.3182C78.4632 16.3182 75.4281 19.7091 75.4281 23.8824C75.4281 28.0557 78.4632 31.4466 82.2096 31.4466C83.6562 31.4466 84.8893 30.9485 85.8613 29.9761C85.9797 30.6405 86.5729 31.1381 87.2602 31.1381C88.0429 31.1381 88.6829 30.4981 88.6829 29.7154V11.4338ZM82.2334 28.6245C80.0518 28.6245 78.2971 26.5145 78.2971 23.8824C78.2971 21.2742 80.0518 19.1399 82.2334 19.1399C84.4151 19.1399 86.1698 21.2504 86.1698 23.8824C86.1698 26.5145 84.3912 28.6245 82.2334 28.6245ZM103.527 11.4338C103.527 10.651 102.887 10.011 102.104 10.011C101.322 10.011 100.681 10.651 100.681 11.4338V17.7648C99.7093 16.7924 98.5 16.3182 97.0534 16.3182C93.307 16.3182 90.2719 19.7091 90.2719 23.8824C90.2719 28.0557 93.307 31.4466 97.0534 31.4466C98.5 31.4466 99.7327 30.9485 100.705 29.9761C100.824 30.6405 101.416 31.1381 102.104 31.1381C102.887 31.1381 103.527 30.4981 103.527 29.7154V11.4338ZM97.0534 28.6245C94.8717 28.6245 93.1174 26.5145 93.1174 23.8824C93.1174 21.2742 94.8717 19.1399 97.0534 19.1399C99.235 19.1399 100.99 21.2504 100.99 23.8824C100.99 26.5145 99.235 28.6245 97.0534 28.6245ZM117.042 29.7392V19.1637H118.299C118.963 19.1637 119.556 18.6656 119.603 17.9779C119.651 17.2428 119.058 16.6267 118.347 16.6267H117.042V14.6347C117.042 13.8758 116.474 13.2119 115.715 13.1646C114.885 13.1173 114.197 13.7573 114.197 14.5874V16.6501H113.011C112.348 16.6501 111.755 17.1483 111.708 17.836C111.66 18.571 112.253 19.1876 112.964 19.1876H114.173V29.7631C114.173 30.5454 114.814 31.1854 115.596 31.1854C116.426 31.1381 117.042 30.5216 117.042 29.7392Z\" fill=\"currentColor\"/>\n                        </svg>                                                   \n                    </a>         \n                </div>\n            </div> \n        </div>\n    </section>\n  );\n});\n{{< /code >}}\n\nHere's a full list of UI components, sections, and templates resources you can leverage from Flowbite:\n\n- [Flowbite Library](https://flowbite.com/docs/getting-started/introduction/)\n- [Flowbite Blocks](https://flowbite.com)\n- [Flowbite Dashboard](https://github.com/themesberg/flowbite-admin-dashboard)\n- [Flowbite Pro](https://flowbite.com/pro/)\n\n## Qwik starter project\n\nThe open-source community from Flowbite has created a [Qwik starter project](https://github.com/themesberg/tailwind-qwik-starter) that has Tailwind CSS and Flowbite already installed and includes a showcase of some of the UI components already configured.\n\n## Qwik components\n\nYou can check out the whole collection of Flowbite components built with Qwik and Tailwind CSS by checking out the [GitHub repository](https://github.com/qwikerx/flowbite-qwik) and the [Flowbite Qwik](https://flowbite-qwik.com) official documentation.\n"
  },
  {
    "path": "content/getting-started/rails.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Ruby on Rails - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Ruby on Rails project and start developing modern web applications based on the full-stack framework\ngroup: getting-started\ntoc: true\nrequires_rails: true\n\nprevious: Symfony\npreviousLink: getting-started/symfony/\nnext: Phoenix (Elixir)\nnextLink: getting-started/phoenix/\n---\n\n[Ruby on Rails](https://rubyonrails.org/) is an open-source full-stack web application framework that runs server-side written in Ruby and built by the creators of Basecamp based on a model-view-controller architecture.\n\nPopular websites such as GitHub, Shopify, Twitch, Dribbble, AirBnB, and Coinbase are all based on the Ruby on Rails framework and it is continued to be used by thousands of companies and developers.\n\nIn this guide, you will learn how to set up Ruby on Rails with Tailwind CSS and install Flowbite to start using the UI components built with the utility classes from Tailwind CSS.\n\n## Create a new project\n\nFollow the next steps to get started with a Ruby on Rails project and install Tailwind CSS and Flowbite. \n\nMake sure that you have [Node.js](https://nodejs.org/en/) and [Ruby](https://www.ruby-lang.org/en/documentation/installation/) installed on your machine before continuing.\n\n1. Run the following command to install the `rails` gem from Ruby:\n\n{{< code lang=\"bash\" >}}\ngem install rails\n{{< /code >}}\n\n2. Create a new Ruby on Rails application if you don't already have one:\n\n{{< code lang=\"bash\" >}}\nrails new flowbite-app\ncd flowbite-app\n{{< /code >}}\n\nNow that you have created a new project you can proceed by setting up Tailwind CSS.\n\n## Install Tailwind CSS\n\nSince Tailwind v4, it's really easy to install Tailwind CSS with Rails, because we no longer need to have a custom `tailwind.config.js` file. Instead, everything is configured in your main CSS file.\n\n1. Install the official `tailwindcss-rails` gems:\n\n{{< code lang=\"bash\" >}}\n./bin/bundle add tailwindcss-ruby\n./bin/bundle add tailwindcss-rails\n{{< /code >}}\n\n2. Run the install command to set up the Tailwind configuration files:\n\n{{< code lang=\"bash\" >}}\n./bin/rails tailwindcss:install\n{{< /code >}}\n\nNow that Tailwind CSS has been successfully installed you can proceed by installing Flowbite.\n\n## Install Flowbite\n\n1. Install Flowbite by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `application.css` CSS file:\n\n{{< code lang=\"css\" file=\"application.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"application.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"application.css\" icon=\"file\" >}}\n@source \"../../../node_modules/flowbite\";\n{{< /code >}}\n\n### Turbo load support\n\nFlowbite provides custom event listeners for turbo load support if you import the `flowbite.turbo.js` file. Check out the following guides to learn more how to integrate the JavasScript file that powers the interactive components with Importmap or ESBuild.\n\n### Importmap\n\nImportmap is the default way of handling JavaScript on Rails 7. In order to support turbo load from importmaps you have to pin the `flowbite.turbo.js` file from a CDN where the `turbo:load` event listeners are added instead of `load`.\n\n1. Add the following line inside your `importmap.rb` file:\n\n{{< code lang=\"ruby\" file=\"importmap.rb\" icon=\"file\" >}}\npin \"flowbite\", to: \"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.turbo.min.js\"\n{{< /code >}}\n\n2. Then you need to import `flowbite` inside your `application.js` file:\n\n{{< code lang=\"javascript\" file=\"application.js\" icon=\"file\" >}}\nimport 'flowbite';\n{{< /code >}}\n\nThis will enable the interactive elements like dropdowns, modals, and navbars work by hooking the event listeners and actions to the data attributes whenever a new page is loaded in your application.\n\n### ESBuild\n\nIf you use ESBuild to Bundle your JavaScript on Rails, you will need to import a version of Flowbite which supports the `turbo:load` event listeners instead of `load`. To do this **add the line below** to your `application.js` file:\n\n{{< code lang=\"javascript\" file=\"application.js\" icon=\"file\" >}}\nimport \"flowbite/dist/flowbite.turbo.js\";\n{{< /code >}}\n\n### Standard JS (no turbo)\n\nIf you decide not to use turbo load then you can follow these steps:\n\n1. Run this command to pin Flowbite in your `importmap.rb` file:\n\n{{< code lang=\"bash\" >}}\n./bin/importmap pin flowbite\n{{< /code >}}\n\n2. Then you need to include Flowbite inside your `application.js` file:\n\n{{< code lang=\"javascript\" file=\"application.js\" icon=\"file\" >}}\nimport 'flowbite';\n{{< /code >}}\n\n### Include via CDN\n\nAlternatively to all of the above you can also include the JavaScript via CDN:\n\n{{< code lang=\"html\" file=\"index.html\" icon=\"file\" >}}\n// include via CDN for turbo support\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.turbo.min.js\"></script>\n\n// include via CDN without turbo support\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n{{< /code >}}\n\n### Datepicker\n\nSince the release of version `2.4.0` of Flowbite the Datepicker component is now part of the main package so you don't need to include `datepicker.turbo.js` separately. It will work out of the box.\n\n### Versions prior to 2.4.0\n\nIn order to support turbo load from Ruby on Rails 7, you have to include the `datepicker.turbo.js` file either from NPM or CDN into your project.\n\nInclude the following JavaScript file to support the datepicker component:\n\n{{< code lang=\"ruby\" file=\"importmap.rb\" icon=\"file\" >}}\npin \"flowbite-datepicker\", to: \"https://cdn.jsdelivr.net/npm/flowbite@2.3.0/dist/datepicker.turbo.min.js\"\n{{< /code >}}\n\nDon't forget to also import it inside your `application.js` file:\n\n{{< code lang=\"javascript\" file=\"application.js\" icon=\"file\" >}}\nimport 'flowbite-datepicker';\nimport 'flowbite/dist/datepicker.turbo.js';\n{{< /code >}}\n\n## Building your project\n\nRun the following command to start a local server and build the source files:\n\n{{< code lang=\"bash\" >}}\n./bin/dev\n{{< /code >}}\n\nThis will create a local server and you will be able to access the pages on `localhost:3000`.\n\nYou can also run `rails tailwindcss:build` to compile Tailwind CSS.\n\n## Create a homepage\n\nFirst of all, you need to delete the default `index.html` file inside the `public/` directory and then follow these steps:\n\n1. Create a new `pages/` directory inside the `app/views/` directory.\n2. Create a new `home.html.erb` file inside the `app/views/pages/` directory.\n3. Choose one of the components from Flowbite (ie. a tooltip) and copy-paste it inside the newly created file:\n\n{{< code lang=\"html\" file=\"home.html.erb\" icon=\"file\" >}}\n<button data-tooltip-target=\"tooltip-default\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default tooltip</button>\n<div id=\"tooltip-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /code >}}\n\n4. Create a new controller called `pages_controller.rb` inside the `app/controllers/` directory and add the following code inside of it:\n\n{{< code lang=\"ruby\" file=\"pages_controller.rb\" icon=\"file\" >}}\nclass PagesController < ApplicationController\n  def home\n  end\nend\n{{< /code >}}\n\n5. Set the homepage as the root page inside the `routes.rb` file inside the `config/` directory:\n\n{{< code lang=\"ruby\" file=\"routes.rb\" icon=\"file\" >}}\nroot to: 'pages#home'\n{{< /code >}}\n\nIf you have run `./bin/dev` to start a local server you should see the changes on `localhost:3000/` and the utility classes from Tailwind CSS should work and the interactive components from Flowbite should also be functional.\n\n## Rails starter project\n\nWe have released an open-source [Ruby on Rails project with Tailwind CSS and Flowbite](https://github.com/themesberg/tailwind-rails-starter) that you can use to get starter with a new project where we have showcased most of the components from Flowbite."
  },
  {
    "path": "content/getting-started/react.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS React - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your React project and start developing modern web applications using interactive elements based on utility classes\ngroup: getting-started\ntoc: true\nrequires_react: true\n\nprevious: Changelog\npreviousLink: getting-started/changelog/\nnext: Next.js\nnextLink: getting-started/next-js/\n---\n\n[React](https://react.dev/) is one of the most popular front-end libraries in the world used by websites such as Facebook, Instagram, Yahoo Mail, Dropbox, and more built by the Meta (formerly Facebook) company.\n\nCoupled with Tailwind CSS and the React components from Flowbite you will be able to develop applications faster than ever based on the [Flowbite React](https://flowbite-react.com) library using advanced theming functionalities and React specific components and methodologies.\n\n## Getting started\n\nYou can easily install or add Flowbite React to an existing project with our new CLI toolkit.\n\n## Create a React project\n\nUse our project creation CLI to scaffold a new application with Flowbite React already configured:\n\n{{< code lang=\"bash\" >}}\nnpx create-flowbite-react@latest\n{{< /code >}}\n\nThis will create a new project with React, Flowbite, and Tailwind CSS (v4) ready to use.\n\n## Add to existing project\n\nFor existing projects, use the Flowbite React CLI to set up and configure everything automatically:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis will add Flowbite React and configure Tailwind CSS to an existing React project.\n\n## Integration Guides\n\nFlowbite React is a UI component library that can be integrated with many other technologies and libraries such as Next.js, Astro, Gatsby, Laravel, Remix and more.\n\nCheck out [this page](https://flowbite-react.com/docs/getting-started/quickstart) to learn how to get started with each integration.\n\n## React components\n\nFlowbite React offers a wide variety of UI components such as buttons, dropdowns, modals, datepickers, and more that you can plug and play into your application. Check out the [Flowbite React docs](https://flowbite-react.com/docs/components/button) for more details.\n\n## Theme customization\n\nFlowbite React offers an advanced system of customizing your components and templates using the new [theming engine](https://flowbite-react.com/docs/customize/theme). You can style components by directly using the `className` attribute of the component, but also by passing a theme object to the `<ThemeProvider>` component.\n\nFor example, here is a simple way you can update a button component:\n\n{{< code lang=\"javascript\" file=\"app.jsx\" icon=\"file\" >}}\nimport { Button } from \"flowbite-react\";\n\nfunction App() {\n  return <Button className=\"bg-red-500 hover:bg-red-600\">Custom Button</Button>;\n}\n{{< /code >}}\n\nAdditionally, you can also use the `createTheme` helper to create a theme object that you can then pass on to the `<ThemeProvider>` component with which you can style subcomponents too:\n\n{{< code lang=\"javascript\" file=\"app.jsx\" icon=\"file\" >}}\nimport { Button, createTheme, ThemeProvider } from \"flowbite-react\";\n\nconst customTheme = createTheme({\n  button: {\n    color: {\n      primary: \"bg-red-500 hover:bg-red-600\",\n      secondary: \"bg-blue-500 hover:bg-blue-600\",\n    },\n    size: {\n      lg: \"px-6 py-3 text-lg\",\n    },\n  },\n});\n\nfunction App() {\n  return (\n    <ThemeProvider theme={customTheme}>\n      <Button color=\"primary\">Red Button</Button>\n      <Button color=\"secondary\" size=\"lg\">\n        Large Blue Button\n      </Button>\n    </ThemeProvider>\n  );\n}\n{{< /code >}}\n\n## Storybook\n\nFlowbite React also has a [Storybook](https://storybook.flowbite-react.com/) version which you can use to preview and test components in isolation.\n\n## Open-source community\n\nThe Flowbite React UI library is an open-source project under the MIT license. You can access the source code on [GitHub](https://github.com/themesberg/flowbite-react) and collaborate with our community of developers to contribute to its growth.\n\n## Support development\n\nIf you’d like to support our open-source work, you can explore the [pro version](https://flowbite.com/pro/) of Flowbite, which offers 400+ components and templates, a Figma design system, an admin dashboard, and more."
  },
  {
    "path": "content/getting-started/remix.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Remix - Flowbite\ndescription: Learn how to install Remix with Tailwind CSS and the UI components from Flowbite to leverage quicker page loads with a full-stack web framework built by Shopify\ngroup: getting-started\ntoc: true\nrequires_remix: true\n\nprevious: Astro\npreviousLink: getting-started/astro/\nnext: Meteor.js\nnextLink: getting-started/meteor-js/\n---\n\n[Remix](https://remix.run/) is a full-stack web framework based on React that allows you to build websites with quicker page load by leveraging distributed systems and using the native Web Fetch API to load content from the server.\n\nThe Remix framework is being used by hundreds of thousands of developers and large companies one of which is Shopify which actually acquired it on October 31st, 2022.\n\nFollow the next steps in this guide to learn how to create a new Remix project and install and setup Tailwind CSS together with the UI components from Flowbite.\n\n## Requirements\n\nBefore getting started make sure you that have [Node.js](https://nodejs.org/en/) and NPM installed on your local machine to be able to install the required packages including Remix, Tailwind CSS and Flowbite.\n\n## Getting started\n\nThe fastest way to get started is using our project creation CLI, which sets up a new Remix project with Flowbite React, Tailwind CSS, and all necessary configurations:\n\n{{< code lang=\"bash\" >}}\nnpx create-flowbite-react@latest -t remix\n{{< /code >}}\n\nThis command will create a new Remix project, install Tailwind CSS (v4), Flowbite React with all its dependencies, and set up dark mode support with a couple of example components to get you started.\n\n## Add to existing project\n\nIf you already have a Remix project and want to add Flowbite React, you can use our initialization CLI:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command will automatically install Flowbite React and its dependencies and configure the Flowbite plugin with Tailwind within an existing Remix project.\n\n## Custom installation\n\nIf you prefer to set everything up manually or need more control over the configuration, follow these steps.\n\n### Create new project\n\nCreate a new Remix project using the official CLI toolkit:\n\n{{< code lang=\"bash\" >}}\nnpx create-remix@latest\n{{< /code >}}\n\nThis command will create a fresh new Remix project.\n\n### Install Flowbite React\n\nYou can now proceed with installing Flowbite React:\n\n{{< code lang=\"bash\" >}}\nnpx flowbite-react@latest init\n{{< /code >}}\n\nThis command will install Flowbite React and configure Tailwind and Vite with the Flowbite plugin.\n\n### Add dark mode\n\nIn server-side rendered applications like Remix, to avoid page flicker (if `dark` mode is set) before Remix hydrates the content, the `ThemeModeScript` component must be rendered in the `<head>` tag. The component renders a script tag that sets `dark` or removes `dark` from the `<html>` element before hydration occurs.\n\nImport and render `ThemeModeScript` in `app/root.tsx` the `<head>` tag:\n\n{{< code lang=\"javascript\" file=\"app/root.tsx\" icon=\"file\" >}}\nimport { ThemeModeScript } from 'flowbite-react';\n\nexport default function Layout() {\n    return (\n        <html lang=\"en\">\n            <head>\n                {/* ... */}\n                <ThemeModeScript />\n            </head>\n            <body>{/* ... */}</body>\n        </html>\n    );\n}\n{{< /code >}}\n\nCongratulations! You have now installed and configured Flowbite React within a Remix project.\n\n## Remix components\n\nNow that you have successfully installed Flowbite React you can start using the components from the library:\n\n{{< code lang=\"javascript\" file=\"app/routes/_index.tsx\" icon=\"file\" >}}\n// app/routes/_index.tsx\n\nimport { Button } from 'flowbite-react';\n\nexport default function Index() {\n    return <Button>Click me</Button>;\n}\n{{< /code >}}\n\nCheck out the [Flowbite React documentation](https://flowbite-react.com/) to learn more about the components and how to use them.\n\n## Theme customization\n\nFlowbite React offers an advanced system of customizing your components and templates using the new [theming engine](https://flowbite-react.com/docs/customize/theme). You can style components by directly using the `className` attribute of the component, but also by passing a theme object to the `<ThemeProvider>` component.\n\nFor example, here is a simple way you can update a button component:\n\n{{< code lang=\"javascript\" file=\"app/routes/_index.tsx\" icon=\"file\" >}}\nimport { Button } from \"flowbite-react\";\n\nfunction App() {\n  return <Button className=\"bg-red-500 hover:bg-red-600\">Custom Button</Button>;\n}\n{{< /code >}}\n\nAdditionally, you can also use the `createTheme` helper to create a theme object that you can then pass on to the `<ThemeProvider>` component with which you can style subcomponents too:\n\n{{< code lang=\"javascript\" file=\"app/routes/_index.tsx\" icon=\"file\" >}}\nimport { Button, createTheme, ThemeProvider } from \"flowbite-react\";\n\nconst customTheme = createTheme({\n  button: {\n    color: {\n      primary: \"bg-red-500 hover:bg-red-600\",\n      secondary: \"bg-blue-500 hover:bg-blue-600\",\n    },\n    size: {\n      lg: \"px-6 py-3 text-lg\",\n    },\n  },\n});\n\nfunction App() {\n  return (\n    <ThemeProvider theme={customTheme}>\n      <Button color=\"primary\">Red Button</Button>\n      <Button color=\"secondary\" size=\"lg\">\n        Large Blue Button\n      </Button>\n    </ThemeProvider>\n  );\n}\n{{< /code >}}\n\n## Open-source community\n\nThe Flowbite React UI library is an open-source project available for free under the MIT license. Its source code is hosted on [GitHub](https://github.com/themesberg/flowbite-react), where you can collaborate and contribute alongside our developer community.\n\n## Support development\n\nIf you’d like to support our open-source efforts, consider exploring the [pro version](https://flowbite.com/pro/) of Flowbite, which includes 400+ components and templates, a Figma design system, an admin dashboard, and more."
  },
  {
    "path": "content/getting-started/solid-js.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS SolidJS - Flowbite\ndescription: Learn how to install SolidJS with Tailwind CSS and Flowbite and get started with building web applications with a simple and performant reactive JavaScript library\ngroup: getting-started\ntoc: true\nrequires_solidjs: true\n\nprevious: Gatsby\npreviousLink: getting-started/gatsby/\nnext: Qwik\nnextLink: getting-started/qwik/\n---\n\n[SolidJS](https://www.solidjs.com/) is a popular and open-source declarative JavaScript library that empowers reactive UI interfaces for the web that ensures a performant benchmark, leverages the flexibility of JSX and also provides support for TypeScript, Astro, and Vite.\n\nThe SolidJS library is used by many web developers and smaller companies and it was even spotted being used in OpenAI's ChatGPT interface used for artificial intelligence UI/UX interactivity.\n\nBy following the steps from this guide you will learn how to create a new project using SolidJS, install and set up Tailwind CSS to leverage the utility classes and finally install and integrate the free and open-source UI components from Flowbite.\n\n## Requirements\n\nBefore getting started make sure that you have [Node.js](https://nodejs.org/en/) installed on your local machine to be able to install both SolidJS, Tailwind CSS and Flowbite.\n\n## Create a SolidJS project\n\n1. Execute the following command in your terminal to create a new SolidJS project using Vite Templates:\n\n{{< code lang=\"bash\" >}}\nnpx degit solidjs/templates/js flowbite-app\ncd flowbite-app\n{{< /code >}}\n\nThis command will create a boilerplate project that sets up a basic project structure and dependency files.\n\n2. Install the project dependencies using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install\n{{< /code >}}\n\n3. Execute the following command to create a local development server:\n\n{{< code lang=\"bash\" >}}\nnpm run dev\n{{< /code >}}\n\nThe newly created SolidJS project will now be accessible via the browser on `http://localhost:3000`.\n\n4. Create a production build by running the following command in your terminal or deployment pipeline:\n\n{{< code lang=\"bash\" >}}\nnpm run build\n{{< /code >}}\n\nYou now have a working SolidJS project configuration installed and can now proceed with installing Tailwind CSS and Flowbite to build web UI interfaces even faster.\n\n## Install Tailwind CSS\n\n[Tailwind CSS](https://tailwindcss.com/) is the most popular utility-first CSS framework leveraging PostCSS and utility classes inside your templates to speed up UI development.\n\n1. Install Tailwind CSS using NPM and executing the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm install --save-dev tailwindcss @tailwindcss/postcss postcss\n{{< /code >}}\n\n2. Create a new `postcss.config.mjs` configuration file and at the following code:\n   \n{{< code lang=\"javascript\" file=\"postcss.config.mjs\" icon=\"file\" >}}\n// postcss.config.mjs\nexport default {\n  plugins: {\n    \"@tailwindcss/postcss\": {},\n  }\n}\n{{< /code >}}\n\n3. Import the default Tailwind CSS directive inside the `./src/index.css` default CSS file from SolidJS:\n\n{{< code lang=\"css\" file=\"src/index.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n4. Restart your local development server by running `npm run dev` and you can now use the utility-first classes inside your SolidJS project by testing it out in your `App.jsx` file:\n\n{{< code lang=\"javascript\" file=\"src/App.jsx\" icon=\"file\" >}}\nfunction App() {\n  return (\n    <div class={styles.App}>\n      <header class={styles.header}>\n        <img src={logo} class={styles.logo} alt=\"logo\" />\n        <p>\n          Edit <code>src/App.jsx</code> and save to reload.\n        </p>\n        <a\n          class=\"text-4xl text-blue-600\"\n          href=\"https://github.com/solidjs/solid\"\n          target=\"_blank\"\n          rel=\"noopener noreferrer\"\n        >\n          Learn Solid, Tailwind CSS and Flowbite\n        </a>\n      </header>\n    </div>\n  );\n}\n\nexport default App;\n{{< /code >}}\n\nYou now have both SolidJS and Tailwind CSS successfully installed and configured in your local project and we can now proceed by setting up the UI components from Flowbite.\n\n## Install Flowbite\n\n[Flowbite](https://flowbite.com) is a popular and open-source UI component library built on top of the classes from Tailwind CSS and it can help you kickstart building websites and applications by leveraging interactive UI components such as navbars, modals, dropdowns, datepickers, and more.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `index.css` CSS file:\n\n{{< code lang=\"css\" file=\"src/index.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"src/index.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"src/index.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\nNow that you have installed Flowbite you can start using the UI components from the documentation inside your SolidJS project.\n\n## Flowbite components\n\nAll of the interactive and non-interactive components from Flowbite can now be used so let's first start by adding the [Modal component](https://flowbite.com/docs/components/modal/) by creating a new `Modal.jsx` component.\n\nThe most important part is that you need to import the `initFlowbite()` function from Flowbite and then call this function using the `onMount` hook method from SolidJS so that the interactive data attributes events can be initialized.\n\n{{< code lang=\"javascript\" file=\"src/components/Modal.jsx\" icon=\"file\" >}}\nimport logo from './logo.svg';\nimport styles from './App.module.css';\n\nimport { initFlowbite } from 'flowbite';\nimport { onMount } from 'solid-js';\n\nfunction Modal() {\n  onMount(() => {\n    initFlowbite();\n  });\n\n  return (\n    <div>\n      <button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n        Toggle modal\n      </button>\n\n      <div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n          <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n              <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                  <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                      <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                          Terms of Service\n                      </h3>\n                      <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"default-modal\">\n                          <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                          </svg>\n                          <span class=\"sr-only\">Close modal</span>\n                      </button>\n                  </div>\n                  <div class=\"p-4 md:p-5 space-y-4\">\n                      <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                          With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                      </p>\n                      <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                          The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                      </p>\n                  </div>\n                  <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                      <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                      <button data-modal-hide=\"default-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n                  </div>\n              </div>\n          </div>\n      </div>\n    </div>\n  );\n}\n\nexport default App;\n{{< /code >}}\n\nThis example adds a button which when clicked it will open a modal component with a title, description, and close button.\n\nLet's now show a [tooltip indicator](https://flowbite.com/docs/components/tooltips/) when hovering over the button to provide extra information:\n\n{{< code lang=\"html\" file=\"src/components/Modal.jsx\" icon=\"file\" >}}\n<button data-tooltip-target=\"tooltip-default\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default tooltip</button>\n\n<div id=\"tooltip-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /code >}}\n\nFinally, let's add an [accordion component](https://flowbite.com/docs/components/accordion/) inside the modal:\n\n{{< code lang=\"html\" file=\"src/components/Modal.jsx\" icon=\"file\" >}}\n<div id=\"accordion-collapse\" data-accordion=\"collapse\">\n  <h2 id=\"accordion-collapse-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-collapse-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-1\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-2\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"https://flowbite.com/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-3\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"https://flowbite.com/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /code >}}\n\nThese examples should give you a pretty good idea how you can leverage the UI components from Flowbite together with Tailwind CSS and SolidJS to build performant and reactive web applications.\n\n## SolidJS starter project\n\nThe open-source community from Flowbite created a [SolidJS starter project](https://github.com/themesberg/tailwind-solidjs-starter) that follows the steps from this guide that you can use to quickly start using these three technologies for your next project."
  },
  {
    "path": "content/getting-started/svelte.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Svelte - Flowbite\ndescription: Learn how to install Tailwind CSS with Flowbite for your Svelte project and start developing modern web applications using interactive elements based on utility classes\ngroup: getting-started\ntoc: true\nrequires_svelte: true\n\nprevious: Nuxt\npreviousLink: getting-started/nuxt-js/\nnext: Angular\nnextLink: getting-started/angular/\n---\n\nThis page will guide you through installing Tailwind CSS with Flowbite for your Svelte project, so you can start developing modern web applications using interactive elements based on utility classes.\n\n## Introduction\n\nSvelte is a modern and growing front-end compiler. Developers build boilerplate-free components using languages HTML, CSS and JavaScript. Svelte compiles your code to tiny, framework-less vanilla JS.\n\n[Flowbite Svelte](https://flowbite-svelte.com/) is an official Flowbite component library for Svelte that allows you to use interactive components with ease. Tailwind CSS, on the other hand, is a utility-first CSS framework that helps you quickly build custom user interfaces.\n\nTogether, Tailwind CSS and Flowbite Svelte can help you create modern and interactive web applications in a fraction of the time it would take to do it from scratch.\n\n## Install Svelte\n\nBefore we can start using Tailwind CSS and Flowbite Svelte, we need to install Svelte. There are two ways to do this: using SvelteKit or using Svelte.\n\n### SvelteKit\n\nTo install SvelteKit, run the following commands:\n\n{{< code lang=\"bash\" >}}\nnpm create svelte@latest my-app\ncd my-app\npnpm i\n{{< /code >}}\n\nThis will create a new SvelteKit application inside the `my-app` directory.\n\n### Svelte\n\nTo install Svelte, run the following commands:\n\n{{< code lang=\"bash\" >}}\nnpm create vite@latest myapp -- --template svelte\ncd myapp\npnpm i\n{{< /code >}}\n\nThis command will create a new Svelte application using Vite.\n\n## Install Tailwind CSS \n\nNext, we need to install Tailwind CSS.\n\n{{< code lang=\"bash\" >}}\ncd myapp\nnpx svelte-add@latest tailwindcss\npnpm i\n{{< /code >}}\n\nThis command will add and configure Tailwind CSS inside your Svelte project.\n\n## Install Flowbite\n\nNow, we can install Flowbite with Svelte and their dependencies. [Flowbite Svelte](https://flowbite-svelte.com) is an official Flowbite UI component library recommended for usage with Svelte with native interactivity handles.\n\nInstall the Flowbite packages and dependencies using `pnpm`:\n\n{{< code lang=\"bash\" >}}\npnpm i flowbite flowbite-svelte tailwind-merge @popperjs/core\n{{< /code >}}\n\nWe also need to update the `tailwind.config.js` file with the following details:\n\n{{< code lang=\"javascript\" file=\"tailwind.config.js\" icon=\"file\" >}}\nconst config = {\n  content: [\n    \"./src/**/*.{html,js,svelte,ts}\",\n    \"./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}\",\n  ],\n\n  plugins: [\n    require('flowbite/plugin')\n  ],\n\n  darkMode: 'class',\n  \n  theme: {\n    extend: {\n      colors: {\n        // flowbite-svelte\n        primary: { 50: '#FFF5F2', 100: '#FFF1EE', 200: '#FFE4DE', 300: '#FFD5CC', 400: '#FFBCAD', 500: '#FE795D', 600: '#EF562F', 700: '#EB4F27', 800: '#CC4522', 900: '#A5371B'},\n      }\n    }\n  }\n};\n\nmodule.exports = config;\n{{< /code >}}\n\nThis ensures that the Tailwind CSS compiler will know what dynamic classes have to be added and also configures some custom CSS from Flowbite.\n\n## Flowbite Svelte components\n\nNow that everything is installed, we can start using Flowbite Svelte components in our Svelte project.\n\nThe navbar component is a great way to display a list of navigation links at the top of your page. Here's an example of how to use it:\n\n{{< code lang=\"html\" file=\"Navbar.svelte\" icon=\"file\" >}}\n<script>\n  import { Navbar, NavBrand, NavLi, NavUl, NavHamburger } from 'flowbite-svelte'\n</script>\n\n<Navbar let:hidden let:toggle>\n  <NavBrand href=\"/\">\n    <img\n      src=\"https://flowbite.com/docs/images/logo.svg\"\n      class=\"mr-3 h-6 sm:h-9\"\n      alt=\"Flowbite Logo\"\n    />\n    <span class=\"self-center whitespace-nowrap text-xl font-semibold dark:text-white\">\n      Flowbite\n    </span>\n  </NavBrand>\n  <NavHamburger on:click={toggle} />\n  <NavUl {hidden}>\n    <NavLi href=\"/\" active={true}>Home</NavLi>\n    <NavLi href=\"/about\">About</NavLi>\n    <NavLi href=\"/services\">Services</NavLi>\n    <NavLi href=\"/pricing\">Pricing</NavLi>\n    <NavLi href=\"/contact\">Contact</NavLi>\n  </NavUl>\n</Navbar>\n{{< /code >}}\n\nThe navbar component has several customization options, such as dropdowns, search bars, CTA buttons, and sticky navbars. For more examples, check out the [navbar component page](https://flowbite-svelte.com/docs/components/navbar).\n\nAlternatively, you can also choose of the [mega menu](https://flowbite-svelte.com/docs/components/mega-menu) components from Flowbite Svelte.\n\nThe modal component is perfect for showing interactive dialogs and notifications. Here's an example of how to use it:\n\n{{< code lang=\"html\" file=\"Modal.svelte\" icon=\"file\" >}}\n<script>\n  import { Button, Modal } from 'flowbite-svelte'\n  let defaultModal = false;\n</script>\n\n<Button on:click={() => defaultModal = true}>Default modal</Button>\n<Modal title=\"Terms of Service\" bind:open={defaultModal} autoclose>\n  <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n  </p>\n  <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n  </p>\n  <svelte:fragment slot='footer'>\n    <Button on:click={() => alert('Handle \"success\"')}>I accept</Button>\n    <Button color=\"alternative\">Decline</Button>\n  </svelte:fragment>\n</Modal>\n{{< /code >}}\n\nThe modal component has various customization options, such as different types of modals, buttons, and other interactive elements. For more examples, check out the [modal component page](https://flowbite-svelte.com/docs/components/modal).\n\nThe footer component is a useful way to display valuable information to your users, such as sitemap links, a copyright notice, and a logo.\n\n{{< code lang=\"html\" file=\"Footer.svelte\" icon=\"file\" >}}\n<script>\n  import { Footer, FooterCopyright, FooterLinkGroup, FooterLink } from 'flowbite-svelte'\n</script>\n\n<Footer>\n  <FooterCopyright href=\"/\" by=\"Flowbite™\" year={2022} />\n  <FooterLinkGroup ulClass=\"flex flex-wrap items-center mt-3 text-sm text-gray-500 dark:text-gray-400 sm:mt-0\">\n    <FooterLink href=\"/\">About</FooterLink>\n    <FooterLink href=\"/\">Privacy Policy</FooterLink>\n    <FooterLink href=\"/\">Licensing</FooterLink>\n    <FooterLink href=\"/\">Contact</FooterLink>\n  </FooterLinkGroup>\n</Footer>\n{{< /code >}}\n\nThe footer component also has several customization options, such as adding logos, social media links, and sitemap links. For more examples, check out the [footer component page](https://flowbite-svelte.com/docs/components/footer).\n\n## Flowbite Svelte starters\n\nThe awesome open-source community has created a couple of starter projects that you can use to get up and running with Flowbite Svelte quicker with templates and boilerplate starters:\n\n- [Flowbite SvelteKit starter](https://github.com/shinokada/flowbite-svelte-starter)\n- [Svelte TS starter](https://github.com/shinokada/svelte-ts-starter)\n- [Svelte starter](https://github.com/shinokada/svelte-starter)\n- [Laravel, Inertia, Svelte, Typescript with Flowbite starter](https://github.com/ZekyTheWolf/LIST-Starter)\n\n<!-- \nchore: this repository needs to be updated with better UI/UX\n\n## Flowbite Svelte layout example\n\nThe responsive sidebar layout is a popular layout option for modern web applications that require a flexible and modern design. \n\nWith Flowbite-Svelte, you can easily create a responsive sidebar. It allows you to display all the important links and features in a clean and organized way. With Flowbite-Svelte, you can create a responsive sidebar layout quickly and easily, making your web application development more efficient. For more information, check out the [Flowbite-Svelte Responsive Sidebar Layout page](https://flowbite-svelte.com/examples/sidebar-layout). -->\n\n## Flowbite Svelte blocks\n\nThe [Flowbite Svelte Blocks](https://flowbite-svelte-blocks.vercel.app/) collection is a great resource for free UI components for marketing, applications, and publishers built with the Flowbite Svelte library. \n\nThere are various examples to explore, making it an excellent resource for inspiration and learning.\n\n## UI Component Library\n\nThe [Flowbite Svelte library](https://github.com/themesberg/flowbite-svelte) offers more than 130 components, including interactive elements, navigation menus, modals, forms, footers, typograpy, and much more. These components are built with Svelte and Tailwind CSS, making them easy to use and customize in your web application. \n\nYou can save time and effort by not having to build these components from scratch. Check out the [Flowbite Svelte Library](https://flowbite-svelte.com/) to explore all the available components.\n\n## Contributing\n\nThe [Flowbite Svelte](https://github.com/themesberg/flowbite-svelte) library on GitHub is an open-source project and many developers contribute to the project by adding new components and improving the current codebase. \n\nContributing is a great way by saying thank you or building up your developer portfolio.\n"
  },
  {
    "path": "content/getting-started/symfony.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Symfony (PHP) - Flowbite\ndescription: Learn how to install Flowbite with Symfony and Tailwind CSS to use a free and open-source PHP web application framework developed by SensioLabs SAS\ngroup: getting-started\ntoc: true\nrequires_symfony: true\n\nprevious: Laravel\npreviousLink: getting-started/laravel/\nnext: Ruby on Rails\nnextLink: getting-started/rails/\n---\n\n[Symfony](https://symfony.com/) is one of the definitive web application frameworks in the PHP ecosystem offering over 50 standalone PHP components and an MVC framework for your web application that you can use to build complex applications, website pages and even API services.\n\nThe Symfony PHP framework was first launched as an open-source software back in 2005 by SensioLabs SAS and it is currently used by numerous companies and frameworks including Laravel, Spotify, BlaBlaCar, Trivago, Dailymotion and more.\n\nFollow the steps from this guide to learn how to create a new Symfony project on your local computer, install and configure the Tailwind CSS framework, and finally install Flowbite and leverage the open-source UI components to build websites even faster.\n\n## Requirements\n\nMake sure that before you get started you have both [PHP](https://www.php.net/) (v8.1 or higher), [Composer](https://getcomposer.org/download/) and [Node.js](https://nodejs.org/en/) installed on your local environment so that Symfony, Tailwind CSS and Flowbite can be properly set up and configured.\n\n## Create a Symfony project\n\nThe most straightforward approach for creating a new Symfony project is to use the official [Symfony CLI](https://symfony.com/download) installer which you can easily install on macOS and Linux devices using Homebrew:\n\n{{< code lang=\"bash\" >}}\nbrew install symfony-cli/tap/symfony-cli\n{{< /code >}}\n\nFor devices running on Windows you can also install the Symfony CLI using Scoop:\n\n{{< code lang=\"bash\" >}}\nscoop install symfony-cli\n{{< /code >}}\n\nNow that you have the CLI available you can proceed by creating a new project.\n\n1. Create a new Symfony project by running the following command inside your terminal:\n\n{{< code lang=\"bash\" >}}\nsymfony new --webapp flowbite-app\n{{< /code >}}\n\nThis command will create a new folder with a fresh Symfony project installation inside.\n\n2. Change the current working directory to the newly created project folder:\n\n{{< code lang=\"bash\" >}}\ncd flowbite-app\n{{< /code >}}\n\n3. Install the recommended Symfony Webpack Encore bundle to enable front-end integration via Composer and remove the default dependencies:\n\n{{< code lang=\"bash\" >}}\ncomposer remove symfony/ux-turbo symfony/asset-mapper symfony/stimulus-bundle\ncomposer require symfony/webpack-encore-bundle\n{{< /code >}}\n\n4. Run the following command in your terminal to start a local web server:\n\n{{< code lang=\"bash\" >}}\nsymfony server:start\n{{< /code >}}\n\nThis command will make the web application accessible via the browser on `http://localhost:8000`.\n\nTo deploy your application on a server we recommend you to check out the official [production deployment tools and bundlers](https://symfony.com/doc/current/deployment.html) that Symfony provides out-of-the-box, such as Deployer, Ansistrano, or Fabric.\n\nNow that you have a working Symfony application on your local computer we can proceed with installing and setting up Tailwind CSS.\n\n## Install Tailwind CSS\n\n[Tailwind CSS](https://tailwindcss.com/) is a popular and open-source utility-first CSS framework that allows you to code styles directly inside your HTML based on preconfigured classes that will speed up your UI front-end development.\n\n1. Run the following command to require and install Tailwind CSS and PostCSS via NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/postcss postcss postcss-loader --save-dev\n{{< /code >}}\n\n2. Import the base Tailwind directive inside the default `./assets/styles/app.css` file:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n3. Enable the PostCSS loader plugin by adding it to the Webpack config file:\n\n{{< code lang=\"javascript\" file=\"webpack.config.js\" icon=\"file\" >}}\n// webpack.config.js\nEncore\n    // other plugins\n\n    .enablePostCssLoader()\n\n    // ... more plugins\n{{< /code >}}\n\n4. Create a new `postcss.config.mjs` file in the root folder and add the following configuration:\n\n{{< code lang=\"javascript\" file=\"postcss.config.mjs\" icon=\"file\" >}}\nexport default {\n  plugins: {\n    \"@tailwindcss/postcss\": {},\n  },\n};\n{{< /code >}}\n\n5. Run the following command to compile the front-end assets via Webpack:\n\n{{< code lang=\"bash\" >}}\nnpm run watch\n{{< /code >}}\n\n6. Let's create a new homepage entry file by configuring the Symfony routes file:\n\n{{< code lang=\"yaml\" file=\"routes.yml\" icon=\"file\" >}}\n// ./config/routes.yml\n\nindex:\n    path: /\n    controller: App\\Controller\\DefaultController::index\n{{< /code >}}\n\n7. Create a new `DefaultController` and set up the path for a new Twig template file:\n\n{{< code lang=\"php\" file=\"DefaultController.php\" icon=\"file\" >}}\n<?php\n// ./src/Controller/DefaultController.php\n\nnamespace App\\Controller;\n\nuse Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController;\n\nclass DefaultController extends AbstractController\n{\n    /**\n     * @return \\Symfony\\Component\\HttpFoundation\\Response\n     */\n    public function index()\n    {\n        return $this->render('index.html.twig', []);\n    }\n}\n{{< /code >}}\n\n8. Create a new `index.html.twig` inside the templates folder and add a couple of [header](https://flowbite.com/blocks/marketing/header/) and [hero](https://flowbite.com/blocks/marketing/hero/) sections from the Flowbite Blocks collection:\n\n{{< code lang=\"html\" file=\"index.html.twig\" icon=\"file\" >}}\n{% extends 'base.html.twig' %}\n\n{% block body %}\n    <header>\n        <nav class=\"bg-white border-gray-200 px-4 lg:px-6 py-2.5 dark:bg-gray-800\">\n            <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto\">\n                <a href=\"https://flowbite.com\" class=\"flex items-center\">\n                    <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 mr-3 sm:h-9\" alt=\"Flowbite Logo\" />\n                    <span class=\"self-center text-xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n                </a>\n                <div class=\"flex items-center lg:order-2\">\n                    <a href=\"#\" class=\"text-gray-800 dark:text-white hover:bg-gray-50 focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 mr-2 dark:hover:bg-gray-700 focus:outline-none dark:focus:ring-gray-800\">Log in</a>\n                    <a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 mr-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get started</a>\n                    <button data-collapse-toggle=\"mobile-menu-2\" type=\"button\" class=\"inline-flex items-center p-2 ml-1 text-sm text-gray-500 rounded-lg lg:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mobile-menu-2\" aria-expanded=\"false\">\n                        <span class=\"sr-only\">Open main menu</span>\n                        <svg class=\"w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z\" clip-rule=\"evenodd\"></path></svg>\n                        <svg class=\"hidden w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n                    </button>\n                </div>\n                <div class=\"items-center justify-between hidden w-full lg:flex lg:w-auto lg:order-1\" id=\"mobile-menu-2\">\n                    <ul class=\"flex flex-col mt-4 font-medium lg:flex-row lg:space-x-8 lg:mt-0\">\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-white bg-blue-700 rounded-sm lg:bg-transparent lg:text-blue-700 lg:p-0 dark:text-white\" aria-current=\"page\">Home</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Company</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Features</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Team</a>\n                        </li>\n                        <li>\n                            <a href=\"#\" class=\"block py-2 pl-3 pr-4 text-gray-600 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-blue-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n        </nav>\n    </header>\n    <section class=\"bg-white dark:bg-gray-900\">\n        <div class=\"max-w-screen-xl px-4 py-8 mx-auto text-center lg:py-16 lg:px-12\">\n            <a href=\"#\" class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-gray-600 bg-gray-100 rounded-full mb-7 dark:bg-gray-800 dark:text-white hover:bg-gray-200 dark:hover:bg-gray-700\" role=\"alert\">\n                <span class=\"text-xs bg-blue-600 rounded-full text-white px-4 py-1.5 mr-3\">New</span> <span class=\"text-sm font-medium\">Flowbite is out! See what's new</span> \n                <svg class=\"w-5 h-5 ml-2\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z\" clip-rule=\"evenodd\"></path></svg>\n            </a>\n            <h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n            <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 xl:px-48 dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <div class=\"flex flex-col mb-8 space-y-4 lg:mb-16 sm:flex-row sm:justify-center sm:space-y-0 sm:space-x-4\">\n                <a href=\"#\" class=\"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                    Learn more\n                    <svg class=\"w-5 h-5 ml-2 -mr-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n                </a>\n                <a href=\"#\" class=\"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-gray-900 border border-gray-300 rounded-lg hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 dark:text-white dark:border-gray-700 dark:hover:bg-gray-700 dark:focus:ring-gray-800\">\n                    <svg class=\"w-5 h-5 mr-2 -ml-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M2 6a2 2 0 012-2h6a2 2 0 012 2v8a2 2 0 01-2 2H4a2 2 0 01-2-2V6zM14.553 7.106A1 1 0 0014 8v4a1 1 0 00.553.894l2 1A1 1 0 0018 13V7a1 1 0 00-1.447-.894l-2 1z\"></path></svg>\n                    Watch video\n                </a>  \n            </div>\n            <div class=\"px-4 mx-auto text-center md:max-w-screen-md lg:max-w-screen-lg lg:px-36\">\n                <span class=\"font-semibold text-gray-400 uppercase\">FEATURED IN</span>\n                <div class=\"flex flex-wrap items-center justify-center mt-8 text-gray-500 sm:justify-between\">\n                    <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-8\" viewBox=\"0 0 132 29\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M39.4555 5.17846C38.9976 3.47767 37.6566 2.13667 35.9558 1.67876C32.8486 0.828369 20.4198 0.828369 20.4198 0.828369C20.4198 0.828369 7.99099 0.828369 4.88379 1.64606C3.21571 2.10396 1.842 3.47767 1.38409 5.17846C0.566406 8.28567 0.566406 14.729 0.566406 14.729C0.566406 14.729 0.566406 21.2051 1.38409 24.2796C1.842 25.9804 3.183 27.3214 4.88379 27.7793C8.0237 28.6297 20.4198 28.6297 20.4198 28.6297C20.4198 28.6297 32.8486 28.6297 35.9558 27.812C37.6566 27.3541 38.9976 26.0131 39.4555 24.3123C40.2732 21.2051 40.2732 14.7618 40.2732 14.7618C40.2732 14.7618 40.3059 8.28567 39.4555 5.17846Z\" fill=\"currentColor\"/>\n                            <path d=\"M16.4609 8.77612V20.6816L26.7966 14.7289L16.4609 8.77612Z\" fill=\"white\"/>\n                            <path d=\"M64.272 25.0647C63.487 24.5413 62.931 23.7237 62.6039 22.5789C62.2768 21.4669 62.1133 19.9623 62.1133 18.1307V15.6122C62.1133 13.7479 62.3095 12.2434 62.6693 11.0986C63.0618 9.95386 63.6505 9.13618 64.4355 8.61286C65.2532 8.08954 66.2998 7.82788 67.6081 7.82788C68.8837 7.82788 69.9304 8.08954 70.7153 8.61286C71.5003 9.13618 72.0564 9.98657 72.4161 11.0986C72.7759 12.2107 72.9722 13.7152 72.9722 15.6122V18.1307C72.9722 19.995 72.8086 21.4669 72.4488 22.6116C72.0891 23.7237 71.533 24.5741 70.7481 25.0974C69.9631 25.6207 68.8837 25.8824 67.5427 25.8824C66.169 25.8496 65.057 25.588 64.272 25.0647ZM68.6875 22.3172C68.9164 21.7612 69.0146 20.8127 69.0146 19.5371V14.1077C69.0146 12.8648 68.9164 11.949 68.6875 11.3603C68.4585 10.7715 68.0988 10.5099 67.5427 10.5099C67.0194 10.5099 66.6269 10.8043 66.4307 11.3603C66.2017 11.949 66.1036 12.8648 66.1036 14.1077V19.5371C66.1036 20.8127 66.2017 21.7612 66.4307 22.3172C66.6269 22.8733 67.0194 23.1676 67.5754 23.1676C68.0987 23.1676 68.4585 22.906 68.6875 22.3172Z\" fill=\"currentColor\"/>\n                            <path d=\"M124.649 18.1634V19.0465C124.649 20.1586 124.682 21.009 124.748 21.565C124.813 22.121 124.944 22.5462 125.173 22.7752C125.369 23.0368 125.696 23.1677 126.154 23.1677C126.743 23.1677 127.135 22.9387 127.364 22.4808C127.593 22.0229 127.691 21.2706 127.724 20.1913L131.093 20.3875C131.125 20.5511 131.125 20.7473 131.125 21.009C131.125 22.6117 130.7 23.8218 129.817 24.6068C128.934 25.3918 127.691 25.7843 126.089 25.7843C124.159 25.7843 122.818 25.1628 122.033 23.9527C121.248 22.7425 120.855 20.8782 120.855 18.327V15.2852C120.855 12.6686 121.248 10.7715 122.066 9.56136C122.883 8.35119 124.257 7.76245 126.187 7.76245C127.528 7.76245 128.574 8.02411 129.294 8.51472C130.013 9.00534 130.504 9.79032 130.798 10.8042C131.093 11.8509 131.223 13.29 131.223 15.1216V18.098H124.649V18.1634ZM125.14 10.837C124.944 11.0986 124.813 11.4911 124.748 12.0471C124.682 12.6032 124.649 13.4536 124.649 14.5983V15.8412H127.528V14.5983C127.528 13.4863 127.495 12.6359 127.43 12.0471C127.364 11.4584 127.201 11.0659 127.004 10.837C126.808 10.608 126.481 10.4772 126.089 10.4772C125.631 10.4445 125.336 10.5753 125.14 10.837Z\" fill=\"currentColor\"/>\n                            <path d=\"M54.7216 17.8362L50.2734 1.71143H54.1656L55.7356 9.0052C56.1281 10.8041 56.4224 12.3414 56.6187 13.617H56.7168C56.8476 12.7011 57.142 11.1966 57.5999 9.0379L59.2353 1.71143H63.1274L58.6138 17.8362V25.5552H54.7543V17.8362H54.7216Z\" fill=\"currentColor\"/>\n                            <path d=\"M85.6299 8.15479V25.5878H82.5554L82.2283 23.4619H82.1302C81.3125 25.0645 80.0369 25.8822 78.3688 25.8822C77.2241 25.8822 76.3737 25.4897 75.8177 24.7375C75.2617 23.9852 75 22.8077 75 21.1723V8.15479H78.9249V20.9434C78.9249 21.7284 79.023 22.2844 79.1865 22.6115C79.3501 22.9385 79.6444 23.1021 80.0369 23.1021C80.364 23.1021 80.6911 23.004 81.0181 22.775C81.3452 22.5788 81.5742 22.3171 81.705 21.99V8.15479H85.6299Z\" fill=\"currentColor\"/>\n                            <path d=\"M105.747 8.15479V25.5878H102.673L102.346 23.4619H102.247C101.43 25.0645 100.154 25.8822 98.4861 25.8822C97.3413 25.8822 96.4909 25.4897 95.9349 24.7375C95.3788 23.9852 95.1172 22.8077 95.1172 21.1723V8.15479H99.0421V20.9434C99.0421 21.7284 99.1402 22.2844 99.3038 22.6115C99.4673 22.9385 99.7617 23.1021 100.154 23.1021C100.481 23.1021 100.808 23.004 101.135 22.775C101.462 22.5788 101.691 22.3171 101.822 21.99V8.15479H105.747Z\" fill=\"currentColor\"/>\n                            <path d=\"M96.2907 4.88405H92.3986V25.5552H88.5718V4.88405H84.6797V1.71143H96.2907V4.88405Z\" fill=\"currentColor\"/>\n                            <path d=\"M118.731 10.935C118.502 9.82293 118.11 9.03795 117.587 8.54734C117.063 8.05672 116.311 7.79506 115.395 7.79506C114.676 7.79506 113.989 7.99131 113.367 8.41651C112.746 8.809 112.255 9.36502 111.928 10.0192H111.896V0.828369H108.102V25.5552H111.34L111.732 23.9199H111.83C112.125 24.5086 112.582 24.9665 113.204 25.3263C113.825 25.6533 114.479 25.8496 115.232 25.8496C116.573 25.8496 117.521 25.2281 118.143 24.018C118.764 22.8078 119.091 20.8781 119.091 18.2942V15.5467C119.059 13.5516 118.96 12.0143 118.731 10.935ZM115.134 18.0325C115.134 19.3081 115.068 20.2893 114.97 21.0089C114.872 21.7285 114.676 22.2518 114.447 22.5461C114.185 22.8405 113.858 23.004 113.466 23.004C113.138 23.004 112.844 22.9386 112.582 22.7751C112.321 22.6116 112.092 22.3826 111.928 22.0882V12.2106C112.059 11.7527 112.288 11.3602 112.615 11.0331C112.942 10.7387 113.302 10.5752 113.662 10.5752C114.054 10.5752 114.381 10.7387 114.578 11.0331C114.807 11.3602 114.937 11.8835 115.036 12.6031C115.134 13.3553 115.166 14.402 115.166 15.743V18.0325H115.134Z\" fill=\"currentColor\"/>\n                        </svg>                        \n                    </a>\n                    <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-11\" viewBox=\"0 0 208 42\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M42.7714 20.729C42.7714 31.9343 33.6867 41.019 22.4814 41.019C11.2747 41.019 2.19141 31.9343 2.19141 20.729C2.19141 9.52228 11.2754 0.438965 22.4814 0.438965C33.6867 0.438965 42.7714 9.52297 42.7714 20.729Z\" fill=\"currentColor\"/>\n                            <path d=\"M25.1775 21.3312H20.1389V15.9959H25.1775C25.5278 15.9959 25.8747 16.0649 26.1983 16.1989C26.522 16.333 26.8161 16.5295 27.0638 16.7772C27.3115 17.0249 27.508 17.319 27.6421 17.6427C27.7761 17.9663 27.8451 18.3132 27.8451 18.6635C27.8451 19.0139 27.7761 19.3608 27.6421 19.6844C27.508 20.0081 27.3115 20.3021 27.0638 20.5499C26.8161 20.7976 26.522 20.9941 26.1983 21.1281C25.8747 21.2622 25.5278 21.3312 25.1775 21.3312ZM25.1775 12.439H16.582V30.2234H20.1389V24.8881H25.1775C28.6151 24.8881 31.402 22.1012 31.402 18.6635C31.402 15.2258 28.6151 12.439 25.1775 12.439Z\" fill=\"white\"/>\n                            <path d=\"M74.9361 17.4611C74.9361 16.1521 73.9305 15.3588 72.6239 15.3588H69.1216V19.5389H72.6248C73.9313 19.5389 74.9369 18.7457 74.9369 17.4611H74.9361ZM65.8047 28.2977V12.439H73.0901C76.4778 12.439 78.3213 14.7283 78.3213 17.4611C78.3213 20.1702 76.4542 22.4588 73.0901 22.4588H69.1216V28.2977H65.8055H65.8047ZM80.3406 28.2977V16.7362H83.3044V18.2543C84.122 17.2731 85.501 16.4563 86.9027 16.4563V19.3518C86.6912 19.3054 86.4349 19.2826 86.0851 19.2826C85.1039 19.2826 83.7949 19.8424 83.3044 20.5681V28.2977H80.3397H80.3406ZM96.8802 22.3652C96.8802 20.6136 95.8503 19.0955 93.9823 19.0955C92.1364 19.0955 91.1105 20.6136 91.1105 22.366C91.1105 24.1404 92.1364 25.6585 93.9823 25.6585C95.8503 25.6585 96.8794 24.1404 96.8794 22.3652H96.8802ZM88.0263 22.3652C88.0263 19.1663 90.2684 16.4563 93.9823 16.4563C97.7198 16.4563 99.962 19.1655 99.962 22.3652C99.962 25.5649 97.7198 28.2977 93.9823 28.2977C90.2684 28.2977 88.0263 25.5649 88.0263 22.3652ZM109.943 24.3739V20.3801C109.452 19.6316 108.378 19.0955 107.396 19.0955C105.693 19.0955 104.524 20.4265 104.524 22.366C104.524 24.3267 105.693 25.6585 107.396 25.6585C108.378 25.6585 109.452 25.1215 109.943 24.3731V24.3739ZM109.943 28.2977V26.5697C109.054 27.6899 107.841 28.2977 106.462 28.2977C103.637 28.2977 101.465 26.1499 101.465 22.3652C101.465 18.6993 103.59 16.4563 106.462 16.4563C107.793 16.4563 109.054 17.0177 109.943 18.1843V12.439H112.932V28.2977H109.943ZM123.497 28.2977V26.5925C122.727 27.4337 121.372 28.2977 119.526 28.2977C117.052 28.2977 115.884 26.9431 115.884 24.7473V16.7362H118.849V23.5798C118.849 25.1451 119.666 25.6585 120.927 25.6585C122.071 25.6585 122.983 25.028 123.497 24.3731V16.7362H126.463V28.2977H123.497ZM128.69 22.3652C128.69 18.9092 131.212 16.4563 134.67 16.4563C136.982 16.4563 138.383 17.4611 139.131 18.4886L137.191 20.3093C136.655 19.5153 135.838 19.0955 134.81 19.0955C133.011 19.0955 131.751 20.4037 131.751 22.366C131.751 24.3267 133.011 25.6585 134.81 25.6585C135.838 25.6585 136.655 25.1915 137.191 24.4203L139.131 26.2426C138.383 27.2702 136.982 28.2977 134.67 28.2977C131.212 28.2977 128.69 25.8456 128.69 22.3652ZM141.681 25.1915V19.329H139.813V16.7362H141.681V13.6528H144.648V16.7362H146.935V19.329H144.648V24.3975C144.648 25.1215 145.02 25.6585 145.675 25.6585C146.118 25.6585 146.541 25.495 146.702 25.3087L147.334 27.5728C146.891 27.9714 146.096 28.2977 144.857 28.2977C142.779 28.2977 141.681 27.2238 141.681 25.1915ZM165.935 28.2977V21.454H158.577V28.2977H155.263V12.439H158.577V18.5577H165.935V12.4398H169.275V28.2977H165.935ZM179.889 28.2977V26.5925C179.119 27.4337 177.764 28.2977 175.919 28.2977C173.443 28.2977 172.276 26.9431 172.276 24.7473V16.7362H175.241V23.5798C175.241 25.1451 176.058 25.6585 177.32 25.6585C178.464 25.6585 179.376 25.028 179.889 24.3731V16.7362H182.856V28.2977H179.889ZM193.417 28.2977V21.1986C193.417 19.6333 192.602 19.0963 191.339 19.0963C190.172 19.0963 189.285 19.7504 188.77 20.4045V28.2985H185.806V16.7362H188.77V18.1843C189.495 17.3439 190.896 16.4563 192.718 16.4563C195.217 16.4563 196.408 17.8573 196.408 20.0523V28.2977H193.418H193.417ZM199.942 25.1915V19.329H198.076V16.7362H199.943V13.6528H202.91V16.7362H205.198V19.329H202.91V24.3975C202.91 25.1215 203.282 25.6585 203.936 25.6585C204.38 25.6585 204.802 25.495 204.965 25.3087L205.595 27.5728C205.152 27.9714 204.356 28.2977 203.119 28.2977C201.04 28.2977 199.943 27.2238 199.943 25.1915\" fill=\"currentColor\"/>\n                        </svg>                       \n                    </a>\n                    <a href=\"#\" class=\"mb-5 mr-5 lg:mb-0 hover:text-gray-800 dark:hover:text-gray-400\">\n                        <svg class=\"h-11\" viewBox=\"0 0 120 41\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                            <path d=\"M20.058 40.5994C31.0322 40.5994 39.9286 31.7031 39.9286 20.7289C39.9286 9.75473 31.0322 0.858398 20.058 0.858398C9.08385 0.858398 0.1875 9.75473 0.1875 20.7289C0.1875 31.7031 9.08385 40.5994 20.058 40.5994Z\" fill=\"currentColor\"/>\n                            <path d=\"M33.3139 20.729C33.3139 19.1166 32.0101 17.8362 30.4211 17.8362C29.6388 17.8362 28.9272 18.1442 28.4056 18.6424C26.414 17.2196 23.687 16.2949 20.6518 16.1765L21.9796 9.96387L26.2951 10.8885C26.3429 11.9793 27.2437 12.8567 28.3584 12.8567C29.4965 12.8567 30.4211 11.9321 30.4211 10.7935C30.4211 9.65536 29.4965 8.73071 28.3584 8.73071C27.5522 8.73071 26.8406 9.20497 26.5086 9.89271L21.6954 8.87303C21.553 8.84917 21.4107 8.87303 21.3157 8.94419C21.1972 9.01535 21.1261 9.13381 21.1026 9.27613L19.6321 16.1999C16.5497 16.2949 13.7753 17.2196 11.7599 18.6662C11.2171 18.1478 10.495 17.8589 9.74439 17.86C8.13201 17.86 6.85156 19.1639 6.85156 20.7529C6.85156 21.9383 7.56272 22.9341 8.55897 23.3849C8.51123 23.6691 8.48781 23.9538 8.48781 24.2623C8.48781 28.7197 13.6807 32.348 20.083 32.348C26.4852 32.348 31.6781 28.7436 31.6781 24.2623C31.6781 23.9776 31.6543 23.6691 31.607 23.3849C32.6028 22.9341 33.3139 21.9144 33.3139 20.729ZM13.4434 22.7918C13.4434 21.6536 14.368 20.729 15.5066 20.729C16.6447 20.729 17.5694 21.6536 17.5694 22.7918C17.5694 23.9299 16.6447 24.855 15.5066 24.855C14.368 24.8784 13.4434 23.9299 13.4434 22.7918ZM24.9913 28.2694C23.5685 29.6921 20.8653 29.7872 20.083 29.7872C19.2768 29.7872 16.5736 29.6683 15.1742 28.2694C14.9612 28.0559 14.9612 27.7239 15.1742 27.5105C15.3877 27.2974 15.7196 27.2974 15.9331 27.5105C16.8343 28.4117 18.7314 28.7197 20.083 28.7197C21.4346 28.7197 23.355 28.4117 24.2324 27.5105C24.4459 27.2974 24.7778 27.2974 24.9913 27.5105C25.1809 27.7239 25.1809 28.0559 24.9913 28.2694ZM24.6116 24.8784C23.4735 24.8784 22.5488 23.9538 22.5488 22.8156C22.5488 21.6775 23.4735 20.7529 24.6116 20.7529C25.7502 20.7529 26.6748 21.6775 26.6748 22.8156C26.6748 23.9299 25.7502 24.8784 24.6116 24.8784Z\" fill=\"white\"/>\n                            <path d=\"M108.412 16.6268C109.8 16.6268 110.926 15.5014 110.926 14.1132C110.926 12.725 109.8 11.5996 108.412 11.5996C107.024 11.5996 105.898 12.725 105.898 14.1132C105.898 15.5014 107.024 16.6268 108.412 16.6268Z\" fill=\"currentColor\"/>\n                            <path d=\"M72.5114 24.8309C73.7446 24.8309 74.4557 23.9063 74.4084 23.0051C74.385 22.5308 74.3373 22.2223 74.29 21.9854C73.5311 18.7133 70.8756 16.2943 67.7216 16.2943C63.9753 16.2943 60.9401 19.6853 60.9401 23.8586C60.9401 28.0318 63.9753 31.4228 67.7216 31.4228C70.0694 31.4228 71.753 30.5693 72.9622 29.2177C73.5549 28.5538 73.4365 27.5341 72.7249 27.036C72.1322 26.6329 71.3972 26.7752 70.8517 27.2256C70.3302 27.6765 69.3344 28.5772 67.7216 28.5772C65.825 28.5772 64.2126 26.941 63.8568 24.7832H72.5114V24.8309ZM67.6981 19.1637C69.4051 19.1637 70.8756 20.4915 71.421 22.3173H63.9752C64.5207 20.468 65.9907 19.1637 67.6981 19.1637ZM61.0824 17.7883C61.0824 17.0771 60.5609 16.5078 59.897 16.3894C57.8338 16.0813 55.8895 16.8397 54.7752 18.2391V18.049C54.7752 17.1717 54.0636 16.6267 53.3525 16.6267C52.5697 16.6267 51.9297 17.2667 51.9297 18.049V29.6681C51.9297 30.427 52.4985 31.0908 53.2574 31.1381C54.0875 31.1854 54.7752 30.5454 54.7752 29.7154V23.7162C54.7752 21.0608 56.7668 18.8791 59.5173 19.1876H59.802C60.5131 19.1399 61.0824 18.5233 61.0824 17.7883ZM109.834 19.306C109.834 18.5233 109.194 17.8833 108.412 17.8833C107.629 17.8833 106.989 18.5233 106.989 19.306V29.7154C106.989 30.4981 107.629 31.1381 108.412 31.1381C109.194 31.1381 109.834 30.4981 109.834 29.7154V19.306ZM88.6829 11.4338C88.6829 10.651 88.0429 10.011 87.2602 10.011C86.4779 10.011 85.8379 10.651 85.8379 11.4338V17.7648C84.8655 16.7924 83.6562 16.3182 82.2096 16.3182C78.4632 16.3182 75.4281 19.7091 75.4281 23.8824C75.4281 28.0557 78.4632 31.4466 82.2096 31.4466C83.6562 31.4466 84.8893 30.9485 85.8613 29.9761C85.9797 30.6405 86.5729 31.1381 87.2602 31.1381C88.0429 31.1381 88.6829 30.4981 88.6829 29.7154V11.4338ZM82.2334 28.6245C80.0518 28.6245 78.2971 26.5145 78.2971 23.8824C78.2971 21.2742 80.0518 19.1399 82.2334 19.1399C84.4151 19.1399 86.1698 21.2504 86.1698 23.8824C86.1698 26.5145 84.3912 28.6245 82.2334 28.6245ZM103.527 11.4338C103.527 10.651 102.887 10.011 102.104 10.011C101.322 10.011 100.681 10.651 100.681 11.4338V17.7648C99.7093 16.7924 98.5 16.3182 97.0534 16.3182C93.307 16.3182 90.2719 19.7091 90.2719 23.8824C90.2719 28.0557 93.307 31.4466 97.0534 31.4466C98.5 31.4466 99.7327 30.9485 100.705 29.9761C100.824 30.6405 101.416 31.1381 102.104 31.1381C102.887 31.1381 103.527 30.4981 103.527 29.7154V11.4338ZM97.0534 28.6245C94.8717 28.6245 93.1174 26.5145 93.1174 23.8824C93.1174 21.2742 94.8717 19.1399 97.0534 19.1399C99.235 19.1399 100.99 21.2504 100.99 23.8824C100.99 26.5145 99.235 28.6245 97.0534 28.6245ZM117.042 29.7392V19.1637H118.299C118.963 19.1637 119.556 18.6656 119.603 17.9779C119.651 17.2428 119.058 16.6267 118.347 16.6267H117.042V14.6347C117.042 13.8758 116.474 13.2119 115.715 13.1646C114.885 13.1173 114.197 13.7573 114.197 14.5874V16.6501H113.011C112.348 16.6501 111.755 17.1483 111.708 17.836C111.66 18.571 112.253 19.1876 112.964 19.1876H114.173V29.7631C114.173 30.5454 114.814 31.1854 115.596 31.1854C116.426 31.1381 117.042 30.5216 117.042 29.7392Z\" fill=\"currentColor\"/>\n                        </svg>                                                   \n                    </a>         \n                </div>\n            </div> \n        </div>\n    </section>\n{% endblock %}\n{{< /code >}}\n\nA brand new header and hero section should now be visible on the homepage of your Symfony application's local development server supporting Tailwind CSS. Let's now proceed by installing Flowbite to enable interactive UI components.\n\n## Install Flowbite\n\n[Flowbite](https://flowbite.com) is a free and popular open-source UI component library built on top of the utility-classes from Tailwind CSS featuring interactive UI elements such as dropdowns, navbars, modals and also an ecosystem of website sections, templates, plugins, tools, and more that you can leverage to build websites even faster.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `app.css` CSS file:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@import \"flowbite/src/themes/default\";\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"app.css\" icon=\"file\" >}}\n@source \"../../node_modules/flowbite\";\n{{< /code >}}\n\nInside the `./assets/app.js` file you can import the Flowbite package to enable interactivity of the UI components:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\n/*\n * Welcome to your app's main JavaScript file!\n *\n * We recommend including the built version of this JavaScript file\n * (and its CSS file) in your base layout (base.html.twig).\n */\n\n// any CSS you import will output into a single css file (app.css in this case)\nimport './styles/app.css';\n\n// start the Stimulus application\nimport './bootstrap';\n\n// enable the interactive UI components from Flowbite\nimport 'flowbite';\n{{< /code >}}\n\nThis will enable all of the interactive and dynamic UI components such as the dropdowns, modals, navbars, and others to work out of the box. Webpack will automatically bundle the final JavaScript file which improves speed and performance.\n\nCheck out the [Flowbite Quickstart](https://flowbite.com/docs/getting-started/quickstart/) guide to learn about the different ways you can set up the JS interactivity whether that's via CDN, using the data attributes interface, leveraging TypeScript or programmatically working with the UI components and object classes.\n\n## Symfony UX Turbo\n\nFlowbite provides custom event listeners for turbo load support if you import the `flowbite.turbo.js` file. Check out the following guides to learn more how to integrate the JavasScript file that powers the interactive components with Webpack Encore.\n\nIf you use Symfony UX Turbo, you will need to import a version of Flowbite which supports the `turbo:load` event listeners instead of `load`. To do this **add the lines below** to your `./assets/app.js` file:\n\n{{< code lang=\"javascript\" file=\"app.js\" icon=\"file\" >}}\n/*\n * Welcome to your app's main JavaScript file!\n *\n * We recommend including the built version of this JavaScript file\n * (and its CSS file) in your base layout (base.html.twig).\n */\n\n// any CSS you import will output into a single css file (app.css in this case)\nimport './styles/app.css';\n\n// start the Stimulus application\nimport './bootstrap';\n\n// enable the interactive UI components from Flowbite with Turbo\nimport 'flowbite/dist/flowbite.turbo.js';\n{{< /code >}}\n\n## Flowbite components\n\nNow that you have all of the technologies successfully set up in your Symfony project you can finally start building websites quickly and efficiently leveraging both the utility classes from Tailwind CSS, the pre-built UI components from Flowbite and the framework structure from Symfony.\n\nLet's start by adding a simple [modal authentication component](https://flowbite.com/docs/components/modal/#form-element) from the Flowbite Library when clicking on the login button from the header:\n\n{{< code lang=\"html\" file=\"index.html.twig\" icon=\"file\" >}}\n<!-- Modal toggle -->\n<button data-modal-target=\"authentication-modal\" data-modal-toggle=\"authentication-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"authentication-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Sign in to our platform\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"authentication-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <form class=\"space-y-4\" action=\"#\">\n                    <div>\n                        <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n                        <input type=\"email\" name=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" placeholder=\"name@company.com\" required />\n                    </div>\n                    <div>\n                        <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n                        <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" required />\n                    </div>\n                    <div class=\"flex justify-between\">\n                        <div class=\"flex items-start\">\n                            <div class=\"flex items-center h-5\">\n                                <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-600 dark:border-gray-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n                            </div>\n                            <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Remember me</label>\n                        </div>\n                        <a href=\"#\" class=\"text-sm text-blue-700 hover:underline dark:text-blue-500\">Lost Password?</a>\n                    </div>\n                    <button type=\"submit\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Login to your account</button>\n                    <div class=\"text-sm font-medium text-gray-500 dark:text-gray-300\">\n                        Not registered? <a href=\"#\" class=\"text-blue-700 hover:underline dark:text-blue-500\">Create account</a>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /code >}}\n\nAfter setting up the `data-modal-target=\"{modalId}\"` and `data-modal-toggle=\"{modalId}\"` data attributes for the button component and copy-pasting the modal example, clicking on the login button will now show a modal element with a user sign-in form that you can use to authenticate users directly from your homepage.\n\nYou can check out the full collection of UI components by visiting [Flowbite Blocks](https://flowbite.com/blocks/) and [Flowbite Library](https://flowbite.com/docs/getting-started/introduction/).\n\n## Flowbite Bundle\n\nAn unofficial [Flowbite Bundle](https://github.com/talesfromadev/flowbite-bundle) is available, providing an integrated form theme for Symfony as well as specific form types.\n\n## Symfony starter project\n\nThe awesome open-source community from Flowbite created a [Symfony and Tailwind CSS starter project](https://github.com/themesberg/tailwind-symfony-starter) that you can use to skip this integration guide and use it as starting point for your future Symfony, Tailwind CSS and Flowbite projects.\n"
  },
  {
    "path": "content/getting-started/typescript.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS TypeScript - Flowbite\ndescription: Learn how to install Tailwind CSS and Flowbite with TypeScript to use optional static typing for JavaScript to make your code more scalable and maintainable\ngroup: getting-started\ntoc: true\nrequires_typescript: true\n\nprevious: JavaScript API\npreviousLink: getting-started/javascript/\nnext: LLM\nnextLink: getting-started/llm/\n---\n\n[TypeScript](https://www.typescriptlang.org/) is a free and open-source programming language that helps improve the scalability, maintainability, and readability of code. It does this by adding optional static typing to JavaScript. \n\nIt is developed and maintained by Microsoft and used by companies such as Slack, Bitpanda, Accenture, Medium, and many more to help them scale code better.\n\nThis guide will teach you how to set up Tailwind CSS and the Flowbite library with TypeScript and also show you how you can use the components from Flowbite to power your Tailwind CSS application with integrated types and interfaces.\n\n## Create a new project\n\nFollow the next steps to learn how to install TypeScript and Tailwind CSS in a local project. Before continuing make sure that you have Node.js installed locally on your computer.\n\n1. Create a new project and run the following command to create a `package.json` file in the root folder:\n\n{{< code lang=\"bash\" >}}\nnpm init\n{{< /code >}}\n\nThis is where we will add the project dependencies and the script commands.\n\n## Install TypeScript\n\nBy following the official [TypeScript guide](https://www.typescriptlang.org/download) we will install and set it up in our project using NPM.\n\n2. Run the following command to install and require TypeScript as a dependency in your `package.json` file:\n\n{{< code lang=\"bash\" >}}\nnpm install --save-dev typescript\n{{< /code >}}\n\n3. Create a new `tsconfig.json` file by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpx tsc --init\n{{< /code >}}\n\n4. Replace the content of the `tsconfig.json` file using the following code:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"tsconfig.json\" >}}\n{\n  \"compilerOptions\": {\n      \"lib\": [\"dom\", \"es2015\"],\n      \"outDir\": \"./lib/cjs/\",\n      \"sourceMap\": true,\n      \"declaration\": true,\n      \"noImplicitAny\": true,\n      \"module\": \"commonjs\",\n      \"target\": \"es5\",\n      \"allowJs\": true,\n      \"moduleResolution\": \"node\"\n  },\n  \"include\": [\"src/**/*.ts*\"],\n  \"exclude\": [\"node_modules\", \"dist\", \"lib\"]\n}\n{{< /code >}}\n\nHere's a breakdown of what each option key-value pair represents:\n\n- `lib` - this option specifies which libraries we want TypeScript to support\n- `outDir` - this options tells the TS compiler where to export the compiled code\n- `sourceMap` - enables source maps to be generated\n- `declaration` - generates declaration files after compiling if true\n- `noImplicitAny` - prevents using the any type by throwing an error (this is best practice)\n- `module` - specifies the module system to use when generating JS code from the TypeScript source code\n- `target` - specifies the JavaScript version to which the TypeScript code should be transpiled\n- `allowJs` - specifies whether the compiler should include JS files in the project\n- `moduleResolution` - specifies the strategy that the compiler should use to resolve module names\n- `include` - specifies which are the source files TypeScript should compile \n- `exclude` - specifies which folders should TypeScript ignore when compiling\n\nAfter setting up the TypeScript configuration file we can now write some code.\n\n5. Set up the folder structure for your TypeScript files by creating a new `src/` folder and creating an `index.ts` file inside of it with the following code:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nconst text: string = 'Hello TypeScript';\nconsole.log(text);\n{{< /code >}}\n\nThis code already uses a type declaration which will help us verify if the compiler works properly.\n\n### Webpack bundler\n\nIn order to compile the TypeScript code into JavaScript that is supported by modern browsers we will have to install [Webpack](https://webpack.js.org/) and bundle the source code into one final JavaScript file that we will later include in our HTML templates.\n\n6. Install Webpack and the necessary plugins by executing the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm i -D webpack webpack-cli typescript ts-loader\n{{< /code >}}\n\n7. Create a new `webpack.config.js` file and add the following content:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"webpack.config.js\" >}}\n//webpack.config.js\nconst path = require('path');\n\nmodule.exports = {\n  mode: \"development\",\n  devtool: \"inline-source-map\",\n  entry: {\n    main: \"./src/index.ts\",\n  },\n  output: {\n    path: path.resolve(__dirname, './dist'),\n    filename: \"app-bundle.js\" // <--- Will be compiled to this single file\n  },\n  resolve: {\n    extensions: [\".ts\", \".tsx\", \".js\"],\n  },\n  module: {\n    rules: [\n      { \n        test: /\\.tsx?$/,\n        loader: \"ts-loader\"\n      }\n    ]\n  }\n};\n{{< /code >}}\n\n8. Run the following command to watch for changes and compile the TypeScript source code into browser-compatible JavaScript code:\n\n{{< code lang=\"bash\" >}}\nnpx webpack --watch\n{{< /code >}}\n\nThis will generate an `app-bundle.js` named JavaScript file that you can now include inside your HTML templates. To check out if it works you can create a new `index.html` file and open it inside your browser.\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Document</title>\n    <link rel=\"stylesheet\" href=\"./dist/output.css\">\n</head>\n<body>\n    <h1 class=\"text-4xl\">Hello Tailwind CSS!</h1>\n    <script src=\"./dist/app-bundle.js\"></script>\n</body>\n</html>\n{{< /code >}}\n\n### CommonJS\n\nBy default the compiled code will be CJS as specified in the `tsconfig.json` file.\n\nCompile the code by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpx tsc\n{{< /code >}}\n\nThis will generate a new `lib/` folder with CJS (CommonJS) compiled JavaScript code that we will later include in our templates.\n\n### ECMAScript modules\n\nIf you want to compile for ESM instead of CJS you can use the following command instead:\n\n{{< code lang=\"bash\" >}}\nnpx tsc -m es6 --outDir lib/esm\n{{< /code >}}\n\nNow that we have successfully configured TypeScript and also compiled the source code we have to install and configure Tailwind CSS.\n\nRun the following command to install and require Tailwind CSS in your `package.json` file:\n\n{{< code lang=\"bash\" >}}\nnpm install -D tailwindcss\n{{< /code >}}\n\n## Install Tailwind CSS\n\n9. Install the Tailwind CSS packages by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/cli\n{{< /code >}}\n\n10. Create a new `input.css` file inside the `src/` folder and import all of the basic Tailwind CSS directives:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\n11. Compile the code when changes are made by using the following command:\n\n{{< code lang=\"bash\" >}}\nnpx @tailwindcss/cli -i ./src/input.css -o ./src/output.css --watch\n{{< /code >}}\n\n12. Open the `index.html` file inside the root folder of your project with the following basic setup where we include all of the compiled code including the new `output.css` file:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Document</title>\n    <link rel=\"stylesheet\" href=\"./dist/output.css\">\n</head>\n<body>\n    <h1 class=\"text-4xl\">Hello Tailwind CSS!</h1>\n    <script src=\"./dist/app-bundle.js\"></script>\n</body>\n</html>\n{{< /code >}}\n\nNow open the `index.html` file in your browser and you should see the text larger because of the `text-4xl` utility class and also see a \"Hello TypeScript\" message inside your developer console.\n\n## Install Flowbite\n\nYou can start using the open-source and interactive components from Flowbite which are based on Tailwind CSS and support TypeScript types by following the next steps.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n## Flowbite components\n\nNow that you have set up TypeScript, Tailwind CSS, and Flowbite you can start using this stack to build scalable websites using a large collection of UI components from Flowbite which support type declarations.\n\nOne example would be to use the <a href=\"{{< ref \"components/modal\" >}}#javascript-behaviour\">Modal component</a> and using its methods and options to programmatically show or hide the element.\n\nFirst of all we need to make sure that we have the correct HTML element set up in our templates - we can use this markup and add it inside the `index.html` file:\n\n{{< code lang=\"html\" icon=\"file\" file=\"index.html\" >}}\n<button id=\"button\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Default</button>\n\n<div id=\"modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>  \n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /code >}}\n\nAs you can see we added a unique ID for the button element that the parent modal element to be able to set event listeners to them later on. After having this markup put in place we need to open the `index.ts` file and import the Modal class from the Flowbite package and set up the event listeners:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nimport { Modal } from 'flowbite'\n\n// select the two elements that we'll work with\nconst $buttonElement: HTMLElement = document.querySelector('#button');\nconst $modalElement: HTMLElement = document.querySelector('#modal');\n\n// create a new modal component\nconst modal = new Modal($modalElement);\n\n// toggle the visibility of the modal when clicking on the button\n$buttonElement.addEventListener('click', () => modal.toggle());\n{{< /code >}}\n\nAlternatively, you can also call on the available methods of the Modal class such as `show()` or `hide()` to add the logic inside your TypeScript files instead.\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\n// add your own logic and then show the modal\nmodal.show();\n{{< /code >}}\n\nThis example will show the modal without having to click the button since the logic has been added in TypeScript directly.\n\n### Using Types\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\n// other code\n{{< /code >}}\n\nGenerally speaking, all of the components have an interface definition that you can use whenever you create a new object to make sure that you're using the correct types of parameters and methods.\n\nWhen creating a new modal you can set the `ModalInterface` as the main type:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n{{< /code >}}\n\nFlowbite also supports type definitions for the options object so if you want to set the placement of the modal based on types, here's how you would do that:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n{{< /code >}}\n\nWhy are these types useful, though? Because if you don't set the correct value for the `placement` key, for example you set `right` instead of `top-right` or `bottom-right` TypeScript will throw an error saying that it is not a correct option.\n\nHere's the full code using the types from Flowbite for the modal definition:\n\n{{< code lang=\"javascript\" icon=\"file\" file=\"index.ts\" >}}\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\nconst $buttonElement: HTMLElement = document.querySelector('#button');\nconst $modalElement: HTMLElement = document.querySelector('#modal');\n\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n$buttonElement.addEventListener('click', () => modal.toggle());\n\nmodal.show();\n{{< /code >}}\n\nUsing the types from TypeScript with the Flowbite components will ensure a more scalable and bug-free code down the line.\n\n## TypeScript Starter Project\n\nWe have built a [Tailwind CSS TypeScript Starter](https://github.com/themesberg/tailwind-typescript-starter) project on GitHub that uses the configuration above with some pre-built scripts and examples that can help you to get started faster."
  },
  {
    "path": "content/getting-started/vue.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Vue - Flowbite\ndescription: Learn how to install and set up Tailwind CSS with Flowbite for your Vue 3 project and start developing modern web applications with interactive components\ngroup: getting-started\ntoc: true\nrequires_vue: true\n\nprevious: Next.js\npreviousLink: getting-started/next-js/\nnext: Nuxt\nnextLink: getting-started/nuxt-js/\n---\n\nVue.js is a popular front-end library based on reactivity and declarative rendering used by websites such as Behance, Nintendo, Gitlab, Font Awesome, and more that you can use to build modern web applications.\n\nBy installing Tailwind CSS and Flowbite you can build your project even faster using the utility-first approach from Tailwind and the interactive UI components from Flowbite, such as modals, tables, dropdowns, datepickers, and more.\n\n## Create a Vue project\n\nFollow the next steps to install Tailwind CSS (with v4) and Flowbite with Vue 3 and Vite.\n\n1. Create a new Vite project running the following commands in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm create vite@latest flowbite-app -- --template vue\ncd flowbite-app\n{{< /code >}}\n\n## Install Tailwind CSS\n\nThis guide uses the newest version of Tailwind CSS v4 which brings many improvements.\n\n1. Install Tailwind CSS using Vite via the terminal:\n\n{{< code lang=\"bash\" >}}\nnpm install tailwindcss @tailwindcss/vite --save\n{{< /code >}}\n\n2. Add the Tailwind plugin inside your `vite.config.js` file:\n\n{{< code lang=\"javascript\" file=\"vite.config.js\" icon=\"file\" >}}\nimport { defineConfig } from 'vite'\nimport vue from '@vitejs/plugin-vue'\nimport tailwindcss from '@tailwindcss/vite'\n\n// https://vite.dev/config/\nexport default defineConfig({\n  plugins: [\n    vue(), \n    tailwindcss()\n  ],\n})\n{{< /code >}}\n\n3. Import the `tailwind` module inside your `style.css` file:\n\n{{< code lang=\"bash\" >}}\n@import \"tailwindcss\";\n{{< /code >}}\n\nYou have now installed both Tailwind CSS and Vue and can proceed with the next steps.\n\n## Install Flowbite\n\nThe UI components from Flowbite can help you save time building websites with Vue and Tailwind. Make sure that you follow the next steps to ensure that you install both the CSS and JavaScript dependencies.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n{{< code lang=\"bash\" >}}\nnpm install flowbite --save\n{{< /code >}}\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n{{< code lang=\"css\" icon=\"file\" file=\"input.css\" >}}\n/* choose one of the following */\n\n@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import \"flowbite/src/themes/default\";\n\n/* MINIMAL THEME\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/minimal\";\n*/\n\n/* ENTERPRISE THEME\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/enterprise\";\n*/\n\n/* PLAYFUL THEME\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n@import \"flowbite/src/themes/playful\";\n*/\n\n/* MONO THEME\n@import \"flowbite/src/themes/mono\";\n*/\n{{< /code >}}\n\n3. Import the Flowbite plugin file in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@plugin \"flowbite/plugin\";\n{{< /code >}}\n\n4. Configure the source files of Flowbite in your CSS:\n\n{{< code lang=\"css\" file=\"input.css\" icon=\"file\" >}}\n@source \"../node_modules/flowbite\";\n{{< /code >}}\n\n4. Start a local development server by running the following command in your terminal:\n\n{{< code lang=\"bash\" >}}\nnpm run dev\n{{< /code >}}\n\nIf you want to build the project then you can run `npm run build`.\n\n## Flowbite components\n\nNow that you have successfully installed Vue 3, Tailwind CSS and Flowbite you can start importing and using the components from Flowbite such as the navbars, modals, dropdowns, and more.\n\nWe can use the <a href=\"{{< ref \"components/modal\" >}}#javascript-behaviour\">Modal component</a> as an example and copy the HTML markup and add it inside our Vue 3 template file:\n\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<template>\n    <div>\n        <div class=\"flex justify-center p-4\">\n            <button id=\"button\" data-modal-toggle=\"modal\" data-modal-target=\"modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Show modal</button>\n        </div>\n\n        <div id=\"modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n            <div class=\"relative w-full max-w-2xl max-h-full\">\n                <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                    <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                        <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                            Terms of Service\n                        </h3>\n                        <button id=\"closeButton\" data-modal-hide=\"modal\" type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                            <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>  \n                        </button>\n                    </div>\n                    <!-- Modal body -->\n                    <div class=\"p-6 space-y-6\">\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                        </p>\n                        <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                            The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                        </p>\n                    </div>\n                    <!-- Modal footer -->\n                    <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                        <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                        <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</template>\n{{< /code >}}\n\n### Data attributes\n\nYou can by default make the interactive components work by importing the \"init\" functions from the Flowbite package using the based on the onMounted lifecycle method from Vue 3.\n\nHere's an example how you can initialise the components based on data attributes with Vue 3:\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n{{< /code >}}\n\nAlternatively, here's the full list of available functions to use to initialise the components separately:\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { \n    initAccordions, \n    initCarousels, \n    initCollapses, \n    initDials, \n    initDismisses, \n    initDrawers, \n    initDropdowns, \n    initModals, \n    initPopovers, \n    initTabs, \n    initTooltips } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initAccordions();\n    initCarousels();\n    initCollapses();\n    initDials();\n    initDismisses();\n    initDrawers();\n    initDropdowns();\n    initModals();\n    initPopovers();\n    initTabs();\n    initTooltips();\n})\n</script>\n{{< /code >}}\n\nEven though this will make sure all of the interactive components will work with data attributes from Flowbite, we actually recommend only initializing the ones that you use for every page to optimize load speed.\n\nCheck out the [starter guide's](https://github.com/themesberg/tailwind-vue-starter) `Events.vue` file to see it in action.\n\n### JavaScript API\n\nTo start using the interactive components from Flowbite together with Vue 3 and Tailwind CSS you can import them inside your Vue files and initiate the object based on the onMounted method from Vue.\n\nHere's an example showing how you can use the Modal component:\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n{{< /code >}}\n\nAlternatively, here's the full list of available functions to use to initialise the components separately:\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<script setup>\nimport { onMounted } from 'vue'\nimport { Modal } from 'flowbite'\n\nonMounted(() => {\n    const $buttonElement = document.querySelector('#button');\n    const $modalElement = document.querySelector('#modal');\n    const $closeButton = document.querySelector('#closeButton');\n\n    const modalOptions = {\n        backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40'\n    }\n\n    if ($modalElement) {\n        const modal = new Modal($modalElement, modalOptions);\n        $buttonElement.addEventListener('click', () => modal.toggle());\n        $closeButton.addEventListener('click', () => modal.hide());\n        \n        // programmatically show\n        // modal.show();\n    }\n})\n</script>\n{{< /code >}}\n\nAs you can see we have imported the Modal component from the Flowbite package and we used the onMounted method to set up the event listeners to make sure that the templates have loaded and will work even with tools such as the Vue Router as you switch between the views.\n\nHere's the HTML markup that you need to add inside the `<template>` tag:\n\n{{< code lang=\"vue\" file=\"App.vue\" icon=\"file\" >}}\n<template>\n  <div class=\"flex justify-center p-4\">\n        <button id=\"button\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Show modal</button>\n    </div>\n    <div id=\"modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n        <div class=\"relative w-full max-w-2xl max-h-full\">\n            <!-- Modal content -->\n            <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                <!-- Modal header -->\n                <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                    <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                        Terms of Service\n                    </h3>\n                    <button id=\"closeButton\" type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                        <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>  \n                    </button>\n                </div>\n                <!-- Modal body -->\n                <div class=\"p-6 space-y-6\">\n                    <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                        With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                    </p>\n                    <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                        The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                    </p>\n                </div>\n                <!-- Modal footer -->\n                <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                    <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                    <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</template>\n{{< /code >}}\n\nYou can check out the available methods and options for the Flowbite API by scrolling down to the \"JavaScript Behaviour\" section on each page of this documentation where applicable.\n\n## Vue 3 Starter Project\n\nWe have also created a [starter project on GitHub](https://github.com/themesberg/tailwind-vue-starter) based on this guide to show you how to use all of the available components from Flowbite with a Vue 3 and Tailwind CSS configuration.\n\n## Flowbite Vue Library\n\nWe have started working on a dedicated [Flowbite Vue](https://github.com/themesberg/flowbite-vue) library which when it will be launched will be the recommended way of using our components with Vue 3 because they are built specifically for usage within a Vue 3 environment. \n"
  },
  {
    "path": "content/plugins/charts.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Charts - Flowbite\ndescription: Use the chart and graph components from Flowbite built with Tailwind CSS and ApexCharts to choose from line, area, bar, column, pie, and radial charts and customize them using JavaScript\ngroup: plugins\ntoc: true\nrequires_js: true\n\nprevious: Horizontal line (HR)\npreviousLink: typography/hr/\nnext: DataTables\nnextLink: plugins/datatables/\n---\n\nThe chart components from the Flowbite Library are open-source under the MIT license and they are styled with the utility classes from Tailwind CSS and based on the open-source [ApexCharts](https://apexcharts.com/) library.\n\nWe provide an extensive collection of responsive chart types such as area, bar, column, pie, and radial that can help you visualize complex data inside graphs in admin dashboard layouts, analytics, diagrams, and more.\n\nYou can also easily customize the colors, sizes, and options of these charts either via Tailwind CSS directly or via the JavaScript options from the ApexCharts library. Dark mode is also supported by default.\n\n## Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite and ApexCharts installed in your project.\n\n1. Follow the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a> from Flowbite to install the plugin styles and functionality\n\n2. Make sure that you have ApexCharts installed and configured in your project:\n\nInstall ApexChart via NPM and save it in your `package.json` file:\n\n{{< code lang=\"bash\" >}}\nnpm install apexcharts@3.46.0 --save\n{{< /code >}} \n\nAlternatively, you can also just include the CDN link:\n\n{{< code lang=\"html\" file=\"charts.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/apexcharts@3.46.0/dist/apexcharts.min.js\"></script>\n{{< /code >}}\n\nNow that you have all the libraries installed you can copy-paste the chart examples below in your code.\n\n## Area chart\n\nUse this example to show a basic area chart by setting the `type: \"area\"` option in JavaScript:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n// Get the CSS variable --color-brand and convert it to hex for ApexCharts\nconst getBrandColor = () => {\n  // Get the computed style of the document's root element\n  const computedStyle = getComputedStyle(document.documentElement);\n  \n  // Get the value of the --color-brand CSS variable\n  return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n};\n\nconst brandColor = getBrandColor();\n\nconst options = {\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: 0\n    },\n  },\n  series: [\n    {\n      name: \"New users\",\n      data: [6500, 6418, 6456, 6526, 6356, 6456],\n      color: brandColor,\n    },\n  ],\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n  },\n}\n\nif (document.getElementById(\"area-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"area-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between items-start\">\n    <div>\n      <h5 class=\"text-2xl font-semibold text-heading\">32.4k</h5>\n      <p class=\"text-body\">Users this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"area-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"lastDaysdropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Users Report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Line chart\n\nTo create a double line chart check the example below by setting the chart type to `type: \"line\"` and copy the HTML markup and JS options to automatically style and populate the chart with data:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n// Get the CSS variable --color-brand and convert it to hex for ApexCharts\nconst getBrandColor = () => {\n  // Get the computed style of the document's root element\n  const computedStyle = getComputedStyle(document.documentElement);\n  \n  // Get the value of the --color-brand CSS variable\n  return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n};\n\nconst getBrandSecondaryColor = () => {\n  const computedStyle = getComputedStyle(document.documentElement);\n  return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n};\n\nconst brandColor = getBrandColor();\nconst brandSecondaryColor = getBrandSecondaryColor();\n\nconst options = {\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"line\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: true,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Clicks\",\n      data: [6500, 6418, 6456, 6526, 6356, 6456],\n      color: brandColor,\n    },\n    {\n      name: \"CPC\",\n      data: [6456, 6356, 6526, 6332, 6418, 6500],\n      color: brandSecondaryColor,\n    },\n  ],\n  legend: {\n    show: false\n  },\n  stroke: {\n    curve: 'smooth'\n  },\n  xaxis: {\n    categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-body'\n      }\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n  },\n}\n\nif (document.getElementById(\"line-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"line-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between mb-4 md:mb-6\">\n    <div class=\"grid gap-4 grid-cols-2\">\n      <div>\n        <h5 class=\"inline-flex items-center text-body\">Clicks\n          <svg data-popover-target=\"clicks-info\" data-popover-placement=\"bottom\" class=\"w-4 h-4 text-body hover:text-heading cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          <div data-popover id=\"clicks-info\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n              <div>\n                  <h3 class=\"font-semibold text-heading mb-2\">Activity growth - Incremental</h3>\n                  <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n                  <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                      Read more \n                      <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                  </a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n        </h5>\n        <p class=\"text-heading text-2xl font-semibold\">42,3k</p>\n      </div>\n      <div>\n        <h5 class=\"inline-flex items-center text-body\">CPC\n          <svg data-popover-target=\"cpc-info\" data-popover-placement=\"bottom\" class=\"w-4 h-4 text-body hover:text-heading cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          <div data-popover id=\"cpc-info\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n              <div>\n                  <h3 class=\"font-semibold text-heading mb-2\">CPC Info</h3>\n                  <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n                  <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                      Read more \n                      <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                  </a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n        </h5>\n        <p class=\"text-heading text-2xl font-semibold\">$5.40</p>\n      </div>\n    </div>\n    <div>\n    <button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"lastDaysdropdown\" data-dropdown-placement=\"bottom\" type=\"button\" class=\"inline-flex items-center text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n      Last week\n      <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n    </button>\n    <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n    </div>\n  </div>\n  <div id=\"line-chart\"></div>\n  <div class=\"items-center border-light border-t justify-between mt-4 md:mt-6 pt-4 md:pt-6\">\n    <button type=\"button\" class=\"inline-flex items-center  text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n      <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m4 10v-2m3 2v-6m3 6v-3m4-11v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/></svg>\n      View full report\n    </button>\n  </div>\n</div>\n{{< /example >}}\n\n## Column chart\n\nYou can represent multiple data entries using columns by setting the `type: \"bar\"` option and also by updating the `horizontal` key value to `false` in JavaScript to adjust them vertically as columns:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n    colors: [brandColor, brandSecondaryColor],\n    series: [\n      {\n        name: \"Organic\",\n        color: brandColor,\n        data: [\n          { x: \"Mon\", y: 231 },\n          { x: \"Tue\", y: 122 },\n          { x: \"Wed\", y: 63 },\n          { x: \"Thu\", y: 421 },\n          { x: \"Fri\", y: 122 },\n          { x: \"Sat\", y: 323 },\n          { x: \"Sun\", y: 111 },\n        ],\n      },\n      {\n        name: \"Social media\",\n        color: brandSecondaryColor,\n        data: [\n          { x: \"Mon\", y: 232 },\n          { x: \"Tue\", y: 113 },\n          { x: \"Wed\", y: 341 },\n          { x: \"Thu\", y: 224 },\n          { x: \"Fri\", y: 522 },\n          { x: \"Sat\", y: 411 },\n          { x: \"Sun\", y: 243 },\n        ],\n      },\n    ],\n    chart: {\n      type: \"bar\",\n      height: \"320px\",\n      fontFamily: \"Inter, sans-serif\",\n      toolbar: {\n        show: false,\n      },\n    },\n    plotOptions: {\n      bar: {\n        horizontal: false,\n        columnWidth: \"70%\",\n        borderRadiusApplication: \"end\",\n        borderRadius: 8,\n      },\n    },\n    tooltip: {\n      shared: true,\n      intersect: false,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n      },\n    },\n    states: {\n      hover: {\n        filter: {\n          type: \"darken\",\n          value: 1,\n        },\n      },\n    },\n    stroke: {\n      show: true,\n      width: 0,\n      colors: [\"transparent\"],\n    },\n    grid: {\n      show: false,\n      strokeDashArray: 4,\n      padding: {\n        left: 2,\n        right: 2,\n        top: -14\n      },\n    },\n    dataLabels: {\n      enabled: false,\n    },\n    legend: {\n      show: false,\n    },\n    xaxis: {\n      floating: false,\n      labels: {\n        show: true,\n        style: {\n          fontFamily: \"Inter, sans-serif\",\n          cssClass: 'text-xs font-normal fill-body'\n        }\n      },\n      axisBorder: {\n        show: false,\n      },\n      axisTicks: {\n        show: false,\n      },\n    },\n    yaxis: {\n      show: false,\n    },\n    fill: {\n      opacity: 1,\n    },\n  }\n\n  if(document.getElementById(\"column-chart\") && typeof ApexCharts !== 'undefined') {\n    const chart = new ApexCharts(document.getElementById(\"column-chart\"), options);\n    chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between pb-4 mb-4 border-b border-light\">\n    <div class=\"flex items-center\">\n      <div class=\"w-12 h-12 bg-neutral-primary-medium border border-default-medium flex items-center justify-center rounded-full me-3\">\n        <svg class=\"w-7 h-7 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M4.5 17H4a1 1 0 0 1-1-1 3 3 0 0 1 3-3h1m0-3.05A2.5 2.5 0 1 1 9 5.5M19.5 17h.5a1 1 0 0 0 1-1 3 3 0 0 0-3-3h-1m0-3.05a2.5 2.5 0 1 0-2-4.45m.5 13.5h-7a1 1 0 0 1-1-1 3 3 0 0 1 3-3h3a3 3 0 0 1 3 3 1 1 0 0 1-1 1Zm-1-9.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z\"/></svg>\n      </div>\n      <div>\n        <h5 class=\"text-2xl font-semibold text-heading\">3.4k</h5>\n        <p class=\"text-sm text-body\">Leads generated per week</p>\n      </div>\n    </div>\n    <div>\n      <span class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n        <svg class=\"w-4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n        42.5%\n      </span>\n    </div>\n  </div>\n\n  <div class=\"grid grid-cols-2\">\n    <dl class=\"flex items-center\">\n        <dt class=\"text-body text-sm font-normal me-1\">Money spent:</dt>\n        <dd class=\"text-heading text-sm font-semibold\">$3,232</dd>\n    </dl>\n    <dl class=\"flex items-center justify-end\">\n        <dt class=\"text-body text-sm font-normal me-1\">Conversion:</dt>\n        <dd class=\"text-heading text-sm font-semibold\">1.2%</dd>\n    </dl>\n  </div>\n  <div id=\"column-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDaysButton\" data-dropdown-toggle=\"LastDaysdropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDaysdropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDaysButton\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Leads Report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Bar chart\n\nCreate a horizontal bar chart with as many data series as you like by setting the `type: \"bar\"` chart type via JavaScript and copy the example below into your project. You can enable or disable the labels on the X or Y axis by setting `show` to `false` for the `xaxis` and `yaxis` objects of the chart options.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\nconst options = {\n  series: [\n    {\n      name: \"Income\",\n      color: \"#007A55\",\n      data: [\"1420\", \"1620\", \"1820\", \"1420\", \"1650\", \"2120\"],\n    },\n    {\n      name: \"Expense\",\n      data: [\"788\", \"810\", \"866\", \"788\", \"1100\", \"1200\"],\n      color: \"#C70036\",\n    }\n  ],\n  chart: {\n    sparkline: {\n      enabled: false,\n    },\n    type: \"bar\",\n    width: \"100%\",\n    height: 400,\n    toolbar: {\n      show: false,\n    }\n  },\n  fill: {\n    opacity: 1,\n  },\n  plotOptions: {\n    bar: {\n      horizontal: true,\n      columnWidth: \"100%\",\n      borderRadiusApplication: \"end\",\n      borderRadius: 6,\n      dataLabels: {\n        position: \"top\",\n      },\n    },\n  },\n  legend: {\n    show: true,\n    position: \"bottom\",\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  tooltip: {\n    shared: true,\n    intersect: false,\n    formatter: function (value) {\n      return \"$\" + value\n    }\n  },\n  xaxis: {\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-body'\n      },\n      formatter: function(value) {\n        return \"$\" + value\n      }\n    },\n    categories: [\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n    axisTicks: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n  },\n  yaxis: {\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-body'\n      }\n    }\n  },\n  grid: {\n    show: true,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -20\n    },\n  },\n  fill: {\n    opacity: 1,\n  }\n}\n\nif(document.getElementById(\"bar-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"bar-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between border-light border-b pb-3\">\n    <dl>\n      <dt class=\"text-body\">Profit</dt>\n      <dd class=\"text-2xl font-semibold text-heading\">$5,405</dd>\n    </dl>\n    <div>\n      <span class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n        <svg class=\"w-4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n        Profit rate 23.5%\n      </span>\n    </div>\n  </div>\n\n  <div class=\"grid grid-cols-2 py-3\">\n    <dl>\n      <dt class=\"text-body\">Income</dt>\n      <dd class=\"text-lg font-semibold text-fg-success\">$23,635</dd>\n    </dl>\n    <dl>\n      <dt class=\"text-body\">Expense</dt>\n      <dd class=\"text-lg font-semibold text-fg-danger\">-$18,230</dd>\n    </dl>\n  </div>\n\n  <div id=\"bar-chart\"></div>\n    \n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays3Button\" data-dropdown-toggle=\"LastDays3dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays3dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays3Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Revenue Report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Pie chart\n\nCreate a pie chart with multiple data series by setting the `type: \"pie\"` chart type option via JavaScript and copy the following HTML markup code and options from below:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const getBrandTertiaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-strong').trim() || \"#1447E6\";\n  };\n\n  const getNeutralPrimaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-neutral-primary').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n  const brandTertiaryColor = getBrandTertiaryColor();\n  const neutralPrimaryColor = getNeutralPrimaryColor();\n\n  const getChartOptions = () => {\n    return {\n      series: [52.8, 26.8, 20.4],\n      colors: [brandColor, brandSecondaryColor, brandTertiaryColor],\n      chart: {\n        height: 420,\n        width: \"100%\",\n        type: \"pie\",\n      },\n      stroke: {\n        colors: [neutralPrimaryColor],\n        lineCap: \"\",\n      },\n      plotOptions: {\n        pie: {\n          labels: {\n            show: true,\n          },\n          size: \"100%\",\n          dataLabels: {\n            offset: -25\n          }\n        },\n      },\n      labels: [\"Direct\", \"Organic search\", \"Referrals\"],\n      dataLabels: {\n        enabled: true,\n        style: {\n          fontFamily: \"Inter, sans-serif\",\n        },\n      },\n      legend: {\n        position: \"bottom\",\n        fontFamily: \"Inter, sans-serif\",\n      },\n      yaxis: {\n        labels: {\n          formatter: function (value) {\n            return value + \"%\"\n          },\n        },\n      },\n      xaxis: {\n        labels: {\n          formatter: function (value) {\n            return value  + \"%\"\n          },\n        },\n        axisTicks: {\n          show: false,\n        },\n        axisBorder: {\n          show: false,\n        },\n      },\n    }\n  }\n\n  if (document.getElementById(\"pie-chart\") && typeof ApexCharts !== 'undefined') {\n    const chart = new ApexCharts(document.getElementById(\"pie-chart\"), getChartOptions());\n    chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n\n  <div class=\"flex justify-between items-start w-full\">\n      <div class=\"flex-col items-center\">\n        <div class=\"flex items-center mb-1\">\n          <h5 class=\"text-xl font-semibold text-heading me-1\">Website traffic</h5>\n          <svg data-popover-target=\"traffic-info\" data-popover-placement=\"bottom\" class=\"w-4 h-4 text-body hover:text-heading cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          <div data-popover id=\"traffic-info\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n              <div>\n                  <h3 class=\"font-semibold text-heading mb-2\">Activity growth - Incremental</h3>\n                  <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n                  <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                      Read more \n                      <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                  </a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n      </div>\n      <button id=\"dateRangeButton\" data-dropdown-toggle=\"dateRangeDropdown\" data-dropdown-ignore-click-outside-class=\"datepicker\" type=\"button\" class=\"inline-flex items-center text-fg-brand font-medium hover:underline\">\n        31 Nov - 31 Dev \n        <svg class=\"w-4.5 h-4.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <div id=\"dateRangeDropdown\" class=\"z-10 hidden bg-neutral-primary-soft rounded-base shadow-xs border border-default w-80 lg:w-112\">\n        <div id=\"date-range-picker\" date-rangepicker class=\"flex items-center p-2\">\n          <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <input id=\"datepicker-range-start\" name=\"start\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"Start date\">\n          </div>\n          <span class=\"mx-4 text-body\">to</span>\n          <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n            </div>\n            <input id=\"datepicker-range-end\" name=\"end\" type=\"text\" class=\"block w-full ps-9 pe-3 py-2.5 bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"End date\">\n        </div>\n        </div>\n      </div>\n    </div>\n    <div class=\"flex justify-end items-center\">\n      <button id=\"widgetDropdownButton\" data-dropdown-toggle=\"widgetDropdown\" data-dropdown-placement=\"bottom\" type=\"button\" class=\"inline-flex items-center justify-center text-body bg-neutral-primary-soft hover:bg-neutral-tertiary hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm w-9 h-9 focus:outline-none\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"3\" d=\"M6 12h.01m6 0h.01m5.99 0h.01\"/></svg>\n        <span class=\"sr-only\">Open dropdown</span>\n      </button>\n      <div id=\"widgetDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"widgetDropdownButton\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 5V4a1 1 0 0 0-1-1H8.914a1 1 0 0 0-.707.293L4.293 7.207A1 1 0 0 0 4 7.914V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5M9 3v4a1 1 0 0 1-1 1H4m11.383.772 2.745 2.746m1.215-3.906a2.089 2.089 0 0 1 0 2.953l-6.65 6.646L9 17.95l.739-3.692 6.646-6.646a2.087 2.087 0 0 1 2.958 0Z\"/></svg>\n                Edit widget\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 13V4M7 14H5a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2m-1-5-4 5-4-5m9 8h.01\"/></svg>\n                Download data\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm8-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 0a4 4 0 0 1-4 4h-1a3 3 0 0 0-3 3\"/></svg>\n                Add to repository\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">\n                <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z\"/></svg>\n                Delete widget\n              </a>\n            </li>\n          </ul>\n    </div>\n  </div>\n  </div>\n\n  <!-- Line Chart -->\n  <div class=\"py-6\" id=\"pie-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays4Button\" data-dropdown-toggle=\"LastDays4dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays4dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays4Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Traffic Report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n\n</div>\n{{< /example >}}\n\n## Donut chart\n\nSet the JavaScript API option to `type: \"donut\"` to create a donut chart and copy the options from the example below to style the elements such as the data series, legends and labels for the X and Y axis.\n\nIn this example we also show how you can set event listeners on the UI components from Flowbite to update the data series from the chart by clicking the device checkboxes.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const getBrandTertiaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-strong').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n  const brandTertiaryColor = getBrandTertiaryColor();\n\n  const getChartOptions = () => {\n    return {\n      series: [35.1, 23.5, 2.4, 5.4],\n      colors: [brandColor, brandSecondaryColor, brandTertiaryColor],\n      chart: {\n        height: 320,\n        width: \"100%\",\n        type: \"donut\",\n      },\n      stroke: {\n        colors: [\"transparent\"],\n        lineCap: \"\",\n      },\n      plotOptions: {\n        pie: {\n          donut: {\n            labels: {\n              show: true,\n              name: {\n                show: true,\n                fontFamily: \"Inter, sans-serif\",\n                offsetY: 20,\n              },\n              total: {\n                showAlways: true,\n                show: true,\n                label: \"Unique visitors\",\n                fontFamily: \"Inter, sans-serif\",\n                formatter: function (w) {\n                  const sum = w.globals.seriesTotals.reduce((a, b) => {\n                    return a + b\n                  }, 0)\n                  return '$' + sum + 'k'\n                },\n              },\n              value: {\n                show: true,\n                fontFamily: \"Inter, sans-serif\",\n                offsetY: -20,\n                formatter: function (value) {\n                  return value + \"k\"\n                },\n              },\n            },\n            size: \"80%\",\n          },\n        },\n      },\n      grid: {\n        padding: {\n          top: -2,\n        },\n      },\n      labels: [\"Direct\", \"Sponsor\", \"Affiliate\", \"Email marketing\"],\n      dataLabels: {\n        enabled: false,\n      },\n      legend: {\n        position: \"bottom\",\n        fontFamily: \"Inter, sans-serif\",\n      },\n      yaxis: {\n        labels: {\n          formatter: function (value) {\n            return value + \"k\"\n          },\n        },\n      },\n      xaxis: {\n        labels: {\n          formatter: function (value) {\n            return value  + \"k\"\n          },\n        },\n        axisTicks: {\n          show: false,\n        },\n        axisBorder: {\n          show: false,\n        },\n      },\n    }\n  }\n\n  if (document.getElementById(\"donut-chart\") && typeof ApexCharts !== 'undefined') {\n    const chart = new ApexCharts(document.getElementById(\"donut-chart\"), getChartOptions());\n    chart.render();\n\n    // Get all the checkboxes by their class name\n    const checkboxes = document.querySelectorAll('#devices input[type=\"checkbox\"]');\n\n    // Function to handle the checkbox change event\n    function handleCheckboxChange(event, chart) {\n        const checkbox = event.target;\n        if (checkbox.checked) {\n            switch(checkbox.value) {\n              case 'desktop':\n                chart.updateSeries([15.1, 22.5, 4.4, 8.4]);\n                break;\n              case 'tablet':\n                chart.updateSeries([25.1, 26.5, 1.4, 3.4]);\n                break;\n              case 'mobile':\n                chart.updateSeries([45.1, 27.5, 8.4, 2.4]);\n                break;\n              default:\n                chart.updateSeries([55.1, 28.5, 1.4, 5.4]);\n            }\n\n        } else {\n            chart.updateSeries([35.1, 23.5, 2.4, 5.4]);\n        }\n    }\n\n    // Attach the event listener to each checkbox\n    checkboxes.forEach((checkbox) => {\n        checkbox.addEventListener('change', (event) => handleCheckboxChange(event, chart));\n    });\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  \n  <div class=\"flex justify-between mb-3\">\n        <div class=\"flex justify-center items-center\">\n          <h5 class=\"text-xl font-semibold text-heading me-1\">Website traffic</h5>\n          <svg data-popover-target=\"traffic-info-2\" data-popover-placement=\"bottom\" class=\"w-4 h-4 text-body hover:text-heading cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          <div data-popover id=\"traffic-info-2\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n          <div>\n            <h3 class=\"font-semibold text-heading mb-2\">Activity growth - Incremental</h3>\n            <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n            <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n            <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                  Read more \n                  <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n          </div>\n          <div data-popper-arrow></div>\n          </div>\n        </div>\n      <div>\n        <button type=\"button\" data-tooltip-target=\"data-tooltip\" data-tooltip-placement=\"bottom\" class=\"hidden sm:inline-flex items-center justify-center text-body hover:text-heading bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm w-9 h-9 focus:outline-none\">\n          <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4\"/></svg>\n          <span class=\"sr-only\">Download data</span>\n        </button>\n        <div id=\"data-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-base shadow-xs opacity-0 tooltip\">\n            Download CSV\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n      </div>\n  </div>\n\n  <div>\n    <div class=\"flex\" id=\"devices\">\n      <div class=\"flex items-center me-4\">\n          <input id=\"desktop\" type=\"checkbox\" value=\"desktop\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"desktop\" class=\"select-none ms-2 text-sm font-medium text-heading\">Desktop</label>\n      </div>\n      <div class=\"flex items-center me-4\">\n          <input id=\"tablet\" type=\"checkbox\" value=\"tablet\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"tablet\" class=\"select-none ms-2 text-sm font-medium text-heading\">Tablet</label>\n      </div>\n      <div class=\"flex items-center me-4\">\n          <input id=\"mobile\" type=\"checkbox\" value=\"mobile\" class=\"w-4 h-4 border border-default-medium rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft\">\n          <label for=\"mobile\" class=\"select-none ms-2 text-sm font-medium text-heading\">Mobile</label>\n      </div>\n    </div>\n  </div>\n\n  <!-- Donut Chart -->\n  <div class=\"py-6\" id=\"donut-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays5Button\" data-dropdown-toggle=\"LastDays5dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays5dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays5Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Traffic analysis\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Radial chart\n\nTo create a radial chart with multiple data entries you need to set the `type: \"radialBar\"` when initialising a new chart and introduce multiple series and labels to the options and copy the following code:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getWarningColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-warning').trim() || \"#1447E6\";\n  };\n\n  const getSuccessColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-success').trim() || \"#1447E6\";\n  };\n  const getNeutralSecondaryMediumColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-neutral-secondary-medium').trim() || \"#1447E6\";\n  };\n  \n\n  const brandColor = getBrandColor();\n  const warningColor = getWarningColor();\n  const successColor = getSuccessColor();\n  const neutralSecondaryMediumColor = getNeutralSecondaryMediumColor();\n\n  const getChartOptions = () => {\n    return {\n      series: [90, 85, 70],\n      colors: [brandColor, warningColor, successColor],\n      chart: {\n        height: \"350px\",\n        width: \"100%\",\n        type: \"radialBar\",\n        sparkline: {\n          enabled: true,\n        },\n      },\n      plotOptions: {\n        radialBar: {\n          track: {\n            background: neutralSecondaryMediumColor,\n          },\n          dataLabels: {\n            show: false,\n          },\n          hollow: {\n            margin: 0,\n            size: \"32%\",\n          }\n        },\n      },\n      grid: {\n        show: false,\n        strokeDashArray: 4,\n        padding: {\n          left: 2,\n          right: 2,\n          top: -23,\n          bottom: -20,\n        },\n      },\n      labels: [\"To do\", \"In progress\", \"Done\"],\n      legend: {\n        show: true,\n        position: \"bottom\",\n        fontFamily: \"Inter, sans-serif\",\n      },\n      tooltip: {\n        enabled: true,\n        x: {\n          show: false,\n        },\n      },\n      yaxis: {\n        show: false,\n        labels: {\n          formatter: function (value) {\n            return value + '%';\n          }\n        }\n      }\n    }\n  }\n\n  if (document.getElementById(\"radial-chart\") && typeof ApexCharts !== 'undefined') {\n    const chart = new ApexCharts(document.querySelector(\"#radial-chart\"), getChartOptions());\n    chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between mb-4 md:mb-6\">\n    <div class=\"flex items-center\">\n      <div class=\"flex justify-center items-center\">\n        <h5 class=\"text-xl font-semibold text-heading me-1\">Your team's progress</h5>\n          <svg data-popover-target=\"team-progress-2\" data-popover-placement=\"bottom\" class=\"w-4 h-4 text-body hover:text-heading cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.529 9.988a2.502 2.502 0 1 1 5 .191A2.441 2.441 0 0 1 12 12.582V14m-.01 3.008H12M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n          <div data-popover id=\"team-progress-2\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-base shadow-xs opacity-0 w-72\">\n          <div>\n            <h3 class=\"font-semibold text-heading mb-2\">Activity growth - Incremental</h3>\n            <p class=\"mb-4\">Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n            <h3 class=\"font-semibold text-heading mb-2\">Calculation</h3>\n            <p class=\"mb-4\">For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                  Read more \n                  <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n          </div>\n          <div data-popper-arrow></div>\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <div class=\"bg-neutral-secondary-medium border border-light-medium p-3 rounded-base\">\n    <div class=\"grid grid-cols-3 gap-3 mb-3\">\n      <dl class=\"bg-brand-softer border border-brand-subtle text-fg-brand-strong rounded-base flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-brand-soft text-fg-brand-strong text-sm font-medium flex items-center justify-center mb-1\">12</dt>\n        <dd class=\"text-fg-brand text-sm font-medium\">To do</dd>\n      </dl>\n      <dl class=\"bg-warning-soft border border-warning-subtle text-fg-warning rounded-base flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-warning-medium text-fg-warning text-sm font-medium flex items-center justify-center mb-1\">23</dt>\n        <dd class=\"text-fg-warning text-sm font-medium\">In progress</dd>\n      </dl>\n      <dl class=\"bg-success-soft border border-success-subtle text-fg-success-strong rounded-base flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-success-medium text-fg-success-strong text-sm font-medium flex items-center justify-center mb-1\">64</dt>\n        <dd class=\"text-fg-success-strong text-sm font-medium\">Done</dd>\n      </dl>\n    </div>\n    <button data-collapse-toggle=\"more-details\" type=\"button\" class=\"hover:underline text-sm text-body font-medium inline-flex items-center\">\n      Show more details \n      <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n    </button>\n    <div id=\"more-details\" class=\"border-light border-t pt-3 mt-3 space-y-2 hidden\">\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-body text-sm font-normal\">Average task completion rate:</dt>\n        <dd class=\"inline-flex items-center bg-success-soft border border-success-subtle text-fg-success-strong text-xs font-medium px-1.5 py-0.5 rounded\">\n          <svg class=\"w-4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n          57%\n        </dd>\n      </dl>\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-body text-sm font-normal\">Days until sprint ends:</dt>\n        <dd class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">13 days</dd>\n      </dl>\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-body text-sm font-normal\">Next meeting:</dt>\n        <dd class=\"inline-flex items-center bg-neutral-primary-medium border border-default-medium text-heading text-xs font-medium px-1.5 py-0.5 rounded\">\n          <svg class=\"w-3.5 h-3.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z\"/></svg>\n          Thursday\n        </dd>\n      </dl>\n    </div>\n  </div>\n\n  <!-- Radial Chart -->\n  <div class=\"py-6\" id=\"radial-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays6Button\" data-dropdown-toggle=\"LastDays6dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays6dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays6Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## Options\n\nLearn more about how you can customize the charts including the data, labels, legend indicators, size and appearance of the graphs, and other options by checking out the examples below.\n\n### Data series\n\nYou can add multiple data sets by using the `series` object and setting a name, array of data and custom color of choice. In this example we added two data series based on a blue and purple color.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n  // add data series via arrays, learn more here: https://apexcharts.com/docs/series/\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  legend: {\n    show: false\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: \"#1447E6\",\n      gradientToColors: [\"#1447E6\"],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: 0\n    },\n  },\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  }\n\n  if (document.getElementById(\"data-series-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"data-series-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"data-series-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays8Button\" data-dropdown-toggle=\"LastDays8dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays8dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays8Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Labels\n\nShow labels for the X and Y axis by enabling the `xaxis: {show: true}` and `yaxis: {show: true}` and customize the appearance of the labels by adding Tailwind CSS utility classes to the `cssClass` object based on the following example:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n  \n  const options = {\n  // set the labels option to true to show the labels on the X and Y axis\n  xaxis: {\n    show: true,\n    categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-body'\n      }\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: true,\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-body'\n      },\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [150, 141, 145, 152, 135, 125],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [43, 13, 65, 12, 42, 73],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    sparkline: {\n      enabled: false\n    },\n    height: \"100%\",\n    width: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  legend: {\n    show: false\n  },\n  grid: {\n    show: false,\n  },\n  }\n\n  if (document.getElementById(\"labels-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"labels-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"labels-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays9Button\" data-dropdown-toggle=\"LastDays9dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays9dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays9Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Legends\n\nAutomatically show the legend indicators of the chart by setting the `legend: { show: true }` value when configuring the options via JavaScript. You can also set position of the legend by using the `position: {x}` option inside the legend object to place it to the top or bottom side of the chart.  \n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n  // add data series via arrays, learn more here: https://apexcharts.com/docs/series/\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  legend: {\n    show: true\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: \"#1447E6\",\n      gradientToColors: [\"#1447E6\"],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  }\n\n  if (document.getElementById(\"legend-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"legend-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"legend-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays10Button\" data-dropdown-toggle=\"LastDays10dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays10dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays10Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Tooltip\n\nEnable the tooltip that is shown when hovering over a data set by setting `{tooltip: {enabled: true}}` and customize the tooltip component via the following options:\n\n- `x: {show: false}` will show or hide the X axis data\n- `y: {show: true}` will show or hide the Y axis data\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n  // set this option to enable the tooltip for the chart, learn more here: https://apexcharts.com/docs/tooltip/\n  tooltip: {\n    enabled: true,\n    x: {\n      show: true,\n    },\n    y: {\n      show: true,\n    },\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  legend: {\n    show: true\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  }\n\n  if (document.getElementById(\"tooltip-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"tooltip-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"tooltip-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays11Button\" data-dropdown-toggle=\"LastDays11dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays11dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays11Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Grid\n\nAdd a grid layout of dashed lines to improve the readability of the data entries for the charts by configuring the `{grid: { show: true }}` object and customize the appearance via the `strokeDashArray` object.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n  // set grid lines to improve the readability of the chart, learn more here: https://apexcharts.com/docs/grid/\n  grid: {\n    show: true,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  legend: {\n    show: true\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  }\n\n  if (document.getElementById(\"grid-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"grid-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"grid-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays12Button\" data-dropdown-toggle=\"LastDays12dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays12dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays12Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Data labels\n\nShow data points on the chart by enable the `dataLabels: {enabled: true}` object when configuring the options via JavaScript and customize the appearance based on the following example:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n  \n  const options = {\n  // enable and customize data labels using the following example, learn more from here: https://apexcharts.com/docs/datalabels/\n  dataLabels: {\n    enabled: true,\n    // offsetX: 10,\n    style: {\n      cssClass: 'text-xs text-white font-medium'\n    },\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 16,\n      right: 16,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [150, 141, 145, 152, 135, 125],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [64, 41, 76, 41, 113, 173],\n      color: brandSecondaryColor,\n    },\n  ],\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  legend: {\n    show: true\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  stroke: {\n    width: 6,\n  },\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n  }\n\n  if (document.getElementById(\"data-labels-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"data-labels-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"data-labels-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays13Button\" data-dropdown-toggle=\"LastDays13dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays13dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays13Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Format data\n\nIf you want to format and prefix your data with something such as a currency sign you can do that by using the `formatter` function. For example, here we use the euro (\"€\") sign instead of the dollar (\"$\").\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n  // set the formatter callback function to format data\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '€' + value;\n      }\n    }\n  },\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: brandColor,\n      gradientToColors: [brandColor],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: brandColor,\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: brandSecondaryColor,\n    },\n  ],\n  xaxis: {\n    categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  }\n\n  if (document.getElementById(\"main-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"main-chart\"), options);\n  chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"main-chart\" class=\"py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays14Button\" data-dropdown-toggle=\"LastDays14dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays14dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays14Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n### Chart size\n\nYou can set the size (width and height) of the chart by passing the `width: {size}` and `height: {size}` options via JavaScript to the chart object using pixels or percentages:\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/charts.md\" show_dark=true charts=true loadJavascriptListener=true disable_init_js=true javascript=`\n  // Get the CSS variable --color-brand and convert it to hex for ApexCharts\n  const getBrandColor = () => {\n    // Get the computed style of the document's root element\n    const computedStyle = getComputedStyle(document.documentElement);\n    \n    // Get the value of the --color-brand CSS variable\n    return computedStyle.getPropertyValue('--color-fg-brand').trim() || \"#1447E6\";\n  };\n\n  const getBrandSecondaryColor = () => {\n    const computedStyle = getComputedStyle(document.documentElement);\n    return computedStyle.getPropertyValue('--color-fg-brand-subtle').trim() || \"#1447E6\";\n  };\n\n  const brandColor = getBrandColor();\n  const brandSecondaryColor = getBrandSecondaryColor();\n\n  const options = {\n    chart: {\n      // add these lines to update the size of the chart\n      height: 240,\n      width: 240,\n      type: \"area\",\n      fontFamily: \"Inter, sans-serif\",\n      dropShadow: {\n        enabled: false,\n      },\n      toolbar: {\n        show: false,\n      },\n    },\n    tooltip: {\n      enabled: true,\n      x: {\n        show: false,\n      },\n    },\n    fill: {\n      type: \"gradient\",\n      gradient: {\n        opacityFrom: 0.55,\n        opacityTo: 0,\n        shade: brandColor,\n        gradientToColors: [brandColor],\n      },\n    },\n    dataLabels: {\n      enabled: false,\n    },\n    stroke: {\n      width: 6,\n    },\n    grid: {\n      show: false,\n      strokeDashArray: 4,\n      padding: {\n        left: 2,\n        right: 2,\n        top: -26\n      },\n    },\n    series: [\n      {\n        name: \"Developer Edition\",\n        data: [1500, 1418, 1456, 1526, 1356, 1256],\n        color: brandColor,\n      },\n      {\n        name: \"Designer Edition\",\n        data: [643, 413, 765, 412, 1423, 1731],\n        color: brandSecondaryColor,\n      },\n    ],\n    xaxis: {\n      categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n      labels: {\n        show: false,\n      },\n      axisBorder: {\n        show: false,\n      },\n      axisTicks: {\n        show: false,\n      },\n    },\n    yaxis: {\n      show: false,\n      labels: {\n        formatter: function (value) {\n          return '$' + value;\n        }\n      }\n    },\n  }\n\n  if (document.getElementById(\"size-chart\") && typeof ApexCharts !== 'undefined') {\n    const chart = new ApexCharts(document.getElementById(\"size-chart\"), options);\n    chart.render();\n  }\n` >}}\n<div class=\"max-w-sm w-full bg-neutral-primary-soft border border-default rounded-base shadow-xs p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"text-2xl font-bold text-heading\">$12,423</h5>\n      <p class=\"text-body\">Sales this week</p>\n    </div>\n    <div class=\"flex items-center px-2.5 py-0.5 font-medium text-fg-success text-center\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6v13m0-13 4 4m-4-4-4 4\"/></svg>\n      12%\n    </div>\n  </div>\n  <div id=\"size-chart\" class=\"[&>div]:mx-auto py-4 md:py-6\"></div>\n  <div class=\"grid grid-cols-1 items-center border-light border-t justify-between\">\n    <div class=\"flex justify-between items-center pt-4 md:pt-6\">\n      <!-- Button -->\n      <button id=\"dropdownLastDays15Button\" data-dropdown-toggle=\"LastDays15dropdown\" data-dropdown-placement=\"bottom\" class=\"text-sm font-medium text-body hover:text-heading text-center inline-flex items-center\" type=\"button\">\n          Last 7 days\n          <svg class=\"w-4 h-4 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"LastDays15dropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-44\">\n          <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownLastDays15Button\">\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a href=\"#\" class=\"inline-flex items-center text-fg-brand bg-transparent box-border border border-transparent hover:bg-neutral-secondary-medium focus:ring-4 focus:ring-neutral-tertiary font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\">\n        Progress report\n        <svg class=\"w-4 h-4 ms-1.5 -me-0.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n## JavaScript behaviour\n\nWith the charts from Flowbite and through the API of ApexCharts you can programmatically configure and handle the behaviour of the components by using the methods directly on the chart object.\n\nFor example, here's how you can initialize a new chart with an options object and call the `render()` function:\n\n{{< code lang=\"javascript\" file=\"charts.js\" icon=\"file\" >}}\nconst chart = new ApexCharts(el, options);\nchart.render();\n{{< /code >}}\n\nYou can also update the options or data on demand. Here's an example how you can add or remove data:\n\n{{< code lang=\"javascript\" file=\"charts.js\" icon=\"file\" >}}\nconst chart = new ApexCharts(el, options);\n\nchart.updateSeries([{\n  data: [342, 442, 311, 421, 212]\n}]);\n{{< /code >}}\n\nYou can also toggle the visibility of a data series by calling the `toggleSeries()` method:\n\n{{< code lang=\"javascript\" file=\"charts.js\" icon=\"file\" >}}\nconst chart = new ApexCharts(el, {\n  series: [{\n    name: 'Developer Edition'\n    data: [342, 442, 311, 421, 212]\n  }, {\n    name: 'Designer Edition'\n    data: [342, 442, 311, 421, 212]\n  }]\n});\n\nchart.toggleSeries('Designer Edition');\n{{< /code >}}\n\nYou can read more about all of the methods by checking out the official <a href=\"https://apexcharts.com/docs/methods/#render\" rel=\"nofollow\">ApexCharts documentation</a>.\n\n## More examples\n\nCheck out more chart examples built with Flowbite, Tailwind CSS and Flowbite with these resources:\n\n- [Flowbite Admin Dashboard](https://github.com/themesberg/flowbite-admin-dashboard)\n"
  },
  {
    "path": "content/plugins/datatables.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Datatables - Flowbite\ndescription: Use the datatable component to search, sort, filter, export and paginate table data of rows and columns for your web application coded with the utility classes from Tailwind CSS\ngroup: plugins\ntoc: true\nrequires_js: true\n\nprevious: Charts\npreviousLink: plugins/charts/\n\nnext: WYSIWYG\nnextLink: plugins/wysiwyg/\n---\n\nThe datatable component examples from Flowbite are open-source under the MIT License and they are based on the [simple-datatables](https://github.com/fiduswriter/simple-datatables) repository from GitHub which you need to install via NPM or CDN.\n\nThis page provides multiple examples of datatable components where you can search, sort, filter, paginate and export table data up to thousands of entries coded with Tailwind CSS and leveraging JavaScript code provided by the parent library.\n\nAll examples are responsive, dark mode and RTL support included and by installing the Flowbite plugin the custom styles will automatically be applied to the datatable components using Tailwind CSS.\n\n## Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite, and Simple Datables in your project.\n\n1. Install Tailwind CSS and follow our <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a> to install Flowbite and the official plugin\n\n2. Install the `simple-datatables` library using NPM:\n\n{{< code lang=\"bash\" >}}\nnpm install simple-datatables --save\n{{< /code >}}\n\nAlternatively, you can also include it in your project using CDN:\n\n{{< code lang=\"html\" file=\"datatables.html\" icon=\"file\" >}}\n<script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@9.0.3\"></script>\n{{< /code >}}\n\nNow that you have installed all libraries you can start copy-pasting the datatable components from Flowbite.\n\nMake sure that in addition to the HTML markup you also copy the JavaScript code to initialize the component.\n\n## Default datatable\n\nUse this example to show table data with default sorting and pagination functionalities.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"default-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#default-table\", {\n        searchable: false,\n        perPageSelect: false\n    });\n}\n` >}}\n<table id=\"default-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## Table search\n\nSet the `searchable` option to `true` to enable the search functionality for all table data.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"search-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#search-table\", {\n        searchable: true,\n        sortable: false\n    });\n}\n` >}}\n<table id=\"search-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Company Name\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Ticker\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Stock Price\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Market Capitalization\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple Inc.</td>\n            <td>AAPL</td>\n            <td>$192.58</td>\n            <td>$3.04T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Microsoft Corporation</td>\n            <td>MSFT</td>\n            <td>$340.54</td>\n            <td>$2.56T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Alphabet Inc.</td>\n            <td>GOOGL</td>\n            <td>$134.12</td>\n            <td>$1.72T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Amazon.com Inc.</td>\n            <td>AMZN</td>\n            <td>$138.01</td>\n            <td>$1.42T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">NVIDIA Corporation</td>\n            <td>NVDA</td>\n            <td>$466.19</td>\n            <td>$1.16T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Tesla Inc.</td>\n            <td>TSLA</td>\n            <td>$255.98</td>\n            <td>$811.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Meta Platforms Inc.</td>\n            <td>META</td>\n            <td>$311.71</td>\n            <td>$816.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Berkshire Hathaway Inc.</td>\n            <td>BRK.B</td>\n            <td>$354.08</td>\n            <td>$783.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">TSMC</td>\n            <td>TSM</td>\n            <td>$103.51</td>\n            <td>$538.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">UnitedHealth Group Incorporated</td>\n            <td>UNH</td>\n            <td>$501.96</td>\n            <td>$466.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Johnson & Johnson</td>\n            <td>JNJ</td>\n            <td>$172.85</td>\n            <td>$452.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">JPMorgan Chase & Co.</td>\n            <td>JPM</td>\n            <td>$150.23</td>\n            <td>$431.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Visa Inc.</td>\n            <td>V</td>\n            <td>$246.39</td>\n            <td>$519.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Eli Lilly and Company</td>\n            <td>LLY</td>\n            <td>$582.97</td>\n            <td>$552.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Walmart Inc.</td>\n            <td>WMT</td>\n            <td>$159.67</td>\n            <td>$429.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Samsung Electronics Co., Ltd.</td>\n            <td>005930.KS</td>\n            <td>$70.22</td>\n            <td>$429.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Procter & Gamble Co.</td>\n            <td>PG</td>\n            <td>$156.47</td>\n            <td>$366.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nestlé S.A.</td>\n            <td>NESN.SW</td>\n            <td>$120.51</td>\n            <td>$338.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Roche Holding AG</td>\n            <td>ROG.SW</td>\n            <td>$296.00</td>\n            <td>$317.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Chevron Corporation</td>\n            <td>CVX</td>\n            <td>$160.92</td>\n            <td>$310.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">LVMH Moët Hennessy Louis Vuitton</td>\n            <td>MC.PA</td>\n            <td>$956.60</td>\n            <td>$478.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Pfizer Inc.</td>\n            <td>PFE</td>\n            <td>$35.95</td>\n            <td>$200.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Novo Nordisk A/S</td>\n            <td>NVO</td>\n            <td>$189.15</td>\n            <td>$443.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">PepsiCo, Inc.</td>\n            <td>PEP</td>\n            <td>$182.56</td>\n            <td>$311.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">ASML Holding N.V.</td>\n            <td>ASML</td>\n            <td>$665.72</td>\n            <td>$273.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">The Coca-Cola Company</td>\n            <td>KO</td>\n            <td>$61.37</td>\n            <td>$265.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Oracle Corporation</td>\n            <td>ORCL</td>\n            <td>$118.36</td>\n            <td>$319.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Merck & Co., Inc.</td>\n            <td>MRK</td>\n            <td>$109.12</td>\n            <td>$276.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Broadcom Inc.</td>\n            <td>AVGO</td>\n            <td>$861.80</td>\n            <td>$356.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Mastercard Incorporated</td>\n            <td>MA</td>\n            <td>$421.44</td>\n            <td>$396.00B</td>\n        </tr>\n    </tbody>\n</table>\n\n{{< /example >}}\n\n## Filtering data\n\nTo enable filtering data based on a search query for each column you need to copy the custom code from the JavaScript tab and the HTML structure of the table. Enabling search for each individual data column is an advanced way of letting users browse complex data.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"filter-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#filter-table\", {\n        tableRender: (_data, table, type) => {\n            if (type === \"print\") {\n                return table\n            }\n            const tHead = table.childNodes[0]\n            const filterHeaders = {\n                nodeName: \"TR\",\n                attributes: {\n                    class: \"search-filtering-row\"\n                },\n                childNodes: tHead.childNodes[0].childNodes.map(\n                    (_th, index) => ({nodeName: \"TH\",\n                        childNodes: [\n                            {\n                                nodeName: \"INPUT\",\n                                attributes: {\n                                    class: \"datatable-input\",\n                                    type: \"search\",\n                                    \"data-columns\": \"[\" + index + \"]\"\n                                }\n                            }\n                        ]})\n                )\n            }\n            tHead.childNodes.push(filterHeaders)\n            return table\n        }\n    });\n}\n` >}}\n<table id=\"filter-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Category\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Brand\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Price\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Stock\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Total Sales\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Status\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple iMac</td>\n            <td>Computers</td>\n            <td>Apple</td>\n            <td>$1,299</td>\n            <td>50</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple iPhone</td>\n            <td>Mobile Phones</td>\n            <td>Apple</td>\n            <td>$999</td>\n            <td>120</td>\n            <td>300</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Samsung Galaxy</td>\n            <td>Mobile Phones</td>\n            <td>Samsung</td>\n            <td>$899</td>\n            <td>80</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Dell XPS 13</td>\n            <td>Computers</td>\n            <td>Dell</td>\n            <td>$1,099</td>\n            <td>30</td>\n            <td>120</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">HP Spectre x360</td>\n            <td>Computers</td>\n            <td>HP</td>\n            <td>$1,299</td>\n            <td>25</td>\n            <td>80</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Google Pixel 6</td>\n            <td>Mobile Phones</td>\n            <td>Google</td>\n            <td>$799</td>\n            <td>100</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Sony WH-1000XM4</td>\n            <td>Headphones</td>\n            <td>Sony</td>\n            <td>$349</td>\n            <td>60</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple AirPods Pro</td>\n            <td>Headphones</td>\n            <td>Apple</td>\n            <td>$249</td>\n            <td>200</td>\n            <td>300</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Asus ROG Zephyrus</td>\n            <td>Computers</td>\n            <td>Asus</td>\n            <td>$1,899</td>\n            <td>15</td>\n            <td>50</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Microsoft Surface Pro 7</td>\n            <td>Computers</td>\n            <td>Microsoft</td>\n            <td>$899</td>\n            <td>40</td>\n            <td>100</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Samsung QLED TV</td>\n            <td>Televisions</td>\n            <td>Samsung</td>\n            <td>$1,299</td>\n            <td>25</td>\n            <td>70</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">LG OLED TV</td>\n            <td>Televisions</td>\n            <td>LG</td>\n            <td>$1,499</td>\n            <td>20</td>\n            <td>50</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Canon EOS R5</td>\n            <td>Cameras</td>\n            <td>Canon</td>\n            <td>$3,899</td>\n            <td>10</td>\n            <td>30</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nikon Z7 II</td>\n            <td>Cameras</td>\n            <td>Nikon</td>\n            <td>$3,299</td>\n            <td>8</td>\n            <td>25</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple Watch Series 7</td>\n            <td>Wearables</td>\n            <td>Apple</td>\n            <td>$399</td>\n            <td>150</td>\n            <td>500</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Fitbit Charge 5</td>\n            <td>Wearables</td>\n            <td>Fitbit</td>\n            <td>$179</td>\n            <td>100</td>\n            <td>250</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Dyson V11 Vacuum</td>\n            <td>Home Appliances</td>\n            <td>Dyson</td>\n            <td>$599</td>\n            <td>30</td>\n            <td>90</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">iRobot Roomba i7+</td>\n            <td>Home Appliances</td>\n            <td>iRobot</td>\n            <td>$799</td>\n            <td>20</td>\n            <td>70</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bose SoundLink Revolve</td>\n            <td>Speakers</td>\n            <td>Bose</td>\n            <td>$199</td>\n            <td>80</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Sonos One</td>\n            <td>Speakers</td>\n            <td>Sonos</td>\n            <td>$219</td>\n            <td>60</td>\n            <td>180</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple iPad Pro</td>\n            <td>Tablets</td>\n            <td>Apple</td>\n            <td>$1,099</td>\n            <td>50</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Samsung Galaxy Tab S7</td>\n            <td>Tablets</td>\n            <td>Samsung</td>\n            <td>$649</td>\n            <td>70</td>\n            <td>130</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Amazon Echo Dot</td>\n            <td>Smart Home</td>\n            <td>Amazon</td>\n            <td>$49</td>\n            <td>300</td>\n            <td>800</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Google Nest Hub</td>\n            <td>Smart Home</td>\n            <td>Google</td>\n            <td>$89</td>\n            <td>150</td>\n            <td>400</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">PlayStation 5</td>\n            <td>Gaming Consoles</td>\n            <td>Sony</td>\n            <td>$499</td>\n            <td>10</td>\n            <td>500</td>\n            <td>Out of Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Xbox Series X</td>\n            <td>Gaming Consoles</td>\n            <td>Microsoft</td>\n            <td>$499</td>\n            <td>15</td>\n            <td>450</td>\n            <td>Out of Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nintendo Switch</td>\n            <td>Gaming Consoles</td>\n            <td>Nintendo</td>\n            <td>$299</td>\n            <td>40</td>\n            <td>600</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Apple MacBook Pro</td>\n            <td>Computers</td>\n            <td>Apple</td>\n            <td>$1,299</td>\n            <td>20</td>\n            <td>100</td>\n            <td>In Stock</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## Sorting data\n\nBy setting the value `sortable` to `true` you'll enable all data rows from the datatable to be sortable by clicking on the table column heading. You can also disable it by setting the same option to `false`.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"sorting-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#sorting-table\", {\n        searchable: false,\n        perPageSelect: false,\n        sortable: true\n    });\n}\n` >}}\n<table id=\"sorting-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Country\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    GDP\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Population\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    GDP per Capita\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">United States</td>\n            <td>$21433 billion</td>\n            <td>331 million</td>\n            <td>$64763</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">China</td>\n            <td>$14342 billion</td>\n            <td>1441 million</td>\n            <td>$9957</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Japan</td>\n            <td>$5082 billion</td>\n            <td>126 million</td>\n            <td>$40335</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Germany</td>\n            <td>$3846 billion</td>\n            <td>83 million</td>\n            <td>$46386</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">India</td>\n            <td>$2875 billion</td>\n            <td>1380 million</td>\n            <td>$2083</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">United Kingdom</td>\n            <td>$2829 billion</td>\n            <td>67 million</td>\n            <td>$42224</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">France</td>\n            <td>$2716 billion</td>\n            <td>65 million</td>\n            <td>$41723</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Italy</td>\n            <td>$2001 billion</td>\n            <td>60 million</td>\n            <td>$33350</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Canada</td>\n            <td>$1643 billion</td>\n            <td>38 million</td>\n            <td>$43237</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">South Korea</td>\n            <td>$1631 billion</td>\n            <td>52 million</td>\n            <td>$31365</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Russia</td>\n            <td>$1460 billion</td>\n            <td>144 million</td>\n            <td>$10139</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Brazil</td>\n            <td>$1430 billion</td>\n            <td>213 million</td>\n            <td>$6718</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Australia</td>\n            <td>$1393 billion</td>\n            <td>25 million</td>\n            <td>$55720</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Spain</td>\n            <td>$1326 billion</td>\n            <td>47 million</td>\n            <td>$28255</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Mexico</td>\n            <td>$1194 billion</td>\n            <td>129 million</td>\n            <td>$9255</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Indonesia</td>\n            <td>$1158 billion</td>\n            <td>273 million</td>\n            <td>$4241</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Netherlands</td>\n            <td>$1010 billion</td>\n            <td>17 million</td>\n            <td>$59412</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Saudi Arabia</td>\n            <td>$804 billion</td>\n            <td>35 million</td>\n            <td>$22914</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Turkey</td>\n            <td>$761 billion</td>\n            <td>84 million</td>\n            <td>$9060</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Switzerland</td>\n            <td>$741 billion</td>\n            <td>9 million</td>\n            <td>$82333</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## Table pagination\n\nPagination is enabled by default for all datatables from Flowbite, however, you can disable it by setting the option `paging` to `false`. Use the `perPage` option to specify how many data rows to show by default. \n\nYou can also set the `perPageSelect` option to set the selection options of the table.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"pagination-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#pagination-table\", {\n        paging: true,\n        perPage: 5,\n        perPageSelect: [5, 10, 15, 20, 25],\n        sortable: false\n    });\n}\n` >}}\n<table id=\"pagination-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Model Name\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Developer\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"Month YYYY\">\n                <span class=\"flex items-center\">\n                    Release Date\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Parameters\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Primary Application\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">GPT-4</td>\n            <td>OpenAI</td>\n            <td>March 2023</td>\n            <td>1 trillion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">BERT</td>\n            <td>Google</td>\n            <td>October 2018</td>\n            <td>340 million</td>\n            <td>Natural Language Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">DALL-E 2</td>\n            <td>OpenAI</td>\n            <td>April 2022</td>\n            <td>3.5 billion</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">T5</td>\n            <td>Google</td>\n            <td>October 2019</td>\n            <td>11 billion</td>\n            <td>Text-to-Text Transfer</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">GPT-3.5</td>\n            <td>OpenAI</td>\n            <td>November 2022</td>\n            <td>175 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Codex</td>\n            <td>OpenAI</td>\n            <td>August 2021</td>\n            <td>12 billion</td>\n            <td>Code Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">PaLM 2</td>\n            <td>Google</td>\n            <td>May 2023</td>\n            <td>540 billion</td>\n            <td>Multilingual Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">LaMDA</td>\n            <td>Google</td>\n            <td>May 2021</td>\n            <td>137 billion</td>\n            <td>Conversational AI</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">CLIP</td>\n            <td>OpenAI</td>\n            <td>January 2021</td>\n            <td>400 million</td>\n            <td>Image and Text Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">XLNet</td>\n            <td>Google</td>\n            <td>June 2019</td>\n            <td>340 million</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Meena</td>\n            <td>Google</td>\n            <td>January 2020</td>\n            <td>2.6 billion</td>\n            <td>Conversational AI</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">BigGAN</td>\n            <td>Google</td>\n            <td>September 2018</td>\n            <td>Unlimited</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Electra</td>\n            <td>Google</td>\n            <td>March 2020</td>\n            <td>14 million</td>\n            <td>Natural Language Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Swin Transformer</td>\n            <td>Microsoft</td>\n            <td>April 2021</td>\n            <td>88 million</td>\n            <td>Vision Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">GPT-NeoX-20B</td>\n            <td>EleutherAI</td>\n            <td>April 2022</td>\n            <td>20 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Ernie 3.0</td>\n            <td>Baidu</td>\n            <td>July 2021</td>\n            <td>10 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Turing-NLG</td>\n            <td>Microsoft</td>\n            <td>February 2020</td>\n            <td>17 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Wu Dao 2.0</td>\n            <td>Beijing Academy of AI</td>\n            <td>June 2021</td>\n            <td>1.75 trillion</td>\n            <td>Multimodal Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Jukebox</td>\n            <td>OpenAI</td>\n            <td>April 2020</td>\n            <td>1.2 billion</td>\n            <td>Music Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">StyleGAN2</td>\n            <td>NVIDIA</td>\n            <td>February 2020</td>\n            <td>Unlimited</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">FLAN</td>\n            <td>Google</td>\n            <td>December 2021</td>\n            <td>137 billion</td>\n            <td>Few-shot Learning</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">GShard</td>\n            <td>Google</td>\n            <td>June 2020</td>\n            <td>600 billion</td>\n            <td>Multilingual Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">AlphaFold</td>\n            <td>DeepMind</td>\n            <td>December 2020</td>\n            <td>Unknown</td>\n            <td>Protein Folding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">GPT-J</td>\n            <td>EleutherAI</td>\n            <td>June 2021</td>\n            <td>6 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">M6</td>\n            <td>Alibaba</td>\n            <td>December 2020</td>\n            <td>10 billion</td>\n            <td>Multimodal Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">Megatron-Turing NLG</td>\n            <td>NVIDIA & Microsoft</td>\n            <td>October 2021</td>\n            <td>530 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-heading whitespace-nowrap\">DeepSpeed</td>\n            <td>Microsoft</td>\n            <td>February 2020</td>\n            <td>Not disclosed</td>\n            <td>AI Training Optimization</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## Selecting rows\n\nUse this example to enable the selection of rows by clicking anywhere one of the table row elements by copying setting the `multiselect` option to `true` and copying the JavaScript configuration from Flowbite.\n\nUse the `datatable.selectrow` event to write your own code and get the data from the selected table row.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"selection-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n\n    let multiSelect = true;\n    let rowNavigation = false;\n    let table = null;\n\n    const resetTable = function() {\n        if (table) {\n            table.destroy();\n        }\n\n        const options = {\n            rowRender: (row, tr, _index) => {\n                if (!tr.attributes) {\n                    tr.attributes = {};\n                }\n                if (!tr.attributes.class) {\n                    tr.attributes.class = \"\";\n                }\n                if (row.selected) {\n                    tr.attributes.class += \" selected\";\n                } else {\n                    tr.attributes.class = tr.attributes.class.replace(\" selected\", \"\");\n                }\n                return tr;\n            }\n        };\n        if (rowNavigation) {\n            options.rowNavigation = true;\n            options.tabIndex = 1;\n        }\n\n        table = new simpleDatatables.DataTable(\"#selection-table\", options);\n\n        // Mark all rows as unselected\n        table.data.data.forEach(data => {\n            data.selected = false;\n        });\n\n        table.on(\"datatable.selectrow\", (rowIndex, event) => {\n            event.preventDefault();\n            const row = table.data.data[rowIndex];\n            if (row.selected) {\n                row.selected = false;\n            } else {\n                if (!multiSelect) {\n                    table.data.data.forEach(data => {\n                        data.selected = false;\n                    });\n                }\n                row.selected = true;\n            }\n            table.update();\n        });\n    };\n\n    // Row navigation makes no sense on mobile, so we deactivate it and hide the checkbox.\n    const isMobile = window.matchMedia(\"(any-pointer:coarse)\").matches;\n    if (isMobile) {\n        rowNavigation = false;\n    }\n\n    resetTable();\n}\n` >}}\n<table id=\"selection-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## Export files\n\nIf you want to enable the export of the table data, you can use the `simpleDatatables.exportCSV` function to export the data as a CSV file. The option is also available for TXT, JSON, and SQL formats.\n\n{{< example class=\"dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"export-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n\n    const exportCustomCSV = function(dataTable, userOptions = {}) {\n        // A modified CSV export that includes a row of minuses at the start and end.\n        const clonedUserOptions = {\n            ...userOptions\n        }\n        clonedUserOptions.download = false\n        const csv = simpleDatatables.exportCSV(dataTable, clonedUserOptions)\n        // If CSV didn't work, exit.\n        if (!csv) {\n            return false\n        }\n        const defaults = {\n            download: true,\n            lineDelimiter: \"\\n\",\n            columnDelimiter: \";\"\n        }\n        const options = {\n            ...defaults,\n            ...clonedUserOptions\n        }\n        const separatorRow = Array(dataTable.data.headings.filter((_heading, index) => !dataTable.columns.settings[index]?.hidden).length)\n            .fill(\"+\")\n            .join(\"+\"); // Use \"+\" as the delimiter\n\n        const str = separatorRow + options.lineDelimiter + csv + options.lineDelimiter + separatorRow;\n\n        if (userOptions.download) {\n            // Create a link to trigger the download\n            const link = document.createElement(\"a\");\n            link.href = encodeURI(\"data:text/csv;charset=utf-8,\" + str);\n            link.download = (options.filename || \"datatable_export\") + \".txt\";\n            // Append the link\n            document.body.appendChild(link);\n            // Trigger the download\n            link.click();\n            // Remove the link\n            document.body.removeChild(link);\n        }\n\n        return str\n    }\n    const table = new simpleDatatables.DataTable(\"#export-table\", {\n        template: (options, dom) => \"<div class='\" + options.classes.top + \"'>\" +\n            \"<div class='flex flex-col sm:flex-row sm:items-center space-y-4 sm:space-y-0 sm:space-x-3 rtl:space-x-reverse w-full sm:w-auto'>\" +\n            (options.paging && options.perPageSelect ?\n                \"<div class='\" + options.classes.dropdown + \"'>\" +\n                    \"<label>\" +\n                        \"<select class='\" + options.classes.selector + \"'></select> \" + options.labels.perPage +\n                    \"</label>\" +\n                \"</div>\" : \"\"\n            ) + \"<button id='exportDropdownButton' type='button' class='flex w-full sm:w-auto text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none'>\" +\n            \"Export as\" +\n            \"<svg class='-me-0.5 ms-1.5 h-4 w-4' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'>\" +\n                \"<path stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m19 9-7 7-7-7' />\" +\n            \"</svg>\" +\n        \"</button>\" +\n        \"<div id='exportDropdown' class='z-10 hidden w-52 divide-y divide-gray-100 rounded-lg bg-white shadow-sm dark:bg-gray-700' data-popper-placement='bottom'>\" +\n            \"<ul class='p-2 text-left text-sm font-medium text-gray-500 dark:text-gray-400' aria-labelledby='exportDropdownButton'>\" +\n                \"<li>\" +\n                    \"<button id='export-csv' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm1.018 8.828a2.34 2.34 0 0 0-2.373 2.13v.008a2.32 2.32 0 0 0 2.06 2.497l.535.059a.993.993 0 0 0 .136.006.272.272 0 0 1 .263.367l-.008.02a.377.377 0 0 1-.018.044.49.49 0 0 1-.078.02 1.689 1.689 0 0 1-.297.021h-1.13a1 1 0 1 0 0 2h1.13c.417 0 .892-.05 1.324-.279.47-.248.78-.648.953-1.134a2.272 2.272 0 0 0-2.115-3.06l-.478-.052a.32.32 0 0 1-.285-.341.34.34 0 0 1 .344-.306l.94.02a1 1 0 1 0 .043-2l-.943-.02h-.003Zm7.933 1.482a1 1 0 1 0-1.902-.62l-.57 1.747-.522-1.726a1 1 0 0 0-1.914.578l1.443 4.773a1 1 0 0 0 1.908.021l1.557-4.773Zm-13.762.88a.647.647 0 0 1 .458-.19h1.018a1 1 0 1 0 0-2H6.647A2.647 2.647 0 0 0 4 13.647v1.706A2.647 2.647 0 0 0 6.647 18h1.018a1 1 0 1 0 0-2H6.647A.647.647 0 0 1 6 15.353v-1.706c0-.172.068-.336.19-.457Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export CSV</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-json' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Zm-.293 9.293a1 1 0 0 1 0 1.414L9.414 14l1.293 1.293a1 1 0 0 1-1.414 1.414l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 0Zm2.586 1.414a1 1 0 0 1 1.414-1.414l2 2a1 1 0 0 1 0 1.414l-2 2a1 1 0 0 1-1.414-1.414L14.586 14l-1.293-1.293Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export JSON</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-txt' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7ZM8 16a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1-5a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export TXT</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-sql' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path d='M12 7.205c4.418 0 8-1.165 8-2.602C20 3.165 16.418 2 12 2S4 3.165 4 4.603c0 1.437 3.582 2.602 8 2.602ZM12 22c4.963 0 8-1.686 8-2.603v-4.404c-.052.032-.112.06-.165.09a7.75 7.75 0 0 1-.745.387c-.193.088-.394.173-.6.253-.063.024-.124.05-.189.073a18.934 18.934 0 0 1-6.3.998c-2.135.027-4.26-.31-6.3-.998-.065-.024-.126-.05-.189-.073a10.143 10.143 0 0 1-.852-.373 7.75 7.75 0 0 1-.493-.267c-.053-.03-.113-.058-.165-.09v4.404C4 20.315 7.037 22 12 22Zm7.09-13.928a9.91 9.91 0 0 1-.6.253c-.063.025-.124.05-.189.074a18.935 18.935 0 0 1-6.3.998c-2.135.027-4.26-.31-6.3-.998-.065-.024-.126-.05-.189-.074a10.163 10.163 0 0 1-.852-.372 7.816 7.816 0 0 1-.493-.268c-.055-.03-.115-.058-.167-.09V12c0 .917 3.037 2.603 8 2.603s8-1.686 8-2.603V7.596c-.052.031-.112.059-.165.09a7.816 7.816 0 0 1-.745.386Z'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export SQL</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n            \"</ul>\" +\n        \"</div>\" + \"</div>\" +\n            (options.searchable ?\n                \"<div class='\" + options.classes.search + \"'>\" +\n                    \"<input class='\" + options.classes.input + \"' placeholder='\" + options.labels.placeholder + \"' type='search' title='\" + options.labels.searchTitle + \"'\" + (dom.id ? \" aria-controls='\" + dom.id + \"'\" : \"\") + \">\" +\n                \"</div>\" : \"\"\n            ) +\n        \"</div>\" +\n        \"<div class='\" + options.classes.container + \"'\" + (options.scrollY.length ? \" style='height: \" + options.scrollY + \"; overflow-Y: auto;'\" : \"\") + \"></div>\" +\n        \"<div class='\" + options.classes.bottom + \"'>\" +\n            (options.paging ?\n                \"<div class='\" + options.classes.info + \"'></div>\" : \"\"\n            ) +\n            \"<nav class='\" + options.classes.pagination + \"'></nav>\" +\n        \"</div>\"\n    })\n    const $exportButton = document.getElementById(\"exportDropdownButton\");\n    const $exportDropdownEl = document.getElementById(\"exportDropdown\");\n    const dropdown = new Dropdown($exportDropdownEl, $exportButton);\n    console.log(dropdown)\n\n    document.getElementById(\"export-csv\").addEventListener(\"click\", () => {\n        simpleDatatables.exportCSV(table, {\n            download: true,\n            lineDelimiter: \"\\n\",\n            columnDelimiter: \";\"\n        })\n    })\n    document.getElementById(\"export-sql\").addEventListener(\"click\", () => {\n        simpleDatatables.exportSQL(table, {\n            download: true,\n            tableName: \"export_table\"\n        })\n    })\n    document.getElementById(\"export-txt\").addEventListener(\"click\", () => {\n        simpleDatatables.exportTXT(table, {\n            download: true\n        })\n    })\n    document.getElementById(\"export-json\").addEventListener(\"click\", () => {\n        simpleDatatables.exportJSON(table, {\n            download: true,\n            space: 3\n        })\n    })\n}\n` >}}\n<table id=\"export-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr class=\"hover:bg-neutral-secondary-soft cursor-pointer\">\n            <td class=\"font-medium text-heading whitespace-nowrap\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n## JavaScript behaviour\n\nLearn more about how you can customize the DataTables plugin such as changing the default options, customizing the table appearance, dynamically loading data, and more by checking the examples below.\n\nAfter installing the DataTables plugin either via NPM or CDN you can initialize by calling the `DataTable` constructor and passing the table selector as the first argument.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\n// if you installed via CDN\nconst dataTable = new simpleDatatables.DataTable(\"#default-table\");\n\n// if you installed via NPM\nimport { DataTable } from \"simple-datatables\";\nconst dataTable = DataTable(\"#default-table\");\n{{< /code >}}\n\nYou can pass an object of options as the second argument to customize the table appearance and behavior.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst dataTable = new simpleDatatables.DataTable(\"#default-table\", options);\n{{< /code >}}\n\nAfter initializing the DataTable, you can access the instance methods and properties.\n\nHere's a full list of the <a href=\"https://fiduswriter.github.io/simple-datatables/documentation/#events\" target=\"_blank\" rel=\"nofollow\">exposed methods and properties</a> from the simple-datatables repository.\n\n## Options\n\nCheck out some of the more commonly used options that you can pass to the DataTable instance.\n\n### Injecting data\n\nUse the `data` option to pass data from an array of arrays to the table using JavaScript.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst customData = {\n    \"headings\": [\n        \"Name\",\n        \"Company\",\n        \"Date\",\n    ],\n    \"data\": [\n        [\n            \"Flowbite\",\n            \"Bergside\",\n            \"05/23/2023\",\n        ],\n        [\n            \"Next.js\",\n            \"Vercel\",\n            \"03/12/2024\",\n    ],\n};\n\nconst dataTable = new DataTable(\"#default-table\", { data: customData });\n{{< /code >}}\n\nThis is a useful feature where instead of a hard coded array you can pass data from an API or a JSON file.\n\n### Appearance\n\nUse the following options to customize the appearance of the table such as adding a caption, custom classes, footer, header, updating the HTML rendering template, and enabling vertical scrolling, and more.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst dataTable = new DataTable(\"#default-table\", {\n    caption: \"Flowbite is an open-source library\",\n    classes: {\n        // add custom HTML classes, full list: https://fiduswriter.github.io/simple-datatables/documentation/classes\n        // we recommend keeping the default ones in addition to whatever you want to add because Flowbite hooks to the default classes for styles\n    },\n    footer: true, // enable or disable the footer\n    header: true, // enable or disable the header\n    labels: {\n        // add custom text for the labels, full list: https://fiduswriter.github.io/simple-datatables/documentation/labels\n    },\n    template: (options, dom) => {\n        // add custom HTML template for the table, full list: https://fiduswriter.github.io/simple-datatables/documentation/template\n    },\n    scrollY: \"300px\", // enable vertical scrolling\n});\n{{< /code >}}\n\nThese options are useful if you want to add your own HTML elements inside the dynamically generated table header or footer as we used in the export a file example above.\n\n### Pagination\n\nUse these options to enable pagination, set the number of rows per page, and customize the appearance.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst dataTable = new DataTable(\"#default-table\", {\n    paging: true, // enable or disable pagination\n    perPage: 10, // set the number of rows per page\n    perPageSelect: [5, 10, 20, 50], // set the number of rows per page options\n    firstLast: true, // enable or disable the first and last buttons\n    nextPrev: true, // enable or disable the next and previous buttons\n});\n{{< /code >}}\n\nPagination is a useful feature when you have a large dataset and you want to split it into multiple pages.\n\n### Searching\n\nThese options can be used to enable searching, set the search placeholder, and customize the appearance.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst dataTable = new DataTable(\"#default-table\", {\n    searchable: true, // enable or disable searching\n    sensitivity: \"base\" // set the search sensitivity (base, accent, case, variant)\n    searchQuerySeparator: \" \", // set the search query separator\n});\n{{< /code >}}\n\nThe searching feature is great when you have a large dataset and you want to search for a specific row.\n\n### Sorting\n\nUse these options to enable sorting, set the default sort column, and customize the sort appearance.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\nconst dataTable = new DataTable(\"#default-table\", {\n    sortable: true, // enable or disable sorting\n    locale: \"en-US\", // set the locale for sorting\n    numeric: true, // enable or disable numeric sorting\n    caseFirst: \"false\", // set the case first for sorting (upper, lower)\n    ignorePunctuation: true // enable or disable punctuation sorting\n});\n{{< /code >}}\n\nThe sorting feature is useful when you want to sort the table rows based on a specific column.\n\n## Methods\n\nCheck out some of the common methods that you can use to interact with the DataTable instance.\n\n{{< code lang=\"javascript\" file=\"datatables.js\" icon=\"file\" >}}\n// programatically search the table where the \"term\" variable is the query string\ndataTable.search(term, columns);\n\n// add a new table row data to the table (considering you have four columns)\ndataTable.insert({\n    \"Heading 1\": \"Cell 1\",\n    \"Heading 2\": \"Cell 2\",\n    \"Heading 3\": \"Cell 3\",\n    \"Heading 4\": \"Cell 4\",\n});\n\n// updates the DOM of the table\ndataTable.update();\n{{< /code >}}\n\nHere's a full list of the <a href=\"https://fiduswriter.github.io/simple-datatables/documentation/#methods\" target=\"_blank\" rel=\"nofollow\">exposed methods and properties</a> from the simple-datatables repository.\n\n## License\n\nAll of the examples above built by Flowbite are open-source and licensed under the MIT license. The simple-datatables repository is also open-source and licensed under the <a href=\"https://github.com/fiduswriter/simple-datatables/blob/main/LICENSE\" target=\"_blank\" rel=\"nofollow\">GNU license</a>."
  },
  {
    "path": "content/plugins/datepicker.md",
    "content": "---\nlayout: redirect\nsitemap_exclude: true\nredirect: \"/docs/components/datepicker/\"\n---"
  },
  {
    "path": "content/plugins/wysiwyg.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS WYSIWYG Text Editor - Flowbite\ndescription: Use the wysiwyg text editor component from Flowbite to create and modify content by manipulating paragraphs, headings, images and styling them using all available options\ngroup: plugins\ntoc: true\nrequires_js: true\n\nprevious: Datatables\npreviousLink: plugins/datatables/\n---\n\nThe WYSIWYG text editor from Flowbite is open-source under the MIT license based on the [Tip Tap library](https://github.com/ueberdosis/tiptap) and allows you to easily edit complex text data with typography styles, links, images, videos, and more.\n\nThe markup and styles provided by Flowbite are all built with the utility classes from Tailwind CSS and the styles for the content inside the WYSIWYG text editor are based on the [Flowbite Typography](https://flowbite.com/docs/components/typography/) plugin.\n\nAll examples provided on this page have support for dark mode, RTL (right-to-left) styles, responsiveness on mobile devices and you can easily add your own functionality using JavaScript and the Flowbite API.\n\n## Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite, and Tip Tap installed in your project.\n\n1. Follow the [quickstart guide](https://flowbite.com/docs/getting-started/quickstart/) from Flowbite to enable the interactive elements\n\n2. Install the [Flowbite Typography](https://flowbite.com/docs/components/typography/) plugin to format the content of text inside the WYSYIWYG editor preview:\n\n{{< code lang=\"bash\" >}}\nnpm i flowbite-typography\n{{< /code >}}\n\n3. Import the `flowbite-typography` plugin inside your main Tailwind CSS file:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\n@plugin \"flowbite-typography\";\n{{< /code >}}\n\nAlternatively you can do the same but in your `tailwind.config.js` file:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\n// import the tailwind.config.js file in your main CSS file if using Tailwind CSS v4\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n{{< /code >}}\n\n4. Finally, install Tip Tap either via NPM or skip this step if you're using CDN:\n\n{{< code lang=\"bash\" >}}\nnpm install @tiptap/core @tiptap/pm @tiptap/starter-kit\n{{< /code >}}\n\nNow you're ready to use the examples below by copying the HTML markup and the JavaScript code.\n\n## Default text editor\n\nUse this example of a WYSIWYG text editor to enable basic typography styling and formatting, adding lists, links, images, videos, code blocks, aligning text, blockquotes, setting headers and paragraphs and more.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\nimport TextAlign from 'https://esm.sh/@tiptap/extension-text-align@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\nimport TextStyle from 'https://esm.sh/@tiptap/extension-text-style@2.6.6';\nimport FontFamily from 'https://esm.sh/@tiptap/extension-font-family@2.6.6';\nimport { Color } from 'https://esm.sh/@tiptap/extension-color@2.6.6';\nimport Bold from 'https://esm.sh/@tiptap/extension-bold@2.6.6'; // Import the Bold extension\n\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-example\")) {\n\n    const FontSizeTextStyle = TextStyle.extend({\n        addAttributes() {\n            return {\n            fontSize: {\n                default: null,\n                parseHTML: element => element.style.fontSize,\n                renderHTML: attributes => {\n                if (!attributes.fontSize) {\n                    return {};\n                }\n                return { style: 'font-size: ' + attributes.fontSize };\n                },\n            },\n            };\n        },\n    });\n    const CustomBold = Bold.extend({\n        // Override the renderHTML method\n        renderHTML({ mark, HTMLAttributes }) {\n            const { style, ...rest } = HTMLAttributes;\n\n            // Merge existing styles with font-weight\n            const newStyle = 'font-weight: bold;' + (style ? ' ' + style : '');\n\n            return ['span', { ...rest, style: newStyle.trim() }, 0];\n        },\n        // Ensure it doesn't exclude other marks\n        addOptions() {\n            return {\n                ...this.parent?.(),\n                HTMLAttributes: {},\n            };\n        },\n    });\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-example'),\n        extensions: [\n            StarterKit.configure({\n                textStyle: false,\n                bold: false,\n                marks: {\n                    bold: false,\n                },\n            }),\n            // Include the custom Bold extension\n            CustomBold,\n            TextStyle,\n            Color,\n            FontSizeTextStyle,\n            FontFamily,\n            Highlight,\n            Underline,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            }),\n            TextAlign.configure({\n                types: ['heading', 'paragraph'],\n            }),\n            Image,\n            YouTube,\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleBoldButton').addEventListener('click', () => editor.chain().focus().toggleBold().run());\n    document.getElementById('toggleItalicButton').addEventListener('click', () => editor.chain().focus().toggleItalic().run());\n    document.getElementById('toggleUnderlineButton').addEventListener('click', () => editor.chain().focus().toggleUnderline().run());\n    document.getElementById('toggleStrikeButton').addEventListener('click', () => editor.chain().focus().toggleStrike().run());\n    document.getElementById('toggleHighlightButton').addEventListener('click', () => {\n    const isHighlighted = editor.isActive('highlight');\n    // when using toggleHighlight(), judge if is is already highlighted.\n    editor.chain().focus().toggleHighlight({\n        color: isHighlighted ? undefined : '#ffc078' // if is already highlighted，unset the highlight color\n    }).run();\n    });\n\n    document.getElementById('toggleLinkButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n        editor.chain().focus().toggleLink({ href: url }).run();\n    });\n    document.getElementById('removeLinkButton').addEventListener('click', () => {\n        editor.chain().focus().unsetLink().run()\n    });\n    document.getElementById('toggleCodeButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCode().run();\n    })\n\n    document.getElementById('toggleLeftAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('left').run();\n    });\n    document.getElementById('toggleCenterAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('center').run();\n    });\n    document.getElementById('toggleRightAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('right').run();\n    });\n    document.getElementById('toggleListButton').addEventListener('click', () => {\n       editor.chain().focus().toggleBulletList().run();\n    });\n    document.getElementById('toggleOrderedListButton').addEventListener('click', () => {\n        editor.chain().focus().toggleOrderedList().run();\n    });\n    document.getElementById('toggleBlockquoteButton').addEventListener('click', () => {\n        editor.chain().focus().toggleBlockquote().run();\n    });\n    document.getElementById('toggleHRButton').addEventListener('click', () => {\n        editor.chain().focus().setHorizontalRule().run();\n    });\n    document.getElementById('addImageButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://placehold.co/600x400');\n        if (url) {\n            editor.chain().focus().setImage({ src: url }).run();\n        }\n    });\n    document.getElementById('addVideoButton').addEventListener('click', () => {\n        const url = window.prompt('Enter YouTube URL:', 'https://www.youtube.com/watch?v=KaLxCiilHns');\n        if (url) {\n            editor.commands.setYoutubeVideo({\n                src: url,\n                width: 640,\n                height: 480,\n            })\n        }\n    });\n\n    // typography dropdown\n    const typographyDropdown = FlowbiteInstances.getInstance('Dropdown', 'typographyDropdown');\n\n    document.getElementById('toggleParagraphButton').addEventListener('click', () => {\n        editor.chain().focus().setParagraph().run();\n        typographyDropdown.hide();\n    });\n    \n    document.querySelectorAll('[data-heading-level]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const level = button.getAttribute('data-heading-level');\n            editor.chain().focus().toggleHeading({ level: parseInt(level) }).run()\n            typographyDropdown.hide();\n        });\n    });\n\n    const textSizeDropdown = FlowbiteInstances.getInstance('Dropdown', 'textSizeDropdown');\n\n    // Loop through all elements with the data-text-size attribute\n    document.querySelectorAll('[data-text-size]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontSize = button.getAttribute('data-text-size');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setMark('textStyle', { fontSize }).run();\n\n            // Hide the dropdown after selection\n            textSizeDropdown.hide();\n        });\n    });\n\n    // Listen for color picker changes\n    const colorPicker = document.getElementById('color');\n    colorPicker.addEventListener('input', (event) => {\n        const selectedColor = event.target.value;\n\n        // Apply the selected color to the selected text\n        editor.chain().focus().setColor(selectedColor).run();\n    })\n\n    document.querySelectorAll('[data-hex-color]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const selectedColor = button.getAttribute('data-hex-color');\n\n            // Apply the selected color to the selected text\n            editor.chain().focus().setColor(selectedColor).run();\n        });\n    });\n\n    document.getElementById('reset-color').addEventListener('click', () => {\n        editor.commands.unsetColor();\n    })\n\n    const fontFamilyDropdown = FlowbiteInstances.getInstance('Dropdown', 'fontFamilyDropdown');\n\n    // Loop through all elements with the data-font-family attribute\n    document.querySelectorAll('[data-font-family]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontFamily = button.getAttribute('data-font-family');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setFontFamily(fontFamily).run();\n\n            // Hide the dropdown after selection\n            fontFamilyDropdown.hide();\n        });\n    });\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleBoldButton\" data-tooltip-target=\"tooltip-bold\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6\"/></svg>\n                    <span class=\"sr-only\">Bold</span>\n                </button>\n                <div id=\"tooltip-bold\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle bold\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleItalicButton\" data-tooltip-target=\"tooltip-italic\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8.874 19 6.143-14M6 19h6.33m-.66-14H18\"/></svg>\n                    <span class=\"sr-only\">Italic</span>\n                </button>\n                <div id=\"tooltip-italic\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle italic\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleUnderlineButton\" data-tooltip-target=\"tooltip-underline\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 19h12M8 5v9a4 4 0 0 0 8 0V5M6 5h4m4 0h4\"/></svg>\n                    <span class=\"sr-only\">Underline</span>\n                </button>\n                <div id=\"tooltip-underline\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle underline\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleStrikeButton\" data-tooltip-target=\"tooltip-strike\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 6.2V5h12v1.2M7 19h6m.2-14-1.677 6.523M9.6 19l1.029-4M5 5l6.523 6.523M19 19l-7.477-7.477\"/></svg>\n                    <span class=\"sr-only\">Strike</span>\n                </button>\n                <div id=\"tooltip-strike\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle strike\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHighlightButton\" data-tooltip-target=\"tooltip-highlight\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 20H5.5c-.27614 0-.5-.2239-.5-.5v-3c0-.2761.22386-.5.5-.5h13c.2761 0 .5.2239.5.5v3c0 .2761-.2239.5-.5.5H18m-6-1 1.42 1.8933c.04.0534.12.0534.16 0L15 19m-7-6 3.9072-9.76789c.0335-.08381.1521-.08381.1856 0L16 13m-8 0H7m1 0h1.5m6.5 0h-1.5m1.5 0h1m-7-3.00001h4\"/></svg>\n                    <span class=\"sr-only\">Highlight</span>\n                </button>\n                <div id=\"tooltip-highlight\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle highlight\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCodeButton\" type=\"button\" data-tooltip-target=\"tooltip-code\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/></svg>\n                    <span class=\"sr-only\">Code</span>\n                </button>\n                <div id=\"tooltip-code\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Format code\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleLinkButton\" data-tooltip-target=\"tooltip-link\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961\"/></svg>\n                    <span class=\"sr-only\">Link</span>\n                </button>\n                <div id=\"tooltip-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Add link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"removeLinkButton\" data-tooltip-target=\"tooltip-remove-link\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M13.2131 9.78732c-.6359-.63557-1.4983-.99259-2.3974-.99259-.89911 0-1.76143.35702-2.39741.99259l-3.4253 3.42528C4.35719 13.8485 4 14.7108 4 15.61c0 .8992.35719 1.7616.99299 2.3974.63598.6356 1.4983.9926 2.39742.9926.89912 0 1.76144-.357 2.39742-.9926l.32157-.3043m-.32157-4.4905c.63587.6358 1.49827.993 2.39747.993.8991 0 1.7615-.3572 2.3974-.993l3.4243-3.42528c.6358-.63585.993-1.49822.993-2.39741 0-.89919-.3572-1.76156-.993-2.39741C17.3712 4.357 16.509 4 15.6101 4c-.899 0-1.7612.357-2.397.9925l-1.0278.96062m7.3873 14.04678-1.7862-1.7862m0 0L16 16.4274m1.7864 1.7863 1.7862-1.7863m-1.7862 1.7863L16 20\"/></svg>\n                    <span class=\"sr-only\">Remove link</span>\n                </button>\n                <div id=\"tooltip-remove-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Remove link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleTextSizeButton\" data-dropdown-toggle=\"textSizeDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-size\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 6.2V5h11v1.2M8 5v14m-3 0h6m2-6.8V11h8v1.2M17 11v8m-1.5 0h3\"/></svg>\n                    <span class=\"sr-only\">Text size</span>\n                </button>\n                <div id=\"tooltip-text-size\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Text size\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textSizeDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n                    <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"toggleTextSizeButton\">\n                        <li>\n                            <button data-text-size=\"16px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">16px (Default) \n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"12px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-xs\">12px (Tiny)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"14px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\">14px (Small)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"18px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-lg\">18px (Lead)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"24px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-2xl\">24px (Large)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"36px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-4xl\">36px (Huge)\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <button id=\"toggleTextColorButton\" data-dropdown-toggle=\"textColorDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-color\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m6.08169 15.9817 1.57292-4m-1.57292 4h-1.1m1.1 0h1.65m-.07708-4 2.72499-6.92967c.0368-.09379.1673-.09379.2042 0l2.725 6.92967m-5.65419 0h-.00607m.00607 0h5.65419m0 0 .6169 1.569m5.1104 4.453c0 1.1025-.8543 1.9963-1.908 1.9963s-1.908-.8938-1.908-1.9963c0-1.1026 1.908-4.1275 1.908-4.1275s1.908 3.0249 1.908 4.1275Z\"/></svg>\n                    <span class=\"sr-only\">Text color</span>\n                </button>\n                <div id=\"tooltip-text-color\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Text color\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textColorDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-neutral-primary-soft p-2 shadow-sm\">\n                    <div class=\"grid grid-cols-6 gap-2 group mb-3 items-center p-1.5 rounded hover:bg-neutral-tertiary\">\n                        <input type=\"color\" id=\"color\" value=\"#e66465\" class=\"border-default-medium\n                         border bg-neutral-tertiary rounded p-px px-1 w-full h-8 col-span-3\" />\n                        <label for=\"color\" class=\"text-body text-xs font-medium col-span-3 group-hover:text-heading\">Pick a color</label>\n                    </div>\n                    <div class=\"grid grid-cols-6 gap-1 mb-3\">\n                        <button type=\"button\" data-hex-color=\"#1A56DB\" style=\"background-color: #1A56DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#0E9F6E\" style=\"background-color: #0E9F6E\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#FACA15\" style=\"background-color: #FACA15\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#F05252\" style=\"background-color: #F05252\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Red</span></button>\n                        <button type=\"button\" data-hex-color=\"#FF8A4C\" style=\"background-color: #FF8A4C\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#0694A2\" style=\"background-color: #0694A2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Teal</span></button>\n                        <button type=\"button\" data-hex-color=\"#B4C6FC\" style=\"background-color: #B4C6FC\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#8DA2FB\" style=\"background-color: #8DA2FB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#771D1D\" style=\"background-color: #771D1D\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCD9BD\" style=\"background-color: #FCD9BD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#99154B\" style=\"background-color: #99154B\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Bordo</span></button>\n                        <button type=\"button\" data-hex-color=\"#7E3AF2\" style=\"background-color: #7E3AF2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#CABFFD\" style=\"background-color: #CABFFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light</span></button>\n                        <button type=\"button\" data-hex-color=\"#D61F69\" style=\"background-color: #D61F69\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F8B4D9\" style=\"background-color: #F8B4D9\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F6C196\" style=\"background-color: #F6C196\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cream</span></button>\n                        <button type=\"button\" data-hex-color=\"#A4CAFE\" style=\"background-color: #A4CAFE\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#B43403\" style=\"background-color: #B43403\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCE96A\" style=\"background-color: #FCE96A\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#1E429F\" style=\"background-color: #1E429F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Navy Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#768FFD\" style=\"background-color: #768FFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#BCF0DA\" style=\"background-color: #BCF0DA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#EBF5FF\" style=\"background-color: #EBF5FF\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#16BDCA\" style=\"background-color: #16BDCA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cyan</span></button>\n                        <button type=\"button\" data-hex-color=\"#E74694\" style=\"background-color: #E74694\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#83B0ED\" style=\"background-color: #83B0ED\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Darker Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#03543F\" style=\"background-color: #03543F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Forest Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#111928\" style=\"background-color: #111928\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Black</span></button>\n                        <button type=\"button\" data-hex-color=\"#4B5563\" style=\"background-color: #4B5563\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Stone</span></button>\n                        <button type=\"button\" data-hex-color=\"#6B7280\" style=\"background-color: #6B7280\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#D1D5DB\" style=\"background-color: #D1D5DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F9FAFB\" style=\"background-color: #F9FAFB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Heaven Gray</span></button>\n                    </div>\n                    <button type=\"button\" id=\"reset-color\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none w-full\">Reset color</button>\n                </div>\n                <button id=\"toggleFontFamilyButton\" data-dropdown-toggle=\"fontFamilyDropdown\" type=\"button\" data-tooltip-target=\"tooltip-font-family\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.5785 19 4.2979-10.92966c.0369-.09379.1674-.09379.2042 0L19.3785 19m-8.8 0H9.47851m1.09999 0h1.65m7.15 0h-1.65m1.65 0h1.1m-7.7-3.9846h4.4M3 16l1.56685-3.9846m0 0 2.73102-6.94506c.03688-.09379.16738-.09379.20426 0l2.50367 6.94506H4.56685Z\"/></svg>\n                    <span class=\"sr-only\">Font family</span>\n                </button>\n                <div id=\"tooltip-font-family\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Font Family\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"fontFamilyDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-48\">\n                    <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"toggleFontFamilyButton\">\n                        <li>\n                            <button data-font-family=\"Inter, ui-sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\">Default\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Arial, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Arial, sans-serif;\">Arial\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Courier New', monospace\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Courier New', monospace;\">Courier New\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Georgia, serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Georgia, serif;\">Georgia\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Lucida Sans Unicode', sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Lucida Sans Unicode', sans-serif;\">Lucida Sans Unicode\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Tahoma, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Tahoma, sans-serif;\">Tahoma\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Times New Roman', serif;\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Times New Roman', serif;\">Times New Roman\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Trebuchet MS', sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Trebuchet MS', sans-serif;\">Trebuchet MS\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Verdana, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Verdana, sans-serif;\">Verdana\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"px-1\">\n                    <span class=\"block w-px h-4 bg-neutral-quaternary\"></span>\n                </div>\n                <button id=\"toggleLeftAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-left-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/></svg>\n                    <span class=\"sr-only\">Align left</span>\n                </button>\n                <div id=\"tooltip-left-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align left\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCenterAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-center-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/></svg>\n                    <span class=\"sr-only\">Align center</span>\n                </button>\n                <div id=\"tooltip-center-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align center\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRightAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-right-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/></svg>\n                    <span class=\"sr-only\">Align right</span>\n                </button>\n                <div id=\"tooltip-right-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align right\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n    <div class=\"flex items-center gap-2 pt-2 flex-wrap\">\n        <button id=\"typographyDropdownButton\" data-dropdown-toggle=\"typographyDropdown\" class=\"flex items-center justify-center text-body bg-neutral-primary-strong border border-default-strong hover:bg-neutral-secondary-strongest hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\" type=\"button\">\n            Format\n            <svg class=\"w-3.5 h-3.5 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div class=\"ps-1.5\">\n            <span class=\"block w-px h-4 bg-neutral-quaternary\"></span>\n        </div>\n        <!-- Heading Dropdown -->\n        <div id=\"typographyDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n            <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"typographyDropdownButton\">\n                <li>\n                    <button id=\"toggleParagraphButton\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Paragraph \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">0</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"1\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 1 \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">1</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"2\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 2 \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">2</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"3\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 3\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">3</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"4\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 4\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">4</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"5\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 5\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">5</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"6\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 6\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">6</kbd>\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <button id=\"addImageButton\" type=\"button\" data-tooltip-target=\"tooltip-image\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m3 16 5-7 6 6.5m6.5 2.5L16 13l-4.286 6M14 10h.01M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n                <span class=\"sr-only\">Add image</span>\n            </button>\n            <div id=\"tooltip-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add image\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addVideoButton\" type=\"button\" data-tooltip-target=\"tooltip-video\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM9 12h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Zm5.697 2.395v-.733l1.269-1.219v2.984l-1.268-1.032Z\"/></svg>\n                <span class=\"sr-only\">Add video</span>\n            </button>\n            <div id=\"tooltip-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add video\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleListButton\" type=\"button\" data-tooltip-target=\"tooltip-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5\"/></svg>\n                <span class=\"sr-only\">Toggle list</span>\n            </button>\n            <div id=\"tooltip-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle list\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleOrderedListButton\" type=\"button\" data-tooltip-target=\"tooltip-ordered-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/></svg>\n            <span class=\"sr-only\">Toggle ordered list</span>\n        </button>\n        <div id=\"tooltip-ordered-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle ordered list\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleBlockquoteButton\" type=\"button\" data-tooltip-target=\"tooltip-blockquote-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4H5m14-6V8a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4h-1\"/></svg>\n            <span class=\"sr-only\">Toggle blockquote</span>\n        </button>\n        <div id=\"tooltip-blockquote-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle blockquote\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHRButton\" type=\"button\" data-tooltip-target=\"tooltip-hr-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/><path stroke=\"currentColor\" stroke-linecap=\"round\" d=\"M6 9.5h12m-12-2h12m-12-2h12m-12 13h12m-12-2h12m-12-2h12\"/></svg>\n            <span class=\"sr-only\">Toggle Horizontal Rule</span>\n        </button>\n        <div id=\"tooltip-hr-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle Horizontal Rule\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-neutral-primary rounded-b-lg\">\n    <label for=\"wysiwyg-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\nNotice: there is a <a href=\"https://github.com/ueberdosis/tiptap/issues/577\" target=\"_blank\" rel=\"nofollow noreferrer\">known issue from TipTap</a> when splitting blocks (ie. using enter to create break lines) and using the bullet list item. A quickfix for `v2.6.6` when using CDN is to match the import statements:\n\n{{< code lang=\"html\" file=\"wysiwyg.html\" icon=\"file\" >}}\n<script type=\"importmap\">\n    {\n        \"imports\": {\n            \"https://esm.sh/v135/prosemirror-model@1.22.3/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\", \n            \"https://esm.sh/v135/prosemirror-model@1.22.1/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\"\n        }\n    }\n</script>\n{{< /code >}}\n\nIf you're importing the package with Yarn or NPM then you need to add this in your `package.json` file:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\n// when using Yarn\n\"resolutions\": {\n    \"prosemirror-model\": \"1.19.3\"\n}\n\n// when using NPM\n\"overrides\": {\n    \"prosemirror-model\": \"1.19.3\"\n}\n{{< /code >}}\n\nWe recommend later checking the Tip Tap library for a proper update to prevent this quickfix in the future.\n\n## Text formatting\n\nUse this example of a WYSIWYG text editor to enable typography styling, formatting and marking such as underline, bold, italic, strikethrough, code, highlight and also selecting text size, color, font family and more using the utility classes from Tailwind CSS.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Subscript from 'https://esm.sh/@tiptap/extension-subscript@2.6.6';\nimport Superscript from 'https://esm.sh/@tiptap/extension-superscript@2.6.6';\nimport TextStyle from 'https://esm.sh/@tiptap/extension-text-style@2.6.6';\nimport FontFamily from 'https://esm.sh/@tiptap/extension-font-family@2.6.6';\nimport { Color } from 'https://esm.sh/@tiptap/extension-color@2.6.6';\nimport Bold from 'https://esm.sh/@tiptap/extension-bold@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-text-example\")) {\n\n    const FontSizeTextStyle = TextStyle.extend({\n        addAttributes() {\n            return {\n            fontSize: {\n                default: null,\n                parseHTML: element => element.style.fontSize,\n                renderHTML: attributes => {\n                if (!attributes.fontSize) {\n                    return {};\n                }\n                return { style: 'font-size: ' + attributes.fontSize };\n                },\n            },\n            };\n        },\n    });\n    const CustomBold = Bold.extend({\n    // Override the renderHTML method\n    renderHTML({ HTMLAttributes }) {\n    return ['span', { ...HTMLAttributes, style: 'font-weight: bold;' }, 0];\n    },\n    // Ensure it doesn't exclude other marks\n    excludes: '',\n    });\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-text-example'),\n          extensions: [\n            StarterKit.configure({\n                textStyle: false,\n                bold: false,\n                marks: {\n                    bold: false,\n                },\n            }),\n            // Include the custom Bold extension\n            CustomBold,\n            Highlight,\n            Underline,\n            Subscript,\n            Superscript,\n            TextStyle,\n            FontSizeTextStyle,\n            Color,\n            FontFamily\n        ],\n        content: '<p>Flowbite React is an <strong>open-source library of UI components</strong> built using React and Tailwind CSS. It supports dark mode, a Figma design system, and more.</p><p>It includes essential components for web apps like buttons, dropdowns, navigation bars, modals, datepickers, and charts, all optimized for React.</p><p>Example button component in Flowbite React:</p><code>import &#123; Button &#125; from &#39;flowbite-react&#39;; &lt;Button color&#x3D;&quot;blue&quot;&gt;Default&lt;/Button&gt;</code><p>These components can also be easily customized using the theme props from the Flowbite Docs and allows you to add your own Tailwind CSS utility classes to override the default styles.</p><p>Explore more components and props values in the Flowbite Docs.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleBoldButton').addEventListener('click', () => editor.chain().focus().toggleBold().run());\n    document.getElementById('toggleItalicButton').addEventListener('click', () => editor.chain().focus().toggleItalic().run());\n    document.getElementById('toggleUnderlineButton').addEventListener('click', () => editor.chain().focus().toggleUnderline().run());\n    document.getElementById('toggleStrikeButton').addEventListener('click', () => editor.chain().focus().toggleStrike().run());\n    document.getElementById('toggleSubscriptButton').addEventListener('click', () => editor.chain().focus().toggleSubscript().run());\n    document.getElementById('toggleSuperscriptButton').addEventListener('click', () => editor.chain().focus().toggleSuperscript().run());\n    document.getElementById('toggleHighlightButton').addEventListener('click', () => {\n    const isHighlighted = editor.isActive('highlight');\n    // when using toggleHighlight(), judge if is is already highlighted.\n    editor.chain().focus().toggleHighlight({\n        color: isHighlighted ? undefined : '#ffc078' // if is already highlighted，unset the highlight color\n    }).run();\n    });\n\n    document.getElementById('toggleCodeButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCode().run();\n    });\n\n    const textSizeDropdown = FlowbiteInstances.getInstance('Dropdown', 'textSizeDropdown');\n\n    // Loop through all elements with the data-text-size attribute\n    document.querySelectorAll('[data-text-size]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontSize = button.getAttribute('data-text-size');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setMark('textStyle', { fontSize }).run();\n\n            // Hide the dropdown after selection\n            textSizeDropdown.hide();\n        });\n    });\n\n    // Listen for color picker changes\n    const colorPicker = document.getElementById('color');\n    colorPicker.addEventListener('input', (event) => {\n        const selectedColor = event.target.value;\n\n        // Apply the selected color to the selected text\n        editor.chain().focus().setColor(selectedColor).run();\n    })\n\n    document.querySelectorAll('[data-hex-color]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const selectedColor = button.getAttribute('data-hex-color');\n\n            // Apply the selected color to the selected text\n            editor.chain().focus().setColor(selectedColor).run();\n        });\n    });\n\n    document.getElementById('reset-color').addEventListener('click', () => {\n        editor.commands.unsetColor();\n    })\n\n    const fontFamilyDropdown = FlowbiteInstances.getInstance('Dropdown', 'fontFamilyDropdown');\n\n    // Loop through all elements with the data-font-family attribute\n    document.querySelectorAll('[data-font-family]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontFamily = button.getAttribute('data-font-family');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setFontFamily(fontFamily).run();\n\n            // Hide the dropdown after selection\n            fontFamilyDropdown.hide();\n        });\n    });\n\n    }\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleBoldButton\" data-tooltip-target=\"tooltip-bold\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6\"/></svg>\n                    <span class=\"sr-only\">Bold</span>\n                </button>\n                <div id=\"tooltip-bold\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle bold\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleItalicButton\" data-tooltip-target=\"tooltip-italic\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8.874 19 6.143-14M6 19h6.33m-.66-14H18\"/></svg>\n                    <span class=\"sr-only\">Italic</span>\n                </button>\n                <div id=\"tooltip-italic\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle italic\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleUnderlineButton\" data-tooltip-target=\"tooltip-underline\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 19h12M8 5v9a4 4 0 0 0 8 0V5M6 5h4m4 0h4\"/></svg>\n                    <span class=\"sr-only\">Underline</span>\n                </button>\n                <div id=\"tooltip-underline\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle underline\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleStrikeButton\" data-tooltip-target=\"tooltip-strike\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 6.2V5h12v1.2M7 19h6m.2-14-1.677 6.523M9.6 19l1.029-4M5 5l6.523 6.523M19 19l-7.477-7.477\"/></svg>\n                    <span class=\"sr-only\">Strike</span>\n                </button>\n                <div id=\"tooltip-strike\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle strike\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleSubscriptButton\" data-tooltip-target=\"tooltip-subscript\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 20h-4v-.5c1.0989-1.0329 3.75-2.5 3.75-3.5v-1.0001c0-.5523-.4477-.9999-1-.9999H17c-.5522 0-1 .4477-1 1M4.00004 4l9.12206 11.3932m0-11.3932L4 15.3932\"/></svg>\n                    <span class=\"sr-only\">Subscript</span>\n                </button>\n                <div id=\"tooltip-subscript\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle subscript\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleSuperscriptButton\" data-tooltip-target=\"tooltip-superscript\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 10h-4v-.5C17.0989 8.46711 19.75 7 19.75 6V4.99989c0-.55228-.4477-.99989-1-.99989H17c-.5523 0-1 .44772-1 1M4 7.30341l9.1221 11.39319m0-11.39319L4 18.6966\"/></svg>\n                    <span class=\"sr-only\">Superscript</span>\n                </button>\n                <div id=\"tooltip-superscript\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle superscript\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHighlightButton\" data-tooltip-target=\"tooltip-highlight\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 20H5.5c-.27614 0-.5-.2239-.5-.5v-3c0-.2761.22386-.5.5-.5h13c.2761 0 .5.2239.5.5v3c0 .2761-.2239.5-.5.5H18m-6-1 1.42 1.8933c.04.0534.12.0534.16 0L15 19m-7-6 3.9072-9.76789c.0335-.08381.1521-.08381.1856 0L16 13m-8 0H7m1 0h1.5m6.5 0h-1.5m1.5 0h1m-7-3.00001h4\"/></svg>\n                    <span class=\"sr-only\">Highlight</span>\n                </button>\n                <div id=\"tooltip-highlight\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Toggle highlight\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCodeButton\" type=\"button\" data-tooltip-target=\"tooltip-code\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/></svg>\n                    <span class=\"sr-only\">Code</span>\n                </button>\n                <div id=\"tooltip-code\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Format code\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleTextSizeButton\" data-dropdown-toggle=\"textSizeDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-size\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 6.2V5h11v1.2M8 5v14m-3 0h6m2-6.8V11h8v1.2M17 11v8m-1.5 0h3\"/></svg>\n                    <span class=\"sr-only\">Text size</span>\n                </button>\n                <div id=\"tooltip-text-size\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Text size\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textSizeDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n                    <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"toggleTextSizeButton\">\n                        <li>\n                            <button data-text-size=\"16px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\">16px (Default) \n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"12px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-xs\">12px (Tiny)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"14px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\">14px (Small)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"18px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-lg\">18px (Lead)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"24px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-2xl\">24px (Large)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"36px\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-4xl\">36px (Huge)\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <button id=\"toggleTextColorButton\" data-dropdown-toggle=\"textColorDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-color\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m6.08169 15.9817 1.57292-4m-1.57292 4h-1.1m1.1 0h1.65m-.07708-4 2.72499-6.92967c.0368-.09379.1673-.09379.2042 0l2.725 6.92967m-5.65419 0h-.00607m.00607 0h5.65419m0 0 .6169 1.569m5.1104 4.453c0 1.1025-.8543 1.9963-1.908 1.9963s-1.908-.8938-1.908-1.9963c0-1.1026 1.908-4.1275 1.908-4.1275s1.908 3.0249 1.908 4.1275Z\"/></svg>\n                    <span class=\"sr-only\">Text color</span>\n                </button>\n                <div id=\"tooltip-text-color\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Text color\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textColorDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-neutral-primary-soft p-2 shadow-sm\">\n                    <div class=\"grid grid-cols-6 gap-2 group mb-3 items-center p-1.5 rounded hover:bg-neutral-tertiary\">\n                        <input type=\"color\" id=\"color\" value=\"#e66465\" class=\"border-default-medium\n                         border bg-neutral-tertiary rounded p-px px-1 w-full h-8 col-span-3\" />\n                        <label for=\"color\" class=\"text-body text-xs font-medium col-span-3 group-hover:text-heading\">Pick a color</label>\n                    </div>\n                    <div class=\"grid grid-cols-6 gap-1 mb-3\">\n                        <button type=\"button\" data-hex-color=\"#1A56DB\" style=\"background-color: #1A56DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#0E9F6E\" style=\"background-color: #0E9F6E\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#FACA15\" style=\"background-color: #FACA15\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#F05252\" style=\"background-color: #F05252\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Red</span></button>\n                        <button type=\"button\" data-hex-color=\"#FF8A4C\" style=\"background-color: #FF8A4C\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#0694A2\" style=\"background-color: #0694A2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Teal</span></button>\n                        <button type=\"button\" data-hex-color=\"#B4C6FC\" style=\"background-color: #B4C6FC\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#8DA2FB\" style=\"background-color: #8DA2FB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#771D1D\" style=\"background-color: #771D1D\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCD9BD\" style=\"background-color: #FCD9BD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#99154B\" style=\"background-color: #99154B\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Bordo</span></button>\n                        <button type=\"button\" data-hex-color=\"#7E3AF2\" style=\"background-color: #7E3AF2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#CABFFD\" style=\"background-color: #CABFFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light</span></button>\n                        <button type=\"button\" data-hex-color=\"#D61F69\" style=\"background-color: #D61F69\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F8B4D9\" style=\"background-color: #F8B4D9\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F6C196\" style=\"background-color: #F6C196\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cream</span></button>\n                        <button type=\"button\" data-hex-color=\"#A4CAFE\" style=\"background-color: #A4CAFE\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#B43403\" style=\"background-color: #B43403\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCE96A\" style=\"background-color: #FCE96A\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#1E429F\" style=\"background-color: #1E429F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Navy Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#768FFD\" style=\"background-color: #768FFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#BCF0DA\" style=\"background-color: #BCF0DA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#EBF5FF\" style=\"background-color: #EBF5FF\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#16BDCA\" style=\"background-color: #16BDCA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cyan</span></button>\n                        <button type=\"button\" data-hex-color=\"#E74694\" style=\"background-color: #E74694\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#83B0ED\" style=\"background-color: #83B0ED\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Darker Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#03543F\" style=\"background-color: #03543F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Forest Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#111928\" style=\"background-color: #111928\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Black</span></button>\n                        <button type=\"button\" data-hex-color=\"#4B5563\" style=\"background-color: #4B5563\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Stone</span></button>\n                        <button type=\"button\" data-hex-color=\"#6B7280\" style=\"background-color: #6B7280\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#D1D5DB\" style=\"background-color: #D1D5DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F9FAFB\" style=\"background-color: #F9FAFB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Heaven Gray</span></button>\n                    </div>\n                    <button type=\"button\" id=\"reset-color\" class=\"text-body bg-neutral-secondary-medium box-border border border-default-medium hover:bg-neutral-tertiary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none w-full\">Reset color</button>\n                </div>\n                <button id=\"toggleFontFamilyButton\" data-dropdown-toggle=\"fontFamilyDropdown\" type=\"button\" data-tooltip-target=\"tooltip-font-family\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.6 19 4.298-10.93a.11.11 0 0 1 .204 0L19.4 19m-8.8 0H9.5m1.1 0h1.65m7.15 0h-1.65m1.65 0h1.1m-7.7-3.985h4.4M3.021 16l1.567-3.985m0 0L7.32 5.07a.11.11 0 0 1 .205 0l2.503 6.945h-5.44Z\"/></svg>\n                    <span class=\"sr-only\">Font family</span>\n                </button>\n                <div id=\"tooltip-font-family\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Font Family\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"fontFamilyDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-48\">\n                    <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"toggleFontFamilyButton\">\n                        <li>\n                            <button data-font-family=\"Inter, ui-sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\">Default\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Arial, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Arial, sans-serif;\">Arial\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Courier New', monospace\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Courier New', monospace;\">Courier New\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Georgia, serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Georgia, serif;\">Georgia\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Lucida Sans Unicode', sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Lucida Sans Unicode', sans-serif;\">Lucida Sans Unicode\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Tahoma, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Tahoma, sans-serif;\">Tahoma\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Times New Roman', serif;\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Times New Roman', serif;\">Times New Roman\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Trebuchet MS', sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: 'Trebuchet MS', sans-serif;\">Trebuchet MS\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Verdana, sans-serif\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded text-sm\" style=\"font-family: Verdana, sans-serif;\">Verdana\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-text-example\" class=\"sr-only\">Write comment</label>\n    <div id=\"wysiwyg-text-example\" class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\n## Text alignment\n\nEnable text alignment to the left, center, right, and justify for the content inside of the WYSIWYG component.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\nimport TextAlign from 'https://esm.sh/@tiptap/extension-text-align@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-alignment-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-alignment-example'),\n        extensions: [\n            StarterKit,\n            Highlight,\n            Underline,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            }),\n            TextAlign.configure({\n                types: ['heading', 'paragraph'],\n            }),\n            Image,\n            YouTube\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleLeftAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('left').run();\n    });\n    document.getElementById('toggleCenterAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('center').run();\n    });\n    document.getElementById('toggleRightAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('right').run();\n    });\n    document.getElementById('toggleJustifyButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('justify').run();\n    });\n    }\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleLeftAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-left-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/></svg>\n                    <span class=\"sr-only\">Align left</span>\n                </button>\n                <div id=\"tooltip-left-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align left\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCenterAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-center-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/></svg>\n                    <span class=\"sr-only\">Align center</span>\n                </button>\n                <div id=\"tooltip-center-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align center\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRightAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-right-align\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align right</span>\n                </button>\n                <div id=\"tooltip-right-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Align right\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleJustifyButton\" type=\"button\" data-tooltip-target=\"tooltip-justify\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6H6m12 4H6m12 4H6m12 4H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Justify</span>\n                </button>\n                <div id=\"tooltip-justify\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Justify text\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-alignment-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-alignment-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\n## Typography elements\n\nUse this example to create typography elements like bullet lists, ordered lists, blockquotes, horizontal rules, paragraphs, headings, code blocks based on Tailwind CSS utility classees and the Flowbite API.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-typography-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-typography-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><ul><li>Over 600+ open-source UI components</li><li>Supports dark mode and RTL</li><li>Available in React, Vue, Svelte frameworks</li></ul><p>Here is an example of a button component:</p><pre><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code></pre><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleListButton').addEventListener('click', () => {\n       editor.chain().focus().toggleBulletList().run();\n    });\n    document.getElementById('toggleOrderedListButton').addEventListener('click', () => {\n        editor.chain().focus().toggleOrderedList().run();\n    });\n    document.getElementById('toggleBlockquoteButton').addEventListener('click', () => {\n        editor.chain().focus().toggleBlockquote().run();\n    });\n    document.getElementById('toggleHRButton').addEventListener('click', () => {\n        editor.chain().focus().setHorizontalRule().run();\n    });\n    document.getElementById('toggleCodeBlockButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCodeBlock().run();\n    });\n\n    // typography dropdown\n    const typographyDropdown = FlowbiteInstances.getInstance('Dropdown', 'typographyDropdown');\n\n    document.getElementById('toggleParagraphButton').addEventListener('click', () => {\n        editor.chain().focus().setParagraph().run();\n        typographyDropdown.hide();\n    });\n    \n    document.querySelectorAll('[data-heading-level]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const level = button.getAttribute('data-heading-level');\n            editor.chain().focus().toggleHeading({ level: parseInt(level) }).run()\n            typographyDropdown.hide();\n        });\n    });\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n    <div class=\"flex items-center gap-2\">\n        <button id=\"typographyDropdownButton\" data-dropdown-toggle=\"typographyDropdown\" class=\"flex items-center justify-center text-body bg-neutral-primary-strong border border-default-strong hover:bg-neutral-secondary-strongest hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-xs px-3 py-1.5 focus:outline-none\" type=\"button\">\n            Format\n            <svg class=\"w-3.5 h-3.5 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n        </button>\n        <div class=\"ps-1.5\">\n            <span class=\"block w-px h-4 bg-neutral-tertiary\"></span>\n        </div>\n        <!-- Heading Dropdown -->\n        <div id=\"typographyDropdown\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-72\">\n            <ul class=\"p-2 space-y-1 text-sm text-body font-medium\" aria-labelledby=\"typographyDropdownButton\">\n                <li>\n                    <button id=\"toggleParagraphButton\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Paragraph \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">0</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"1\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 1 \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">1</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"2\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 2 \n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">2</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"3\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 3\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">3</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"4\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 4\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">4</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"5\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 5\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">5</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"6\" type=\"button\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">Heading 6\n                        <div class=\"space-x-1.5 ms-4\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-body bg-neutral-tertiary-medium border border-default-strong rounded\">6</kbd>\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"toggleCodeBlockButton\" type=\"button\" data-tooltip-target=\"tooltip-code-block\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle code block</span>\n            </button>\n            <div id=\"tooltip-code-block\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle code block\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleListButton\" type=\"button\" data-tooltip-target=\"tooltip-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle list</span>\n            </button>\n            <div id=\"tooltip-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle list\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleOrderedListButton\" type=\"button\" data-tooltip-target=\"tooltip-ordered-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/>\n                </svg>\n                <span class=\"sr-only\">Create ordered list</span>\n            </button>\n            <div id=\"tooltip-ordered-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle ordered list\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleBlockquoteButton\" type=\"button\" data-tooltip-target=\"tooltip-blockquote-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M6 6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3H5a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2H6Zm9 0a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle blockquote</span>\n            </button>\n            <div id=\"tooltip-blockquote-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle blockquote\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleHRButton\" type=\"button\" data-tooltip-target=\"tooltip-hr-list\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" d=\"M6 9.5h12m-12 9h12M6 7.5h12m-12 9h12M6 5.5h12m-12 9h12\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle Horizontal Rule</span>\n            </button>\n            <div id=\"tooltip-hr-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Toggle Horizontal Rule\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-typography-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-typography-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\n## Configuring links\n\nUse this example to add and remove anchor links for the content inside of the WYSIWYG text editor.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-links-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-links-example'),\n        extensions: [\n            StarterKit,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            })\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleLinkButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n        editor.chain().focus().toggleLink({ href: url }).run();\n    });\n    document.getElementById('removeLinkButton').addEventListener('click', () => {\n        editor.chain().focus().unsetLink().run()\n    });\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleLinkButton\" data-tooltip-target=\"tooltip-link\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961\"/>\n                    </svg>\n                    <span class=\"sr-only\">Link</span>\n                </button>\n                <div id=\"tooltip-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Add link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"removeLinkButton\" data-tooltip-target=\"tooltip-remove-link\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M13.2 9.8a3.4 3.4 0 0 0-4.8 0L5 13.2A3.4 3.4 0 0 0 9.8 18l.3-.3m-.3-4.5a3.4 3.4 0 0 0 4.8 0L18 9.8A3.4 3.4 0 0 0 13.2 5l-1 1m7.4 14-1.8-1.8m0 0L16 16.4m1.8 1.8 1.8-1.8m-1.8 1.8L16 20\"/>\n                    </svg>\n                    <span class=\"sr-only\">Remove link</span>\n                </button>\n                <div id=\"tooltip-remove-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Remove link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-links-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-links-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\n## Using images\n\nUse this example to learn how to add images inside of the WYSIWYG text editor and configure settings such as the image URL, image alt attribute which is important for SEO and accessibility and the image title.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-images-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-images-example'),\n        extensions: [\n            StarterKit,\n            Image\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><img src=\"https://placehold.co/600x400\" contenteditable=\"false\" draggable=\"true\"><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addImageButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://placehold.co/600x400');\n        if (url) {\n            editor.chain().focus().setImage({ src: url }).run();\n        }\n    });\n\n    const advancedImageModal = FlowbiteInstances.getInstance('Modal', 'advanced-image-modal');\n    \n    document.getElementById('advancedImageForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const imageUrl = document.getElementById('URL').value;\n        const imageAlt = document.getElementById('alt').value;\n        const imageTitle = document.getElementById('title').value;\n\n        if (imageUrl) {\n            editor.chain().focus().setImage({ src: imageUrl, alt: imageAlt ? imageAlt : '', title: imageTitle ? imageTitle: '' }).run();\n            document.getElementById('advancedImageForm').reset();\n            advancedImageModal.hide();\n        }\n    });\n    \n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addImageButton\" type=\"button\" data-tooltip-target=\"tooltip-image\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M13 10a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H14a1 1 0 0 1-1-1Z\" clip-rule=\"evenodd\"/>\n                <path fill-rule=\"evenodd\" d=\"M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12c0 .556-.227 1.06-.593 1.422A.999.999 0 0 1 20.5 20H4a2.002 2.002 0 0 1-2-2V6Zm6.892 12 3.833-5.356-3.99-4.322a1 1 0 0 0-1.549.097L4 12.879V6h16v9.95l-3.257-3.619a1 1 0 0 0-1.557.088L11.2 18H8.892Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Add image</span>\n            </button>\n            <div id=\"tooltip-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add image\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button type=\"button\" data-tooltip-target=\"tooltip-advanced-image\" data-modal-target=\"advanced-image-modal\" data-modal-toggle=\"advanced-image-modal\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Zm.394 9.553a1 1 0 0 0-1.817.062l-2.5 6A1 1 0 0 0 8 19h8a1 1 0 0 0 .894-1.447l-2-4A1 1 0 0 0 13.2 13.4l-.53.706-1.276-2.553ZM13 9.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Insert advanced image</span>\n            </button>\n            <div id=\"tooltip-advanced-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Image with settings\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-images-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-images-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n\n<!-- Main modal -->\n<div id=\"advanced-image-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-sm max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Insert advanced image\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"advanced-image-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\">\n                <div class=\"grid gap-4 grid-cols-2 py-4 md:py-6\">\n                    <div class=\"col-span-2\">\n                        <label for=\"image-url\" class=\"block mb-2.5 text-sm font-medium text-heading\">Image URL</label>\n                        <input type=\"text\" name=\"image-url\" id=\"image-url\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"https://placehold.co/600x400\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2\">\n                        <label for=\"image-alt\" class=\"block mb-2.5 text-sm font-medium text-heading\">Image alt</label>\n                        <input type=\"text\" name=\"image-alt\" id=\"image-alt\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required=\"\">\n                    </div>\n                   <div class=\"col-span-2\">\n                        <label for=\"image-title\" class=\"block mb-2.5 text-sm font-medium text-heading\">Image title</label>\n                        <input type=\"text\" name=\"image-title\" id=\"image-title\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required=\"\">\n                    </div>\n                </div>\n                <button type=\"submit\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                    Add image\n                </button>\n            </form>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n## Adding videos\n\nUse this example to embed videos inside the WYSIWYG text editor based on a YouTube URL source and set the width and height of the video by using the Flowbite modal component API.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-video-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-video-example'),\n        extensions: [\n            StarterKit,\n            YouTube\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><img src=\"https://placehold.co/600x400\" contenteditable=\"false\" draggable=\"true\"><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addVideoButton').addEventListener('click', () => {\n        const url = window.prompt('Enter YouTube URL:', 'https://www.youtube.com/watch?v=KaLxCiilHns');\n        if (url) {\n            editor.commands.setYoutubeVideo({\n                src: url,\n                width: 640,\n                height: 480,\n            })\n        }\n    });\n\n    const advancedVideoModal = FlowbiteInstances.getInstance('Modal', 'advanced-video-modal');\n    \n    document.getElementById('advancedVideoForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const videoUrl = document.getElementById('URL').value;\n        const videoWidth = document.getElementById('width').value;\n        const videoHeight = document.getElementById('height').value;\n\n        if (videoUrl) {\n            editor.commands.setYoutubeVideo({ src: videoUrl, width: videoWidth ? videoWidth : 640, height: videoHeight ? videoHeight: 480 });\n            document.getElementById('advancedVideoForm').reset();\n            advancedVideoModal.hide();\n        }\n    });\n    \n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addVideoButton\" type=\"button\" data-tooltip-target=\"tooltip-video\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M14 6H4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1Zm7 11-6-2V9l6-2v10Z\"/></svg>\n                <span class=\"sr-only\">Add video</span>\n            </button>\n            <div id=\"tooltip-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add video\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button type=\"button\" data-tooltip-target=\"tooltip-advanced-video\" data-modal-target=\"advanced-video-modal\" data-modal-toggle=\"advanced-video-modal\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1ZM9 12h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1Zm5.697 2.395v-.733l1.269-1.219v2.984l-1.268-1.032Z\"/></svg>\n                <span class=\"sr-only\">Insert advanced video</span>\n            </button>\n            <div id=\"tooltip-advanced-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Video with settings\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-video-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-video-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n\n<!-- Main modal -->\n<div id=\"advanced-video-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-sm max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4 md:pb-5\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Insert advanced video\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"advanced-video-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\">\n                <div class=\"grid gap-4 grid-cols-2 py-4 md:py-6\">\n                    <div class=\"col-span-2\">\n                        <label for=\"video-url\" class=\"block mb-2.5 text-sm font-medium text-heading\">Youtube URL</label>\n                        <input type=\"text\" name=\"video-url\" id=\"video-url\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"https://www.youtube.com/watch?v=KaLxCiilHns\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 md:col-span-1\">\n                        <label for=\"video-width\" class=\"block mb-2.5 text-sm font-medium text-heading\">Video width</label>\n                        <input type=\"text\" name=\"video-width\" id=\"video-width\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required=\"\">\n                    </div>\n                   <div class=\"col-span-2 md:col-span-1\">\n                        <label for=\"video-height\" class=\"block mb-2.5 text-sm font-medium text-heading\">Video height</label>\n                        <input type=\"text\" name=\"video-height\" id=\"video-height\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"\" required=\"\">\n                    </div>\n                </div>\n                <button type=\"submit\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                    Add video\n                </button>\n            </form>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Editing tables\n\nUse this example to edit table data inside the WYSIWYG text editor by adding and removing table column, rows, and cells and use other features to navigate through the table data for a convenient editing process.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Table from 'https://esm.sh/@tiptap/extension-table@2.6.6';\nimport TableCell from 'https://esm.sh/@tiptap/extension-table-cell@2.6.6';\nimport TableHeader from 'https://esm.sh/@tiptap/extension-table-header@2.6.6';\nimport TableRow from 'https://esm.sh/@tiptap/extension-table-row@2.6.6';\n\nconst TipTapExtensionTableCell = TableCell.extend({\n\taddAttributes() {\n\t\treturn {\n\t\t\t...this.parent?.(),\n\t\t\tbackgroundColor: {\n\t\t\t\tdefault: null,\n\t\t\t\trenderHTML: (attributes) => {\n\t\t\t\t\tif (!attributes.backgroundColor) {\n\t\t\t\t\t\treturn {}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tstyle: 'background-color: ' + attributes.backgroundColor,\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tparseHTML: (element) => {\n\t\t\t\t\treturn element.style.backgroundColor.replace(/['\"]+/g, '')\n\t\t\t\t},\n\t\t\t},\n\t\t}\n\t},\n});\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-tables-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-tables-example'),\n        extensions: [\n            StarterKit,\n            Table.configure({\n                resizable: true,\n            }),\n            TableRow,\n            TableHeader,\n            TableCell,\n            TipTapExtensionTableCell\n        ],\n        content: '<p>Understanding global <strong>population growth trends</strong> is essential for analyzing the development and future of nations. Population growth rates provide insights into economic prospects, resource allocation, and potential challenges for countries worldwide.</p><p>Here is an example of population data:</p><div class=tableWrapper><table style=min-width:75px><col><col><col><tr><th colspan=1 rowspan=1><p>Country<th colspan=1 rowspan=1><p>Population<th colspan=1 rowspan=1><p>Growth rate<tr><td colspan=1 rowspan=1><p>United States<td colspan=1 rowspan=1><p>333 million<td colspan=1 rowspan=1><p>0.4%<tr><td colspan=1 rowspan=1><p>China<td colspan=1 rowspan=1><p>1.41 billion<td colspan=1 rowspan=1><p>0%<tr><td colspan=1 rowspan=1><p>Germany<td colspan=1 rowspan=1><p>83.8 million<td colspan=1 rowspan=1><p>0.7%<tr><td colspan=1 rowspan=1><p>India<td colspan=1 rowspan=1><p>1.42 billion<td colspan=1 rowspan=1><p>1.0%<tr><td colspan=1 rowspan=1><p>Brazil<td colspan=1 rowspan=1><p>214 million<td colspan=1 rowspan=1><p>0.6%<tr><td colspan=1 rowspan=1><p>Indonesia<td colspan=1 rowspan=1><p>273 million<td colspan=1 rowspan=1><p>1.1%<tr><td colspan=1 rowspan=1><p>Pakistan<td colspan=1 rowspan=1><p>231 million<td colspan=1 rowspan=1><p>2.0%<tr><td colspan=1 rowspan=1><p>Nigeria<td colspan=1 rowspan=1><p>223 million<td colspan=1 rowspan=1><p>2.5%</table></div><p>Learn more about global population trends from reliable sources like the <a href=https://www.worldpopulationreview.com>World Population Review</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addTableButton').addEventListener('click', () => {\n        editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();\n    });\n\n    // add column before\n    document.getElementById('addColumnBeforeButton').addEventListener('click', () => {\n        editor.chain().focus().addColumnBefore().run();\n    });\n\n    // add column after\n    document.getElementById('addColumnAfterButton').addEventListener('click', () => {\n        editor.chain().focus().addColumnAfter().run();\n    });\n\n    // remove column\n    document.getElementById('removeColumnButton').addEventListener('click', () => {\n        editor.chain().focus().deleteColumn().run();\n    });\n\n    // add row before\n    document.getElementById('addRowBeforeButton').addEventListener('click', () => {\n        editor.chain().focus().addRowBefore().run();\n    });\n\n    // add row after\n    document.getElementById('addRowAfterButton').addEventListener('click', () => {\n        editor.chain().focus().addRowAfter().run();\n    });\n\n    // remove row\n    document.getElementById('removeRowButton').addEventListener('click', () => {\n        editor.chain().focus().deleteRow().run();\n    });\n\n    // delete table\n    document.getElementById('deleteTableButton').addEventListener('click', () => {\n        editor.chain().focus().deleteTable().run();\n    });\n\n    // merge cells\n    document.getElementById('mergeCellsButton').addEventListener('click', () => {\n        editor.chain().focus().mergeCells().run();\n    });\n\n    // split cells\n    document.getElementById('splitCellsButton').addEventListener('click', () => {\n        editor.chain().focus().splitCell().run();\n    });\n\n    // merge or split\n    document.getElementById('mergeOrSplitButton').addEventListener('click', () => {\n        editor.chain().focus().mergeOrSplit().run();\n    });\n\n    // toggle header column\n    document.getElementById('toggleHeaderColumnButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderColumn().run();\n    });\n\n    // toggle header row\n    document.getElementById('toggleHeaderRowButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderRow().run();\n    });\n\n    // toggle header cell\n    document.getElementById('toggleHeaderCellButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderCell().run();\n    });\n\n    const cellAttributeModal = FlowbiteInstances.getInstance('Modal', 'cell-attribute-modal');\n    \n    document.getElementById('addCellAttributeForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const attributeName = document.getElementById('attribute-name').value;\n        const attributeValue = document.getElementById('attribute-value').value;\n\n        if (attributeName && attributeValue) {\n            const result = editor.commands.setCellAttribute(attributeName ? attributeName : '', attributeValue ? attributeValue : '');\n            document.getElementById('addCellAttributeForm').reset();\n            cellAttributeModal.hide();\n        }\n    });\n\n    // fix tables\n    document.getElementById('fixTablesButton').addEventListener('click', () => {\n       editor.commands.fixTables();\n    });\n\n    // go to previous cell\n    document.getElementById('previousCellButton').addEventListener('click', () => {\n        editor.chain().focus().goToPreviousCell().run();\n    });\n\n    // go to the next cell\n    document.getElementById('nextCellButton').addEventListener('click', () => {\n        editor.chain().focus().goToNextCell().run();\n    });\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addTableButton\" type=\"button\" data-tooltip-target=\"tooltip-table\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15v3c0 .5523.44772 1 1 1h10.5M3 15v-4m0 4h11M3 11V6c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5M3 11h18m0 0v1M8 11v8m4-8v8m4-8v2m1 4h2m0 0h2m-2 0v2m0-2v-2\"/>\n                </svg>\n                <span class=\"sr-only\">Add table</span>\n            </button>\n            <div id=\"tooltip-table\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add table\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"deleteTableButton\" type=\"button\" data-tooltip-target=\"tooltip-delete-table\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h10.5M3 15.5v-4m0 4h11m-11-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5m-18 0h18m0 0v1m-13-1v8m4-8v8m4-8v2m1.8956 5.9528 1.5047-1.5047m0 0 1.5048-1.5048m-1.5048 1.5048 1.4605 1.4604m-1.4605-1.4604-1.4604-1.4605\"/>\n                </svg>\n                <span class=\"sr-only\">Delete table</span>\n            </button>\n            <div id=\"tooltip-delete-table\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Delete table\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <div class=\"px-1\">\n                <span class=\"block w-px h-4 bg-neutral-quaternary\"></span>\n            </div>\n            <button id=\"addColumnBeforeButton\" type=\"button\" data-tooltip-target=\"tooltip-add-column-before\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5.5v14m-8-7h2m0 0h2m-2 0v2m0-2v-2m12 1h-6m6 4h-6m-11 4h16c.5523 0 1-.4477 1-1v-12c0-.55228-.4477-1-1-1H4c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Add column before</span>\n            </button>\n            <div id=\"tooltip-add-column-before\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add column before\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addColumnAfterButton\" type=\"button\" data-tooltip-target=\"tooltip-add-column-after\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5.5v14m8-7h-2m0 0h-2m2 0v2m0-2v-2m-12 1h6m-6 4h6m11 4H4c-.55228 0-1-.4477-1-1v-12c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v12c0 .5523-.4477 1-1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Add column after</span>\n            </button>\n            <div id=\"tooltip-add-column-after\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add column after\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"removeColumnButton\" type=\"button\" data-tooltip-target=\"tooltip-remove-column\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5.5v14m-6-8h6m-6 4h6m4.5061-1.4939L15.0123 12.5m0 0 1.5061-1.5061M15.0123 12.5l1.5061 1.5061M15.0123 12.5l-1.5062-1.5061M20 19.5H4c-.55228 0-1-.4477-1-1v-12c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v12c0 .5523-.4477 1-1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Remove column</span>\n            </button>\n            <div id=\"tooltip-remove-column\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Remove column\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <div class=\"px-1\">\n                <span class=\"block w-px h-4 bg-neutral-quaternary\"></span>\n            </div>\n            <button id=\"addRowBeforeButton\" type=\"button\" data-tooltip-target=\"tooltip-add-row-before\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-6-9h2m0 0h2m-2 0v2m0-2v-2\"/>\n                </svg>\n                <span class=\"sr-only\">Add row before</span>\n            </button>\n            <div id=\"tooltip-add-row-before\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add row before\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addRowAfterButton\" type=\"button\" data-tooltip-target=\"tooltip-add-row-after\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 9.5v-3c0-.55228.44772-1 1-1h16c.5523 0 1 .44771 1 1v3m-18 0v9c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-9m-18 0h18m-13 0v-4m4 4v-4m4 4v-4m-6 9h2m0 0h2m-2 0v-2m0 2v2\"/>\n                </svg>\n                <span class=\"sr-only\">Add row after</span>\n            </button>\n            <div id=\"tooltip-add-row-after\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Add row after\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"removeRowButton\" type=\"button\" data-tooltip-target=\"tooltip-remove-row\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-5.5061-7.4939L12 10.5m0 0 1.5061-1.50614M12 10.5l1.5061 1.5061M12 10.5l-1.5061-1.50614\"/>\n                </svg>\n                <span class=\"sr-only\">Remove row</span>\n            </button>\n            <div id=\"tooltip-remove-row\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                Remove row\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n    <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n        <button id=\"mergeCellsButton\" type=\"button\" data-tooltip-target=\"tooltip-merge-cells\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 18.5v2H4v-16h6v2m4 12v2h6v-16h-6v2m-6.49543 8.4954L10 12.5m0 0-2.49543-2.4954M10 12.5H4.05191m12.50199 2.5539L14 12.5m0 0 2.5539-2.55392M14 12.5h5.8319\"/>\n            </svg>\n            <span class=\"sr-only\">Merge cells</span>\n        </button>\n        <div id=\"tooltip-merge-cells\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Merge cells\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"splitCellsButton\" type=\"button\" data-tooltip-target=\"tooltip-split-cells\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"h-5 w-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 18.5v2h6v-16H4v2m16 12v2h-6v-16h6v2M6.49545 14.9954 4.00003 12.5m0 0 2.49542-2.4954M4.00003 12.5h5.94809m7.49798 2.5539L20 12.5m0 0-2.5539-2.55392M20 12.5h-5.8319\"/>\n            </svg>\n            <span class=\"sr-only\">Split cells</span>\n        </button>\n        <div id=\"tooltip-split-cells\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Split cells\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"mergeOrSplitButton\" type=\"button\" data-tooltip-target=\"tooltip-merge-or-split\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.5045 14.9954 21 12.5m0 0-2.4955-2.4954M21 12.5h-5.9481m-9.49798 2.5539L3 12.5m0 0 2.55392-2.55392M3 12.5h5.83192m.16807 7v-14H15v14H8.99999Z\"/>\n            </svg>\n            <span class=\"sr-only\">Merge or split</span>\n        </button>\n        <div id=\"tooltip-merge-or-split\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Merge or split\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"px-1\">\n            <span class=\"block w-px h-4 bg-neutral-quaternary\"></span>\n        </div>\n        <button id=\"toggleHeaderColumnButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-column\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5.5v14m6-8h-6m6 4h-6m-9-3h1.99093M4 19.5h16c.5523 0 1-.4477 1-1v-12c0-.55228-.4477-1-1-1H4c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1Zm8-7c0 1.1046-.8954 2-2 2-1.10457 0-2-.8954-2-2s.89543-2 2-2c1.1046 0 2 .8954 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header column</span>\n        </button>\n        <div id=\"tooltip-toggle-header-column\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle header column\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHeaderRowButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-row\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-7-9h1.9909M15 10.5c0 1.1046-.8954 2-2 2s-2-.8954-2-2c0-1.10457.8954-2 2-2s2 .89543 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header row</span>\n        </button>\n        <div id=\"tooltip-toggle-header-row\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle header row\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHeaderCellButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-cell\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-7-9h1.9909M15 10.5c0 1.1046-.8954 2-2 2s-2-.8954-2-2c0-1.10457.8954-2 2-2s2 .89543 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header cell</span>\n        </button>\n        <div id=\"tooltip-toggle-header-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Toggle header cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-modal-toggle=\"cell-attribute-modal\" data-modal-target=\"cell-attribute-modal\" type=\"button\" data-tooltip-target=\"tooltip-add-cell-attribute\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h8v-8m-9 4v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v4m-18 1h11m6.25 5c0 1.2426-1.0073 2.25-2.25 2.25m2.25-2.25c0-1.2426-1.0073-2.25-2.25-2.25m2.25 2.25H21m-3 2.25c-1.2426 0-2.25-1.0074-2.25-2.25M18 18.75v.75m-2.25-3c0-1.2426 1.0074-2.25 2.25-2.25m-2.25 2.25H15m3-2.25v-.75m-1.591 1.409-.5303-.5303m4.2426 4.2426-.5303-.5303m-3.182 0-.5303.5303m4.2426-4.2426-.5303.5303\"/>\n            </svg>\n            <span class=\"sr-only\">Add cell attribute</span>\n        </button>\n        <div id=\"tooltip-add-cell-attribute\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Add cell attribute\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"px-1\">\n            <span class=\"block w-px h-4 bg-neutral-tertiary\"></span>\n        </div>\n        <button id=\"fixTablesButton\" type=\"button\" data-tooltip-target=\"tooltip-fix-tables\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h4v-4m-5 0v-4m0 4h5m-5-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v1.98935M3 11.5h5v4m9.4708 4.1718-.8696-1.4388-2.8164-.235-2.573-4.2573 1.4873-2.8362 1.4441 2.3893c.3865.6396 1.2183.8447 1.8579.4582.6396-.3866.8447-1.2184.4582-1.858l-1.444-2.38925h3.1353l2.6101 4.27715-1.0713 2.5847.8695 1.4388\"/>\n            </svg>\n            <span class=\"sr-only\">Fix tables</span>\n        </button>\n        <div id=\"tooltip-fix-tables\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Fix tables\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"previousCellButton\" type=\"button\" data-tooltip-target=\"tooltip-previous-cell\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h9.5M3 15.5v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5H3Zm5 0v8m4-8v8m5.9001-1.0999L16 16.5m0 0 1.9001-1.9001M16 16.5h5\"/>\n            </svg>\n            <span class=\"sr-only\">Previous cell</span>\n        </button>\n        <div id=\"tooltip-previous-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Previous cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"nextCellButton\" type=\"button\" data-tooltip-target=\"tooltip-next-cell\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h9.5M3 15.5v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5H3Zm5 0v8m4-8v8m7.0999-1.0999L21 16.5m0 0-1.9001-1.9001M21 16.5h-5\"/>\n            </svg>\n            <span class=\"sr-only\">Next cell</span>\n        </button>\n        <div id=\"tooltip-next-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n            Next cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-tables-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-tables-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n\n<!-- Main modal -->\n<div id=\"cell-attribute-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-sm max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-neutral-primary-soft border border-default rounded-base shadow-sm p-4 md:p-6\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between border-b border-default pb-4\">\n                <h3 class=\"text-lg font-medium text-heading\">\n                    Add cell attribute\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"cell-attribute-modal\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 18 17.94 6M18 18 6.06 6\"/></svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form action=\"#\">\n                <div class=\"grid gap-4 grid-cols-2 py-4 md:py-6\">\n                    <div class=\"col-span-2\">\n                        <label for=\"attribute-name\" class=\"block mb-2.5 text-sm font-medium text-heading\">Attribute name</label>\n                        <input type=\"text\" name=\"attribute-name\" id=\"attribute-name\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"backgroundColor\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2\">\n                        <label for=\"attribute-value\" class=\"block mb-2.5 text-sm font-medium text-heading\">Attribute value</label>\n                        <input type=\"text\" name=\"attribute-value\" id=\"attribute-value\" class=\"bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\" placeholder=\"#F1FF3F\" required=\"\">\n                    </div>\n                </div>\n                <button type=\"submit\" class=\"w-full inline-flex items-center justify-center text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n                    <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/></svg>\n                    Set attribute\n                </button>\n            </form>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Undo and redo\n\nUse the history functionality from the WYSIWYG text editor component to integrate undo and redo actions.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-history-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-history-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleUndoButton').addEventListener('click', () => {\n        editor.chain().focus().undo().run();\n    });\n    document.getElementById('toggleRedoButton').addEventListener('click', () => {\n        editor.chain().focus().redo().run()\n    });\n\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleUndoButton\" data-tooltip-target=\"tooltip-undo\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 9h13a5 5 0 0 1 0 10H7M3 9l4-4M3 9l4 4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Undo</span>\n                </button>\n                <div id=\"tooltip-undo\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Undo\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRedoButton\" data-tooltip-target=\"tooltip-redo\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 9H8a5 5 0 0 0 0 10h9m4-10-4-4m4 4-4 4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Redo</span>\n                </button>\n                <div id=\"tooltip-redo\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Redo\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-history-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-history-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n{{< /example >}}\n\n## Exporting data\n\nUse the `editor.getJSON()` and the `editor.getHTML()` functions to export the text content inside of the WYSIWYG text editor in JSON or raw HTML format to persist into your database or API structure.\n\n{{< example class=\"flex justify-center bg-neutral-primary\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-export-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-export-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-base text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    const sourceCodeModal = FlowbiteInstances.getInstance('Modal', 'source-code-modal');\n    const sourceCodeWrapper = document.getElementById('sourceCode');\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleHTMLButton').addEventListener('click', () => {\n\n        // basically just use editor.getHTML(); to get the raw html\n\n        sourceCodeWrapper.innerHTML = editor.getHTML()\n            .replace(/&/g, \"&amp;\") // Escape & character\n            .replace(/</g, \"&lt;\")  // Escape < character\n            .replace(/>/g, \"&gt;\")  // Escape > character\n            .replace(/\"/g, \"&quot;\") // Escape \" character\n            .replace(/'/g, \"&#039;\"); // Escape ' character\n    });\n\n    document.getElementById('toggleJSONButton').addEventListener('click', () => {\n\n        // basically just use editor.getJSON(); to get the raw json\n\n        sourceCode.innerHTML = JSON.stringify(editor.getJSON(), null, 2)\n            .replace(/&/g, \"&amp;\")\n            .replace(/</g, \"&lt;\")\n            .replace(/>/g, \"&gt;\");\n    });\n}\n})\n` >}}\n<div class=\"w-full bg-neutral-secondary-medium border border-default-medium rounded-base\">\n    <div class=\"p-2 border-b border-default-medium\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleJSONButton\" data-tooltip-target=\"tooltip-json\" data-modal-target=\"source-code-modal\" data-modal-toggle=\"source-code-modal\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm6-2a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm0 0h-1a5 5 0 0 1-5-5v-.5\"/>\n                    </svg>\n                    <span class=\"sr-only\">JSON</span>\n                </button>\n                <div id=\"tooltip-json\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Get JSON\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHTMLButton\" data-tooltip-target=\"tooltip-html\" data-modal-target=\"source-code-modal\" data-modal-toggle=\"source-code-modal\" type=\"button\" class=\"p-1.5 text-body rounded-sm cursor-pointer hover:text-heading hover:bg-neutral-quaternary\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path d=\"m3 2 1.578 17.824L12 22l7.467-2.175L21 2H3Zm14.049 6.048H9.075l.172 2.016h7.697l-.626 6.565-4.246 1.381-4.281-1.455-.288-2.932h2.024l.16 1.411 2.4.815 2.346-.763.297-3.005H7.416l-.562-6.05h10.412l-.217 2.017Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">HTML</span>\n                </button>\n                <div id=\"tooltip-html\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark-strong rounded-base shadow-xs opacity-0 tooltip\">\n                    Get HTML\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"p-3 rounded-b-base bg-neutral-primary\">\n    <label for=\"wysiwyg-export-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-export-example\"class=\"block w-full px-0 text-sm text-body bg-neutral-primary border-0 focus:ring-0\"></div>\n</div>\n</div>\n\n<div id=\"source-code-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative rounded-base shadow-sm bg-neutral-primary-soft\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t border-default\">\n                <h3 class=\"text-lg font-semibold text-heading\">\n                    JSON/HTML data export result\n                </h3>\n                <button type=\"button\" class=\"text-body bg-transparent hover:bg-neutral-tertiary hover:text-heading rounded-base text-sm w-9 h-9 ms-auto inline-flex justify-center items-center\" data-modal-hide=\"source-code-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"px-4 pb-4 md:px-5 pb-5 format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none\">\n                <pre class=\"bg-neutral-primary-medium\"><code id=\"sourceCode\"></code></pre>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n## Javascript behaviour\n\nLearn more about how you can programmatically use the WYSIWYG editor using Javascript by creating a new instance of the object, setting options, method, event listeners, and more to integrate with your code base.\n\nAfter you have installed Tip Tap via NPM or CDN you can create a new `Editor` object:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\nimport { Editor } from '@tiptap/core';\nimport StarterKit from '@tiptap/starter-kit';\n\nnew Editor({\n  element: document.getElementById('wysiwyg'),\n  extensions: [StarterKit],\n  content: '<p>Welcome to Flowbite!</p>',\n})\n{{< /code >}}\n\nMake sure that you also have an empty `div` element with the appropiate ID:\n\n{{< code lang=\"html\" file=\"wysiwyg.html\" icon=\"file\" >}}\n<div id=\"wysiwyg\"></div>\n{{< /code >}}\n\nThis code will automatically set up the markup needed inside of the WYSIWYG component. Please note the fact that the Tip Tap library is headless so you need to style the elements yourself, but you can copy-paste the examples from Flowbite on this page.\n\n### Content styling\n\nWe also recommend adding custom typography classes from the [Flowbite Typography](https://flowbite.com/docs/components/typography/) package so that the content inside of the text editor will be correctly styled:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\nnew Editor({\n  element: document.getElementById('wysiwyg'),\n  extensions: [StarterKit],\n  content: '<p>Welcome to Flowbite!</p>',\n  editorProps: {\n        attributes: {\n            class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n        },\n    }\n})\n{{< /code >}}\n\n### Extensions\n\nTip Tap is a modular library meaning that if you want to introduce images, videos, links and other elements inside the WYSIWYG component you need to specifically import that resources from the library and set it as an extension when initialising the `Editor` object.\n\nHere is one example where we add the link extension:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\nimport { Editor } from '@tiptap/core';\nimport StarterKit from '@tiptap/starter-kit';\nimport Link from '@tiptap/extension-link';\n\nconst editor = new Editor({\n    element: document.querySelector('#wysiwyg-links-example'),\n    extensions: [\n        StarterKit,\n        Link.configure({\n            openOnClick: false,\n            autolink: true,\n            defaultProtocol: 'https',\n        })\n    ],\n    content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n    editorProps: {\n        attributes: {\n            class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n        },\n    }\n});\n{{< /code >}}\n\nLinks will now be available inside the WYSIWYG component. Learn more about all of the <a href=\"https://tiptap.dev/docs/editor/extensions/overview\" target=\"_blank\" rel=\"nofollow\">extensions API</a>.\n\n### Methods\n\nYou can easily call the methods from the `Editor` object to set text styles, links, images, and more. Here is one example where based upon a click event on a button you will be prompted with the URL of the link and it will add it to the currently selected text:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\n// set up custom event listeners for the buttons\ndocument.getElementById('toggleLinkButton').addEventListener('click', () => {\n    const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n    editor.chain().focus().toggleLink({ href: url }).run();\n});\n{{< /code >}}\n\nAnd here's another example where you can unset a link:\n\n{{< code lang=\"javascript\" file=\"wysiwyg.js\" icon=\"file\" >}}\n// unset the links based on a button click\ndocument.getElementById('removeLinkButton').addEventListener('click', () => {\n    editor.chain().focus().unsetLink().run()\n});\n{{< /code >}}\n\nExamples from this page have functional elements so you can check the JavaScript tab for the source code.\n\n## License\n\nResources from this page are licensed under the MIT License, including the Flowbite examples and Tip Tap.\n"
  },
  {
    "path": "content/typography/blockquote.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Blockquote - Flowbite\ndescription: The blockquote component can be used to quote text content from an external source that can be used for testimonials, reviews, and quotes inside an article\ngroup: typography\ntoc: true\n\nprevious: Paragraphs\npreviousLink: typography/paragraphs/\nnext: Images\nnextLink: typography/images/\n---\n\nGet started with a collection of blockquote components when quoting external sources such as quotes inside an article, user reviews, and testimonials based on multiple examples of layouts, styles, and contexts.\n\nThe main `<blockquote>` HTML tag can be used together with the `<cite>` tag or attribute to also mention the source of the quote content.\n\n## Default blockquote\n\nUse this example to quote an external source inside a blockquote element.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold tracking-tight text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned pages starting from login screen to complex dashboard. Best choice for your SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n## Solid background\n\nThis example can be used as an alternative style to the default one by applying a solid background color.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<p class=\"text-body\">\nDoes your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live.\n</p>\n<blockquote class=\"p-4 my-4 border-s-4 border-default bg-neutral-secondary-soft\">\n    <p class=\"text-xl italic font-medium leading-relaxed text-heading\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n<p class=\"text-body\">\nFirst of all you need to understand how Flowbite works. This library is not another framework. Rather, it is a set of components based on Tailwind CSS that you can just copy-paste from the documentation.\n</p>\n{{< /example >}}\n\n## Blockquote icon\n\nUse this example to show an icon above the blockquote text content.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-heading tracking-tight\">\n    <svg class=\"w-9 h-9 text-heading mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4H5m14-6V8a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4h-1\"/></svg>\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n## Paragraph context\n\nUse this example to show a blockquote component between multiple paragraph elements.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 md:gap-6 md:grid-cols-2\">\n    <p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <blockquote class=\"mb-3\">\n        <p class=\"text-xl italic font-semibold text-heading\">\" Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application. \"</p>\n    </blockquote>\n</div>\n<p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n## User testimonial\n\nThis example can be used for user testimonials by mentioning the author and occupation of the author.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<figure class=\"max-w-screen-md mx-auto text-center\">\n    <svg class=\"w-11 h-11 text-heading mb-4 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4H5m14-6V8a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4h-1\"/></svg>\n    <blockquote>\n        <p class=\"text-2xl italic font-semibold tracking-tight text-heading\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n    </blockquote>\n    <figcaption class=\"flex items-center justify-center mt-6 space-x-3 rtl:space-x-reverse\">\n        <img class=\"w-6 h-6 rounded-full\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/michael-gouch.png\" alt=\"profile picture\">\n        <div class=\"flex items-center divide-x rtl:divide-x-reverse divide-default\">\n            <cite class=\"pe-3 font-medium text-heading\">Michael Gough</cite>\n            <cite class=\"ps-3 text-sm text-body\">CEO at Google</cite>\n        </div>\n    </figcaption>\n</figure>\n{{< /example >}}\n\n## User Review\n\nUse this example to show a user review with rating stars and the name and occupation of the author.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<figure class=\"max-w-screen-md\">\n    <div class=\"flex items-center space-x-1 mb-4\">\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-yellow\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n        <svg class=\"w-5 h-5 text-fg-disabled\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z\"/></svg>\n    </div>\n    <blockquote>\n        <p class=\"text-2xl font-semibold text-heading tracking-tight\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n    </blockquote>\n    <figcaption class=\"flex items-center mt-6 space-x-3 rtl:space-x-reverse\">\n        <img class=\"w-6 h-6 rounded-full\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/bonnie-green.png\" alt=\"profile picture\">\n        <div class=\"flex items-center divide-x rtl:divide-x-reverse divide-default\">\n            <cite class=\"pe-3 font-medium text-heading\">Bonnie Green</cite>\n            <cite class=\"ps-3 text-sm text-body\">CTO at Flowbite</cite>\n        </div>\n    </figcaption>\n</figure>\n{{< /example >}}\n\n## Alignment\n\nChoose from the following examples the blockquote text alignment from starting from left, center to right based on the utility classes from Tailwind CSS.\n\n### Left\n\nThe default alignment of the blockquote text content is the left side of the document.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-left text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n### Center\n\nUse the `text-center` class from Tailwind CSS to align the text content inside the blockquote to the center.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-center text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n### Right\n\nUse the `text-right` utility class from Tailwind CSS to align the blockquote text content to the right side of the page.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-right text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n## Sizes\n\nChoose from one of the multiple sizes for the default blockquote component based on the surrounding elements and sizes.\n\n### Small\n\nUse the `text-lg` font size class from Tailwind CSS to apply the small size for the blockquote component.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-lg italic font-semibold text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n### Medium\n\nUse the `text-xl` utility class to set the default size for the blockquote element.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n### Large\n\nThe `text-2xl` class can be used to set a large size for the blockquote component.\n\n{{< example github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-2xl italic font-semibold text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}"
  },
  {
    "path": "content/typography/headings.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Headings - Flowbite\ndescription: The heading component defines six levels of title elements from H1 to H6 that are used as titles and subtitles on a web page based on multiple styles and layouts\ngroup: typography\ntoc: true\n\nprevious: Floating label\npreviousLink: forms/floating-label/\nnext: Paragraphs\nnextLink: typography/paragraphs/\n---\n\nGet started with the heading component to define titles and subtitles on a web page and also improve the on-page SEO metrics of your website by targeting high-traffic keywords on Google.\n\nAt least one unique H1 tag should be available for each page on your website with the next tags starting from H2 to H6 for each section. Choose from a collection of custom heading components based on multiple styles and layouts built with the utility classes from Tailwind CSS.\n\n## Default heading\n\nUse this example of a H1 heading in the context of a paragraph and CTA button for landing pages.\n\n{{< example class=\"text-center py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n<p class=\"mb-6 text-lg font-normal text-body lg:text-xl sm:px-16 xl:px-48\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n<a href=\"#\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-base px-5 py-3 focus:outline-none\">Learn more</a>\n{{< /example >}}\n\n## Second-level heading\n\nUse this example of a second-level H2 heading as the main subtitle for each section of your web page.\n\n{{< example class=\"py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h2 class=\"text-4xl font-bold\">Payments tool for companies</h2>\n<p class=\"my-4 text-lg text-body\">Start developing with an open-source library of over 450+ UI components, sections, and pages built with the utility classes from Tailwind CSS and designed in Figma.</p>\n<p class=\"mb-4 text-lg font-normal text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions. Accelerate critical development work, eliminate toil, and deploy changes with ease.</p>\n<a href=\"#\" class=\"inline-flex items-center text-lg font-medium text-fg-brand hover:underline\">\n  Read more\n  <svg class=\"w-5 h-5 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n</a>\n{{< /example >}}\n\n## Highlighted heading\n\nUse this example to highlight a certain portion of the heading text with a different color.\n\n{{< example class=\"py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl\">Get back to growth with <span class=\"text-fg-brand\">the world's #1</span> CRM.</h1>\n<p class=\"text-lg font-normal text-body lg:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n## Heading mark\n\nThis example can be used to mark one part of the heading text with a solid background for highlighting.\n\n{{< example class=\"py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl\">Regain <mark class=\"px-2 pb-0.5 text-white bg-brand rounded-base\">control</mark> over your days</h1>\n<p class=\"text-lg font-normal text-body lg:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n## Heading gradient\n\nUse this example to highlight a portion of the heading text by using a gradient style.\n\n{{< example class=\"py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-3xl font-bold text-heading md:text-5xl lg:text-6xl\"><span class=\"text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400\">Better Data</span> Scalable AI.</h1>\n<p class=\"text-lg font-normal text-body lg:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n## Heading underline\n\nGet started with this example to underline an important part of the heading component using the offset feature from Tailwind CSS.\n\n{{< example class=\"py-16\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-bold tracking-tight text-heading md:text-5xl lg:text-6xl\">We invest in the <span class=\"underline underline-offset-3 decoration-8 decoration-brand\">world’s potential</span></h1>\n<p class=\"text-lg font-normal text-body lg:text-xl\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n## Breadcrumb context\n\nGet started with this example to position a breadcrumb component above the H1 heading component.\n\n{{< example class=\"py-8\" github=\"typography/headings.md\" show_dark=true >}}\n<nav class=\"flex mb-2.5\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">\n        <svg class=\"w-4 h-4 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 12 8-8 8 8M6 10.5V19a1 1 0 0 0 1 1h3v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h3a1 1 0 0 0 1-1v-8.5\"/></svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-body hover:text-fg-brand\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center space-x-1.5\">\n        <svg class=\"w-3.5 h-3.5 rtl:rotate-180 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n        <span class=\"inline-flex items-center text-sm font-medium text-body-subtle\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n<h2 class=\"text-3xl font-bold tracking-tight text-heading md:text-4xl\">Team management</h2>\n{{< /example >}}\n\n## Badge context\n\nUse this example to show a badge component inside the heading text element as a secondary indicator.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"text-heading flex items-center text-5xl font-bold tracking-tight\">Flowbite <span class=\"inline-flex ms-3 px-2 py-1 ring-1 ring-inset ring-brand-subtle text-fg-brand-strong text-sm font-medium rounded bg-brand-softer\">PRO</span></h1>\n{{< /example >}}\n\n## Secondary text\n\nThis example can be used to add a secondary text inside the main heading component.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"text-5xl font-bold text-heading\">Flowbite<small class=\"ms-2 font-medium text-body\">This is secondary text</small></h1>\n{{< /example >}}\n\n## Sizes\n\nThe heading component has six levels of importance starting from H1 which has to be unique on the page and has the greatest weight of importance all the way to H6.\n\n### Heading one (H1)\n\nUse the H1 tag as the most important text element to indicate the title of your web page.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"text-5xl font-bold text-heading\">Heading 1</h1>\n{{< /example >}}\n\n### Heading two (H2)\n\nThe H2 tag can be used as subtitles of the page's sections.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h2 class=\"text-4xl font-bold text-heading\">Heading 2</h2>\n{{< /example >}}\n\n### Heading three (H3)\n\nUse the H3 tags inside sections that already have a H2 available.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h3 class=\"text-3xl font-bold text-heading\">Heading 3</h3>\n{{< /example >}}\n\n### Heading four (H4)\n\nThe H4 can be generally used after H2 and H3 tags are already present and you need a more in-depth hierarchy.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h4 class=\"text-2xl font-bold text-heading\">Heading 4</h4>\n{{< /example >}}\n\n### Heading five (H5)\n\nThe H5 tag is most often used in longer articles with other heading already available or in sidebars.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h5 class=\"text-xl font-bold text-heading\">Heading 5</h5>\n{{< /example >}}\n\n### Heading six (H6)\n\nUsing the H6 tag is quite rare because it means that you've already used all heading from H1 to H5, but you can still use it if you have a very complex article with lots of headings.\n\n{{< example github=\"typography/headings.md\" show_dark=true >}}\n<h6 class=\"text-lg font-bold text-heading\">Heading 6</h6>\n{{< /example >}}"
  },
  {
    "path": "content/typography/hr.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Horizontal Line (HR) - Flowbite\ndescription: Create a horizontal line using the HR tag to separate content such as paragraphs, blockquotes, and other elements using the utility classes from Tailwind CSS\ngroup: typography\ntoc: true\n\nprevious: Text\npreviousLink: typography/text/\nnext: Charts\nnextLink: plugins/charts/\n---\n\nThe HR component can be used to separate content using a horizontal line by adding space between elements based on multiple styles, variants, and layouts.\n\n## Default HR\n\nUse this example to separate text content with a `<hr>` horizontal line.\n\n{{< example github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"h-px my-8 bg-neutral-quaternary border-0\">\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n## Trimmed\n\nUse this example to show a shorter version of the horizontal line.\n\n{{< example github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"w-48 h-1 mx-auto my-4 bg-neutral-quaternary border-0 rounded-sm md:my-10\">\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n## Icon HR\n\nThis example can be used to set a custom [SVG icon](https://flowbite.com/icons/) in the middle of the HR element.\n\n{{< example class=\"text-center\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"inline-flex items-center justify-center w-full\">\n    <hr class=\"w-64 h-1 my-8 bg-neutral-quaternary border-0 rounded-sm\">\n    <div class=\"absolute px-4 -translate-x-1/2 bg-neutral-primary left-1/2\">\n        <svg class=\"w-6 h-6 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11V8a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4H5m14-6V8a1 1 0 0 0-1-1h-3a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1Zm0 0v2a4 4 0 0 1-4 4h-1\"/></svg>\n    </div>\n</div>\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>\n{{< /example >}}\n\n## HR with text\n\nUse this example to add a text in the middle of the HR component.\n\n{{< example class=\"text-center\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"inline-flex items-center justify-center w-full\">\n    <hr class=\"w-64 h-px my-8 bg-neutral-quaternary border-0\">\n    <span class=\"absolute px-3 font-medium text-heading -translate-x-1/2 bg-neutral-primary left-1/2\">or</span>\n</div>\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>\n{{< /example >}}\n\n## HR shape\n\nThis example can be used to separate content with a HR tag as a shape instead of a line.\n\n{{< example github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"w-8 h-8 mx-auto my-8 bg-neutral-quaternary border-0 rounded-sm md:my-12\">\n<blockquote class=\"text-xl italic font-semibold text-center text-heading\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n"
  },
  {
    "path": "content/typography/images.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Images - Flowbite\ndescription: The image component can be used to embed images inside the web page in articles and sections based on multiple styles, sizes, layouts and hover animations\ngroup: typography\ntoc: true\n\nprevious: Blockquote\npreviousLink: typography/blockquote/\nnext: Lists\nnextLink: typography/lists/\n---\n\nGet started with a collection of responsive image components coded with the utility classes from Tailwind CSS that you can use inside articles, cards, sections, and other components based on multiple styles, sizes, layouts, and hover animations.\n\n## Default image\n\nUse this example to show the a responsive image that won't grow beyond the maximum original width.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-full\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n## Image caption\n\nThis example can be used to add a caption for the image often used inside articles.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<figure class=\"max-w-lg\">\n  <img class=\"h-auto max-w-full rounded-base\" src=\"/docs/images/examples/image-3@2x.jpg\" alt=\"image description\">\n  <figcaption class=\"mt-2 text-sm text-center text-body\">Image caption</figcaption>\n</figure>\n{{< /example >}}\n\n## Rounded corners\n\nApply rounded corners to the image by using the specific utility classes from Tailwind CSS.\n\n### Border radius\n\nUse this example to apply rounded corners to the image by using the `rounded-{size}` class where the size can be anything from small to extra large.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg rounded-base\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Full circle\n\nUse this example to mask the image inside a circle using the `rounded-full` utility class from Tailwind CSS.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"rounded-full w-96 h-96\" src=\"/docs/images/examples/image-4@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n## Image shadow\n\nThis example can be used to show a shadow effect for the image using the `shadow-{size}` utility class.\n\n{{< example class=\"flex justify-center pb-8\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xl rounded-base shadow-xl dark:shadow-gray-800\" src=\"/docs/images/examples/image-2@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n## Retina-ready\n\nUse the `srcset` attribute to set Retina-ready images with double resolution.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img srcset=\"/docs/images/examples/image-1.jpg 1x, /docs/images/examples/image-1@2x.jpg 2x\" class=\"w-full h-auto max-w-xl rounded-base\" alt=\"image description\">\n{{< /example >}}\n\n## Image card\n\nUse this example to make the image a card item with a link and a short text description.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<figure class=\"relative max-w-sm transition-all duration-300 cursor-pointer filter grayscale hover:grayscale-0\">\n  <a href=\"#\">\n    <img class=\"rounded-base\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n  </a>\n  <figcaption class=\"absolute px-4 text-lg text-white bottom-6\">\n      <p>Do you want to get notified when a new component is added to Flowbite?</p>\n  </figcaption>\n</figure>\n{{< /example >}}\n\n## Image effects\n\nUse image effects such as grayscale or blur to change the appearances of the image when being hovered.\n\n### Grayscale\n\nUse the filter option and apply a grayscale to the image element using the `grayscale` class.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg transition-all duration-300 rounded-base cursor-pointer filter grayscale hover:grayscale-0\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n{{< /example >}}\n\n### Blur\n\nApply a blur by using the `blur-{size}` utility class from Tailwind CSS to an image component.\n\n{{< example class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg transition-all duration-300 rounded-base blur-xs hover:blur-none\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n{{< /example >}}\n\n## Alignment\n\nAlign the image component to the left, center or right side of the document page using margin styles.\n\n### Left\n\nBy default, the image component will be aligned to the left side of the page.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Center\n\nHorizontally align the image to the center of the page using the `mx-auto` class.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg mx-auto\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Right\n\nUse the `ml-auto` (or `ms-auto`) class to align the image to the right side of the page.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg ms-auto\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n## Sizes\n\nSet the size of the image using the `w-{size}` and `h-{size}` or `max-w-{size}` utility classes from Tailwind CSS to set the width and height of the element.\n\n### Small\n\nUse the `max-w-xs` class to set a small size of the image.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xs\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Medium\n\nUse the `max-w-md` class to set a medium size of the image.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-md\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Large\n\nUse the `max-w-xl` class to set a large size of the image.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xl\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n### Full width\n\nUse the `max-w-full` class to set the full width of the image as long as it doesn't become larger than the original source.\n\n{{< example github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-full\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n"
  },
  {
    "path": "content/typography/links.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Links - Flowbite\ndescription: The link component can be used to set hyperlinks from one page to another or to an external website when clicking on an inline text item, button, or card\ngroup: typography\ntoc: true\n\nprevious: Lists\npreviousLink: typography/lists/\nnext: Text\nnextLink: typography/text/\n---\n\nGet started with the link component to enable hyperlinks across pages and external websites applied to elements such as inline text, buttons, cards, inside paragraphs, and more.\n\nHyperlinks are a great way to reduce bounce rate of the current page and encourage visitors to browse your website and become a returning user.\n\n## Default link\n\nUse this example to set default styles to an inline link element.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"font-medium text-fg-brand hover:underline\">Read more</a>\n{{< /example >}}\n\n## Button\n\nThis example can be used to set a hyperlink on a button component.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Read more</a>\n{{< /example >}}\n\n## Paragraph\n\nUse this example to set a link inside a paragraph with an underline style.\n\n{{< example github=\"typography/links.md\" show_dark=true >}}\n<p class=\"text-body\">The free updates that will be provided is based on the <a href=\"#\" class=\"font-medium text-fg-brand underline hover:no-underline\">roadmap</a> that we have laid out for this project. It is also possible that we will provide extra updates outside of the roadmap as well.</p>\n{{< /example >}}\n\n## Icon link\n\nThis example can be used to set a custom [SVG icon](https://flowbite.com/icons/) inside the hyperlink element.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<p class=\"text-body\">500,000 people & companies have made over a million apps with Glide. <a href=\"#\" class=\"inline-flex items-center font-medium text-fg-brand hover:underline\">\nRead their stories\n<svg class=\"w-5 h-5 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n</a></p>\n\n{{< /example >}}\n\n## CTA link\n\nUse this example to set a hyperlink on a CTA element with text and a custom icon.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"inline-flex items-center justify-center p-5 text-base font-medium border border-default hover:border-default-medium text-body rounded-base bg-neutral-secondary-soft hover:text-heading hover:bg-neutral-tertiary\">\n    <svg aria-hidden=\"true\" class=\"w-5 h-5 me-3\" viewBox=\"0 0 22 31\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_4151_63004)\"><path d=\"M5.50085 30.1242C8.53625 30.1242 10.9998 27.8749 10.9998 25.1035V20.0828H5.50085C2.46546 20.0828 0.00195312 22.332 0.00195312 25.1035C0.00195312 27.8749 2.46546 30.1242 5.50085 30.1242Z\" fill=\"#0ACF83\"/><path d=\"M0.00195312 15.062C0.00195312 12.2905 2.46546 10.0413 5.50085 10.0413H10.9998V20.0827H5.50085C2.46546 20.0827 0.00195312 17.8334 0.00195312 15.062Z\" fill=\"#A259FF\"/><path d=\"M0.00195312 5.02048C0.00195312 2.24904 2.46546 -0.000244141 5.50085 -0.000244141H10.9998V10.0412H5.50085C2.46546 10.0412 0.00195312 7.79193 0.00195312 5.02048Z\" fill=\"#F24E1E\"/><path d=\"M11 -0.000244141H16.4989C19.5343 -0.000244141 21.9978 2.24904 21.9978 5.02048C21.9978 7.79193 19.5343 10.0412 16.4989 10.0412H11V-0.000244141Z\" fill=\"#FF7262\"/><path d=\"M21.9978 15.062C21.9978 17.8334 19.5343 20.0827 16.4989 20.0827C13.4635 20.0827 11 17.8334 11 15.062C11 12.2905 13.4635 10.0413 16.4989 10.0413C19.5343 10.0413 21.9978 12.2905 21.9978 15.062Z\" fill=\"#1ABCFE\"/></g><defs><clipPath id=\"clip0_4151_63004\"><rect width=\"22\" height=\"30.1244\" fill=\"white\" transform=\"translate(0 -0.000244141)\"/></clipPath></defs></svg>                                              \n    <span class=\"w-full\">Get started with our  Figma Design System</span>\n    <svg class=\"w-6 h-6 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n</a> \n{{< /example >}}\n\n## Card link\n\nUse this example to set a hyperlink on a card component.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs hover:bg-neutral-secondary-medium\">\n    <h5 class=\"mb-3 text-2xl font-semibold tracking-tight text-heading leading-8\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"text-body\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n</a>\n{{< /example >}}\n\n## Image link\n\nThis example can be used to set a hyperlink on an image inside a card component.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<div class=\"bg-neutral-primary-soft block max-w-sm border border-default rounded-base shadow-xs\">\n    <a href=\"#\">\n        <img class=\"rounded-t-base\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <div class=\"p-6 text-center\">\n        <span class=\"inline-flex items-center bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded-sm\">\n            <svg class=\"w-3 h-3 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.122 17.645a7.185 7.185 0 0 1-2.656 2.495 7.06 7.06 0 0 1-3.52.853 6.617 6.617 0 0 1-3.306-.718 6.73 6.73 0 0 1-2.54-2.266c-2.672-4.57.287-8.846.887-9.668A4.448 4.448 0 0 0 8.07 6.31 4.49 4.49 0 0 0 7.997 4c1.284.965 6.43 3.258 5.525 10.631 1.496-1.136 2.7-3.046 2.846-6.216 1.43 1.061 3.985 5.462 1.754 9.23Z\"/></svg>\n            Trending\n        </span>\n        <a href=\"#\">\n            <h5 class=\"mt-3 mb-6 text-2xl font-semibold tracking-tight text-heading\">Streamlining your design process with Flowbite.</h5>\n        </a>\n        <a href=\"#\" class=\"inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">\n            Read more\n            <svg class=\"w-4 h-4 ms-1.5 rtl:rotate-180 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n## Card inner link\n\nUse this example to show a highlighted link inside a card component.\n\n{{< example class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<div class=\"bg-neutral-primary-soft block max-w-sm p-6 border border-default rounded-base shadow-xs\">\n    <svg class=\"w-7 h-7 mb-3 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 21v-9m3-4H7.5a2.5 2.5 0 1 1 0-5c1.5 0 2.875 1.25 3.875 2.5M14 21v-9m-9 0h14v8a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-8ZM4 8h16a1 1 0 0 1 1 1v3H3V9a1 1 0 0 1 1-1Zm12.155-5c-3 0-5.5 5-5.5 5h5.5a2.5 2.5 0 0 0 0-5Z\"/></svg>\n    <a href=\"#\">\n        <h5 class=\"mb-2 text-2xl font-semibold tracking-tight text-heading\">Need a help in Claim?</h5>\n    </a>\n    <p class=\"mb-3 text-body\">Go to this step by step guideline process on how to certify for your weekly benefits:</p>\n    <a href=\"#\" class=\"inline-flex font-medium items-center text-fg-brand hover:underline\">\n        See our guideline\n        <svg class=\"w-4 h-4 ms-2 rtl:rotate-[270deg]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778\"/></svg>\n    </a>\n</div>\n{{< /example >}}"
  },
  {
    "path": "content/typography/lists.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Lists - Flowbite\ndescription: Use the list component to show an unordered or ordered list of items based on multiple styles, layouts, and variants built with Tailwind CSS and Flowbite\ngroup: typography\ntoc: true\n\nprevious: Images\npreviousLink: typography/images/\nnext: Links\nnextLink: typography/links/\n---\n\nGet started with a collection of list components built with Tailwind CSS for ordered and unordered lists with bullets, numbers, or icons and other styles and layouts to show a list of items inside an article or throughout your web page.\n\n## Unordered list\n\nUse this example to create a default unordered list of items using the `list-disc` class.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-medium text-heading\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-1 text-body list-disc list-inside\">\n    <li>\n        At least 10 characters (and up to 100 characters)\n    </li>\n    <li>\n        At least one lowercase character\n    </li>\n    <li>\n        Inclusion of at least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n### Icons\n\nThis example can be used to apply custom icons instead of the default bullets for the list items.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-medium text-heading\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-1 text-body list-inside\">\n    <li class=\"flex items-center\">\n         <svg class=\"w-4 h-4 text-fg-success me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        At least 10 characters\n    </li>\n    <li class=\"flex items-center\">\n         <svg class=\"w-4 h-4 text-fg-success me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        At least one lowercase character\n    </li>\n    <li class=\"flex items-center\">\n         <svg class=\"w-4 h-4 text-body me-1.5 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        At least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n### Nested\n\nUse this example to nested another list of items inside the parent list element.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"space-y-4 text-body list-disc list-inside\">\n    <li>\n        List item one\n        <ol class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>You might feel like you are being really \"organized\" o</li>\n            <li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>\n            <li>Nesting tons of folders in your source code is also not helpful.</li>\n        </ol>\n    </li>\n    <li>\n        List item two\n        <ul class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>I'm not sure if we'll bother styling more than two levels deep.</li>\n            <li>Two is already too much, three is guaranteed to be a bad idea.</li>\n            <li>If you nest four levels deep you belong in prison.</li>\n        </ul>\n    </li>\n    <li>\n        List item three\n        <ul class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>Again please don't nest lists if you want</li>\n            <li>Nobody wants to look at this.</li>\n            <li>I'm upset that we even have to bother styling this.</li>\n        </ul>\n    </li>\n</ul>\n{{< /example >}}\n\n### Unstyled\n\nUse the `list-none` class to disable the list style bullets or numbers.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-3 text-lg font-medium text-heading\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-2 text-body list-none list-inside\">\n    <li>\n        At least 10 characters (and up to 100 characters)\n    </li>\n    <li>\n        At least one lowercase character\n    </li>\n    <li>\n        Inclusion of at least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n## Ordered list\n\nUse the `<ol>` tag to create an ordered list of items with numbers.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-3 text-lg font-medium text-heading\">Top students:</h2>\n<ol class=\"max-w-md space-y-2 text-body list-decimal list-inside\">\n    <li>\n        <span class=\"font-medium text-heading\">Bonnie Green</span> with <span class=\"font-medium text-heading\">70</span> points\n    </li>\n    <li>\n        <span class=\"font-medium text-heading\">Jese Leos</span> with <span class=\"font-medium text-heading\">63</span> points\n    </li>\n    <li>\n        <span class=\"font-medium text-heading\">Leslie Livingston</span> with <span class=\"font-medium text-heading\">57</span> points\n    </li>\n</ol>\n{{< /example >}}\n\n### Nested\n\nThis example can be used to nest multiple lists into each other.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<ol class=\"space-y-4 text-body list-decimal list-inside\">\n   <li>\n      List item one\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>You might feel like you are being really \"organized\" o</li>\n         <li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>\n         <li>Nesting tons of folders in your source code is also not helpful.</li>\n      </ul>\n   </li>\n   <li>\n      List item two\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>I'm not sure if we'll bother styling more than two levels deep.</li>\n         <li>Two is already too much, three is guaranteed to be a bad idea.</li>\n         <li>If you nest four levels deep you belong in prison.</li>\n      </ul>\n   </li>\n   <li>\n      List item three\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>Again please don't nest lists if you want</li>\n         <li>Nobody wants to look at this.</li>\n         <li>I'm upset that we even have to bother styling this.</li>\n      </ul>\n   </li>\n</ol>\n{{< /example >}}\n\n## Description list\n\nCreate a description list by using the `<dl>` tag and set the term and name with the following example.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<dl class=\"max-w-md text-heading divide-y divide-default\">\n    <div class=\"flex flex-col pb-3\">\n        <dt class=\"mb-1 text-body\">Email address</dt>\n        <dd class=\"text-lg font-medium\">yourname@flowbite.com</dd>\n    </div>\n    <div class=\"flex flex-col py-3\">\n        <dt class=\"mb-1 text-body\">Home address</dt>\n        <dd class=\"text-lg font-medium\">92 Miles Drive, Newark, NJ 07103, California, USA</dd>\n    </div>\n    <div class=\"flex flex-col pt-3\">\n        <dt class=\"mb-1 text-body\">Phone number</dt>\n        <dd class=\"text-lg font-medium\">+00 123 456 789 / +12 345 678</dd>\n    </div>\n</dl>\n{{< /example >}}\n\n## List with icons\n\nUse this example to create a list of items with [custom SVG icons](https://flowbite.com/icons/) instead of the default bullets.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"space-y-4 text-left text-body\">\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"w-4 h-4 text-fg-success shrink-0 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span>Individual configuration</span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"w-4 h-4 text-fg-success shrink-0 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span>No setup, or hidden fees</span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"w-4 h-4 text-fg-success shrink-0 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span>Team size: <span class=\"font-medium text-heading\">1 developer</span></span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"w-4 h-4 text-fg-success shrink-0 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span>Premium support: <span class=\"font-medium text-heading\">6 months</span></span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"w-4 h-4 text-fg-success shrink-0 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n        <span>Free updates: <span class=\"font-medium text-heading\">6 months</span></span>\n    </li>\n</ul>\n{{< /example >}}\n\n## Advanced layout\n\nThis example can be used to show more details for each list item such as the user's name, email and profile picture.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"max-w-md divide-y divide-default\">\n   <li class=\"pb-3 sm:pb-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-heading truncate\">\n               Neil Sims\n            </p>\n            <p class=\"text-sm text-body truncate\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-heading\">\n            $320\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-heading truncate\">\n               Bonnie Green\n            </p>\n            <p class=\"text-sm text-body truncate\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-heading\">\n            $3467\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-heading truncate\">\n               Michael Gough\n            </p>\n            <p class=\"text-sm text-body truncate\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-heading\">\n            $67\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-heading truncate\">\n               Thomas Lean\n            </p>\n            <p class=\"text-sm text-body truncate\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-heading\">\n            $2367\n         </div>\n      </div>\n   </li>\n   <li class=\"pt-3 pb-0 sm:pt-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-heading truncate\">\n               Lana Byrd\n            </p>\n            <p class=\"text-sm text-body truncate\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-heading\">\n            $367\n         </div>\n      </div>\n   </li>\n</ul>\n{{< /example >}}\n\n## Features list card\n\nUse this example to show a list of features inside a card component.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-6 bg-neutral-primary-soft border border-default rounded-base shadow-xs mx-auto\">\n    <h5 class=\"mb-4 text-xl font-medium text-body\">Standard plan</h5>\n    <div class=\"flex items-baseline text-heading\">\n        <span class=\"text-5xl font-extrabold tracking-tight\">$49</span>\n        <span class=\"ms-2 font-medium text-body\">/month</span>\n    </div>\n    <ul role=\"list\" class=\"space-y-4 my-6\">\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">2 team members</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">20GB Cloud storage</span>\n        </li>\n        <li class=\"flex items-center\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Integration help</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Sketch Files</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">API Access</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">Complete documentation</span>\n        </li>\n        <li class=\"flex items-center line-through decoration-body\">\n            <svg class=\"w-5 h-5 shrink-0 text-fg-brand me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.5 11.5 11 14l4-4m6 2a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/></svg>\n            <span class=\"text-body\">24×7 phone & email support</span>\n        </li>\n    </ul>\n    <button type=\"button\" class=\"w-full text-white bg-brand hover:bg-brand-strong box-border border border-transparent focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-4 py-2.5 focus:outline-none\">Choose plan</button>\n</div>\n\n{{< /example >}}\n\n## Horizontal list\n\nUse this example to create a horizontally aligned list of items.\n\n{{< example github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"flex flex-wrap items-center justify-center text-heading\">\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6 \">About</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Premium</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6 \">Campaigns</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Blog</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Affiliate Program</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">FAQs</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Contact</a>\n    </li>\n</ul>\n{{< /example >}}\n\n\n"
  },
  {
    "path": "content/typography/paragraphs.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Paragraphs - Flowbite\ndescription: Use the paragraph component to create multiple blocks of text separated by blank lines and write content based on multiple layouts and styles based on Tailwind CSS\ngroup: typography\ntoc: true\n\nprevious: Headings\npreviousLink: typography/headings/\nnext: Blockquote\nnextLink: typography/blockquote/\n---\n\nThe paragraph element is one of the most commonly used HTML tags on a document page because it is used to write longer blocks of text separated by a blank line and can massively improve the on-page SEO of the page when used correctly.\n\nGet started with a collection of paragraph components based on multiple styles, layouts, colors and sizes to use for your website built with the utility classes from Tailwind CSS.\n\n## Default paragraph\n\nUse this example of a paragraph element to use inside article content or a landing page.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n\n## Leading paragraph\n\nThe leading text can be used as the first paragraph inside an article content page.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-lg text-body md:text-xl\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work and deploy.</p>\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n## First letter\n\nUse this example to highlight the first letter of the paragraph, often used in e-books and PDF documents.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-heading first-letter:me-3 first-letter:float-start\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n## Paragraph link\n\nThis example can be used to add a custom styled link element inside the paragraph.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-medium text-fg-brand underline hover:no-underline\">Link issues across Jira</a> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n## Paragraph bold\n\nUse this example to highlight a piece of text inside the paragraph by using a bolder font weight.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. <strong class=\"font-semibold text-heading\">Link issues across Jira</strong> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n## Paragraph underline\n\nThis example can be used to underline a certain part of the text inside the paragraph.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. <u class=\"underline\">Link issues across Jira</u> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n## Paragraph italic\n\nUse this example to make the font style of the text inside the paragraph italic.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. <em class=\"font-italic\">Link issues across Jira</em> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n## Paragraph popover\n\nGet started with this example to show a popover with extra information inside paragraph elements.\n\n{{< example class=\"pt-60\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"text-body\">Due to its central geographic location in Southern Europe, <a href=\"#\" class=\"text-fg-brand font-medium underline hover:no-underline\" data-popover-target=\"popover-image\">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>\n<div data-popover id=\"popover-image\" role=\"tooltip\" class=\"absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-lg shadow-xs opacity-0 w-96\">\n    <div class=\"grid grid-cols-5\">\n        <div class=\"col-span-3 pe-3\">\n            <div class=\"space-y-2\">\n                <h3 class=\"font-semibold text-heading\">About Italy</h3>\n                <p class=\"mb-2\">Italy is located in the middle of the Mediterranean Sea, in Southern Europe it is also part of Western Europe.</p>\n                <p>A unitary parliamentary republic with Rome as its capital and largest city.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-fg-brand hover:underline\">\n                    Read more \n                    <svg class=\"w-4 h-4 ms-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/></svg>\n                </a>\n            </div>\n        </div>\n        <img src=\"/docs/images/popovers/italy.png\" class=\"h-full col-span-2 rounded\" alt=\"Italy map\" />\n    </div>\n    <div data-popper-arrow></div>\n</div>\n\n{{< /example >}}\n\n## Layout\n\nGet started with examples of layouts for the paragraph component to separate content into multiple rows and columns.\n\n### One column\n\nUse this example to show multiple paragraphs on a single line.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n### Two columns even\n\nUse this example to separate paragraphs into two columns for better readability.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-2\">\n    <p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n</div>\n<p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n### Three columns even\n\nThis example can be used to separate paragraphs into three separate columns.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-3\">\n    <p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n    <p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n</div>\n<p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n### Two columns uneven\n\nUse this example to separate paragraphs into two uneven columns.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-3\">\n    <div class=\"col-span-2\">\n        <p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n        <p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n    </div>\n    <p class=\"mb-3 text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n</div>\n<p class=\"mb-3 text-body\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n## Text alignment\n\nAlign the paragraph component to the left (default), center or right side of the document page using the `text-{left|center|right}` utility class from Tailwind CSS.\n\n### Left\n\nThe default alignment of the paragraph is to the left side and you can use the `text-left` class to align it manually.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-left rtl:text-right text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n### Center\n\nUse the `text-center` class to align the paragraph text to the center.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-center text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n### Right\n\nUse the `text-right` utility class to align the paragraph text the right side of the page.\n\n{{< example github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-right rtl:text-left text-body\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}"
  },
  {
    "path": "content/typography/text-decoration.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Text Decoration - Flowbite\ndescription: Use the typography plugin from Flowbite to apply styles to all inline elements like headings, paragraphs, lists, and images using a single format class\ngroup: typography\ntoc: true\n\nprevious: List group\npreviousLink: components/list-group/\nnext: Modals\nnextLink: components/modal/\n---\n\n"
  },
  {
    "path": "content/typography/text.md",
    "content": "---\nlayout: docs\ntitle: Tailwind CSS Text - Flowbite\ndescription: Learn how to customize text-related styles and properties such as font size, font style, text decoration, font weight and more using Tailwind CSS classes\ngroup: typography\ntoc: true\n\nprevious: Links\npreviousLink: typography/links/\nnext: Horizontal line (HR)\nnextLink: typography/hr/\n---\n\nGet started with a collection of text customization examples to learn how to update the size, font weight, style, decoration and spacing of inline text elements using Tailwind CSS.\n\n## Font size\n\nUse this example to set the font size of inline text elements using the `text-{size}` class.\n\n{{< example class=\"flex items-center space-x-4 rtl:space-x-reverse\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-xs text-heading\">Aa</p>\n<p class=\"text-sm text-heading\">Aa</p>\n<p class=\"text-base text-heading\">Aa</p>\n<p class=\"text-lg text-heading\">Aa</p>\n<p class=\"text-xl text-heading\">Aa</p>\n<p class=\"text-2xl text-heading\">Aa</p>\n<p class=\"text-3xl text-heading\">Aa</p>\n<p class=\"text-4xl text-heading\">Aa</p>\n<p class=\"text-5xl text-heading\">Aa</p>\n<p class=\"text-6xl text-heading\">Aa</p>\n<p class=\"text-7xl text-heading\">Aa</p>\n<p class=\"text-8xl text-heading\">Aa</p>\n<p class=\"text-9xl text-heading\">Aa</p>\n{{< /example >}}\n\n## Font weight\n\nThis example can be used to the font weight of an inline text element using the `font-{size}` class.\n\n{{< example class=\"flex items-center space-x-8 rtl:space-x-reverse\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-4xl font-thin text-heading\">Aa</p>\n<p class=\"text-4xl font-extralight text-heading\">Aa</p>\n<p class=\"text-4xl text-heading\">Aa</p>\n<p class=\"text-4xl font-normal text-heading\">Aa</p>\n<p class=\"text-4xl font-medium text-heading\">Aa</p>\n<p class=\"text-4xl font-semibold text-heading\">Aa</p>\n<p class=\"text-4xl font-bold text-heading\">Aa</p>\n<p class=\"text-4xl font-extrabold text-heading\">Aa</p>\n<p class=\"text-4xl font-black text-heading\">Aa</p>\n{{< /example >}}\n\n## Text color\n\nUse the `text-{color}` classes from Tailwind CSS to set the color of the inline text.\n\n{{< example class=\"space-y-2\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-fg-brand\">This text is in the brand color.</p>\n<p class=\"text-success\">This text is in the green color.</p>\n<p class=\"text-danger\">This text is in the red color.</p>\n<p class=\"text-purple\">This text is in the purple color.</p>\n<p class=\"text-teal\">This text is in the teal color.</p>\n{{< /example >}}\n\n## Letter spacing\n\nIncrease or decrease the spacing between letters using the `tracking-{type}` class.\n\n{{< example class=\"space-y-3\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"tracking-tighter text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-tight text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-normal text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-wide text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-wider text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-widest text-body md:text-lg\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n## Text Decoration\n\nSet decoration for the inline text elements such as underline, line through or uppercase using classes from Tailwind CSS.\n\n### Underline\n\nUnderline text by using the `underline` class or disable it using `no-underline`.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-semibold text-heading underline decoration-indigo\">Link issues across Jira</a> and ingest data from other <a href=\"#\" class=\"font-semibold text-heading underline decoration-brand\">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href=\"#\" class=\"font-semibold text-heading underline decoration-success\">requests</a>, <a href=\"#\" class=\"font-semibold text-heading underline decoration-danger\">incidents</a>, and <a href=\"#\" class=\"font-semibold text-heading underline decoration-sky\">changes</a>.</p>\n{{< /example >}}\n\n### Line through\n\nSet a strikethrough line on a text element using the `line-through` class.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<span class=\"text-lg font-medium text-heading line-through\">$109</span><span class=\"ms-3 text-lg font-medium text-heading\">$79</span>\n{{< /example >}}\n\n### Uppercase\n\nForce uppercase characters for a given portion of text using the `uppercase` class.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-heading\">The crypto <span class=\"uppercase\">identity</span> primitive.</p>\n{{< /example >}}\n\n## Font style\n\nSet italic or non italic styles with the utility classes from Tailwind CSS.\n\n### Italic\n\nUse the `italic` class from Tailwind CSS to set italic font style to a text element.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-heading\">The crypto <span class=\"italic\">identity</span> primitive.</p>\n{{< /example >}}\n\n### Normal\n\nText elements by default are non-italic.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-heading\">The crypto identity primitive.</p>\n{{< /example >}}\n\n## Line Height\n\nSet the height between lines using the `leading-{type}` classes from Tailwind CSS.\n\n### Leading normal\n\nUse the `leading-normal` class to set default line height.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-normal text-heading\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n### Leading relaxed\n\nUse the `leading-relaxed` class to increase the space between lines.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-relaxed text-heading\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n### Leading loose\n\nUse the `leading-loose` class to set a large amount of space between text lines.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-loose text-heading\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n## Text Align\n\nUse the following examples to align the text content to the left, center, or right side of the page.\n\n### Left\n\nUse the `text-left` class to align the text to the left side of the page.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-left rtl:text-right text-body\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n### Center\n\nUse the `text-center` class to align the text content to the center of the page.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-center text-body\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n### Right\n\nUse the `text-right` class to align the text element to the right side of the page.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-right rtl:text-left text-body\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n### Text justify\n\nUse the `text-justify` class to justify the text content.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-justify text-body\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n## Whitespace\n\nConfigure the whitespace behaviour of inline text elements using classes from Tailwind CSS.\n\n### Normal\n\nUse the `whitespace-normal` class to set the default whitespace behaviour.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-body whitespace-normal\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n### Nowrap\n\nUse the `whitespace-nowrap` class to prevent text being added to a new line when the full width has been reached.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-body whitespace-nowrap\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n### Pre line\n\nUse the `whitespace-pre-line` class to add whitespace exactly how it has been set from the source code.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-body whitespace-pre-line\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n## Text Decoration Style\n\nUpdate the text decoration style using the `decoration-{*}` classes from Tailwind CSS.\n\n{{< example github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-body\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-semibold text-heading underline decoration-indigo\">Link issues across Jira</a> and ingest data from other <a href=\"#\" class=\"font-semibold text-heading underline decoration-brand decoration-double\">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href=\"#\" class=\"font-semibold text-heading underline decoration-success decoration-dotted\">requests</a>, <a href=\"#\" class=\"font-semibold text-heading underline decoration-danger decoration-dashed\">incidents</a>, and <a href=\"#\" class=\"font-semibold text-heading underline decoration-sky decoration-wavy\">changes</a>.</p>\n{{< /example >}}\n\n## Opacity\n\nUse the `text-{color}-{opacity}` class from Tailwind CSS to set the opacity of inline text elements.\n\n{{< example class=\"space-y-3\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-xl font-semibold text-fg-brand/100\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-fg-brand/75\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-fg-brand/50\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-fg-brand/25\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n"
  },
  {
    "path": "data/colors.yml",
    "content": "- name: blue\n  context: info\n- name: red\n  context: danger\n- name: yellow\n  context: warning\n- name: green\n  context: success\n- name: gray\n  context: dark"
  },
  {
    "path": "data/sidebar.yml",
    "content": "- title: Getting started\n  slug: getting-started\n  pages:\n    - title: Introduction\n    - title: Quickstart\n    - title: JavaScript\n    - title: TypeScript\n    - title: MCP\n      new: true\n    - title: LLM\n    - title: License\n    - title: Changelog\n\n- title: Integration guides\n  slug: getting-started\n  pages:\n      - title: React\n      - title: Next.js\n        slug: next-js\n      - title: Vue\n      - title: Nuxt\n        slug: nuxt-js\n      - title: Svelte\n      - title: Angular\n      - title: Astro\n      - title: Remix\n      - title: Meteor.js\n        slug: meteor-js\n      - title: Gatsby\n      - title: SolidJS\n        slug: solid-js\n      - title: Qwik\n      - title: Laravel\n      - title: Symfony\n      - title: Rails\n      - title: Phoenix\n      - title: Django\n      - title: Flask\n      - title: Blazor\n      - title: Hugo\n      - title: MCP UI\n        new: true\n\n- title: Customize\n  slug: customize\n  pages:\n      - title: Configuration\n      - title: Variables\n        new: true\n      - title: Dark Mode\n      - title: Theming\n      - title: Colors\n      - title: Icons\n      - title: RTL\n      - title: Optimization\n\n- title: Components\n  slug: components\n  pages:\n      - title: Accordion\n      - title: Alerts\n      - title: Avatar\n      - title: Badge\n      - title: Banner\n      - title: Bottom Navigation\n      - title: Breadcrumb\n      - title: Buttons\n      - title: Button Group\n      - title: Card\n      - title: Carousel\n      - title: Chat Bubble\n      - title: Clipboard\n      - title: Datepicker\n      - title: Device Mockups\n      - title: Drawer\n      - title: Dropdowns\n      - title: Footer\n      - title: Forms\n      - title: Gallery\n      - title: Indicators\n      - title: Jumbotron\n      - title: KBD\n      - title: List Group\n      - title: Mega Menu\n      - title: Modal\n      - title: Navbar\n      - title: Pagination\n      - title: Popover\n      - title: Progress\n      - title: Rating\n      - title: Sidebar\n      - title: Skeleton\n      - title: Speed Dial\n      - title: Spinner\n      - title: Stepper\n      - title: Tables\n      - title: Tabs\n      - title: Timeline\n      - title: Toast\n      - title: Tooltips\n      - title: Typography\n      - title: QR Code\n        new: true\n      - title: Video\n\n- title: Forms\n  slug: forms\n  pages:\n      - title: Input Field\n      - title: File Input\n      - title: Search Input\n      - title: Number Input\n      - title: Phone Input\n      - title: Select\n      - title: Textarea\n      - title: Timepicker\n      - title: Checkbox\n      - title: Radio\n      - title: Toggle\n      - title: Range\n      - title: Floating Label\n\n- title: Typography\n  slug: typography\n  pages:\n      - title: Headings\n      - title: Paragraphs\n      - title: Blockquote\n      - title: Images\n      - title: Lists\n      - title: Links\n      - title: Text\n      - title: HR\n\n- title: Plugins\n  slug: plugins\n  pages:\n      - title: Charts\n      - title: Datatables\n        new: true\n      - title: WYSIWYG\n        new: true\n"
  },
  {
    "path": "layouts/404.html",
    "content": "{{ define \"body_override\" }}<body>{{ end }}\n{{ define \"main\" }}\n  <main id=\"content\">\n    {{ .Content }}\n  </main>\n{{ end }}\n"
  },
  {
    "path": "layouts/_markup/render-heading.html",
    "content": "<!-- <h{{ .Level }} id=\"{{ .Anchor | safeURL }}\">{{ .Text | safeHTML }}\n{{- if and (ge .Level .Page.Site.Params.anchors.min) (le .Level .Page.Site.Params.anchors.max) }}{{\" \" -}}\n<a class=\"anchor-link\" href=\"#{{ .Anchor | safeURL }}\" aria-label=\"Link to this section: {{ .Text | safeHTML }}\"></a>\n{{- end -}}\n</h{{ .Level }}> -->\n<h{{ .Level }} class=\"relative group\">{{ .Text | safeHTML }}\n<span id=\"{{ .Anchor | safeURL }}\" class=\"absolute -top-[140px]\"></span>\n{{- if and (ge .Level 2) (le .Level 4) }}{{\" \" -}}\n<a class=\"ml-2 text-fg-brand opacity-0 transition-opacity dark:text-fg-brand group-hover:opacity-100\" href=\"#{{ .Anchor | safeURL }}\" aria-label=\"Link to this section: {{ .Text | safeHTML }}\">#</a>\n{{- end -}}\n</h{{ .Level }}>"
  },
  {
    "path": "layouts/_partials/analytics.html",
    "content": "<!-- Fathom - beautiful, simple website analytics -->\n<script src=\"https://cdn.usefathom.com/script.js\" data-site=\"UGPDODOP\" defer></script>\n<!-- / Fathom -->"
  },
  {
    "path": "layouts/_partials/favicons.html",
    "content": "<link rel=\"apple-touch-icon\" sizes=\"57x57\" href=\"/docs/apple-icon-57x57.png\">\n<link rel=\"apple-touch-icon\" sizes=\"60x60\" href=\"/docs/apple-icon-60x60.png\">\n<link rel=\"apple-touch-icon\" sizes=\"72x72\" href=\"/docs/apple-icon-72x72.png\">\n<link rel=\"apple-touch-icon\" sizes=\"76x76\" href=\"/docs/apple-icon-76x76.png\">\n<link rel=\"apple-touch-icon\" sizes=\"114x114\" href=\"/docs/apple-icon-114x114.png\">\n<link rel=\"apple-touch-icon\" sizes=\"120x120\" href=\"/docs/apple-icon-120x120.png\">\n<link rel=\"apple-touch-icon\" sizes=\"144x144\" href=\"/docs/apple-icon-144x144.png\">\n<link rel=\"apple-touch-icon\" sizes=\"152x152\" href=\"/docs/apple-icon-152x152.png\">\n<link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/docs/apple-icon-180x180.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"192x192\"  href=\"/docs/android-icon-192x192.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/favicon-32x32.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"96x96\" href=\"/docs/favicon-96x96.png\">\n<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/favicon-16x16.png\">\n<link rel=\"manifest\" href=\"/docs/manifest.json\">\n<meta name=\"msapplication-TileColor\" content=\"#ffffff\">\n<meta name=\"msapplication-TileImage\" content=\"/ms-icon-144x144.png\">\n<meta name=\"theme-color\" content=\"#ffffff\">\n"
  },
  {
    "path": "layouts/_partials/footer.html",
    "content": "<aside class=\"fixed z-50 hidden right-5 bottom-5 sm:block\">\n    <script async type=\"text/javascript\" src=\"//cdn.carbonads.com/carbon.js?serve=CK7D4KQE&placement=flowbitedesign\" id=\"_carbonads_js\"></script>\n  </aside>\n\n<aside id=\"copied-code-alert\" class=\"fixed z-50 p-4 hidden transition-opacity bg-gray-100 border border-gray-200 rounded-lg opacity-0 bottom-5 left-5 dark:border-gray-700 shadow-xs dark:bg-gray-800\" aria-label=\"Copied to clipboard success message\">\n    <svg class=\"w-5 h-5 text-green-700 dark:text-green-600\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z\" clip-rule=\"evenodd\"></path></svg>\n    <p class=\"ml-2 text-sm font-medium text-gray-600 dark:text-gray-300\">Copied code to clipboard!</p>\n</aside>\n\n<footer class=\"bg-neutral-primary border-t border-light-subtle bg-linear-to-t from-0% dark:from-brand/8 from-neutral-tertiary to-[24rem] to-primary\">\n    <div class=\"border-b border-light-subtle\">\n        <div class=\"w-full mx-auto max-w-8xl border-s border-e border-light-subtle\">\n            <div class=\"grid gap-12 xl:grid-cols-6 xl:gap-24 px-6 xl:pt-18 py-12\">\n                <div class=\"col-span-2\">\n                    <a href=\"{{ .Site.Params.homepage }}/\" class=\"flex mb-5\">\n                        <img src=\"/docs/images/logo.svg\" class=\"h-7 mr-3 group-data-[theme=modern]/root:block hidden\" alt=\"FlowBite Logo\" />\n                        <img src=\"/docs/images/logo-minimal.svg\" class=\"h-7 mr-3 group-data-[theme=minimal]/root:block hidden\" alt=\"FlowBite Logo\" />\n                        <img src=\"/docs/images/logo-enterprise.svg\" class=\"h-7 mr-3 group-data-[theme=enterprise]/root:block hidden\" alt=\"FlowBite Logo\" />\n                        <img src=\"/docs/images/logo-playful.svg\" class=\"h-7 mr-3 group-data-[theme=playful]/root:block hidden\" alt=\"FlowBite Logo\" />\n                        <img src=\"/docs/images/logo-mono.svg\" class=\"h-7 mr-3 group-data-[theme=mono]/root:block hidden\" alt=\"FlowBite Logo\" />\n                        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white leading-none\">Flowbite</span>\n                      </a>\n                    <p class=\"max-w-lg mb-3 text-body leading-relaxed\">Flowbite is a library of interactive UI components built with Tailwind CSS that can get you started building websites faster and more efficiently.</p>\n                    <p class=\"max-w-lg text-body\">Code licensed <a href=\"https://github.com/themesberg/flowbite/blob/main/LICENSE.md\" class=\"text-fg-brand hover:underline\" rel=\"nofollow\">MIT</a>, docs <a href=\"https://creativecommons.org/licenses/by/3.0/\" class=\"text-fg-brand hover:underline\" rel=\"nofollow\">CC BY 3.0</a>.</p>\n                    <div class=\"flex items-center mt-2 -ms-2\">\n                        <a href=\"https://github.com/themesberg/flowbite\" rel=\"nofollow noreferrer noopener\" target=\"_blank\" data-tooltip-target=\"tooltip-github-2\" class=\"inline-flex items-center justify-center text-body w-10 h-10 hover:text-heading hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\" >\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.006 2a9.847 9.847 0 0 0-6.484 2.44 10.32 10.32 0 0 0-3.393 6.17 10.48 10.48 0 0 0 1.317 6.955 10.045 10.045 0 0 0 5.4 4.418c.504.095.683-.223.683-.494 0-.245-.01-1.052-.014-1.908-2.78.62-3.366-1.21-3.366-1.21a2.711 2.711 0 0 0-1.11-1.5c-.907-.637.07-.621.07-.621.317.044.62.163.885.346.266.183.487.426.647.71.135.253.318.476.538.655a2.079 2.079 0 0 0 2.37.196c.045-.52.27-1.006.635-1.37-2.219-.259-4.554-1.138-4.554-5.07a4.022 4.022 0 0 1 1.031-2.75 3.77 3.77 0 0 1 .096-2.713s.839-.275 2.749 1.05a9.26 9.26 0 0 1 5.004 0c1.906-1.325 2.74-1.05 2.74-1.05.37.858.406 1.828.101 2.713a4.017 4.017 0 0 1 1.029 2.75c0 3.939-2.339 4.805-4.564 5.058a2.471 2.471 0 0 1 .679 1.897c0 1.372-.012 2.477-.012 2.814 0 .272.18.592.687.492a10.05 10.05 0 0 0 5.388-4.421 10.473 10.473 0 0 0 1.313-6.948 10.32 10.32 0 0 0-3.39-6.165A9.847 9.847 0 0 0 12.007 2Z\" clip-rule=\"evenodd\"/></svg>\n                            <span class=\"sr-only\">View on Github</span>\n                        </a>\n                        <div id=\"tooltip-github-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n                            View on Github\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                        <a href=\"https://discord.gg/4eeurUVvTy\" rel=\"nofollow noreferrer noopener\" target=\"_blank\" data-tooltip-target=\"tooltip-discord-2\" class=\"inline-flex items-center justify-center text-body w-10 h-10 hover:text-heading hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\" >\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path d=\"M18.942 5.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.586 11.586 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3 17.392 17.392 0 0 0-2.868 11.662 15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.638 10.638 0 0 1-1.706-.83c.143-.106.283-.217.418-.331a11.664 11.664 0 0 0 10.118 0c.137.114.277.225.418.331-.544.328-1.116.606-1.71.832a12.58 12.58 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM8.678 14.813a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.929 1.929 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z\"/></svg>\n                            <span class=\"sr-only\">Join Discord community</span>\n                        </a>\n                        <div id=\"tooltip-discord-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n                            Join community on Discord\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                        <a href=\"https://www.youtube.com/channel/UC_Ms4V2kYDsh7F_CSsHyQ6A\" rel=\"nofollow noreferrer noopener\" target=\"_blank\" data-tooltip-target=\"tooltip-youtube\" class=\"inline-flex items-center justify-center text-body hover:text-heading w-10 h-10 hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\" >\n                            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                            <path fill-rule=\"evenodd\" d=\"M21.7 8.037a4.26 4.26 0 0 0-.789-1.964 2.84 2.84 0 0 0-1.984-.839c-2.767-.2-6.926-.2-6.926-.2s-4.157 0-6.928.2a2.836 2.836 0 0 0-1.983.839 4.225 4.225 0 0 0-.79 1.965 30.146 30.146 0 0 0-.2 3.206v1.5a30.12 30.12 0 0 0 .2 3.206c.094.712.364 1.39.784 1.972.604.536 1.38.837 2.187.848 1.583.151 6.731.2 6.731.2s4.161 0 6.928-.2a2.844 2.844 0 0 0 1.985-.84 4.27 4.27 0 0 0 .787-1.965 30.12 30.12 0 0 0 .2-3.206v-1.516a30.672 30.672 0 0 0-.202-3.206Zm-11.692 6.554v-5.62l5.4 2.819-5.4 2.801Z\" clip-rule=\"evenodd\"/>\n                            </svg>\n                            <span class=\"sr-only\">Flowbite YouTube</span>\n                        </a>\n                        <div id=\"tooltip-youtube\" role=\"tooltip\" class=\"absolute z-10 invisible inline-flex px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n                            Subscribe to YouTube channel\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                        <a href=\"https://x.com/flowbite_ui\" rel=\"nofollow noreferrer noopener\" target=\"_blank\" data-tooltip-target=\"tooltip-twitter\" class=\"hover:text-heading inline-flex items-center justify-center text-body w-10 h-10 hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\" >\n                            <svg class=\"w-4.5 h-4.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                            <path d=\"M13.795 10.533 20.68 2h-3.073l-5.255 6.517L7.69 2H1l7.806 10.91L1.47 22h3.074l5.705-7.07L15.31 22H22l-8.205-11.467Zm-2.38 2.95L9.97 11.464 4.36 3.627h2.31l4.528 6.317 1.443 2.02 6.018 8.409h-2.31l-4.934-6.89Z\"/>\n                            </svg>\n                            <span class=\"sr-only\">Flowbite on Twitter/X</span>\n                        </a>\n                        <div id=\"tooltip-twitter\" role=\"tooltip\" class=\"absolute z-10 invisible inline-flex px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n                            Follow us on Twitter/X\n                            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                        </div>\n                    </div>\n                </div>\n                <div>\n                    <h3 class=\"mb-6 font-medium text-heading\">Resources</h3>\n                    <ul class=\"text-sm font-normal text-body\">\n                        <li class=\"mb-6\">\n                            <a href=\"{{ .Site.Params.homepage }}/\"\n                                class=\"hover:underline\">Documentation</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/blocks/\"\n                                class=\"hover:underline\">Flowbite Blocks</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/figma/\"\n                                class=\"hover:underline\">Figma Design</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/icons/\"\n                                class=\"hover:underline\">Flowbite Icons</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://chat.openai.com/g/g-y7yC35HB9-flowbite-gpt\"\n                                class=\"hover:underline\">Flowbite GPT</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"{{ .Site.Params.homepage }}/pro/\"\n                                class=\"hover:underline\">Pro version</a>\n                        </li>\n                    </ul>\n                </div>\n                <div>\n                    <h3 class=\"mb-6 font-medium text-heading\">Help and support</h3>\n                    <ul class=\"text-sm font-normal text-body\">\n                        <li class=\"mb-6\">\n                            <a href=\"{{ .Site.Params.homepage }}/contact/\" rel=\"noreferrer nofollow\"\n                                class=\"hover:underline\">Contact us</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://github.com/themesberg/flowbite/discussions\" rel=\"noreferrer nofollow\"\n                                class=\"hover:underline\">Github discussions</a>\n                        </li>\n                        <li class=\"mb-4 flex items-center\">\n                            <a href=\"https://flowbite.com/work-with-us/\" class=\"hover:underline\">Hire us </a>\n                            <span class=\"ms-2 bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded\">New</span>\n                        </li>\n                    </ul>\n                </div>\n                <div>\n                    <h3 class=\"mb-6 font-medium text-heading\">Legal</h3>\n                    <ul class=\"text-sm font-normal text-body\">\n                        <li class=\"mb-6\">\n                            <a href=\"{{ .Site.Params.homepage }}/license/\" class=\"hover:underline\">License (EULA)</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/privacy-policy/\"\n                                class=\"hover:underline\">Privacy Policy</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/terms-and-conditions/\"\n                                class=\"hover:underline\">Terms & Conditions</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://flowbite.com/brand/\"\n                                class=\"hover:underline\">Brand guideline</a>\n                        </li>\n                    </ul>\n                </div>\n                <div>\n                    <h3 class=\"mb-6 font-medium text-heading\">Follow us</h3>\n                    <ul class=\"text-sm font-normal text-body\">\n                        <li class=\"mb-6\">\n                            <a href=\"https://discord.gg/4eeurUVvTy\" rel=\"noreferrer nofollow\"\n                                class=\"hover:underline\">Discord</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://github.com/themesberg/flowbite\"\n                                class=\"hover:underline\">Github</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://twitter.com/zoltanszogyenyi\" rel=\"noreferrer nofollow\"\n                                class=\"hover:underline\">Twitter/X</a>\n                        </li>\n                        <li class=\"mb-6\">\n                            <a href=\"https://www.linkedin.com/in/zoltanszogyenyi/\" rel=\"noreferrer nofollow\"\n                                class=\"hover:underline\">LinkedIn</a>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n        </div>\n    </div>\n    <div class=\"w-full mx-auto max-w-8xl border-s border-e border-light-subtle px-6 py-12\">\n        <span class=\"block text-center text-body text-sm font-normal\">© 2019-<span id=\"currentYear\"></span> <a href=\"{{ .Site.Params.homepage }}/\" class=\"hover:underline\">Flowbite™</a> is a registered trademark. All Rights Reserved.\n    </span>\n    </div>\n</footer>\n"
  },
  {
    "path": "layouts/_partials/header.html",
    "content": "<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<meta name=\"description\" content=\"{{ .Page.Params.description | default .Site.Params.description | markdownify }}\">\n<meta name=\"author\" content=\"{{ .Site.Params.authors }}\">\n<meta name=\"generator\" content=\"Hugo {{ hugo.Version }}\">\n\n<title>{{ .Params.Title | markdownify }}</title>\n\n<link rel=\"canonical\" href=\"{{ .Permalink }}\">\n\n{{ with .Params.robots -}}\n<meta name=\"robots\" content=\"{{ . }}\">\n{{- end }}\n\n{{ partial \"stylesheet\" . }}\n{{ partial \"favicons\" . }}\n{{ partial \"social\" . }}\n{{ partial \"analytics\" . }}\n\n<script>\n    // On page load or when changing themes, best to add inline in `head` to avoid FOUC\n    if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n        document.documentElement.classList.add('dark');\n    } else {\n        document.documentElement.classList.remove('dark')\n    }\n\n    if (localStorage.getItem('css-theme') &&  ('css-theme' in localStorage)) {\n        document.documentElement.setAttribute('data-theme', localStorage.getItem('css-theme'));\n    }\n\n</script>"
  },
  {
    "path": "layouts/_partials/navbar.html",
    "content": "<header class=\"fixed top-0 z-40 flex-none w-full mx-auto bg-neutral-primary border-b border-light-subtle\">\n  <div\n      id='banner'\n      tabIndex='-1'\n      class='z-50 flex justify-center w-full px-4 py-3 border border-b border-light bg-neutral-secondary-soft lg:py-4'>\n      <div class='items-center md:flex'>\n        <p class='text-sm font-medium text-heading md:my-0'>\n          <span class='bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1.5 py-0.5 rounded me-2 hidden md:inline'>New</span>\n              We have launched the new Flowbite Design System with variable tokens and more!\n            <a href=\"https://flowbite.com/figma/\" class='inline-flex items-center ml-2 text-sm text-fg-brand font-medium md:ml-2 hover:underline'>\n              Check it out\n              <svg class=\"w-3 h-3 ml-1.5 text-fg-brand\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n              </svg>\n            </a>\n        </p>\n      </div>\n  </div>\n  <div class=\"flex items-center justify-between w-full px-3 py-3 mx-auto max-w-8xl xl:px-0\">\n    <div class=\"flex items-center\">\n      <div class=\"flex items-center justify-between\">\n        <button id=\"toggleSidebarMobile\" aria-expanded=\"true\" aria-controls=\"sidebar\" class=\"block me-3 text-body rounded-sm cursor-pointer lg:hidden hover:text-heading hover:bg-neutral-secondary focus:ring-2 focus:ring-neutral-quaternary\">\n          <svg id=\"toggleSidebarMobileHamburger\" class=\"w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z\" clip-rule=\"evenodd\"></path></svg>\n          <svg id=\"toggleSidebarMobileClose\" class=\"hidden w-6 h-6\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n        </button>\n        <div class=\"flex items-center xl:w-60\">\n          <a href=\"{{ .Site.Params.homepage }}/\" class=\"flex me-3\">\n            <img src=\"/docs/images/logo.svg\" class=\"h-7 mr-3 group-data-[theme=modern]/root:block hidden\" alt=\"FlowBite Logo\" />\n            <img src=\"/docs/images/logo-minimal.svg\" class=\"h-7 mr-3 group-data-[theme=minimal]/root:block hidden\" alt=\"FlowBite Logo\" />\n            <img src=\"/docs/images/logo-enterprise.svg\" class=\"h-7 mr-3 group-data-[theme=enterprise]/root:block hidden\" alt=\"FlowBite Logo\" />\n            <img src=\"/docs/images/logo-playful.svg\" class=\"h-7 mr-3 group-data-[theme=playful]/root:block hidden\" alt=\"FlowBite Logo\" />\n            <img src=\"/docs/images/logo-mono.svg\" class=\"h-7 mr-3 group-data-[theme=mono]/root:block hidden\" alt=\"FlowBite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white leading-none\">Flowbite</span>\n          </a>\n          <button id=\"dropdownFlowbiteVersionButton\" data-dropdown-toggle=\"dropdownFlowbiteVersion\" class=\"hidden sm:inline-flex items-center justify-center text-fg-brand bg-brand-softer box-border border border-transparent hover:bg-brand-soft focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-xs px-2 py-0.5 focus:outline-none\" type=\"button\">\n            v4.0\n            <svg class=\"w-3 h-3 ms-1 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\"/></svg>\n          </button>\n\n          <!-- Dropdown menu -->\n          <div id=\"dropdownFlowbiteVersion\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-24\">\n              <ul class=\"p-2 text-xs text-body font-medium\" aria-labelledby=\"dropdownFlowbiteVersionButton\">\n                <li>\n                  <a rel=\"noopener noreferrer nofollow\" href=\"https://v3.flowbite.com/docs/\" onclick=\"this.href='https://v3.flowbite.com' + window.location.pathname\" class=\"inline-flex items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded\">v3.1.2</a>\n                </li>\n              </ul>\n          </div>\n        </div>\n      </div>\n      <div id=\"docsearch\" class=\"hidden md:flex ml-3 xl:ml-[18px]\"></div>\n    </div>\n\n    <div class=\"flex items-center\">\n      <ul id=\"flowbiteMenu\" class=\"flex-col hidden pt-6 lg:flex-row lg:self-center lg:py-0 lg:flex\">\n        <li class=\"mb-3 lg:px-2 xl:px-2 lg:mb-0\">\n          <a href=\"{{ \"getting-started/quickstart/\" | relURL }}\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Quickstart</a>\n        </li>\n        <li class=\"mb-3 lg:px-2 xl:px-2 lg:mb-0\">\n          <a href=\"https://flowbite.com/blocks/\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Blocks</a>\n        </li>\n        <li class=\"mb-3 lg:px-2 xl:px-2 lg:mb-0\">\n          <a href=\"https://flowbite.com/figma/\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Figma</a>\n        </li>\n        <li class=\"mb-3 lg:px-2 xl:px-2 lg:mb-0\">\n          <a href=\"https://flowbite.com/icons/\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Icons</a>\n        </li>\n        <li class=\"mb-3 lg:px-2 xl:px-2 lg:mb-0\">\n          <a href=\"https://flowbite.com/illustrations/\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Illustrations</a>\n        </li>\n        <li class=\"hidden mb-3 lg:px-2 xl:px-2 lg:mb-0 xl:block\">\n          <a href=\"https://flowbite.com/pro/\" class=\"text-sm font-medium text-heading hover:text-fg-brand\">Pro version</a>\n        </li>\n      </ul>\n      <div id=\"docsearch-mobile\" class=\"sm:hidden\"></div>\n    <div class=\"hidden sm:inline-flex rounded-base shadow-xs -space-x-px mx-2\" role=\"group\">\n        <a href=\"https://github.com/themesberg/flowbite\" target=\"_blank\" class=\"inline-flex items-center text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-s-base text-sm px-2 py-1 focus:outline-none\">\n          <svg class=\"w-4 h-4 text-heading\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\"><path fill-rule=\"evenodd\" d=\"M12.006 2a9.847 9.847 0 0 0-6.484 2.44 10.32 10.32 0 0 0-3.393 6.17 10.48 10.48 0 0 0 1.317 6.955 10.045 10.045 0 0 0 5.4 4.418c.504.095.683-.223.683-.494 0-.245-.01-1.052-.014-1.908-2.78.62-3.366-1.21-3.366-1.21a2.711 2.711 0 0 0-1.11-1.5c-.907-.637.07-.621.07-.621.317.044.62.163.885.346.266.183.487.426.647.71.135.253.318.476.538.655a2.079 2.079 0 0 0 2.37.196c.045-.52.27-1.006.635-1.37-2.219-.259-4.554-1.138-4.554-5.07a4.022 4.022 0 0 1 1.031-2.75 3.77 3.77 0 0 1 .096-2.713s.839-.275 2.749 1.05a9.26 9.26 0 0 1 5.004 0c1.906-1.325 2.74-1.05 2.74-1.05.37.858.406 1.828.101 2.713a4.017 4.017 0 0 1 1.029 2.75c0 3.939-2.339 4.805-4.564 5.058a2.471 2.471 0 0 1 .679 1.897c0 1.372-.012 2.477-.012 2.814 0 .272.18.592.687.492a10.05 10.05 0 0 0 5.388-4.421 10.473 10.473 0 0 0 1.313-6.948 10.32 10.32 0 0 0-3.39-6.165A9.847 9.847 0 0 0 12.007 2Z\" clip-rule=\"evenodd\"/></svg>\n          <span class=\"text-heading text-xs ms-1\">GitHub</span>\n        </a>\n        <a href=\"https://github.com/themesberg/flowbite/stargazers\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" class=\"text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-3 focus:ring-neutral-tertiary-soft font-medium leading-5 rounded-e-base text-xs px-2 py-1 focus:outline-none\" disabled>\n          <span id=\"github_stars\"></span>\n        </a>\n      </div>\n      <button id=\"theme-toggle\" data-tooltip-target=\"tooltip-toggle\" type=\"button\" class=\"inline-flex hover:text-heading items-center justify-center text-body w-10 h-10 hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\">\n        <svg id=\"theme-toggle-dark-icon\" class=\"hidden w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\"/>\n        </svg>\n        <svg id=\"theme-toggle-light-icon\" class=\"hidden w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5V3m0 18v-2M7.05 7.05 5.636 5.636m12.728 12.728L16.95 16.95M5 12H3m18 0h-2M7.05 16.95l-1.414 1.414M18.364 5.636 16.95 7.05M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z\"/>\n        </svg>\n        <span class=\"sr-only\">Toggle dark mode</span>\n      </button>\n      <div id=\"tooltip-toggle\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n          Toggle dark mode\n          <div class=\"tooltip-arrow\" data-popper-arrow></div>\n      </div>\n      <button id=\"new-theme-toggle\" data-tooltip-target=\"tooltip-toggle-new-theme\" data-dropdown-toggle=\"select-theme\" type=\"button\" class=\"inline-flex hover:text-heading items-center justify-center text-body w-10 h-10 hover:bg-neutral-secondary-soft focus:outline-none focus:ring-2 focus:ring-neutral-tertiary rounded-xl text-sm p-2.5\">\n        <svg class=\"w-4.5 h-4.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 7h.01m3.486 1.513h.01m-6.978 0h.01M6.99 12H7m9 4h2.706a1.957 1.957 0 0 0 1.883-1.325A9 9 0 1 0 3.043 12.89 9.1 9.1 0 0 0 8.2 20.1a8.62 8.62 0 0 0 3.769.9 2.013 2.013 0 0 0 2.03-2v-.857A2.036 2.036 0 0 1 16 16Z\"/>\n        </svg>\n        <span class=\"sr-only\">Select theme</span>\n      </button>\n      <div id=\"tooltip-toggle-new-theme\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n          Select theme\n          <div class=\"tooltip-arrow\" data-popper-arrow></div>\n      </div>\n      <div id=\"select-theme\" class=\"z-10 hidden bg-neutral-primary-medium border border-default-medium rounded-base shadow-lg w-52\">\n        <ul class=\"p-2 text-sm text-body font-medium\" aria-labelledby=\"dropdownDefaultButton\">\n          <li>\n            <button data-css-theme=\"modern\" class=\"inline-flex justify-between items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded theme-select-button\">Modern\n              <div class=\"flex items-center rounded-xs\">\n                <div class=\"h-3.5 w-4.5 bg-gray-100 dark:bg-gray-700 rounded-s-xs\"></div>\n                <div class=\"h-3.5 w-4.5 bg-blue-50 dark:bg-blue-900\"></div>\n                <div class=\"h-3.5 w-4.5 bg-blue-200 dark:bg-blue-800\"></div>\n                <div class=\"h-3.5 w-4.5 bg-blue-700 dark:bg-blue-700 rounded-e-xs\"></div>\n              </div>\n            </button>\n          </li>\n          <li>\n            <button data-css-theme=\"minimal\" class=\"inline-flex justify-between items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded theme-select-button\">Minimal\n              <div class=\"flex items-center rounded-xs\">\n                <div class=\"h-3.5 w-4.5 bg-stone-50 dark:bg-stone-600 rounded-s-xs\"></div>\n                <div class=\"h-3.5 w-4.5 bg-stone-100 dark:bg-stone-700\"></div>\n                <div class=\"h-3.5 w-4.5 bg-stone-300 dark:bg-stone-800\"></div>\n                <div class=\"h-3.5 w-4.5 bg-stone-900 dark:bg-stone-900 rounded-e-xs\"></div>\n              </div>\n            </button>\n          </li>\n          <li>\n            <button data-css-theme=\"enterprise\" class=\"inline-flex justify-between items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded theme-select-button\">Enterprise\n              <div class=\"flex items-center rounded-xs\">\n                <div class=\"h-3.5 w-4.5 bg-zinc-100 dark:bg-zinc-700 rounded-s-xs\"></div>\n                <div class=\"h-3.5 w-4.5 bg-cyan-50 dark:bg-cyan-900\"></div>\n                <div class=\"h-3.5 w-4.5 bg-cyan-100 dark:bg-cyan-800\"></div>\n                <div class=\"h-3.5 w-4.5 bg-cyan-700 dark:bg-cyan-700 rounded-e-xs\"></div>\n              </div>\n            </button>\n          </li>\n          <li>\n            <button data-css-theme=\"playful\" class=\"inline-flex justify-between items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded theme-select-button\">Playful\n              <div class=\"flex items-center rounded-xs\">\n                <div class=\"h-3.5 w-4.5 bg-slate-100 dark:bg-slate-700 rounded-s-xs\"></div>\n                <div class=\"h-3.5 w-4.5 bg-pink-50 dark:bg-pink-900\"></div>\n                <div class=\"h-3.5 w-4.5 bg-pink-100 dark:bg-pink-800\"></div>\n                <div class=\"h-3.5 w-4.5 bg-pink-700 dark:bg-pink-700 rounded-e-xs\"></div>\n              </div>\n            </button>\n          </li>\n          <li>\n            <button data-css-theme=\"mono\" class=\"inline-flex justify-between items-center w-full p-2 hover:bg-neutral-tertiary-medium hover:text-heading rounded theme-select-button\">Mono\n              <div class=\"flex items-center rounded-xs\">\n                <div class=\"h-3.5 w-4.5 bg-neutral-100 dark:bg-neutral-700 rounded-s-xs\"></div>\n                <div class=\"h-3.5 w-4.5 bg-indigo-50 dark:bg-indigo-900\"></div>\n                <div class=\"h-3.5 w-4.5 bg-indigo-100 dark:bg-indigo-800\"></div>\n                <div class=\"h-3.5 w-4.5 bg-indigo-700 dark:bg-indigo-700 rounded-e-xs\"></div>\n              </div>\n            </button>\n          </li>\n        </ul>\n    </div>\n      <a href=\"https://flowbite.com/pro/#pricing\"  class=\"xl:hidden inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none ml-1 sm:ml-3\">Pricing</a>\n      <a href=\"https://flowbite.com/pro/#pricing\"  class=\"hidden xl:inline-flex items-center text-white bg-brand box-border border border-transparent hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none ml-1 sm:ml-3\">Pricing & FAQ</a>\n    </div>\n  </div>\n</header>\n"
  },
  {
    "path": "layouts/_partials/redirect.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"utf-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>{{ . }}</title>\n    <link rel=\"canonical\" href=\"{{ . }}\">\n    <meta name=\"robots\" content=\"noindex\">\n    <meta http-equiv=\"refresh\" content=\"0; url={{ . }}\">\n  </head>\n</html>\n"
  },
  {
    "path": "layouts/_partials/scripts.html",
    "content": "<script src=\"{{ .Site.BaseURL }}flowbite.min.js?v=4.0.1a\"></script>\n<script src=\"{{ .Site.BaseURL }}docs.js?v=4.0.1a\"></script>"
  },
  {
    "path": "layouts/_partials/sidebar.html",
    "content": "<div id=\"navWrapper\" class=\"overflow-y-auto z-20 xl:z-10 px-2 md:px-6 mt-16 md:mt-12 h-full bg-neutral-primary sm:bg-transparent scrolling-touch max-w-2xs lg:h-[calc(100vh-3rem)] lg:block lg:sticky top:24 lg:top-28 lg:mr-0\">\n  <nav id=\"nav\" class=\"pt-16 px-1 pl-3 lg:pl-0 lg:pt-2 font-normal text-base lg:text-sm pb-10 lg:pb-20 sticky?lg:h-(screen-18)\" aria-label=\"Docs navigation\">\n    {{- $url := split .Permalink \"/\" -}}\n    {{- $page_slug := index $url (sub (len $url) 2) -}}\n\n    <ul class=\"mb-0 list-unstyled\">\n    {{- range $group := .Site.Data.sidebar -}}\n      {{- $link := $group.title -}}\n      {{- $link_slug := $link | urlize -}}\n  \n      {{- if $group.pages -}}\n        {{- $link = index $group.pages 0 -}}\n        {{- $link_slug = $link.title | urlize -}}\n      {{- end -}}\n  \n      {{- $group_slug := $group.slug -}}\n      {{- $is_active_group := eq $.Page.Params.group $group_slug -}}\n  \n      {{- if $group.pages }}\n        <li class=\"mt-8\">\n          <h5 class=\"mb-2 font-medium tracking-widest uppercase text-xs text-heading\">{{ $group.title }}</h5>\n          <ul class=\"py-1 list-unstyled fw-normal small\">\n            {{- range $doc := $group.pages -}}\n              {{- $doc_slug := \"\" -}}\n              {{- if $doc.slug -}}\n                {{- $doc_slug = $doc.slug -}}\n              {{- else -}}\n                {{- $doc_slug = $doc.title | urlize -}}\n              {{- end -}}\n              {{- $is_active := and $is_active_group (eq $page_slug $doc_slug) -}}\n              {{- $href := printf \"/docs/%s/%s/\" $group_slug $doc_slug }}\n              <li>\n                <a href=\"{{ $href }}\" data-sidebar-item class=\"py-2 transition-colors duration-200 relative flex items-center flex-wrap font-medium hover:text-heading text-body {{ if $is_active }} !text-fg-brand hover:!text-fg-brand-strong{{ end }}\"{{ if $is_active }} aria-current=\"page\"{{ end }}>{{ $doc.title }} {{ if ( eq $doc.new true) }}<span><span class=\"ml-2 bg-brand-softer border border-brand-subtle text-fg-brand-strong text-xs font-medium px-1 py-0.5 rounded\">New</span></span>{{ end }}</a>\n              </li>\n            {{- end }}\n          </ul>\n        </li>\n      {{- else }}\n        <li class=\"mx-4 my-3 border-top\"></li>\n        <li>\n          <a href=\"/{{ $group_slug }}/\" data-sidebar-item class=\"d-inline-flex align-items-center {{ if $is_active_group }} active{{ end }}\"{{ if $is_active_group }} aria-current=\"page\"{{ end }}>\n            {{ $group.title }}\n          </a>\n        </li>\n      {{- end }}\n    {{- end }}\n    </ul>\n  </nav>\n</div>\n\n"
  },
  {
    "path": "layouts/_partials/social.html",
    "content": "{{ \"<!-- Twitter -->\" | safeHTML }}\n<meta name=\"twitter:card\" content=\"{{ if .IsHome }}summary_large_image{{ else }}summary{{ end }}\">\n<meta name=\"twitter:site\" content=\"@{{ .Site.Params.twitter }}\">\n<meta name=\"twitter:creator\" content=\"@{{ .Site.Params.twitter }}\">\n<meta name=\"twitter:title\" content=\"{{ .Title | markdownify }}\">\n<meta name=\"twitter:description\" content=\"{{ .Page.Params.description | default .Site.Params.description | markdownify }}\">\n<meta name=\"twitter:image\" content=\"{{ if .IsHome }}{{ .Site.Params.social_logo_path | absURL }}{{ else }}{{ .Site.Params.social_image_path | absURL }}{{ end }}\">\n\n{{ \"<!-- Facebook -->\" | safeHTML }}\n<meta property=\"og:url\" content=\"{{ .Permalink }}\">\n<meta property=\"og:title\" content=\"{{ .Title | markdownify }}\">\n<meta property=\"og:description\" content=\"{{ .Page.Params.description | default .Site.Params.description | markdownify }}\">\n<meta property=\"og:type\" content=\"{{ if .IsPage }}article{{ else }}website{{ end }}\">\n<meta property=\"og:image\" content=\"{{ .Site.Params.social_image_path | absURL }}\">\n<meta property=\"og:image:type\" content=\"image/png\">\n\n\n\n"
  },
  {
    "path": "layouts/_partials/stylesheet.html",
    "content": "<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/@docsearch/css@alpha\" />\n<link id=\"theme\" rel=\"stylesheet\" href=\"{{ .Site.BaseURL }}main.css?v=4.0.1a\">"
  },
  {
    "path": "layouts/_shortcodes/code.html",
    "content": "{{- $id := .Get \"id\" | default (printf \"code-%d\" (now.UnixNano)) -}}\n{{- $lang := .Get \"lang\" | default \"bash\" -}}\n{{- $file := .Get \"file\" | default \"Terminal\" -}}\n{{- $icon := .Get \"icon\" | default \"terminal\" -}}\n\n<div class=\"relative my-6\">\n    <div class=\"grid w-full grid-cols-2 border border-default bg-neutral-secondary-soft rounded-t-base\">\n        <ul class=\"flex text-sm font-medium text-center text-body\">\n        <li>\n            <span class=\"inline-flex items-center gap-1.5 rounded-ss-base w-full p-2 px-3 text-heading bg-neutral-secondary-soft border-r border-default\">\n                {{ if eq $icon \"terminal\" }}\n                    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 9 3 3-3 3m5 0h3M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/></svg>\n                {{ end }}\n                {{ if eq $icon \"file\" }}\n                    <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 3v4a1 1 0 0 1-1 1H5m5 4-2 2 2 2m4-4 2 2-2 2m5-12v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z\"/>\n                    </svg>\n                {{ end }}\n                {{ $file }}\n            </span>\n        </li>\n        </ul>\n        <div class=\"flex justify-end\">\n        <button data-tooltip-target=\"{{ $id }}-copy-clipboard-tooltip\" data-tooltip-placement=\"top\" type=\"button\" data-copy-state=\"copy\" class=\"flex items-center px-3 py-2 rounded-se-base text-xs font-medium text-body bg-neutral-secondary-soft hover:bg-neutral-tertiary hover:text-heading border-l border-default copy-clipboard-simple\">\n            <svg class=\"w-4 h-4 me-1.5 copy-icon\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 8v3a1 1 0 0 1-1 1H5m11 4h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v1m4 3v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-7.13a1 1 0 0 1 .24-.65L7.7 8.35A1 1 0 0 1 8.46 8H13a1 1 0 0 1 1 1Z\"/></svg>\n            <svg class=\"w-4 h-4 me-1.5 copied-icon hidden text-fg-success\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/>\n            </svg>\n            <span class=\"copy-text\">Copy</span>\n            <textarea class=\"hidden\" data-clipboard-content>{{- .Inner -}}</textarea>\n        </button>\n        <div id=\"{{ $id }}-copy-clipboard-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n            Copy to clipboard\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        </div>\n    </div>\n    <code class=\"block shiki-code-block dark:[&>pre]:!bg-neutral-primary-soft [&>pre]:p-6 [&>pre]:text-sm [&>pre]:overflow-x-scroll [&>pre]:rounded-b-base\" data-language=\"{{$lang}}\">{{- trim .Inner \"\\n\" -}}</code>\n</div>"
  },
  {
    "path": "layouts/_shortcodes/current_version.html",
    "content": "{{ $.Site.Params.current_version }}"
  },
  {
    "path": "layouts/_shortcodes/example.html",
    "content": "{{- /*\n  Usage: `example [args]`\n\n  `args` are optional and can be one of the following:\n    id: the `div`'s id - default: \"\"\n    class: any extra class(es) to be added to the `div` - default \"\"\n    show_preview: if the preview should be output in the HTML - default: `true`\n    show_markup: if the markup should be output in the HTML - default: `true`\n*/ -}}\n\n{{- $lang := .Get \"lang\" | default \"html\" -}}\n{{- $show_preview := .Get \"show_preview\" | default true -}}\n{{- $show_markup := .Get \"show_markup\" | default true -}}\n{{- $show_dark := .Get \"show_dark\" | default false -}}\n{{- $disable_init_js := .Get \"disable_init_js\" | default false -}}\n{{- $input := .Inner -}}\n{{- $iframeHeight := .Get \"iframeHeight\" | default false -}}\n{{- $iframeMaxHeight := .Get \"iframeMaxHeight\" | default false -}}\n{{- $class := .Get \"class\" | default false -}}\n{{- $bodyClass := .Get \"bodyClass\" | default false -}}\n{{- $id := .Get \"id\" | default (printf \"code-%d\" (now.UnixNano)) -}}\n\n{{- $skeletonPlaceholdersMarkup := \"<div class='max-w-lg mx-auto'> <div role='status' class='my-7 animate-pulse'> <div class='h-2.5 bg-neutral-tertiary rounded-full w-48 mb-4'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[500px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[380px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px]'></div><span class='sr-only'>Loading...</span> </div><div role='status' class='max-w-lg mb-7 animate-pulse'> <div class='flex items-center justify-center w-full h-48 bg-neutral-tertiary rounded-sm'> <svg class='w-12 h-12 text-fg-disabled' xmlns='http://www.w3.org/2000/svg' aria-hidden='true' fill='currentColor' viewBox='0 0 640 512'><path d='M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z'/></svg> </div><span class='sr-only'>Loading...</span> </div><div role='status' class='my-6 animate-pulse'> <div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[500px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[380px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px]'></div><span class='sr-only'>Loading...</span> </div><div role='status' class='my-6 animate-pulse'> <div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[500px] mb-2.5'></div><span class='sr-only'>Loading...</span> </div><div role='status' class='mb-6 mt-7 animate-pulse'> <div class='h-2.5 bg-neutral-tertiary rounded-full w-48 mb-4'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[500px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[380px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[500px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px]'></div><span class='sr-only'>Loading...</span> </div><div role='status' class='my-6 animate-pulse'> <div class='h-2 bg-neutral-tertiary rounded-full max-w-[460px] mb-2.5'></div><div class='h-2 bg-neutral-tertiary rounded-full max-w-[450px] mb-2.5'></div><span class='sr-only'>Loading...</span> </div></div>\" -}}\n{{- $skeletonPlaceholders := .Get \"skeletonPlaceholders\" | default false -}}\n\n{{ $javascript := .Get \"javascript\" | default \"\" | safeJS }}\n{{ $loadJavascriptListener := .Get \"loadJavascriptListener\" | default false }}\n\n{{- $script_module := .Get \"script_module\" | default false -}}\n{{- $wysiwyg := .Get \"wysiwyg\" | default false -}}\n{{ $wysiwyg_json_fix := `{\"imports\": {\"https://esm.sh/v135/prosemirror-model@1.22.3/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\", \"https://esm.sh/v135/prosemirror-model@1.22.1/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\"}}` }}\n\n{{- $initDatepicker := .Get \"initDatepicker\" | default false -}}\n{{- $charts := .Get \"charts\" | default false -}}\n{{- $datatables := .Get \"datatables\" | default false -}}\n\n<div class=\"my-8 code-example rounded-b-base\">\n  \n  {{- if eq $show_preview true -}}\n  \n  <div class=\"w-full p-4 border border-default bg-neutral-secondary-soft rounded-t-base\">\n    <div class=\"grid grid-cols-3\">\n      {{ with .Get \"github\" }}\n      <div class=\"col-span-2 sm:col-span-1\">\n        <a href=\"https://github.com/themesberg/flowbite/blob/main/content/{{ . }}\" rel=\"noopener nofollow noreferrer\" class=\"inline-flex items-center justify-center h-9 mr-3 px-3 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary rounded-base\">\n          <svg class=\"w-3.5 h-3.5 mr-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path fill-rule=\"evenodd\" d=\"M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z\" clip-rule=\"evenodd\"/>\n          </svg> Edit on GitHub\n        </a>\n      </div>\n      {{ end }}\n      <div class=\"items-center justify-center hidden col-span-1 space-x-2 sm:flex\">\n        <button {{ if $id }} data-tooltip-target=\"{{ $id }}-full-screen-tooltip\"{{ end }} class=\"toggle-full-view flex items-center justify-center w-9 h-9 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium rounded-base focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary\"><span class=\"sr-only\">Toggle full view</span>\n          <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 15v5m-3 0h6M4 11h16M5 15h14a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1Z\"/>\n          </svg>\n        </button>\n        {{ if $id }}\n          <div id=\"{{ $id }}-full-screen-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n              Toggle full screen\n              <div class=\"tooltip-arrow\" data-popper-arrow></div>\n          </div>\n        {{ end }}\n        <button {{ if $id }} data-tooltip-target=\"{{ $id }}-tablet-tooltip\"{{ end }} class=\"toggle-tablet-view flex items-center justify-center w-9 h-9 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium rounded-base focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary\"><span class=\"sr-only\">Toggle tablet view</span>\n          <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11 18h2M5.875 3h12.25c.483 0 .875.448.875 1v16c0 .552-.392 1-.875 1H5.875C5.392 21 5 20.552 5 20V4c0-.552.392-1 .875-1Z\"/>\n          </svg>\n        </button>\n        {{ if $id }}\n          <div id=\"{{ $id }}-tablet-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n              Toggle tablet view\n              <div class=\"tooltip-arrow\" data-popper-arrow></div>\n          </div>\n        {{ end }}\n        <button {{ if $id }} data-tooltip-target=\"{{ $id }}-mobile-tooltip\"{{ end }} class=\"toggle-mobile-view flex items-center justify-center w-9 h-9 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium rounded-base focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary\"><span class=\"sr-only\">Toggle mobile view</span>\n          <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 15h12M6 6h12m-6 12h.01M7 21h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1Z\"/>\n          </svg>\n        </button>\n        {{ if $id }}\n        <div id=\"{{ $id }}-mobile-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n            Toggle mobile view\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n      {{ end }}\n      </div>\n      <div class=\"flex justify-end col-span-1\">  \n        <button {{ if $id }} data-tooltip-target=\"{{ $id }}-toggle-rtl\"{{ end }} data-toggle-direction=\"ltr\" type=\"button\" class=\"toggle-rtl mr-2 flex items-center justify-center w-9 h-9 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium rounded-base focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary\">\n          RTL\n        </button> \n        <div id=\"{{ $id }}-toggle-rtl\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n            <span class=\"tooltip-text\">Toggle RTL mode</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        {{- if eq $show_dark true -}}\n          <button {{ if $id }} data-tooltip-target=\"{{ $id }}-toggle-dark-mode-tooltip\"{{ end }} type=\"button\" data-toggle-dark=\"light\" class=\"toggle-dark-state-example flex items-center justify-center w-9 h-9 text-xs font-medium text-body bg-neutral-primary-medium border border-default-medium rounded-base focus:outline-none hover:bg-neutral-secondary-strong hover:border-default-strong hover:text-heading focus:z-10 focus:ring-2 focus:ring-neutral-tertiary\">\n            <svg data-toggle-icon=\"moon\" class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z\"/>\n            </svg>\n            <svg data-toggle-icon=\"sun\" class=\"w-5 h-5 hidden\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 5V3m0 18v-2M7.05 7.05 5.636 5.636m12.728 12.728L16.95 16.95M5 12H3m18 0h-2M7.05 16.95l-1.414 1.414M18.364 5.636 16.95 7.05M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle dark/light mode</span>\n          </button>\n          {{ if $id }}\n          <div id=\"{{ $id }}-toggle-dark-mode-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n              <span class=\"tooltip-text\">Toggle dark mode</span>\n              <div class=\"tooltip-arrow\" data-popper-arrow></div>\n          </div>\n          {{ end }}\n        {{- end -}}\n      </div>\n    </div>\n  </div>\n\n  <div class=\"code-preview-wrapper\">\n    <div{{ with .Get \"id\" }} id=\"{{ . }}\"{{ end }} class=\"flex p-0 bg-neutral-primary border-default code-preview border-x dark:bg-linear-to-t from-0% from-brand/8 to-[8rem] to-primary\">\n      <div class=\"w-full bg-cover bg-no-repeat bg-center dark:bg-[image:var(--squares-pattern-dark-url)] bg-[image:var(--squares-pattern-light-url)]\">\n        <iframe {{ if $id }}title=\"{{ replace $id \"-\" \" \"}}\"{{ end }} class=\"w-full h-0 mx-auto bg-neutral-primary iframe-code\" {{ if $iframeMaxHeight }}style='max-height: {{  sub (int $iframeMaxHeight) 40 }}px'{{ end }} srcdoc=\"<!DOCTYPE html><html lang='en' data-theme='modern'><head><meta charset='UTF-8'><meta name='viewport' content='width=device-width, initial-scale=1.0'><link rel='stylesheet' id='theme' href='{{ .Site.BaseURL }}main.css?v=4.0.1'></head><body {{ if $iframeHeight }}style='height: {{  sub (int $iframeHeight) 40 }}px'{{ end }} class='p-5 bg-neutral-primary antialiased {{ if $bodyClass }}{{ $bodyClass }}{{ end }}'><div id='exampleWrapper' class='{{ if $class }}{{ $class }}{{ end }}'>{{- $input | safeHTMLAttr -}}{{ if $skeletonPlaceholders }}{{ $skeletonPlaceholdersMarkup }}{{ end }}</div><script src='{{ .Site.BaseURL }}flowbite.min.js'></script>{{ if $charts }}<script src='https://cdn.jsdelivr.net/npm/apexcharts@3.46.0/dist/apexcharts.min.js'></script>{{ end }}{{ if $datatables }}<script src='https://cdn.jsdelivr.net/npm/simple-datatables@9.0.4'></script>{{ end }}<script>window.onload = function () { const anchorTags = document.querySelectorAll('a'); anchorTags.forEach(function(a){a.addEventListener('click', function(ev){ev.preventDefault();})}); {{ if not $disable_init_js }} const dropdownEl = document.querySelector('[data-dropdown-toggle]'); if (dropdownEl) {dropdownEl.click();} const modalEl = document.querySelector('[data-modal-toggle]'); if(modalEl) {modalEl.click(); } {{ if $initDatepicker }} const datepickerEl = document.querySelector('[datepicker]'); if (datepickerEl) { datepickerEl.focus({preventScroll: true}); } {{ end }} const dateRangePickerEl = document.querySelector('[data-rangepicker] input'); if (dateRangePickerEl) { dateRangePickerEl.focus(); } const drawerEl = document.querySelector('[data-drawer-show]'); if (drawerEl) { drawerEl.click(); } {{ end }} }</script>{{ if $wysiwyg }}<script type='importmap'>{{ $wysiwyg_json_fix | safeHTML }}</script>{{ end }}{{ if $javascript }} <script defer {{ if $script_module }}type='module'{{ end }}>\n  {{ if $loadJavascriptListener }}\n  window.addEventListener('load', function() {\n    const checkForDataLoaded = function() {\n      if (document.documentElement.hasAttribute('data-loaded')) {\n        {{ $javascript }}\n      } else {\n        setTimeout(checkForDataLoaded, 50);\n      }\n    };\n    checkForDataLoaded();\n  });\n  {{ else }}\n  {{ $javascript }}\n  {{ end }}\n</script>{{ end }}</body></html>\" frameborder=\"0\"></iframe>\n        <div class=\"flex items-center justify-center w-full p-5 bg-neutral-primary\" data-component-loader>\n          <div role=\"status\">\n            <svg aria-hidden=\"true\" class=\"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-brand\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n                <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n            </svg>\n            <span class=\"sr-only\">Loading...</span>\n        </div>\n      </div>\n      </div>\n    </div>\n  </div>\n  {{- end -}}\n\n  {{- if eq $show_markup true -}}\n    {{- $content := replaceRE `<svg class=\"bd\\-placeholder\\-img(?:\\-lg)?(?: *?bd\\-placeholder\\-img\\-lg)? ?(.*?)\".*?<\\/svg>\\n` `<img src=\"...\" class=\"$1\" alt=\"...\">` $input -}}\n    {{- $content = replaceRE ` (class=\" *?\")` \"\" $content -}}\n      <div class=\"code-syntax-wrapper rounded-b-base\">\n        <div class=\"relative border-default border-y border-x code-syntax rounded-b-base\">\n            <div class=\"grid w-full grid-cols-2 border-b border-default bg-neutral-secondary-soft rounded-t-md\">\n              <ul class=\"flex text-sm font-medium text-center text-body\">\n                <li>\n                  <button type=\"button\" data-toggle-html-code class=\"inline-block w-full p-2 px-3 text-heading bg-neutral-secondary-soft hover:bg-neutral-tertiary border-r border-default\">HTML</button>\n                </li>\n                {{ if $javascript }}\n                  <li>\n                    <button type=\"button\" data-toggle-javascript-code class=\"inline-block w-full p-2 px-3 text-heading bg-neutral-secondary-soft hover:bg-neutral-tertiary border-r border-default\">JavaScript</button>\n                  </li>\n                {{ end }}\n              </ul>\n              <div class=\"flex justify-end\">\n                <button {{ if $id }} data-tooltip-target=\"{{ $id }}-copy-clipboard-tooltip\" data-clipboard-content-type=\"html\" data-tooltip-placement=\"top\"{{ end }} type=\"button\" data-copy-state=\"copy\" class=\"flex items-center px-3 py-2 text-xs font-medium text-body bg-neutral-secondary-soft hover:bg-neutral-tertiary hover:text-heading border-l border-default copy-to-clipboard-button\">\n                  <svg class=\"w-4 h-4 me-1.5 copy-icon\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 8v3a1 1 0 0 1-1 1H5m11 4h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-7a1 1 0 0 0-1 1v1m4 3v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-7.13a1 1 0 0 1 .24-.65L7.7 8.35A1 1 0 0 1 8.46 8H13a1 1 0 0 1 1 1Z\"/></svg>\n                  <svg class=\"w-4 h-4 me-1.5 copied-icon hidden text-fg-success\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/>\n                  </svg>\n                  <span class=\"copy-text\">Copy</span>\n                </button>\n                {{ if $id }}\n                  <div id=\"{{ $id }}-copy-clipboard-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-dark rounded-lg shadow-xs opacity-0 tooltip\">\n                      Copy to clipboard\n                      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                  </div>\n                {{ end }}\n                <div class=\"hidden\" data-clipboard-content-html=\"{{- $content -}}\" data-clipboard-content-javascript=\"{{- $javascript -}}\">\n                  {{- $input -}}\n                </div>\n              </div>\n            </div>\n          <div class=\"relative\">\n            <div data-code-wrapper class=\"overflow-hidden max-h-72 rounded-b-base\" tabindex=\"-1\">\n              <div data-code-wrapper-html>\n                <code class=\"shiki-code-block dark:[&>pre]:!bg-neutral-primary [&>pre]:p-6 [&>pre]:text-sm [&>pre]:overflow-x-scroll\" data-language=\"{{$lang}}\">{{- trim $content \"\\n\" -}}</code>\n              </div>\n              {{ if $javascript }}\n                <div data-code-wrapper-javascript class=\"hidden\">\n                  <code class=\"shiki-code-block dark:[&>pre]:!bg-neutral-primary [&>pre]:p-6 [&>pre]:text-sm [&>pre]:overflow-x-scroll\" data-language=\"javascript\">{{- trim $javascript \"\\n\" -}}</code>\n                </div>\n              {{ end }}\n            </div>\n            <button data-expand-code type=\"button\" class=\"hidden absolute bottom-0 left-0 py-2.5 px-5 w-full text-sm font-medium rounded-b-base text-body bg-neutral-secondary-soft border-t border-default hover:bg-neutral-tertiary hover:text-heading\">Expand code</button>\n          </div>\n        </div>\n      </div>\n  {{- end -}}\n  \n</div>\n"
  },
  {
    "path": "layouts/_shortcodes/markdown.html",
    "content": "{{- .Inner | markdownify -}}\n"
  },
  {
    "path": "layouts/_shortcodes/param.html",
    "content": "{{- /*\n  Work around wrong escapes in integrity attributes.\n*/ -}}\n\n{{- $name := .Get 0 -}}\n{{- with $name -}}\n{{- $value := $.Page.Param . -}}\n{{- if in $name \"_hash\" -}}\n  {{- $value = $value | safeHTML -}}\n{{- end -}}\n{{- with $value }}{{ . }}{{ else }}{{ errorf \"Param %q not found: %s\" $name $.Position }}{{ end -}}\n{{- else }}{{ errorf \"Missing param key: %s\" $.Position }}{{ end -}}\n"
  },
  {
    "path": "layouts/_shortcodes/partial.html",
    "content": "{{ partial (.Get 0) . }}\n"
  },
  {
    "path": "layouts/_shortcodes/placeholder.html",
    "content": "{{- /*\n  Usage: `placeholder args`\n\n  args can be one of the following:\n    title: Used in the SVG `title` tag, default \"Placeholder\"\n    text: The text to show in the image - default: \"width x height\"\n    class: default: \"bd-placeholder-img\"\n    color: The text color (foreground) - default: \"#dee2e6\"\n    background: The background color - default: \"#868e96\"\n    width: default: 100%\n    height: default: 180px\n*/ -}}\n\n{{- $grays := $.Site.Data.grays -}}\n{{- $title := .Get \"title\" | default \"Placeholder\" -}}\n{{- $class := .Get \"class\" -}}\n{{- $color := .Get \"color\" | default (index $grays 2).hex -}}\n{{- $background := .Get \"background\" | default (index $grays 5).hex -}}\n{{- $width := .Get \"width\" | default \"100%\" -}}\n{{- $height := .Get \"height\" | default \"180\" -}}\n{{- $text := .Get \"text\" | default (printf \"%sx%s\" $width $height) -}}\n\n{{- $show_title := not (eq $title \"false\") -}}\n{{- $show_text := not (eq $text \"false\") -}}\n\n<svg class=\"bd-placeholder-img{{ with $class }} {{ . }}{{ end }}\" width=\"{{ $width }}\" height=\"{{ $height }}\" xmlns=\"http://www.w3.org/2000/svg\"{{ if (or $show_title $show_text) }} role=\"img\" aria-label=\"{{ if $show_title }}{{ $title }}{{ if $show_text }}: {{ end }}{{ end }}{{ if ($show_text) }}{{ $text }}{{ end }}\"{{ else }} aria-hidden=\"true\"{{ end }} preserveAspectRatio=\"xMidYMid slice\" focusable=\"false\">\n  {{- if $show_title -}}<title>{{ $title }}</title>{{- end -}}\n  <rect width=\"100%\" height=\"100%\" fill=\"{{ $background }}\"/>\n  {{- if $show_text -}}<text x=\"50%\" y=\"50%\" fill=\"{{ $color }}\" dy=\".3em\">{{ $text }}</text>{{- end -}}\n</svg>\n"
  },
  {
    "path": "layouts/_shortcodes/preview.html",
    "content": "<div class=\"rounded-t-xl overflow-hidden bg-gradient-to-r border border-gray-200 dark:border-gray-700 p-6 mt-8 {{ with .Get \"class\" }} {{ . }}{{ end }}\">\n    {{ .Inner | markdownify }}\n</div>\n"
  },
  {
    "path": "layouts/_shortcodes/requires_angular.html",
    "content": "<a href=\"{{ \"getting-started/angular/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Angular\">\n    <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n        <svg class=\"w-6 h-6\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n                viewBox=\"0 0 250 250\" style=\"enable-background:new 0 0 250 250;\" xml:space=\"preserve\">\n            <style type=\"text/css\">\n                .st0{fill:#DD0031;}\n                .st1{fill:#C3002F;}\n                .st2{fill:#FFFFFF;}\n            </style>\n            <g>\n                <polygon class=\"st0\" points=\"125,30 125,30 125,30 31.9,63.2 46.1,186.3 125,230 125,230 125,230 203.9,186.3 218.1,63.2 \t\"/>\n                <polygon class=\"st1\" points=\"125,30 125,52.2 125,52.1 125,153.4 125,153.4 125,230 125,230 203.9,186.3 218.1,63.2 125,30 \t\"/>\n                <path class=\"st2\" d=\"M125,52.1L66.8,182.6h0h21.7h0l11.7-29.2h49.4l11.7,29.2h0h21.7h0L125,52.1L125,52.1L125,52.1L125,52.1\n                    L125,52.1z M142,135.4H108l17-40.9L142,135.4z\"/>\n            </g>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Angular</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_blazor.html",
    "content": "<a href=\"{{ \"getting-started/blazor/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Angular\">\n    <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n        <svg fill=\"none\" class=\"w-4 h-4\" viewBox=\"-10.12021875 -53.60951036 339.95397529 343.02235093\" width=\"2500\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m303.935 88.479c-6.598 41.362-27.653 79.041-59.42 106.335s-72.185 42.433-114.064 42.723c-8.483.326-16.977-.19-25.358-1.539a77.723 77.723 0 0 1 -64.63-73.266 75.479 75.479 0 0 1 22.14-52.762 75.46 75.46 0 0 1 105.885-.748 75.478 75.478 0 0 1 22.884 52.443c.317 12.51-5.102 23.483-16.239 23.8-11.899 0-17.477-8.491-17.477-19.934v-31.797a19.478 19.478 0 0 0 -19.323-19.494h-26.653a46.386 46.386 0 0 0 -39.119 20.961 46.399 46.399 0 0 0 31.587 71.268 46.392 46.392 0 0 0 41.8-14.911l.932-1.39.933 1.543a32.82 32.82 0 0 0 27.986 13.328 36.992 36.992 0 0 0 34.268-38.671 100.64 100.64 0 0 0 -2.761-24.577c-4.943-22.734-18.126-42.834-37.008-56.423a94.153 94.153 0 0 0 -125.236 13.718 94.175 94.175 0 0 0 -23.92 63.097 95.352 95.352 0 0 0 27.473 65.824 95.331 95.331 0 0 0 65.448 28.344s6.98.635 14.849.454a200.94 200.94 0 0 0 107.769-32.155c.457-.318.914.317.61.78a158.177 158.177 0 0 1 -123.225 50.396 111.185 111.185 0 0 1 -80.961-32.871 111.215 111.215 0 0 1 -32.215-81.232 115.099 115.099 0 0 1 46.223-92.17 112.704 112.704 0 0 1 66.497-21.953h35.772a100.637 100.637 0 0 0 74.247-32.784 1.39 1.39 0 0 1 .755-.431 1.418 1.418 0 0 1 1.52.663c.153.257.222.555.197.854a100.93 100.93 0 0 1 -15.608 45.14 1.386 1.386 0 0 0 .115 1.511 1.387 1.387 0 0 0 1.424.507 108.158 108.158 0 0 0 75.198-62.013c.173-.277.411-.507.695-.67a1.902 1.902 0 0 1 1.869 0c.284.162.523.392.694.67a137.098 137.098 0 0 1 13.447 87.432zm-189.964 44.858a27.823 27.823 0 0 0 -27.293 33.255 27.83 27.83 0 0 0 21.862 21.865 27.824 27.824 0 0 0 33.251-27.296v-25.977a2.007 2.007 0 0 0 -1.904-1.904z\" fill=\"#702af7\"/></svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Blazor (.NET)</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_django.html",
    "content": "<a href=\"{{ \"getting-started/django/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Django\">\n    <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 256 326\" xmlns=\"http://www.w3.org/2000/svg\"\n            preserveAspectRatio=\"xMinYMin meet\">\n            <g fill=\"#2BA977\">\n                <path\n                    d=\"M114.784 0h53.278v244.191c-27.29 5.162-47.38 7.193-69.117 7.193C33.873 251.316 0 222.245 0 166.412c0-53.795 35.93-88.708 91.608-88.708 8.64 0 15.222.68 23.176 2.717V0zm1.867 124.427c-6.24-2.038-11.382-2.717-17.965-2.717-26.947 0-42.512 16.437-42.512 45.243 0 28.046 14.88 43.532 42.17 43.532 5.896 0 10.696-.332 18.307-1.351v-84.707z\" />\n                <path\n                    d=\"M255.187 84.26v122.263c0 42.105-3.154 62.353-12.411 79.81-8.64 16.783-20.022 27.366-43.541 39.055l-49.438-23.297c23.519-10.93 34.901-20.588 42.17-35.327 7.61-15.072 10.01-32.529 10.01-78.445V84.261h53.21zM196.608 0h53.278v54.135h-53.278V0z\" />\n            </g>\n        </svg>\n        <span class=\"sr-only\">Django logo</span>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Django</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_flask.html",
    "content": "\n\n<a href=\"{{ \"getting-started/flask/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Flask\">\n    <span class=\"text-xs bg-white rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4\" viewBox=\"0 0 32 32\" preserveAspectRatio=\"xMidYMid\"><path d=\"M9.563 26.873c-1.22-.96-2.52-1.878-3.408-3.172-1.87-2.283-3.31-4.925-4.294-7.703-.595-1.806-.8-3.743-1.566-5.48-.802-1.26.138-2.64 1.52-3.04.615-.118 1.696-.7.39-.284-1.17.858-1.283-.78-.083-.884.82-.11 1.12-.78.84-1.382-.88-.574 2.132-1.203.616-2.06C2 1.168 5.786.84 4.852 2.774 4.63 4.26 7.498 2.5 6.832 4.218c.677.825 2.534.188 2.487 1.345.986.068 1.324.897 2.25.96.96.433 2.697.774 3.023 1.855-.95.753-3.153-1.555-3.26.53.288 3.08.214 6.252 1.34 9.185.533 1.775 1.825 3.173 2.99 4.556 1.117 1.354 2.63 2.308 4.17 3.11 1.352.638 2.81 1.06 4.283 1.326.597-.457 1.653-2.156 2.584-1.44.045.806-1.85 1.684-.09 1.595 1.035-.312 1.752.8 2.603-.204.785.93 3.26-.593 2.703 1.306-.755.487-1.856.193-2.612.863-1.247-.623-2.24.557-3.62.408-1.533.275-3.092.385-4.646.387-2.55-.2-5.153-.286-7.578-1.174-1.367-.397-2.7-1.175-3.9-1.954zm2.153.933c1.334.576 2.64 1.184 4.1 1.368 2.32.322 4.715.82 7.043.366-1.054-.476-2.143.185-3.193-.34-1.26.27-2.6-.07-3.9-.237-1.455-.648-3.026-1.094-4.388-1.936-1.703-.622.88.798 1.34.913 1.064.604-1.17-.3-1.486-.56-.892-.5-1.005-.396-.088.112l.56.314zm-2.54-1.794c1.293.48-.006-.91-.597-.83-.262-.455-1.003-.743-.48-.987-.94.326-.984-1.24-1.425-1.016-.994-.314-.387-1.426-1.57-2.11-.108-.72-1.176-1.343-1.516-2.428-.15-.556-1.207-2.15-.558-.666.552 1.43 1.524 2.653 2.334 3.875.628 1.164 1.37 2.38 2.514 3.107.386.37.758.937 1.302 1.053zm-3.724-4.09c.045-.195.236.422 0 0zm5.273 4.663c.286-.128-.412-.162 0 0zm.7.256c-.073-.353-.32.198 0 0zm.88.366c.418-.398-.645-.25 0 0zm1.506.84c.254-.375-.813-.14 0 0zm-2.89-2.015c.65-.42-.84-.006 0 0zm.66.33c-.02-.222-.235.1 0 0zm3.293 2.056c.53.334 3.092.732 1.488.137-.27.056-2.975-.766-1.488-.137zm-5.228-4.072c-.05-.222-.822-.246 0 0zm1.533.894c.4-.28-.828-.215 0 0zm1.3.8c.573-.216-.928-.217 0 0zM9.02 23.665c.62.476 2.506.06.95-.284-.707-.377-2.3-.635-1.214.227l.263.057zm4.32 2.637c.26-.44-1.086-.252 0 0zm-1.313-1.043c1.52.43-1.277-.96-.375-.16l.2.09.175.068zm2.632 1.52c1.44.014-1.3-.2 0 0zm-6.193-3.947c-.056-.268-.355.022 0 0zm8.627 5.312c.038-.484-.47.36 0 0zm-6.17-3.81c-.087-.255-.45-.01 0 0zm-2.32-1.67c.826-.05-1.13-.364 0 0zM5.856 20.89c-.103-.396-.898-.712 0 0zm7.212 4.577c-.15-.173-.07.037 0 0zm4.488 2.755c-.014-.264-.244.1 0 0zm-4.885-3.165c.08-.34-.705-.103 0 0zm-3.344-2.12c.615-.065-.985-.415 0 0zm5.656 3.515c.958-.38-.933-.185 0 0zm-2.942-1.997c1.103.142-1.313-.75-.243-.08l.243.08zm3.835 2.358c1.03-.615.69 1.443 1.748.174 1.043-.762-.9.942.384.136.93-.622 2.303.295 3.17.593.624-.03 1.23.54 1.87.193 1.23-.332-2.408-.492-1.454-1.08-1.126.328-1.958-.39-2.513-1.112-1.264-.292-2.724-.938-3.355-2.056-.257-.42.37.06-.222-.627-.76-.677-1.14-1.446-1.652-2.27-.61-.325-.683-1.284-.744-.032.005-.79-.737-1.323-.92-1.102-.003-.76.795-.38.236-.942-.12-.79-.516-1.61-.634-2.502-.185-.43-.026-1.35-.63-.377-.22 1.027-.073-1.262.27-.508.45-.77-.162-.68-.186-.573.293-.65.186-1.572-.077-1.22.156-.69.247-2.535-.233-2.208.29-.72.552-3.297-.712-2.315-.512.007-1.398.186-1.817.394 1.313.724-.132.262-.668.146-.07.67-.6.38-1.26.387 1.058.13-.515 1.08-1.12.712-.788.376.68 1.316.015 1.607.082.437-1.207-.158-1.106.854-.764-.322-.105 1.2.278.685 1.3.352.915 1.154.948 1.917-.212.444-1.046-1.044-.186-.975-.68-1.103-.75-.4-1.315.114-.13.037 1.44.73.454 1.07.867.134.892.893 1.068 1.372.52.543.413-.6 1.037.053-.395-.58-2.09-1.637-.725-1.3-.007-.584-.247-1.056.172-1.045.415-.75-.434 1.85.5.896.258-.113.323-.75.787.06.674.664.244 1.144-.708.536.17.578 1.273.784 1.065 1.687.22.795.527.502.795.456.2.772.33.204.34-.163.962.206.736.775 1.038 1.172.663.3-.95-2.028.19-.7 1.197 1.08.45 1.533-.625 1.36.68-.055.9.92 1.75.885.776.37 1.3 1.787-.036 1.196-.463-.418-2.106-.934-.764-.14 1.238.574 2.222.916 3.416 1.637.854.6 1.223 1.308 1.547 1.447-.718.343-2.164-.274-1.1-.463-.67-.122-1.424-.46-.782.374.546.456 1.933.408 2.182.46-.21.464-.573.5.008.537-.648.346.208.4.268.597zm-1.326-3.744c-.395-.413-.497-1.185-.07-.513.22.088.7 1.263.07.513zM18.87 25.8c.246-.016.007.187 0 0zm-4.94-3.755c-.016-.624.142.48 0 0zm-.43-.577c-.497-.96.625.27 0 0zm-5.202-3.6c.292-.078.144.498 0 0zm4.14 2.244c.18-.673.2.564 0 0zm-2.925-2.034c-.206-.37.43.348 0 0zm2.51.804c-.47-1.053.334-.575.105.172l-.105-.172zm-4.328-2.886c-.2-.346-.557-1.36-.445-1.67.1.504 1.072 2.17.476.7-.658-1.24.787.402.936.712.07.307-.406-.084-.084.638-.588-.822-.347.454-.882-.37zm-1.337-.922c.055-.804.306.55 0 0zm.602.208c.287-.606.486.845 0 0zM5.5 14.182c-.498-.495-.858-.95.024-.307.34.013-.755-1.037.082-.334.88.16.434 1.443-.105.64zm.76-.02c.29-.287.154.282 0 0zm.468.15c-.44-.822.532.345 0 0zm-.93-.888c-1.448-1.29 1.82.673.236.24l-.236-.24zm4.148 2.41c-.627-.375-.167-2.644.047-1.093.61-.197-.034.802.42.792-.07.63-.275.857-.467.3zm1.534.907c.06-.684.13.468 0 0zm-.266-.264c.07-.292.006.344 0 0zM6.092 13c-.93-1.283 2.703 1.298.596.325-.22-.058-.485-.078-.596-.325zm2.955 1.566c-.088-1.08.196.18 0 0zm2.243 1.44c.173-.615.013.407 0 0zM6.235 12.51c.553-.118 2.3.97.695.31-.177-.196-.556-.107-.695-.31zm4.746 2.366c.06-1.105.33-.66.002.16l-.002-.16zm-4.335-2.75c.226-.33-.598-1.493.118-.417.3.246.897.412.38.516.815.72-.2.195-.497-.1zm4.1 2.406c.155-1.26.137.737 0 0zm-4.57-3.568c.172-.074.09.23 0 0zm1.07.637c.275-.578.508.644 0 0zm3.017 1.678c-.002-.22.057.323 0 0zm-.175-.386c-.418-1.033.4.547 0 0zm-.257-.678c-.07-.427.24.536 0 0zm.418-.68c-.288-.506.363-2.23.436-1.16-.303.834-.087 1.3.123.18.39-.88-.084 1.737-.56.98zm.43-2.566c.125-.154.028.185 0 0zM9.96 23.12c-.17-.15.022.094 0 0zm1.48.748c.823.212.82-.128.075-.23-.4-.372-1.662-.767-.532-.046.074.2.31.185.457.275zm-2.92-1.94c.453.34 1.707.958.646.13.358-.416-.685-.638-.34-.916-.88-.54-.695-.5-.078-.473-1.058-.473.153-.437.096-.68-.408-.08-2.026-.72-1.074.052-.968-.493-.23.184-.523.113-1-.27.88.754-.157.5.567.45 1.528 1.153.24.476-.17.244.922.615 1.2.8zm1.547.89c1.88.606-.923-.74 0 0zm7.92 4.798c.024-.374-.257.32 0 0zm.814.343c.434-.42.018.67.72-.103.007-.553-.02-.88-.806-.208-.217.12-.313.63.087.31zM5.878 19.84c-.133-.524-.934-.522 0 0zm.87.57c-.323-.535-1.152-.485 0 0zm4.946 2.983c.483.43 2.218.315.586.053-.24-.357-1.533-.27-.586-.053zm6.798 4.2c.743-.624-.72.278 0 0zm1.546 1.062c.005-.2-.32.087 0 0zm.003-.28c.823-.87-.797.05 0 0zM3.74 18.05c-.7-1-.436-1.45-1.112-2.267-.128-.625-1.16-2.043-.534-.54.574.88.744 2.24 1.646 2.81zm16.04 10.046c1.515-.978-.62-.426 0 0zm1.156.453c.76-.65-.48-.136 0 0zM5.62 18.735c.217-.323-.56-.042 0 0zm15.075 9.505c.734-.473-.17-.4-.133.043l.133-.043zm-9.962-6.28c-.025-.32-.388.027 0 0zm.615.354c-.196-.396-.3.062 0 0zm10.525 6.245c.94-.68-.57-.13-.197.13l.197-.13zm-.36-.174c.767-.642-.81.284 0 0zm1.84 1.225c.514-.344-.625-.11 0 0zm-17.26-11.11c.69.154 2.755 1.698 1.537.107-.624-.185-.25-1.71-.887-1.44.427.714.35 1.018-.546.568-1.127-.55-.633.272-.413.5-.3.07.397.26.31.266zm-3.14-2.48c.123-.51-1.137-2.81-.595-1.152.195.347.175 1.005.595 1.152zm5.766 3.555c-.356-.297-.017-.042 0 0zm.874.204c0-.54-.966-.22 0 0zm7.577 4.776c-.145-.37-.57-.008 0 0zm.364.266c-.054-.207-.2.04 0 0zm3.003 1.892c.29-.213-.36-.028 0 0zM4.52 16.422c.826-.32-.885-.228 0 0zM16.5 23.97c-.01-.535-.527.133 0 0zM4.193 15.66c.53-.18-.49-.118 0 0zm1.54.746c-.01-.176-.163.067 0 0zm18.788 11.52c.682-.138 2.238.347 2.49-.18-.83-.02-2.867-.585-2.963.134l.18.03.293.018zM6.223 16.53c.012-.542-.422-.02 0 0zm-4.05-2.81c-.184-1.032-.7-.156 0 0zm.965.243c.012-.332-.884-.298 0 0zm.552.27c-.16-.13-.124.163 0 0zm3.473 2.227c.164-.15-.387-.11 0 0zm-3.84-2.84c-.094-.78-1.12-.117 0 0zm-1.98-1.285c-.028-.36-.193.136 0 0zm.295-.222c-.048-.427-.253.054 0 0zm1.627.97c.688-.27-1.253-.56-.14-.05l.14.05zM25.043 26.54c.44-.404-.56-.125 0 0zm2.63 1.363c.177-.52-.445.07 0 0zM3.43 12.235c.073-.505-.546.1 0 0zm-2.316-1.55C.992 9.97 1.01 8.72 2.198 9.142c-1.587.316 1.1 1.974.76.664.668.033 1.306-.395.955.253C5.23 9.916 6.14 8.774 7.412 8.935c1-.132 2.072-.23 3.14-.63.877-.063 1.72-1.007 1.24-1.567-1.196-.1-2.448.048-3.77.312-1.465.304-2.795.883-4.273 1.13-1.44.194.29.533-.123.61-.75.26.897.436-.097.712-.614-.117-1.253-.328-.99-.975-1.38.18-2.593.752-1.502 2.156l.08.001zM4.442 9c.323-1.192 1.733.98.53.16-.143-.108-.38-.195-.53-.16zm.063-.578c.467-.347.248.195 0 0zm.593.01c.043-.548 1.358.3.217.197l-.217-.197zm.81-.326c.297-.347.086.307 0 0zm.208-.14c.494-.593 2.793-.38 1.1-.058-.45-.34-.797.2-1.1.058zm3-.463c-.074-1.62 1.492.575 0 0zm.852-.005c.31-.816 1.21-.328.145-.164.023.087-.032.422-.145.164zm-6.873 4.327c.93-.57-.987-.494 0 0zm.688.2c.326-.347-.7-.14 0 0zM1.757 10.57c.53-.41-.63-.155 0 0zm27.47 17.185c.015-.474-.406.213 0 0zm-2.79-1.905c.08-.545-.36.047 0 0zm3.56 2.09c.743.003 2.252-.23.635-.23-.254.04-1.48.03-.635.23zM4.39 11.673c.602-.04.94-.663-.117-.628-1.64-.17 1.446.562-.2.352-.222.147.314.316.327.275zm.53.268c-.063-.386-.186.205 0 0zm.63-1.676c.26-.324-.36-.087 0 0zm-2-3.344c1.074-.365 2.542-.775 3.05.18-.516-.62-.208-1.232.28-.324.69.918 1.034-.418.586-.726.51.634 1.09.934.342.04.815-.98-1.63.128-2.186.117-.267.12-2.76.636-2.07.713zm.63-1.205c.612-.462 2.118.275 1.152-.46-.095-.083-2.115.557-1.152.46zm2.232.092c.716.018-.31-.963.544-.518-.14-.458-.994-.543-1.412-.727-.236.418.48 1.25.867 1.245zm-1.84-2.026c.248-.336-.435.17 0 0zM5.48 4c1.155-.153-.294-.497-.233-.012L5.48 4zM3.776 2.67c-.813-1.062 1.53.178.703-.933-.696-.553-1.363.624-.703.933zm10.434 5.62c.373-.66-1.54-.89-.25-.234.118.04.092.28.25.234z\"/></svg>\n        <span class=\"sr-only\">Flask logo</span>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Flask</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_hugo.html",
    "content": "<a href=\"{{ \"getting-started/hugo/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires HUGO\">\n    <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n        <svg aria-hidden=\"true\" class=\"w-6 h-6\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \n            viewBox=\"0 0 370 391\" xml:space=\"preserve\">\n        <style type=\"text/css\">\n            .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#FF4088;stroke:#C9177E;stroke-width:27;}\n            .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}\n        </style>\n        <path class=\"st0\" d=\"M207.5,22.4L321.9,89c13.5,7.9,21.9,22.4,21.9,38v136.4c0,17.3-9.3,33.3-24.5,41.8l-113.5,63.9\n            c-15.1,8.5-33.5,8.4-48.5-0.2L52.8,308.8c-16.4-9.5-26.6-27-26.6-45.9V133.4c0-19.1,9.9-36.8,26.1-46.8l102.8-63.5\n            C171.1,13.2,191.3,13,207.5,22.4z\"/>\n        <polygon class=\"st1\" points=\"105.6,298.2 105.6,91 149,91 149,166.5 220.9,166.5 220.9,91 264.4,91 264.4,298.2 220.9,298.2 \n            220.9,207.6 149,207.6 149,298.2 \"/>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires HUGO</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_js.html",
    "content": "<a href=\"{{ \"getting-started/quickstart/\" | relURL }}\"\n  class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n  aria-label=\"Component requires Flowbite JavaScript\">\n  <span aria-hidden=\"true\" class=\"text-xs bg-brand rounded-full text-white px-3 py-1.5 mr-3\">\n    <svg class=\"w-4 h-4\"\n      fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"\n        d=\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"></path>\n    </svg></span> <span class=\"text-sm font-medium\">\n      Requires Flowbite JS</span> <svg class=\"w-2.5 h-2.5 ml-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n    </svg>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_laravel.html",
    "content": "<a href=\"{{ \"getting-started/laravel/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Laravel\">\n    <span class=\"text-xs text-[#ff2d20] rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"laravel\" class=\"w-4 h-4\" role=\"img\"\n            xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n            <path fill=\"currentColor\"\n                d=\"M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z\">\n            </path>\n        </svg></span> <span class=\"text-sm font-medium\">Requires Laravel</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_nextjs.html",
    "content": "<a href=\"{{ \"getting-started/next-js/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Next.js\">\n    <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n        <svg class=\"w-7 h-7\" aria-hidden=\"true\" viewBox=\"0 0 207 124\" version=\"1.1\"\n            xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n            <defs></defs>\n            <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                <g id=\"Black-Next.js\" transform=\"translate(-247.000000, -138.000000)\" fill=\"#000000\"\n                    fill-rule=\"nonzero\">\n                    <g id=\"next-black\" transform=\"translate(247.000000, 138.000000)\">\n                        <g id=\"EXT-+-Type-something\">\n                            <path\n                                d=\"M48.9421964,32.6320058 L87.9011585,32.6320058 L87.9011585,35.7136421 L52.5134345,35.7136421 L52.5134345,58.9070103 L85.7908813,58.9070103 L85.7908813,61.9886466 L52.5134345,61.9886466 L52.5134345,87.4526941 L88.306981,87.4526941 L88.306981,90.5343303 L48.9421964,90.5343303 L48.9421964,32.6320058 Z M91.3912326,32.6320058 L95.5306221,32.6320058 L113.8738,58.0960534 L132.622801,32.6320058 L158.124498,0.286809811 L116.22757,60.7722112 L137.817329,90.5343303 L133.51561,90.5343303 L113.8738,63.4483691 L94.1508254,90.5343303 L89.9302715,90.5343303 L111.682358,60.7722112 L91.3912326,32.6320058 Z M139.359455,35.713642 L139.359455,32.6320058 L183.756439,32.6320058 L183.756439,35.7136421 L163.302983,35.7136421 L163.302983,90.5343303 L159.731745,90.5343303 L159.731745,35.7136421 L139.359455,35.713642 Z\"\n                                id=\"EXT\"></path>\n                            <polygon id=\"Type-something\"\n                                points=\"0.202923647 32.6320058 4.66697141 32.6320058 66.2235778 124.303087 40.785176 90.5343303 3.93649086 37.0111732 3.77416185 90.5343303 0.202923647 90.5343303\">\n                            </polygon>\n                        </g>\n                        <path\n                            d=\"M183.396622,86.5227221 C184.134938,86.5227221 184.673474,85.9601075 184.673474,85.233037 C184.673474,84.5059658 184.134938,83.9433513 183.396622,83.9433513 C182.666993,83.9433513 182.11977,84.5059658 182.11977,85.233037 C182.11977,85.9601075 182.666993,86.5227221 183.396622,86.5227221 Z M186.905793,83.1297235 C186.905793,85.2763149 188.460599,86.678523 190.727662,86.678523 C193.142388,86.678523 194.601647,85.233037 194.601647,82.7229099 L194.601647,73.8855335 L192.655968,73.8855335 L192.655968,82.7142542 C192.655968,84.1078073 191.952397,84.8521899 190.710289,84.8521899 C189.598473,84.8521899 188.842785,84.1597409 188.816727,83.1297235 L186.905793,83.1297235 Z M197.146664,83.0172011 C197.285642,85.2503478 199.153145,86.678523 201.932686,86.678523 C204.903321,86.678523 206.762139,85.1811034 206.762139,82.792155 C206.762139,80.9138876 205.702439,79.8752151 203.131364,79.2779777 L201.750279,78.9404092 C200.117298,78.5595622 199.457158,78.0488813 199.457158,77.1573541 C199.457158,76.0321243 200.482113,75.296398 202.019547,75.296398 C203.478806,75.296398 204.48639,76.0148135 204.668797,77.1660091 L206.562359,77.1660091 C206.44944,75.0626962 204.590622,73.5825873 202.045605,73.5825873 C199.309495,73.5825873 197.48542,75.0626962 197.48542,77.2871878 C197.48542,79.1221767 198.519063,80.2127835 200.786126,80.7407758 L202.401734,81.1302779 C204.060773,81.5197807 204.790402,82.091051 204.790402,83.0431676 C204.790402,84.1510859 203.643842,84.9560573 202.08035,84.9560573 C200.403939,84.9560573 199.240006,84.2030196 199.074971,83.0172011 L197.146664,83.0172011 Z\"\n                            id=\".JS\"></path>\n                    </g>\n                </g>\n            </g>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Next.js</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_nuxtjs.html",
    "content": "<a href=\"{{ \"getting-started/nuxt-js/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Nuxt\">\n    <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" viewBox=\"0 0 900 900\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M504.908 750H839.476C850.103 750.001 860.542 747.229 869.745 741.963C878.948 736.696 886.589 729.121 891.9 719.999C897.211 710.876 900.005 700.529 900 689.997C899.995 679.465 897.193 669.12 891.873 660.002L667.187 274.289C661.876 265.169 654.237 257.595 645.036 252.329C635.835 247.064 625.398 244.291 614.773 244.291C604.149 244.291 593.711 247.064 584.511 252.329C575.31 257.595 567.67 265.169 562.36 274.289L504.908 372.979L392.581 179.993C387.266 170.874 379.623 163.301 370.42 158.036C361.216 152.772 350.777 150 340.151 150C329.525 150 319.086 152.772 309.883 158.036C300.679 163.301 293.036 170.874 287.721 179.993L8.12649 660.002C2.80743 669.12 0.00462935 679.465 5.72978e-06 689.997C-0.00461789 700.529 2.78909 710.876 8.10015 719.999C13.4112 729.121 21.0523 736.696 30.255 741.963C39.4576 747.229 49.8973 750.001 60.524 750H270.538C353.748 750 415.112 713.775 457.336 643.101L559.849 467.145L614.757 372.979L779.547 655.834H559.849L504.908 750ZM267.114 655.737L120.551 655.704L340.249 278.586L449.87 467.145L376.474 593.175C348.433 639.03 316.577 655.737 267.114 655.737Z\" fill=\"#00DC82\"/>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Nuxt</span>\n</a>\n"
  },
  {
    "path": "layouts/_shortcodes/requires_react.html",
    "content": "<a href=\"{{ \"getting-started/react/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires React\">\n    <span class=\"text-xs bg-blue-700 rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"react\" class=\"w-4 h-4\" role=\"img\"\n            xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n            <path fill=\"currentColor\"\n                d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\">\n            </path>\n        </svg></span> <span class=\"text-sm font-medium\">Requires React</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_ruby.html",
    "content": "<a href=\"{{ \"getting-started/rails/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Ruby on Rails\">\n    <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4\" viewBox=\"0 0 411 155\">\n            <g fill=\"#CC0000\" fill-rule=\"evenodd\" transform=\"translate(8 8)\">\n                <path\n                    d=\"M344.6 121.5L344.6 139.6 377.3 139.6C384 139.6 395.5 134.7 395.9 121L395.9 114C395.9 102.3 386.3 95.4 377.3 95.4L361 95.4 361 87 393.3 87 393.3 68.8 362.3 68.8C354.3 68.8 343.6 75.4 343.6 87.7L343.6 94C343.6 106.3 354.2 112.6 362.3 112.6 384.8 112.7 356.9 112.6 377.7 112.6L377.7 121.4M169.4 117.1C169.4 117.1 186.9 115.6 186.9 93 186.9 70.4 165.7 68.3 165.7 68.3L127.5 68.3 127.5 139.6 146.7 139.6 146.7 122.4 163.3 139.6 191.7 139.6 169.4 117.1zM162 102.5L146.7 102.5 146.7 86.2 162.1 86.2C162.1 86.2 166.4 87.8 166.4 94.3 166.4 100.8 162 102.5 162 102.5zM234.3 68.8L214.8 68.8C200.9 68.8 196.2 81.4 196.2 87.4L196.2 139.6 215.7 139.6 215.7 127.1 234 127.1 234 139.6 252.9 139.6 252.9 87.4C252.9 72.2 239.1 68.8 234.3 68.8zM234 106.9L215.6 106.9 215.6 89.6C215.6 89.6 215.6 85.7 221.7 85.7L228.4 85.7C233.8 85.7 233.9 89.6 233.9 89.6L233.9 106.9 234 106.9z\" />\n                <rect width=\"20.3\" height=\"70.8\" x=\"261.8\" y=\"68.8\" />\n                <polygon\n                    points=\"310.6 121.3 310.6 68.8 290.4 68.8 290.4 121.3 290.4 139.6 310.6 139.6 337.9 139.6 337.9 121.3\" />\n                <path\n                    d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\" />\n                <path\n                    d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\" />\n                <path\n                    d=\"M7 139.6L86 139.6C86 139.6 70.9 70.7 120.9 42.8 131.8 37.5 166.5 17.7 223.3 59.7 225.1 58.2 226.8 57 226.8 57 226.8 57 174.8 5.1 116.9 10.9 87.7 13.5 51.9 40 30.9 75 9.9 110 7 139.6 7 139.6zM171.6 16.5L172 9.8C171.1 9.3 168.6 8.1 162.3 6.3L161.9 12.9C165.2 14 168.4 15.2 171.6 16.5z\" />\n                <path\n                    d=\"M162.1 37.7L161.7 44C165 44.1 168.3 44.5 171.6 45.2L172 39C168.6 38.3 165.3 37.9 162.1 37.7zM125.1 6.5L126.1 6.5 124.1.4C121 .4 117.8.6 114.5 1L116.4 6.9C119.3 6.6 122.2 6.5 125.1 6.5zM129.9 43.3L132.2 50.2C135.1 48.8 138 47.6 140.9 46.7L138.7 40.1C135.3 41.1 132.4 42.2 129.9 43.3zM84.5 17L80 10.1C77.5 11.4 74.9 12.8 72.2 14.4L76.8 21.4C79.4 19.8 81.9 18.3 84.5 17zM105 62L109.8 69.2C111.5 66.7 113.5 64.4 115.7 62.1L111.2 55.3C108.9 57.4 106.8 59.7 105 62zM90.5 94.2L98.6 100.6C99 96.7 99.7 92.8 100.7 88.9L93.5 83.2C92.2 86.9 91.3 90.6 90.5 94.2zM46.7 46.7L39.6 40.5C37 43 34.5 45.5 32.2 48L39.9 54.6C42 51.9 44.3 49.2 46.7 46.7zM16.5 91.4L5 87.2C3.1 91.5 1 96.5 0 99.2L11.5 103.4C12.8 100 14.9 95.1 16.5 91.4zM89 119.6C89.2 124.9 89.7 129.2 90.2 132.2L102.2 136.5C101.3 132.6 100.4 128.2 99.8 123.5L89 119.6z\" />\n            </g>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Ruby on Rails</span>\n</a>\n</aside>"
  },
  {
    "path": "layouts/_shortcodes/requires_svelte.html",
    "content": "<a href=\"{{ \"getting-started/svelte/\" | relURL }}\"\n  class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n  aria-label=\"Component requires Svelte\">\n  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n    <svg aria-hidden=\"true\" class=\"w-4 h-4\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\"\n      xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\" viewBox=\"0 0 98.1 118\"\n      style=\"enable-background:new 0 0 98.1 118;\" xml:space=\"preserve\">\n      <style type=\"text/css\">\n        .st0 {\n          fill: #FF3E00;\n        }\n\n        .st1 {\n          fill: #FFFFFF;\n        }\n      </style>\n      <path class=\"st0\" d=\"M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3\n                      c-2.4,3.6-4,7.6-4.7,11.8c-1.6,8.9,0.5,18.1,5.7,25.4c11,15.7,32.6,20.3,48.2,10.4l27.5-17.5c7.5-4.7,12.7-12.4,14.2-21.1\n                      c1.3-7.3,0.2-14.8-3.3-21.3c2.4-3.6,4-7.6,4.7-11.8C99.2,32.1,97.1,22.9,91.8,15.6\" />\n      <path class=\"st1\"\n        d=\"M40.9,103.9c-8.9,2.3-18.2-1.2-23.4-8.7c-3.2-4.4-4.4-9.9-3.5-15.3c0.2-0.9,0.4-1.7,0.6-2.6l0.5-1.6l1.4,1\n                      c3.3,2.4,6.9,4.2,10.8,5.4l1,0.3l-0.1,1c-0.1,1.4,0.3,2.9,1.1,4.1c1.6,2.3,4.4,3.4,7.1,2.7c0.6-0.2,1.2-0.4,1.7-0.7L65.5,72\n                      c1.4-0.9,2.3-2.2,2.6-3.8c0.3-1.6-0.1-3.3-1-4.6c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7l-10.5,6.7\n                      c-1.7,1.1-3.6,1.9-5.6,2.4c-8.9,2.3-18.2-1.2-23.4-8.7c-3.1-4.4-4.4-9.9-3.4-15.3c0.9-5.2,4.1-9.9,8.6-12.7l27.5-17.5\n                      c1.7-1.1,3.6-1.9,5.6-2.5c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.2,0.9-0.4,1.7-0.7,2.6l-0.5,1.6l-1.4-1\n                      c-3.3-2.4-6.9-4.2-10.8-5.4l-1-0.3l0.1-1c0.1-1.4-0.3-2.9-1.1-4.1c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7L32.4,46.1\n                      c-1.4,0.9-2.3,2.2-2.6,3.8s0.1,3.3,1,4.6c1.6,2.3,4.4,3.3,7.1,2.6c0.6-0.2,1.2-0.4,1.7-0.7l10.5-6.7c1.7-1.1,3.6-1.9,5.6-2.5\n                      c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.9,5.2-4.1,9.9-8.6,12.7l-27.5,17.5C44.8,102.5,42.9,103.3,40.9,103.9\" />\n    </svg></span> <span class=\"text-sm font-medium\">Requires Svelte</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_symfony.html",
    "content": "<a href=\"{{ \"getting-started/symfony/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Symfony\">\n    <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" class=\"w-4 h-4 dark:hidden\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n          <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"black\"/>\n          <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.618 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.581 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.117 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.198 465.623 153.205 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.713 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.949 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.041 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"white\"/>\n        </svg>\n        <svg aria-hidden=\"true\" class=\"hidden w-4 h-4 dark:inline-block\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n          <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"white\"/>\n          <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.617 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.58 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.116 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.197 465.623 153.204 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.712 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.948 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.04 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"#1F2A37\"/>\n        </svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires Symfony</span>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_tw3.html",
    "content": "<aside class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Tailwind v3.0\">\n    <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 54 33\">\n            <g clip-path=\"url(#prefix__clip0)\">\n                <path fill=\"#38bdf8\" fill-rule=\"evenodd\"\n                    d=\"M27 0c-7.2 0-11.7 3.6-13.5 10.8 2.7-3.6 5.85-4.95 9.45-4.05 2.054.513 3.522 2.004 5.147 3.653C30.744 13.09 33.808 16.2 40.5 16.2c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C36.756 3.11 33.692 0 27 0zM13.5 16.2C6.3 16.2 1.8 19.8 0 27c2.7-3.6 5.85-4.95 9.45-4.05 2.054.514 3.522 2.004 5.147 3.653C17.244 29.29 20.308 32.4 27 32.4c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C23.256 19.31 20.192 16.2 13.5 16.2z\"\n                    clip-rule=\"evenodd\" />\n            </g>\n            <defs>\n                <clipPath id=\"prefix__clip0\">\n                    <path fill=\"#fff\" d=\"M0 0h54v32.4H0z\" />\n                </clipPath>\n            </defs>\n        </svg></span> <span class=\"text-sm font-medium\">Requires Tailwind CSS v3.0</span>\n</aside>"
  },
  {
    "path": "layouts/_shortcodes/requires_tw4.html",
    "content": "<aside class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Tailwind v3.0\">\n    <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 54 33\">\n            <g clip-path=\"url(#prefix__clip0)\">\n                <path fill=\"#38bdf8\" fill-rule=\"evenodd\"\n                    d=\"M27 0c-7.2 0-11.7 3.6-13.5 10.8 2.7-3.6 5.85-4.95 9.45-4.05 2.054.513 3.522 2.004 5.147 3.653C30.744 13.09 33.808 16.2 40.5 16.2c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C36.756 3.11 33.692 0 27 0zM13.5 16.2C6.3 16.2 1.8 19.8 0 27c2.7-3.6 5.85-4.95 9.45-4.05 2.054.514 3.522 2.004 5.147 3.653C17.244 29.29 20.308 32.4 27 32.4c7.2 0 11.7-3.6 13.5-10.8-2.7 3.6-5.85 4.95-9.45 4.05-2.054-.513-3.522-2.004-5.147-3.653C23.256 19.31 20.192 16.2 13.5 16.2z\"\n                    clip-rule=\"evenodd\" />\n            </g>\n            <defs>\n                <clipPath id=\"prefix__clip0\">\n                    <path fill=\"#fff\" d=\"M0 0h54v32.4H0z\" />\n                </clipPath>\n            </defs>\n        </svg></span> <span class=\"text-sm font-medium\">Tailwind CSS v4.0</span>\n</aside>"
  },
  {
    "path": "layouts/_shortcodes/requires_typescript",
    "content": "<a href=\"{{ \"getting-started/typescript/\" | relURL }}\">\n<aside class=\"mb-5\" aria-label=\"Integration requires TypeScript\">\n    <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n      <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n      <svg aria-hidden=\"true\" fill=\"none\" class=\"w-4 h-4\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><path clip-rule=\"evenodd\" d=\"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z\" fill=\"#fff\" fill-rule=\"evenodd\"/></svg>\n    </span>\n    <span class=\"text-sm font-medium\">Requires TypeScript</span>\n  </aside>\n</a>"
  },
  {
    "path": "layouts/_shortcodes/requires_vue.html",
    "content": "<a href=\"{{ \"getting-started/vue/\" | relURL }}\"\n    class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\"\n    aria-label=\"Component requires Vue\">\n    <span class=\"text-xs bg-green-500 rounded-full text-white px-3 py-1.5 mr-3\">\n        <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"vuejs\" class=\"w-4 h-4\" role=\"img\"\n            xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\">\n            <path fill=\"currentColor\"\n                d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\">\n            </path>\n        </svg></span> <span class=\"text-sm font-medium\">Requires Vue.js</span>\n</a>"
  },
  {
    "path": "layouts/alias.html",
    "content": "{{ partial \"redirect\" .Permalink }}\n"
  },
  {
    "path": "layouts/baseof.html",
    "content": "<!doctype html>\n<html lang=\"en\" data-theme=\"modern\" class=\"group/root\">\n\n<head>\n  {{ partial \"header\" . }}\n</head>\n{{ block \"body_override\" . }}\n\n<body class=\"bg-neutral-primary antialiased bg-linear-to-b from-0% dark:from-brand/8 from-neutral-secondary to-[48rem] to-primary\">\n  {{ end }}\n\n  {{ block \"main\" . }}\n  {{ end }}\n\n  {{ partial \"footer\" . }}\n  {{ partial \"scripts\" . }}\n\n  {{ block \"footer\" . }}\n  {{ end }}\n</body>\n\n</html>"
  },
  {
    "path": "layouts/dashboard.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    {{ partial \"header\" . }}\n  </head>\n  {{ block \"body_override\" . }}<body>{{ end }}\n\n    {{ partial \"dashboard/navbar\" . }}\n\n    {{ partial \"dashboard/sidebar\" . }}\n\n    <main class=\"pt-4 pb-4 content pt-lg-xl\">\n\n        {{ block \"main\" . }}\n        {{ end }}\n    </main>\n\n    {{ partial \"dashboard/footer\" . }}\n    {{ partial \"scripts\" . }}\n\n    {{ block \"footer\" . }}\n    {{ end }}\n  </body>\n</html>\n"
  },
  {
    "path": "layouts/docs.html",
    "content": "{{ define \"main\" }}\n\n{{ partial \"navbar\" }}\n\n<div class=\"w-full px-4 lg:px-0 mx-auto max-w-8xl border-s border-e border-light-subtle\">\n  <div class=\"lg:flex\">\n    <!-- Sidebar -->\n    <aside id=\"sidebar\" class=\"fixed inset-0 z-20 xl:z-10 bg-neutral-primary xl:bg-transparent flex-none hidden h-full w-72 lg:static lg:h-auto lg:overflow-y-visible lg:pt-0 lg:w-56 lg:block border-e border-light-subtle\" aria-labelledby=\"sidebar-label\">\n      <h4 id=\"sidebar-label\" class=\"sr-only\">Browse docs</h4>\n      {{ partial \"sidebar\" . }}\n    </aside>\n\n    <div class=\"fixed inset-0 z-10 hidden bg-dark/50 dark:bg-dark/60\" id=\"sidebarBackdrop\"></div>\n\n    <main id=\"content-wrapper\" class=\"flex-auto w-full min-w-0 lg:static lg:max-h-full lg:overflow-visible mt-32 xl:mt-30\">\n      <div class=\"flex w-full\">\n\n        <!-- Main content -->\n        <div class=\"flex-auto max-w-full min-w-0\">\n\n          <!-- Intro -->\n          <div id=\"introContent\" class=\"border-b border-light-subtle py-8 lg:px-8 \">\n            {{ if ( eq .Page.Params.requires_js true) }}\n              <aside class=\"mb-5\" aria-label=\"Component requires Flowbite JavaScript\">\n                <a href=\"{{ \"getting-started/quickstart/\" | relURL }}\" class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-fg-brand-strong bg-brand-softer rounded-full px-3 py-1.5 mr-3 border border-brand-subtle\"><svg aria-hidden=\"true\" class=\"w-4 h-4\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"></path></svg></span> \n                  <span class=\"text-sm font-medium\">Requires Flowbite JS</span> \n                  <svg class=\"w-4 h-4 ml-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n                </a>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_laravel true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Laravel\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-[#ff2d20] rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"laravel\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z\"></path></svg></span> <span class=\"text-sm font-medium\">Requires Laravel</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_symfony true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Symfony\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4 dark:hidden\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"black\"/>\n                      <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.618 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.581 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.117 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.198 465.623 153.205 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.713 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.949 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.041 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"white\"/>\n                    </svg>\n                    <svg aria-hidden=\"true\" class=\"hidden w-4 h-4 dark:inline-block\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"white\"/>\n                      <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.617 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.58 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.116 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.197 465.623 153.204 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.712 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.948 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.04 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"#1F2A37\"/>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Symfony</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_javascript true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires JavaScript\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1052 1052\"><path fill=\"#f0db4f\" d=\"M0 0h1052v1052H0z\"/><path d=\"M965.9 801.1c-7.7-48-39-88.3-131.7-125.9-32.2-14.8-68.1-25.399-78.8-49.8-3.8-14.2-4.3-22.2-1.9-30.8 6.9-27.9 40.2-36.6 66.6-28.6 17 5.7 33.1 18.801 42.8 39.7 45.4-29.399 45.3-29.2 77-49.399-11.6-18-17.8-26.301-25.4-34-27.3-30.5-64.5-46.2-124-45-10.3 1.3-20.699 2.699-31 4-29.699 7.5-58 23.1-74.6 44-49.8 56.5-35.6 155.399 25 196.1 59.7 44.8 147.4 55 158.6 96.9 10.9 51.3-37.699 67.899-86 62-35.6-7.4-55.399-25.5-76.8-58.4-39.399 22.8-39.399 22.8-79.899 46.1 9.6 21 19.699 30.5 35.8 48.7 76.2 77.3 266.899 73.5 301.1-43.5 1.399-4.001 10.6-30.801 3.199-72.101zm-394-317.6h-98.4c0 85-.399 169.4-.399 254.4 0 54.1 2.8 103.7-6 118.9-14.4 29.899-51.7 26.2-68.7 20.399-17.3-8.5-26.1-20.6-36.3-37.699-2.8-4.9-4.9-8.7-5.601-9-26.699 16.3-53.3 32.699-80 49 13.301 27.3 32.9 51 58 66.399 37.5 22.5 87.9 29.4 140.601 17.3 34.3-10 63.899-30.699 79.399-62.199 22.4-41.3 17.6-91.3 17.4-146.6.5-90.2 0-180.4 0-270.9z\" fill=\"#323330\"/></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires JavaScript</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_typescript true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires TypeScript\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" fill=\"none\" class=\"w-4 h-4\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><path clip-rule=\"evenodd\" d=\"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z\" fill=\"#fff\" fill-rule=\"evenodd\"/></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires TypeScript</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_react true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires React\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-fg-brand-strong bg-brand-softer rounded-full px-3 py-1.5 mr-3 border border-brand-subtle\">\n                    <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"react\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\"></path></svg></span> <span class=\"text-sm font-medium\">Requires React</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_nextjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Next.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" viewBox=\"0 0 207 124\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                    <defs></defs>\n                    <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                        <g id=\"Black-Next.js\" transform=\"translate(-247.000000, -138.000000)\" fill=\"#000000\" fill-rule=\"nonzero\">\n                            <g id=\"next-black\" transform=\"translate(247.000000, 138.000000)\">\n                                <g id=\"EXT-+-Type-something\">\n                                    <path d=\"M48.9421964,32.6320058 L87.9011585,32.6320058 L87.9011585,35.7136421 L52.5134345,35.7136421 L52.5134345,58.9070103 L85.7908813,58.9070103 L85.7908813,61.9886466 L52.5134345,61.9886466 L52.5134345,87.4526941 L88.306981,87.4526941 L88.306981,90.5343303 L48.9421964,90.5343303 L48.9421964,32.6320058 Z M91.3912326,32.6320058 L95.5306221,32.6320058 L113.8738,58.0960534 L132.622801,32.6320058 L158.124498,0.286809811 L116.22757,60.7722112 L137.817329,90.5343303 L133.51561,90.5343303 L113.8738,63.4483691 L94.1508254,90.5343303 L89.9302715,90.5343303 L111.682358,60.7722112 L91.3912326,32.6320058 Z M139.359455,35.713642 L139.359455,32.6320058 L183.756439,32.6320058 L183.756439,35.7136421 L163.302983,35.7136421 L163.302983,90.5343303 L159.731745,90.5343303 L159.731745,35.7136421 L139.359455,35.713642 Z\" id=\"EXT\"></path>\n                                    <polygon id=\"Type-something\" points=\"0.202923647 32.6320058 4.66697141 32.6320058 66.2235778 124.303087 40.785176 90.5343303 3.93649086 37.0111732 3.77416185 90.5343303 0.202923647 90.5343303\"></polygon>\n                                </g>\n                                <path d=\"M183.396622,86.5227221 C184.134938,86.5227221 184.673474,85.9601075 184.673474,85.233037 C184.673474,84.5059658 184.134938,83.9433513 183.396622,83.9433513 C182.666993,83.9433513 182.11977,84.5059658 182.11977,85.233037 C182.11977,85.9601075 182.666993,86.5227221 183.396622,86.5227221 Z M186.905793,83.1297235 C186.905793,85.2763149 188.460599,86.678523 190.727662,86.678523 C193.142388,86.678523 194.601647,85.233037 194.601647,82.7229099 L194.601647,73.8855335 L192.655968,73.8855335 L192.655968,82.7142542 C192.655968,84.1078073 191.952397,84.8521899 190.710289,84.8521899 C189.598473,84.8521899 188.842785,84.1597409 188.816727,83.1297235 L186.905793,83.1297235 Z M197.146664,83.0172011 C197.285642,85.2503478 199.153145,86.678523 201.932686,86.678523 C204.903321,86.678523 206.762139,85.1811034 206.762139,82.792155 C206.762139,80.9138876 205.702439,79.8752151 203.131364,79.2779777 L201.750279,78.9404092 C200.117298,78.5595622 199.457158,78.0488813 199.457158,77.1573541 C199.457158,76.0321243 200.482113,75.296398 202.019547,75.296398 C203.478806,75.296398 204.48639,76.0148135 204.668797,77.1660091 L206.562359,77.1660091 C206.44944,75.0626962 204.590622,73.5825873 202.045605,73.5825873 C199.309495,73.5825873 197.48542,75.0626962 197.48542,77.2871878 C197.48542,79.1221767 198.519063,80.2127835 200.786126,80.7407758 L202.401734,81.1302779 C204.060773,81.5197807 204.790402,82.091051 204.790402,83.0431676 C204.790402,84.1510859 203.643842,84.9560573 202.08035,84.9560573 C200.403939,84.9560573 199.240006,84.2030196 199.074971,83.0172011 L197.146664,83.0172011 Z\" id=\".JS\"></path>\n                            </g>\n                        </g>\n                    </g>\n                </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Next.js</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_remix true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Remix\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-1 mr-3 text-xs text-white bg-white rounded-full\">\n                  <svg class=\"w-5 h-5 text-gray-950 dark:text-white\" aria-hidden=\"true\" viewBox=\"0 0 140 161\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n                  <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M133.85 124.16C135.3 142.762 135.3 151.482 135.3 161H92.2283C92.2283 158.927 92.2653 157.03 92.3028 155.107C92.4195 149.128 92.5411 142.894 91.5717 130.304C90.2905 111.872 82.3473 107.776 67.7419 107.776H54.8021H0V74.24H69.7918C88.2407 74.24 97.4651 68.632 97.4651 53.784C97.4651 40.728 88.2407 32.816 69.7918 32.816H0V0H77.4788C119.245 0 140 19.712 140 51.2C140 74.752 125.395 90.112 105.665 92.672C122.32 96 132.057 105.472 133.85 124.16Z\" fill=\"black\"/>\n                  <path d=\"M0 161V136H45.5416C53.1486 136 54.8003 141.638 54.8003 145V161H0Z\" fill=\"black\"/>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Remix</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_nuxtjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Nuxt\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white rounded-full bg-neutral-primary-medium\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" viewBox=\"0 0 900 900\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M504.908 750H839.476C850.103 750.001 860.542 747.229 869.745 741.963C878.948 736.696 886.589 729.121 891.9 719.999C897.211 710.876 900.005 700.529 900 689.997C899.995 679.465 897.193 669.12 891.873 660.002L667.187 274.289C661.876 265.169 654.237 257.595 645.036 252.329C635.835 247.064 625.398 244.291 614.773 244.291C604.149 244.291 593.711 247.064 584.511 252.329C575.31 257.595 567.67 265.169 562.36 274.289L504.908 372.979L392.581 179.993C387.266 170.874 379.623 163.301 370.42 158.036C361.216 152.772 350.777 150 340.151 150C329.525 150 319.086 152.772 309.883 158.036C300.679 163.301 293.036 170.874 287.721 179.993L8.12649 660.002C2.80743 669.12 0.00462935 679.465 5.72978e-06 689.997C-0.00461789 700.529 2.78909 710.876 8.10015 719.999C13.4112 729.121 21.0523 736.696 30.255 741.963C39.4576 747.229 49.8973 750.001 60.524 750H270.538C353.748 750 415.112 713.775 457.336 643.101L559.849 467.145L614.757 372.979L779.547 655.834H559.849L504.908 750ZM267.114 655.737L120.551 655.704L340.249 278.586L449.87 467.145L376.474 593.175C348.433 639.03 316.577 655.737 267.114 655.737Z\" fill=\"#00DC82\"/>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Nuxt</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_hugo true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires HUGO\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white rounded-full bg-neutral-primary-medium\">\n                  <svg aria-hidden=\"true\" class=\"w-5 h-5\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \n                        viewBox=\"0 0 370 391\" xml:space=\"preserve\">\n                    <style type=\"text/css\">\n                        .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#FF4088;stroke:#C9177E;stroke-width:27;}\n                        .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}\n                    </style>\n                    <path class=\"st0\" d=\"M207.5,22.4L321.9,89c13.5,7.9,21.9,22.4,21.9,38v136.4c0,17.3-9.3,33.3-24.5,41.8l-113.5,63.9\n                        c-15.1,8.5-33.5,8.4-48.5-0.2L52.8,308.8c-16.4-9.5-26.6-27-26.6-45.9V133.4c0-19.1,9.9-36.8,26.1-46.8l102.8-63.5\n                        C171.1,13.2,191.3,13,207.5,22.4z\"/>\n                    <polygon class=\"st1\" points=\"105.6,298.2 105.6,91 149,91 149,166.5 220.9,166.5 220.9,91 264.4,91 264.4,298.2 220.9,298.2 \n                        220.9,207.6 149,207.6 149,298.2 \"/>\n                    </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires HUGO</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_vue true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Vue.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-green-500 rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"vuejs\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path fill=\"currentColor\" d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\"></path></svg>\n                  </span> \n                  <span class=\"text-sm font-medium\">Requires Vue.js</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_svelte true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Svelte\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n                      viewBox=\"0 0 98.1 118\" style=\"enable-background:new 0 0 98.1 118;\" xml:space=\"preserve\">\n                    <style type=\"text/css\">\n                      .st0{fill:#FF3E00;}\n                      .st1{fill:#FFFFFF;}\n                    </style>\n                    <path class=\"st0\" d=\"M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3\n                      c-2.4,3.6-4,7.6-4.7,11.8c-1.6,8.9,0.5,18.1,5.7,25.4c11,15.7,32.6,20.3,48.2,10.4l27.5-17.5c7.5-4.7,12.7-12.4,14.2-21.1\n                      c1.3-7.3,0.2-14.8-3.3-21.3c2.4-3.6,4-7.6,4.7-11.8C99.2,32.1,97.1,22.9,91.8,15.6\"/>\n                    <path class=\"st1\" d=\"M40.9,103.9c-8.9,2.3-18.2-1.2-23.4-8.7c-3.2-4.4-4.4-9.9-3.5-15.3c0.2-0.9,0.4-1.7,0.6-2.6l0.5-1.6l1.4,1\n                      c3.3,2.4,6.9,4.2,10.8,5.4l1,0.3l-0.1,1c-0.1,1.4,0.3,2.9,1.1,4.1c1.6,2.3,4.4,3.4,7.1,2.7c0.6-0.2,1.2-0.4,1.7-0.7L65.5,72\n                      c1.4-0.9,2.3-2.2,2.6-3.8c0.3-1.6-0.1-3.3-1-4.6c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7l-10.5,6.7\n                      c-1.7,1.1-3.6,1.9-5.6,2.4c-8.9,2.3-18.2-1.2-23.4-8.7c-3.1-4.4-4.4-9.9-3.4-15.3c0.9-5.2,4.1-9.9,8.6-12.7l27.5-17.5\n                      c1.7-1.1,3.6-1.9,5.6-2.5c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.2,0.9-0.4,1.7-0.7,2.6l-0.5,1.6l-1.4-1\n                      c-3.3-2.4-6.9-4.2-10.8-5.4l-1-0.3l0.1-1c0.1-1.4-0.3-2.9-1.1-4.1c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7L32.4,46.1\n                      c-1.4,0.9-2.3,2.2-2.6,3.8s0.1,3.3,1,4.6c1.6,2.3,4.4,3.3,7.1,2.6c0.6-0.2,1.2-0.4,1.7-0.7l10.5-6.7c1.7-1.1,3.6-1.9,5.6-2.5\n                      c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.9,5.2-4.1,9.9-8.6,12.7l-27.5,17.5C44.8,102.5,42.9,103.3,40.9,103.9\"/>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Svelte</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_angular true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Angular\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg class=\"w-4 h-4\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n                          viewBox=\"0 0 250 250\" style=\"enable-background:new 0 0 250 250;\" xml:space=\"preserve\">\n                      <style type=\"text/css\">\n                          .st0{fill:#DD0031;}\n                          .st1{fill:#C3002F;}\n                          .st2{fill:#FFFFFF;}\n                      </style>\n                      <g>\n                          <polygon class=\"st0\" points=\"125,30 125,30 125,30 31.9,63.2 46.1,186.3 125,230 125,230 125,230 203.9,186.3 218.1,63.2 \t\"/>\n                          <polygon class=\"st1\" points=\"125,30 125,52.2 125,52.1 125,153.4 125,153.4 125,230 125,230 203.9,186.3 218.1,63.2 125,30 \t\"/>\n                          <path class=\"st2\" d=\"M125,52.1L66.8,182.6h0h21.7h0l11.7-29.2h49.4l11.7,29.2h0h21.7h0L125,52.1L125,52.1L125,52.1L125,52.1\n                              L125,52.1z M142,135.4H108l17-40.9L142,135.4z\"/>\n                      </g>\n                  </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Angular</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_astro true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Astro\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4 dark:hidden\" viewBox=\"0 0 1280 1280\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M815.039 94.6439C824.758 106.709 829.714 122.99 839.626 155.553L1056.17 866.901C976.107 825.368 889.072 795.413 797.281 779.252L656.29 302.798C653.983 295.002 646.822 289.654 638.693 289.654C630.542 289.654 623.368 295.03 621.08 302.853L481.795 779.011C389.579 795.1 302.146 825.109 221.741 866.793L439.347 155.388L439.348 155.388C449.291 122.882 454.262 106.629 463.982 94.5853C472.562 83.9531 483.723 75.6958 496.4 70.6002C510.76 64.8284 527.756 64.8284 561.749 64.8284H717.174C751.212 64.8284 768.23 64.8284 782.603 70.6123C795.292 75.7184 806.459 83.9923 815.039 94.6439Z\" fill=\"url(#paint0_linear_709_110)\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M840.951 900.754C805.253 931.279 734.002 952.097 651.929 952.097C551.197 952.097 466.767 920.737 444.363 878.561C436.354 902.732 434.558 930.396 434.558 948.068C434.558 948.068 429.281 1034.84 489.636 1095.2C489.636 1063.86 515.042 1038.46 546.381 1038.46C600.097 1038.46 600.036 1085.32 599.987 1123.34C599.986 1124.48 599.984 1125.61 599.984 1126.73C599.984 1184.44 635.255 1233.91 685.416 1254.77C677.924 1239.36 673.721 1222.05 673.721 1203.77C673.721 1148.73 706.034 1128.23 743.588 1104.41L743.588 1104.41C773.469 1085.46 806.668 1064.41 829.548 1022.17C841.486 1000.13 848.265 974.893 848.265 948.068C848.265 931.573 845.702 915.676 840.951 900.754Z\" fill=\"#FF5D01\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M840.951 900.754C805.253 931.279 734.002 952.097 651.929 952.097C551.197 952.097 466.767 920.737 444.363 878.561C436.354 902.732 434.558 930.396 434.558 948.068C434.558 948.068 429.281 1034.84 489.636 1095.2C489.636 1063.86 515.042 1038.46 546.381 1038.46C600.097 1038.46 600.036 1085.32 599.987 1123.34C599.986 1124.48 599.984 1125.61 599.984 1126.73C599.984 1184.44 635.255 1233.91 685.416 1254.77C677.924 1239.36 673.721 1222.05 673.721 1203.77C673.721 1148.73 706.034 1128.23 743.588 1104.41L743.588 1104.41C773.469 1085.46 806.668 1064.41 829.548 1022.17C841.486 1000.13 848.265 974.893 848.265 948.068C848.265 931.573 845.702 915.676 840.951 900.754Z\" fill=\"url(#paint1_linear_709_110)\"/>\n                      <defs>\n                      <linearGradient id=\"paint0_linear_709_110\" x1=\"882.997\" y1=\"27.1132\" x2=\"638.955\" y2=\"866.902\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#000014\"/>\n                      <stop offset=\"1\" stop-color=\"#150426\"/>\n                      </linearGradient>\n                      <linearGradient id=\"paint1_linear_709_110\" x1=\"1001.68\" y1=\"652.45\" x2=\"790.326\" y2=\"1094.91\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#FF1639\"/>\n                      <stop offset=\"1\" stop-color=\"#FF1639\" stop-opacity=\"0\"/>\n                      </linearGradient>\n                      </defs>\n                    </svg>\n                    <svg aria-hidden=\"true\" class=\"hidden w-4 h-4 dark:inline-block\" viewBox=\"0 0 1281 1280\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M815.931 94.6439C825.65 106.709 830.606 122.99 840.519 155.553L1057.06 866.901C976.999 825.368 889.964 795.413 798.174 779.252L657.182 302.798C654.875 295.002 647.715 289.654 639.585 289.654C631.434 289.654 624.26 295.03 621.972 302.853L482.688 779.011C390.471 795.1 303.038 825.109 222.634 866.793L440.24 155.388L440.24 155.388C450.183 122.882 455.154 106.629 464.874 94.5853C473.455 83.9531 484.616 75.6958 497.293 70.6002C511.652 64.8284 528.649 64.8284 562.642 64.8284H718.067C752.104 64.8284 769.123 64.8284 783.496 70.6123C796.184 75.7184 807.352 83.9923 815.931 94.6439Z\" fill=\"url(#paint0_linear_709_106)\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M841.843 900.754C806.146 931.279 734.895 952.097 652.822 952.097C552.089 952.097 467.659 920.737 445.256 878.561C437.247 902.732 435.45 930.396 435.45 948.068C435.45 948.068 430.173 1034.84 490.528 1095.2C490.528 1063.86 515.934 1038.46 547.273 1038.46C600.989 1038.46 600.929 1085.32 600.88 1123.34C600.878 1124.48 600.877 1125.61 600.877 1126.73C600.877 1184.44 636.147 1233.91 686.308 1254.77C678.816 1239.36 674.613 1222.05 674.613 1203.77C674.613 1148.73 706.926 1128.23 744.48 1104.41L744.481 1104.41C774.361 1085.46 807.56 1064.41 830.44 1022.17C842.379 1000.13 849.158 974.893 849.158 948.068C849.158 931.573 846.594 915.676 841.843 900.754Z\" fill=\"#FF5D01\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M841.843 900.754C806.146 931.279 734.895 952.097 652.822 952.097C552.089 952.097 467.659 920.737 445.256 878.561C437.247 902.732 435.45 930.396 435.45 948.068C435.45 948.068 430.173 1034.84 490.528 1095.2C490.528 1063.86 515.934 1038.46 547.273 1038.46C600.989 1038.46 600.929 1085.32 600.88 1123.34C600.878 1124.48 600.877 1125.61 600.877 1126.73C600.877 1184.44 636.147 1233.91 686.308 1254.77C678.816 1239.36 674.613 1222.05 674.613 1203.77C674.613 1148.73 706.926 1128.23 744.48 1104.41L744.481 1104.41C774.361 1085.46 807.56 1064.41 830.44 1022.17C842.379 1000.13 849.158 974.893 849.158 948.068C849.158 931.573 846.594 915.676 841.843 900.754Z\" fill=\"url(#paint1_linear_709_106)\"/>\n                      <defs>\n                      <linearGradient id=\"paint0_linear_709_106\" x1=\"883.889\" y1=\"27.1132\" x2=\"639.848\" y2=\"866.902\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"white\"/>\n                      <stop offset=\"1\" stop-color=\"#F9FAFB\"/>\n                      </linearGradient>\n                      <linearGradient id=\"paint1_linear_709_106\" x1=\"1002.57\" y1=\"652.45\" x2=\"791.219\" y2=\"1094.91\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#FF1639\"/>\n                      <stop offset=\"1\" stop-color=\"#FF1639\" stop-opacity=\"0\"/>\n                      </linearGradient>\n                      </defs>\n                    </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Astro</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_gatsby true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Gatsby\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" class=\"w-4 h-4\" viewBox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <g clip-path=\"url(#clip0_4012_35501)\">\n                    <path d=\"M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28Z\" fill=\"#663399\"/>\n                    <path d=\"M6.2 21.8C4.1 19.7 3 16.9 3 14.2L13.9 25C11.1 24.9 8.3 23.9 6.2 21.8Z\" fill=\"white\"/>\n                    <path d=\"M16.3998 24.7L3.2998 11.6C4.3998 6.7 8.7998 3 13.9998 3C17.6998 3 20.8998 4.8 22.8998 7.5L21.3998 8.8C19.6998 6.5 16.9998 5 13.9998 5C10.0998 5 6.7998 7.5 5.4998 11L16.9998 22.5C19.8998 21.5 22.0998 19 22.7998 16H17.9998V14H24.9998C24.9998 19.2 21.2998 23.6 16.3998 24.7Z\" fill=\"white\"/>\n                    </g>\n                    <defs>\n                    <clipPath id=\"clip0_4012_35501\">\n                    <rect width=\"28\" height=\"28\" fill=\"white\"/>\n                    </clipPath>\n                    </defs>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Gatsby</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_meteorjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Meteor.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" width=\"2500\" height=\"2451\" viewBox=\"0 0 256 251\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\"><g fill=\"#DF4F4F\"><path d=\"M.439.438L219.3 232.266s7.457 5.259 13.158-.877c5.702-6.135 1.316-12.27 1.316-12.27L.44.439zM69.738 22.35l166.668 179.677s7.456 5.26 13.158-.876c5.702-6.135 1.316-12.27 1.316-12.27L69.738 22.35zM21.053 69.242L187.72 248.919s7.456 5.259 13.158-.877c5.702-6.135 1.316-12.27 1.316-12.27L21.053 69.242zM128.32 41.194l116.442 125.53s5.21 3.674 9.193-.612c3.983-4.287.919-8.573.919-8.573L128.321 41.194zM37.092 123.583l116.441 125.53s5.21 3.674 9.193-.613c3.983-4.286.919-8.572.919-8.572L37.092 123.583zM188.16 68.365l52.775 57.067s2.577 1.722 4.547-.287c1.97-2.008.455-4.017.455-4.017L188.16 68.365zM66.229 181.43l52.775 57.067s2.577 1.722 4.547-.286c1.97-2.009.455-4.017.455-4.017L66.229 181.43z\"/></g></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Meteor.js</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_solidjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires SolidJS\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 166 155.3\"><defs><linearGradient id=\"a\" gradientUnits=\"userSpaceOnUse\" x1=\"27.5\" y1=\"3\" x2=\"152\" y2=\"63.5\"><stop offset=\".1\" stop-color=\"#76b3e1\"/><stop offset=\".3\" stop-color=\"#dcf2fd\"/><stop offset=\"1\" stop-color=\"#76b3e1\"/></linearGradient><linearGradient id=\"b\" gradientUnits=\"userSpaceOnUse\" x1=\"95.8\" y1=\"32.6\" x2=\"74\" y2=\"105.2\"><stop offset=\"0\" stop-color=\"#76b3e1\"/><stop offset=\".5\" stop-color=\"#4377bb\"/><stop offset=\"1\" stop-color=\"#1f3b77\"/></linearGradient><linearGradient id=\"c\" gradientUnits=\"userSpaceOnUse\" x1=\"18.4\" y1=\"64.2\" x2=\"144.3\" y2=\"149.8\"><stop offset=\"0\" stop-color=\"#315aa9\"/><stop offset=\".5\" stop-color=\"#518ac8\"/><stop offset=\"1\" stop-color=\"#315aa9\"/></linearGradient><linearGradient id=\"d\" gradientUnits=\"userSpaceOnUse\" x1=\"75.2\" y1=\"74.5\" x2=\"24.4\" y2=\"260.8\"><stop offset=\"0\" stop-color=\"#4377bb\"/><stop offset=\".5\" stop-color=\"#1a336b\"/><stop offset=\"1\" stop-color=\"#1a336b\"/></linearGradient></defs><path d=\"M163 35S110-4 69 5l-3 1c-6 2-11 5-14 9l-2 3-15 26 26 5c11 7 25 10 38 7l46 9 18-30z\" fill=\"#76b3e1\"/><path d=\"M163 35S110-4 69 5l-3 1c-6 2-11 5-14 9l-2 3-15 26 26 5c11 7 25 10 38 7l46 9 18-30z\" opacity=\".3\" fill=\"url(#a)\"/><path d=\"M52 35l-4 1c-17 5-22 21-13 35 10 13 31 20 48 15l62-21S92 26 52 35z\" fill=\"#518ac8\"/><path d=\"M52 35l-4 1c-17 5-22 21-13 35 10 13 31 20 48 15l62-21S92 26 52 35z\" opacity=\".3\" fill=\"url(#b)\"/><path d=\"M134 80a45 45 0 00-48-15L24 85 4 120l112 19 20-36c4-7 3-15-2-23z\" fill=\"url(#c)\"/><path d=\"M114 115a45 45 0 00-48-15L4 120s53 40 94 30l3-1c17-5 23-21 13-34z\" fill=\"url(#d)\"/></svg>\n                  </span>\n                <span class=\"text-sm font-medium\">Requires SolidJS</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_qwik true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Qwik\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 128\">\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(9.411765%,71.372549%,96.470588%);fill-opacity:1;\" d=\"M 95.671875 112.554688 L 78.242188 95.214844 L 77.996094 95.257812 L 77.996094 95.074219 L 40.929688 58.417969 L 50.082031 49.597656 L 44.699219 18.757812 L 19.230469 50.355469 C 14.90625 54.722656 14.074219 61.863281 17.207031 67.105469 L 33.125 93.527344 C 35.558594 97.578125 39.382812 100.183594 44.722656 99.992188 C 56.027344 99.589844 60.996094 99.589844 60.996094 99.589844 L 95.664062 112.546875 L 95.671875 112.558594 Z M 95.671875 112.554688 \"/>\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(67.45098%,49.411765%,95.686275%);fill-opacity:1;\" d=\"M 104.285156 63.960938 C 106.792969 58.785156 107.691406 54.257812 105.214844 49.707031 L 101.691406 43.222656 L 99.863281 39.894531 L 99.152344 38.597656 L 99.085938 38.671875 L 89.5 22.042969 C 87.082031 17.835938 82.582031 15.265625 77.734375 15.320312 L 69.328125 15.558594 L 44.234375 15.625 C 39.496094 15.65625 35.125 18.175781 32.722656 22.257812 L 17.476562 52.539062 L 44.761719 18.59375 L 80.554688 57.953125 L 74.148438 64.445312 L 77.972656 95.238281 L 78.027344 95.167969 L 78.027344 95.257812 L 77.972656 95.257812 L 78.046875 95.332031 L 81.03125 98.238281 L 95.46875 112.339844 C 96.074219 112.925781 97.058594 112.222656 96.65625 111.5 L 87.730469 93.9375 \"/>\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 80.640625 57.855469 L 44.753906 18.695312 L 49.851562 49.359375 L 40.71875 58.222656 L 77.90625 95.179688 L 74.554688 64.5 L 80.640625 57.867188 Z M 80.640625 57.855469 \"/>\n                    </svg>\n                  </span>\n                <span class=\"text-sm font-medium\">Requires Qwik</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_rails true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Ruby on Rails\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4\" viewBox=\"0 0 411 155\">\n                      <g fill=\"#CC0000\" fill-rule=\"evenodd\" transform=\"translate(8 8)\">\n                        <path d=\"M344.6 121.5L344.6 139.6 377.3 139.6C384 139.6 395.5 134.7 395.9 121L395.9 114C395.9 102.3 386.3 95.4 377.3 95.4L361 95.4 361 87 393.3 87 393.3 68.8 362.3 68.8C354.3 68.8 343.6 75.4 343.6 87.7L343.6 94C343.6 106.3 354.2 112.6 362.3 112.6 384.8 112.7 356.9 112.6 377.7 112.6L377.7 121.4M169.4 117.1C169.4 117.1 186.9 115.6 186.9 93 186.9 70.4 165.7 68.3 165.7 68.3L127.5 68.3 127.5 139.6 146.7 139.6 146.7 122.4 163.3 139.6 191.7 139.6 169.4 117.1zM162 102.5L146.7 102.5 146.7 86.2 162.1 86.2C162.1 86.2 166.4 87.8 166.4 94.3 166.4 100.8 162 102.5 162 102.5zM234.3 68.8L214.8 68.8C200.9 68.8 196.2 81.4 196.2 87.4L196.2 139.6 215.7 139.6 215.7 127.1 234 127.1 234 139.6 252.9 139.6 252.9 87.4C252.9 72.2 239.1 68.8 234.3 68.8zM234 106.9L215.6 106.9 215.6 89.6C215.6 89.6 215.6 85.7 221.7 85.7L228.4 85.7C233.8 85.7 233.9 89.6 233.9 89.6L233.9 106.9 234 106.9z\"/>\n                        <rect width=\"20.3\" height=\"70.8\" x=\"261.8\" y=\"68.8\"/>\n                        <polygon points=\"310.6 121.3 310.6 68.8 290.4 68.8 290.4 121.3 290.4 139.6 310.6 139.6 337.9 139.6 337.9 121.3\"/>\n                        <path d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\"/>\n                        <path d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\"/>\n                        <path d=\"M7 139.6L86 139.6C86 139.6 70.9 70.7 120.9 42.8 131.8 37.5 166.5 17.7 223.3 59.7 225.1 58.2 226.8 57 226.8 57 226.8 57 174.8 5.1 116.9 10.9 87.7 13.5 51.9 40 30.9 75 9.9 110 7 139.6 7 139.6zM171.6 16.5L172 9.8C171.1 9.3 168.6 8.1 162.3 6.3L161.9 12.9C165.2 14 168.4 15.2 171.6 16.5z\"/>\n                        <path d=\"M162.1 37.7L161.7 44C165 44.1 168.3 44.5 171.6 45.2L172 39C168.6 38.3 165.3 37.9 162.1 37.7zM125.1 6.5L126.1 6.5 124.1.4C121 .4 117.8.6 114.5 1L116.4 6.9C119.3 6.6 122.2 6.5 125.1 6.5zM129.9 43.3L132.2 50.2C135.1 48.8 138 47.6 140.9 46.7L138.7 40.1C135.3 41.1 132.4 42.2 129.9 43.3zM84.5 17L80 10.1C77.5 11.4 74.9 12.8 72.2 14.4L76.8 21.4C79.4 19.8 81.9 18.3 84.5 17zM105 62L109.8 69.2C111.5 66.7 113.5 64.4 115.7 62.1L111.2 55.3C108.9 57.4 106.8 59.7 105 62zM90.5 94.2L98.6 100.6C99 96.7 99.7 92.8 100.7 88.9L93.5 83.2C92.2 86.9 91.3 90.6 90.5 94.2zM46.7 46.7L39.6 40.5C37 43 34.5 45.5 32.2 48L39.9 54.6C42 51.9 44.3 49.2 46.7 46.7zM16.5 91.4L5 87.2C3.1 91.5 1 96.5 0 99.2L11.5 103.4C12.8 100 14.9 95.1 16.5 91.4zM89 119.6C89.2 124.9 89.7 129.2 90.2 132.2L102.2 136.5C101.3 132.6 100.4 128.2 99.8 123.5L89 119.6z\"/>\n                      </g>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Ruby on Rails</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_phoenix true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Phoenix Framework\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" class=\"w-4 h-4\" viewBox=\"0 0 256 175\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"xMidYMid\">\n                      <g>\n                          <path d=\"M96.135,122.038046 C95.007,121.835046 94.565,121.758046 94.123,121.676046 C79.835,119.019046 70.803,110.373046 66.523,96.7810463 C63.855,88.3090463 68.703,82.0700463 77.589,81.6590463 C84.865,81.3220463 89.845,85.5040463 94.249,90.3700463 C99.926,96.6440463 105.13,103.343046 110.706,109.711046 C118.734,118.878046 128.193,124.781046 141.135,122.959046 C152.74,121.325046 162.853,116.668046 171.653,109.003046 C172.976,107.851046 174.427,106.847046 175.82,105.774046 C175.527,105.429046 175.235,105.084046 174.942,104.739046 C167.555,107.033046 160.021,107.804046 152.323,107.417046 C140.675,106.831046 129.576,104.399046 119.645,98.0040463 C110.583,92.1680463 103.9,84.3480463 100.723,73.9030463 C98.157,65.4650463 103.409,59.5620463 112.153,60.7820463 C115.61,61.2640463 118.52,62.8210463 121.132,65.0290463 C123.259,66.8250463 125.299,68.7290463 127.468,70.4710463 C137.674,78.6720463 151.935,79.1280463 164.89,70.2240463 C143.592,70.1270463 129.102,58.4120463 116.375,43.5650463 C111.394,37.7540463 106.531,31.8390463 101.447,26.1200463 C91.61,15.0530463 80.697,5.3030463 65.754,1.9770463 C46.666,-2.2719537 28.238,0.505046296 10.55,8.6060463 C7.023,10.2210463 3.636,12.0990463 0,15.1250463 C1.8,15.1250463 2.782,15.1470463 3.762,15.1220463 C12.68,14.8920463 19.363,18.8550463 24.183,26.1500463 C27.691,31.4590463 29.344,37.4630463 30.604,43.6400463 C32.474,52.8070463 31.506,62.1530463 32.586,71.3620463 C35.362,95.0370463 47.462,111.558046 69.992,120.018046 C78.254,123.121046 86.728,124.154046 96.135,122.038046 L96.135,122.038046 Z M39.196,14.0410463 C35.636,14.9390463 32.791,13.5020463 29.859,10.5350463 C34.88,9.2840463 39.308,8.7990463 44.066,8.6120463 C43.677,11.7010463 41.855,13.3710463 39.196,14.0410463 Z M155.854,152.292046 C155.544,150.013046 153.597,149.009046 152.066,147.817046 C145.294,142.546046 137.374,140.680046 128.977,140.525046 C123.966,140.433046 119.007,140.059046 114.281,138.302046 C112.115,137.497046 109.692,136.463046 109.747,133.664046 C109.802,130.824046 112.273,130.021046 114.522,129.349046 C116.363,128.799046 118.263,128.448046 120.359,127.958046 C115.035,124.546046 109.834,124.073046 102.904,126.860046 C91.995,131.246046 81.24,130.726046 70.365,126.799046 C64.225,124.583046 58.776,121.104046 53.103,118.023046 L52.948,118.130046 C53.022,118.079046 53.1,118.025046 53.095,118.028046 C52.955,117.600046 52.701,117.589046 52.375,117.828046 C52.524,117.958046 52.672,118.088046 52.82,118.218046 C57.525,125.929046 63.881,132.133046 71.061,137.435046 C84.889,147.645046 99.993,153.734046 117.666,151.032046 C123.374,150.159046 129.125,149.482046 134.882,149.018046 C142.1,148.435046 148.977,150.466046 155.854,152.292046 Z M122.535,41.6730463 C122.153,41.3960463 121.786,40.7010463 121.006,41.4200463 C127.364,50.0200463 135.532,56.3600463 145.367,60.3510463 C161.24,66.7920463 177.35,67.8940463 193.827,62.2100463 C206.619,57.7980463 215.818,62.1090463 220.595,74.5290463 C221.286,60.1130463 212.805,49.6090463 199.296,47.5500463 C191.696,46.3920463 184.679,48.9130463 177.56,50.9780463 C157.749,56.7220463 139.339,53.8860463 122.535,41.6730463 Z M221.272,97.9010463 C223.854,98.1180463 226.434,98.3520463 229.015,98.5780463 C223.183,93.4550463 216.075,93.0490463 208.884,93.4580463 C197.934,94.0800463 190.045,100.395046 182.853,107.940046 C176.516,114.590046 170.79,122.050046 161.333,124.722046 C161.491,125.006046 161.532,125.148046 161.576,125.148046 C162.848,125.167046 164.123,125.227046 165.392,125.169046 C179.127,124.547046 192.066,121.650046 202.359,111.682046 C205.6,108.543046 208.501,105.056046 211.63,101.798046 C214.24,99.0810463 217.405,97.5750463 221.272,97.9010463 Z M189.365,80.8790463 C179.115,81.7750463 170.211,86.0150463 161.848,91.6060463 C155.411,95.9090463 148.527,97.9450463 140.791,96.5990463 C139.43,96.3620463 138.059,96.1850463 136.693,95.9800463 C136.677,96.1710463 136.662,96.3610463 136.646,96.5520463 C137.138,96.8050463 137.613,97.1010463 138.125,97.3040463 C139.414,97.8140463 140.684,98.4280463 142.022,98.7460463 C156.908,102.285046 171.158,100.472046 184.006,92.1730463 C192.104,86.9420463 200.487,85.9510463 209.573,87.3020463 C210.491,87.4390463 211.405,87.6060463 212.327,87.6920463 C213.181,87.7730463 214.073,88.6220463 215.226,87.7030463 C207.283,81.9650463 198.727,80.0610463 189.365,80.8790463 Z M152.731,46.0860463 C158.108,46.2720463 163.461,45.5680463 169.085,42.2270463 C167.438,42.3730463 166.739,42.3700463 166.069,42.5040463 C158.321,44.0480463 151.366,42.3580463 145.171,37.4600463 C142.898,35.6620463 140.587,33.9120463 138.285,32.1510463 C129.159,25.1710463 118.694,22.8360463 107.247,23.0340463 C107.432,23.5970463 107.443,23.9830463 107.642,24.1830463 C120.097,36.7810463 134.512,45.4580463 152.731,46.0860463 Z M242.873,110.724046 C235.165,103.079046 224.821,102.094046 215.249,108.766046 C221.585,109.051046 226.341,111.072046 230.198,115.066046 C231.563,116.479046 232.978,117.866046 234.505,119.098046 C240.337,123.802046 250.224,124.028046 256,119.664046 C249.215,117.016046 249.215,117.016046 242.873,110.724046 Z M166.106,169.269046 C159.332,156.660046 147.947,153.815046 134.795,154.661046 C138.683,155.739046 142.314,157.398046 145.646,159.724046 C148.707,161.861046 151.283,164.507046 153.822,167.217046 C158.853,172.586046 166.705,175.881046 171.908,174.767046 C169.519,173.261046 167.397,171.671046 166.106,169.269046 Z M229.137,98.8380463 C229.139,98.7580463 229.141,98.6770463 229.146,98.5930463 C229.146,98.5920463 229.136,98.6030463 229.126,98.6140463 L229.148,98.5900463 C229.104,98.5860463 229.059,98.5820463 229.015,98.5780463 C229.041,98.6020463 229.069,98.6210463 229.095,98.6450463 C229.109,98.7090463 229.123,98.7740463 229.137,98.8380463 Z M156.23,152.589046 C156.141,152.538046 156.052,152.488046 155.963,152.438046 C155.975,152.495046 155.989,152.551046 156.019,152.597046 C156.037,152.627046 156.157,152.593046 156.23,152.589046 Z M155.963,152.438046 C155.955,152.397046 155.948,152.355046 155.937,152.314046 C155.937,152.314046 155.922,152.333046 155.906,152.352046 L155.937,152.315046 C155.91,152.307046 155.882,152.300046 155.854,152.292046 C155.859,152.326046 155.871,152.354046 155.875,152.389046 C155.905,152.405046 155.934,152.422046 155.963,152.438046 Z\" fill=\"#FD4F00\"></path>\n                      </g>\n                  </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Phoenix Framework</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_django true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Django\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                      <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 256 326\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\"><g fill=\"#2BA977\"><path d=\"M114.784 0h53.278v244.191c-27.29 5.162-47.38 7.193-69.117 7.193C33.873 251.316 0 222.245 0 166.412c0-53.795 35.93-88.708 91.608-88.708 8.64 0 15.222.68 23.176 2.717V0zm1.867 124.427c-6.24-2.038-11.382-2.717-17.965-2.717-26.947 0-42.512 16.437-42.512 45.243 0 28.046 14.88 43.532 42.17 43.532 5.896 0 10.696-.332 18.307-1.351v-84.707z\"/><path d=\"M255.187 84.26v122.263c0 42.105-3.154 62.353-12.411 79.81-8.64 16.783-20.022 27.366-43.541 39.055l-49.438-23.297c23.519-10.93 34.901-20.588 42.17-35.327 7.61-15.072 10.01-32.529 10.01-78.445V84.261h53.21zM196.608 0h53.278v54.135h-53.278V0z\"/></g></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Django</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_flask true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Flask\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-white rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"w-4 h-4\" viewBox=\"0 0 32 32\" preserveAspectRatio=\"xMidYMid\"><path d=\"M9.563 26.873c-1.22-.96-2.52-1.878-3.408-3.172-1.87-2.283-3.31-4.925-4.294-7.703-.595-1.806-.8-3.743-1.566-5.48-.802-1.26.138-2.64 1.52-3.04.615-.118 1.696-.7.39-.284-1.17.858-1.283-.78-.083-.884.82-.11 1.12-.78.84-1.382-.88-.574 2.132-1.203.616-2.06C2 1.168 5.786.84 4.852 2.774 4.63 4.26 7.498 2.5 6.832 4.218c.677.825 2.534.188 2.487 1.345.986.068 1.324.897 2.25.96.96.433 2.697.774 3.023 1.855-.95.753-3.153-1.555-3.26.53.288 3.08.214 6.252 1.34 9.185.533 1.775 1.825 3.173 2.99 4.556 1.117 1.354 2.63 2.308 4.17 3.11 1.352.638 2.81 1.06 4.283 1.326.597-.457 1.653-2.156 2.584-1.44.045.806-1.85 1.684-.09 1.595 1.035-.312 1.752.8 2.603-.204.785.93 3.26-.593 2.703 1.306-.755.487-1.856.193-2.612.863-1.247-.623-2.24.557-3.62.408-1.533.275-3.092.385-4.646.387-2.55-.2-5.153-.286-7.578-1.174-1.367-.397-2.7-1.175-3.9-1.954zm2.153.933c1.334.576 2.64 1.184 4.1 1.368 2.32.322 4.715.82 7.043.366-1.054-.476-2.143.185-3.193-.34-1.26.27-2.6-.07-3.9-.237-1.455-.648-3.026-1.094-4.388-1.936-1.703-.622.88.798 1.34.913 1.064.604-1.17-.3-1.486-.56-.892-.5-1.005-.396-.088.112l.56.314zm-2.54-1.794c1.293.48-.006-.91-.597-.83-.262-.455-1.003-.743-.48-.987-.94.326-.984-1.24-1.425-1.016-.994-.314-.387-1.426-1.57-2.11-.108-.72-1.176-1.343-1.516-2.428-.15-.556-1.207-2.15-.558-.666.552 1.43 1.524 2.653 2.334 3.875.628 1.164 1.37 2.38 2.514 3.107.386.37.758.937 1.302 1.053zm-3.724-4.09c.045-.195.236.422 0 0zm5.273 4.663c.286-.128-.412-.162 0 0zm.7.256c-.073-.353-.32.198 0 0zm.88.366c.418-.398-.645-.25 0 0zm1.506.84c.254-.375-.813-.14 0 0zm-2.89-2.015c.65-.42-.84-.006 0 0zm.66.33c-.02-.222-.235.1 0 0zm3.293 2.056c.53.334 3.092.732 1.488.137-.27.056-2.975-.766-1.488-.137zm-5.228-4.072c-.05-.222-.822-.246 0 0zm1.533.894c.4-.28-.828-.215 0 0zm1.3.8c.573-.216-.928-.217 0 0zM9.02 23.665c.62.476 2.506.06.95-.284-.707-.377-2.3-.635-1.214.227l.263.057zm4.32 2.637c.26-.44-1.086-.252 0 0zm-1.313-1.043c1.52.43-1.277-.96-.375-.16l.2.09.175.068zm2.632 1.52c1.44.014-1.3-.2 0 0zm-6.193-3.947c-.056-.268-.355.022 0 0zm8.627 5.312c.038-.484-.47.36 0 0zm-6.17-3.81c-.087-.255-.45-.01 0 0zm-2.32-1.67c.826-.05-1.13-.364 0 0zM5.856 20.89c-.103-.396-.898-.712 0 0zm7.212 4.577c-.15-.173-.07.037 0 0zm4.488 2.755c-.014-.264-.244.1 0 0zm-4.885-3.165c.08-.34-.705-.103 0 0zm-3.344-2.12c.615-.065-.985-.415 0 0zm5.656 3.515c.958-.38-.933-.185 0 0zm-2.942-1.997c1.103.142-1.313-.75-.243-.08l.243.08zm3.835 2.358c1.03-.615.69 1.443 1.748.174 1.043-.762-.9.942.384.136.93-.622 2.303.295 3.17.593.624-.03 1.23.54 1.87.193 1.23-.332-2.408-.492-1.454-1.08-1.126.328-1.958-.39-2.513-1.112-1.264-.292-2.724-.938-3.355-2.056-.257-.42.37.06-.222-.627-.76-.677-1.14-1.446-1.652-2.27-.61-.325-.683-1.284-.744-.032.005-.79-.737-1.323-.92-1.102-.003-.76.795-.38.236-.942-.12-.79-.516-1.61-.634-2.502-.185-.43-.026-1.35-.63-.377-.22 1.027-.073-1.262.27-.508.45-.77-.162-.68-.186-.573.293-.65.186-1.572-.077-1.22.156-.69.247-2.535-.233-2.208.29-.72.552-3.297-.712-2.315-.512.007-1.398.186-1.817.394 1.313.724-.132.262-.668.146-.07.67-.6.38-1.26.387 1.058.13-.515 1.08-1.12.712-.788.376.68 1.316.015 1.607.082.437-1.207-.158-1.106.854-.764-.322-.105 1.2.278.685 1.3.352.915 1.154.948 1.917-.212.444-1.046-1.044-.186-.975-.68-1.103-.75-.4-1.315.114-.13.037 1.44.73.454 1.07.867.134.892.893 1.068 1.372.52.543.413-.6 1.037.053-.395-.58-2.09-1.637-.725-1.3-.007-.584-.247-1.056.172-1.045.415-.75-.434 1.85.5.896.258-.113.323-.75.787.06.674.664.244 1.144-.708.536.17.578 1.273.784 1.065 1.687.22.795.527.502.795.456.2.772.33.204.34-.163.962.206.736.775 1.038 1.172.663.3-.95-2.028.19-.7 1.197 1.08.45 1.533-.625 1.36.68-.055.9.92 1.75.885.776.37 1.3 1.787-.036 1.196-.463-.418-2.106-.934-.764-.14 1.238.574 2.222.916 3.416 1.637.854.6 1.223 1.308 1.547 1.447-.718.343-2.164-.274-1.1-.463-.67-.122-1.424-.46-.782.374.546.456 1.933.408 2.182.46-.21.464-.573.5.008.537-.648.346.208.4.268.597zm-1.326-3.744c-.395-.413-.497-1.185-.07-.513.22.088.7 1.263.07.513zM18.87 25.8c.246-.016.007.187 0 0zm-4.94-3.755c-.016-.624.142.48 0 0zm-.43-.577c-.497-.96.625.27 0 0zm-5.202-3.6c.292-.078.144.498 0 0zm4.14 2.244c.18-.673.2.564 0 0zm-2.925-2.034c-.206-.37.43.348 0 0zm2.51.804c-.47-1.053.334-.575.105.172l-.105-.172zm-4.328-2.886c-.2-.346-.557-1.36-.445-1.67.1.504 1.072 2.17.476.7-.658-1.24.787.402.936.712.07.307-.406-.084-.084.638-.588-.822-.347.454-.882-.37zm-1.337-.922c.055-.804.306.55 0 0zm.602.208c.287-.606.486.845 0 0zM5.5 14.182c-.498-.495-.858-.95.024-.307.34.013-.755-1.037.082-.334.88.16.434 1.443-.105.64zm.76-.02c.29-.287.154.282 0 0zm.468.15c-.44-.822.532.345 0 0zm-.93-.888c-1.448-1.29 1.82.673.236.24l-.236-.24zm4.148 2.41c-.627-.375-.167-2.644.047-1.093.61-.197-.034.802.42.792-.07.63-.275.857-.467.3zm1.534.907c.06-.684.13.468 0 0zm-.266-.264c.07-.292.006.344 0 0zM6.092 13c-.93-1.283 2.703 1.298.596.325-.22-.058-.485-.078-.596-.325zm2.955 1.566c-.088-1.08.196.18 0 0zm2.243 1.44c.173-.615.013.407 0 0zM6.235 12.51c.553-.118 2.3.97.695.31-.177-.196-.556-.107-.695-.31zm4.746 2.366c.06-1.105.33-.66.002.16l-.002-.16zm-4.335-2.75c.226-.33-.598-1.493.118-.417.3.246.897.412.38.516.815.72-.2.195-.497-.1zm4.1 2.406c.155-1.26.137.737 0 0zm-4.57-3.568c.172-.074.09.23 0 0zm1.07.637c.275-.578.508.644 0 0zm3.017 1.678c-.002-.22.057.323 0 0zm-.175-.386c-.418-1.033.4.547 0 0zm-.257-.678c-.07-.427.24.536 0 0zm.418-.68c-.288-.506.363-2.23.436-1.16-.303.834-.087 1.3.123.18.39-.88-.084 1.737-.56.98zm.43-2.566c.125-.154.028.185 0 0zM9.96 23.12c-.17-.15.022.094 0 0zm1.48.748c.823.212.82-.128.075-.23-.4-.372-1.662-.767-.532-.046.074.2.31.185.457.275zm-2.92-1.94c.453.34 1.707.958.646.13.358-.416-.685-.638-.34-.916-.88-.54-.695-.5-.078-.473-1.058-.473.153-.437.096-.68-.408-.08-2.026-.72-1.074.052-.968-.493-.23.184-.523.113-1-.27.88.754-.157.5.567.45 1.528 1.153.24.476-.17.244.922.615 1.2.8zm1.547.89c1.88.606-.923-.74 0 0zm7.92 4.798c.024-.374-.257.32 0 0zm.814.343c.434-.42.018.67.72-.103.007-.553-.02-.88-.806-.208-.217.12-.313.63.087.31zM5.878 19.84c-.133-.524-.934-.522 0 0zm.87.57c-.323-.535-1.152-.485 0 0zm4.946 2.983c.483.43 2.218.315.586.053-.24-.357-1.533-.27-.586-.053zm6.798 4.2c.743-.624-.72.278 0 0zm1.546 1.062c.005-.2-.32.087 0 0zm.003-.28c.823-.87-.797.05 0 0zM3.74 18.05c-.7-1-.436-1.45-1.112-2.267-.128-.625-1.16-2.043-.534-.54.574.88.744 2.24 1.646 2.81zm16.04 10.046c1.515-.978-.62-.426 0 0zm1.156.453c.76-.65-.48-.136 0 0zM5.62 18.735c.217-.323-.56-.042 0 0zm15.075 9.505c.734-.473-.17-.4-.133.043l.133-.043zm-9.962-6.28c-.025-.32-.388.027 0 0zm.615.354c-.196-.396-.3.062 0 0zm10.525 6.245c.94-.68-.57-.13-.197.13l.197-.13zm-.36-.174c.767-.642-.81.284 0 0zm1.84 1.225c.514-.344-.625-.11 0 0zm-17.26-11.11c.69.154 2.755 1.698 1.537.107-.624-.185-.25-1.71-.887-1.44.427.714.35 1.018-.546.568-1.127-.55-.633.272-.413.5-.3.07.397.26.31.266zm-3.14-2.48c.123-.51-1.137-2.81-.595-1.152.195.347.175 1.005.595 1.152zm5.766 3.555c-.356-.297-.017-.042 0 0zm.874.204c0-.54-.966-.22 0 0zm7.577 4.776c-.145-.37-.57-.008 0 0zm.364.266c-.054-.207-.2.04 0 0zm3.003 1.892c.29-.213-.36-.028 0 0zM4.52 16.422c.826-.32-.885-.228 0 0zM16.5 23.97c-.01-.535-.527.133 0 0zM4.193 15.66c.53-.18-.49-.118 0 0zm1.54.746c-.01-.176-.163.067 0 0zm18.788 11.52c.682-.138 2.238.347 2.49-.18-.83-.02-2.867-.585-2.963.134l.18.03.293.018zM6.223 16.53c.012-.542-.422-.02 0 0zm-4.05-2.81c-.184-1.032-.7-.156 0 0zm.965.243c.012-.332-.884-.298 0 0zm.552.27c-.16-.13-.124.163 0 0zm3.473 2.227c.164-.15-.387-.11 0 0zm-3.84-2.84c-.094-.78-1.12-.117 0 0zm-1.98-1.285c-.028-.36-.193.136 0 0zm.295-.222c-.048-.427-.253.054 0 0zm1.627.97c.688-.27-1.253-.56-.14-.05l.14.05zM25.043 26.54c.44-.404-.56-.125 0 0zm2.63 1.363c.177-.52-.445.07 0 0zM3.43 12.235c.073-.505-.546.1 0 0zm-2.316-1.55C.992 9.97 1.01 8.72 2.198 9.142c-1.587.316 1.1 1.974.76.664.668.033 1.306-.395.955.253C5.23 9.916 6.14 8.774 7.412 8.935c1-.132 2.072-.23 3.14-.63.877-.063 1.72-1.007 1.24-1.567-1.196-.1-2.448.048-3.77.312-1.465.304-2.795.883-4.273 1.13-1.44.194.29.533-.123.61-.75.26.897.436-.097.712-.614-.117-1.253-.328-.99-.975-1.38.18-2.593.752-1.502 2.156l.08.001zM4.442 9c.323-1.192 1.733.98.53.16-.143-.108-.38-.195-.53-.16zm.063-.578c.467-.347.248.195 0 0zm.593.01c.043-.548 1.358.3.217.197l-.217-.197zm.81-.326c.297-.347.086.307 0 0zm.208-.14c.494-.593 2.793-.38 1.1-.058-.45-.34-.797.2-1.1.058zm3-.463c-.074-1.62 1.492.575 0 0zm.852-.005c.31-.816 1.21-.328.145-.164.023.087-.032.422-.145.164zm-6.873 4.327c.93-.57-.987-.494 0 0zm.688.2c.326-.347-.7-.14 0 0zM1.757 10.57c.53-.41-.63-.155 0 0zm27.47 17.185c.015-.474-.406.213 0 0zm-2.79-1.905c.08-.545-.36.047 0 0zm3.56 2.09c.743.003 2.252-.23.635-.23-.254.04-1.48.03-.635.23zM4.39 11.673c.602-.04.94-.663-.117-.628-1.64-.17 1.446.562-.2.352-.222.147.314.316.327.275zm.53.268c-.063-.386-.186.205 0 0zm.63-1.676c.26-.324-.36-.087 0 0zm-2-3.344c1.074-.365 2.542-.775 3.05.18-.516-.62-.208-1.232.28-.324.69.918 1.034-.418.586-.726.51.634 1.09.934.342.04.815-.98-1.63.128-2.186.117-.267.12-2.76.636-2.07.713zm.63-1.205c.612-.462 2.118.275 1.152-.46-.095-.083-2.115.557-1.152.46zm2.232.092c.716.018-.31-.963.544-.518-.14-.458-.994-.543-1.412-.727-.236.418.48 1.25.867 1.245zm-1.84-2.026c.248-.336-.435.17 0 0zM5.48 4c1.155-.153-.294-.497-.233-.012L5.48 4zM3.776 2.67c-.813-1.062 1.53.178.703-.933-.696-.553-1.363.624-.703.933zm10.434 5.62c.373-.66-1.54-.89-.25-.234.118.04.092.28.25.234z\"/></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Flask</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_blazor true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Blazor (.NET)\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg fill=\"none\" class=\"w-4 h-4\" viewBox=\"-10.12021875 -53.60951036 339.95397529 343.02235093\" width=\"2500\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m303.935 88.479c-6.598 41.362-27.653 79.041-59.42 106.335s-72.185 42.433-114.064 42.723c-8.483.326-16.977-.19-25.358-1.539a77.723 77.723 0 0 1 -64.63-73.266 75.479 75.479 0 0 1 22.14-52.762 75.46 75.46 0 0 1 105.885-.748 75.478 75.478 0 0 1 22.884 52.443c.317 12.51-5.102 23.483-16.239 23.8-11.899 0-17.477-8.491-17.477-19.934v-31.797a19.478 19.478 0 0 0 -19.323-19.494h-26.653a46.386 46.386 0 0 0 -39.119 20.961 46.399 46.399 0 0 0 31.587 71.268 46.392 46.392 0 0 0 41.8-14.911l.932-1.39.933 1.543a32.82 32.82 0 0 0 27.986 13.328 36.992 36.992 0 0 0 34.268-38.671 100.64 100.64 0 0 0 -2.761-24.577c-4.943-22.734-18.126-42.834-37.008-56.423a94.153 94.153 0 0 0 -125.236 13.718 94.175 94.175 0 0 0 -23.92 63.097 95.352 95.352 0 0 0 27.473 65.824 95.331 95.331 0 0 0 65.448 28.344s6.98.635 14.849.454a200.94 200.94 0 0 0 107.769-32.155c.457-.318.914.317.61.78a158.177 158.177 0 0 1 -123.225 50.396 111.185 111.185 0 0 1 -80.961-32.871 111.215 111.215 0 0 1 -32.215-81.232 115.099 115.099 0 0 1 46.223-92.17 112.704 112.704 0 0 1 66.497-21.953h35.772a100.637 100.637 0 0 0 74.247-32.784 1.39 1.39 0 0 1 .755-.431 1.418 1.418 0 0 1 1.52.663c.153.257.222.555.197.854a100.93 100.93 0 0 1 -15.608 45.14 1.386 1.386 0 0 0 .115 1.511 1.387 1.387 0 0 0 1.424.507 108.158 108.158 0 0 0 75.198-62.013c.173-.277.411-.507.695-.67a1.902 1.902 0 0 1 1.869 0c.284.162.523.392.694.67a137.098 137.098 0 0 1 13.447 87.432zm-189.964 44.858a27.823 27.823 0 0 0 -27.293 33.255 27.83 27.83 0 0 0 21.862 21.865 27.824 27.824 0 0 0 33.251-27.296v-25.977a2.007 2.007 0 0 0 -1.904-1.904z\" fill=\"#702af7\"/></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Blazor</span>\n                </span>\n              </aside>\n            {{ end }}\n            \n            <h1 class=\"inline-block mb-3 text-3xl font-semibold tracking-tight text-heading\" id=\"content\">{{ .Title | markdownify }}</h1>\n            <p class=\"text-lg text-body\">{{ .Page.Params.Description | markdownify }}</p>\n          </div>\n\n          <div id=\"mainContent\" class=\"lg:px-8 xl:pb-24 py-8 lg:pb-16\">\n\n            {{ .Content }}\n\n            <aside class=\"flex mt-8 mb-8 font-medium leading-6\" aria-label=\"Previous and next page navigation\">\n              {{ if isset .Page.Params \"previous\" }}\n                <a class=\"flex items-center justify-center mr-8 text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" href=\"{{ .Page.Params.PreviousLink | relURL }}\">\n                  <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n                  {{ .Page.Params.Previous }}\n                </a>\n              {{ end }}\n              {{ if isset .Page.Params \"next\" }}\n              <a class=\"flex items-center justify-center ml-auto text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" href=\"{{ .Page.Params.NextLink | relURL }}\">\n                {{ .Page.Params.Next }}\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/>\n                </svg>\n              </a>\n              {{ end }}\n            </aside>\n\n            <aside class=\"p-4 my-8 bg-neutral-primary-soft border border-light-subtle rounded-base shadow-xs sm:p-6 lg:p-8\" aria-label=\"Subscribe to the Flowbite newsletter\">\n              <h3 class=\"mb-3 text-xl font-semibold text-heading\">Get more updates...</h3>\n              <p class=\"mb-5 text-sm font-normal text-body\">Do you want to get notified when a new component is added to Flowbite? Sign up for our newsletter and you'll be among the first to find out about new features, components, versions, and tools.</p>\n              <script src=\"https://f.convertkit.com/ckjs/ck.5.js\"></script>\n              <form\n                  action=\"https://app.convertkit.com/forms/4692392/subscriptions\"\n                  class=\"seva-form formkit-form\"\n                  method=\"post\"\n                  data-sv-form=\"4692392\"\n                  data-uid=\"344e3b5c48\"\n                  data-format=\"inline\"\n                  data-version=\"5\"\n                  data-options='{\"settings\":{\"after_subscribe\":{\"action\":\"message\",\"success_message\":\"Success! Now check your email to confirm your subscription.\",\"redirect_url\":\"\"},\"analytics\":{\"google\":null,\"fathom\":null,\"facebook\":null,\"segment\":null,\"pinterest\":null,\"sparkloop\":null,\"googletagmanager\":null},\"modal\":{\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15},\"powered_by\":{\"show\":true,\"url\":\"https://convertkit.com/features/forms?utm_campaign=poweredby&amp;utm_content=form&amp;utm_medium=referral&amp;utm_source=dynamic\"},\"recaptcha\":{\"enabled\":false},\"return_visitor\":{\"action\":\"show\",\"custom_content\":\"\"},\"slide_in\":{\"display_in\":\"bottom_right\",\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15},\"sticky_bar\":{\"display_in\":\"top\",\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15}},\"version\":\"5\"}'\n                  min-width=\"400 500 600 700 800\"\n              >\n                  <div data-style=\"clean\" class=\"flex items-end mb-3\">\n                      <ul class=\"formkit-alert formkit-alert-error\" data-element=\"errors\" data-group=\"alert\"></ul>\n                      <div data-element=\"fields\" data-stacked=\"false\" class=\"flex items-center w-full max-w-md mb-3 seva-fields formkit-fields\">\n                          <div class=\"relative w-full mr-3 formkit-field\">\n                              <label for=\"member_email\" class=\"hidden block mb-2 text-sm font-medium text-heading\">Email address</label>\n                              <div class=\"absolute inset-y-0 left-0 flex items-center pl-3.5 pointer-events-none\">\n                                <svg class=\"w-4 h-4 text-body\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/>\n                                </svg>\n\n                              </div>\n                              <input\n                                  id=\"member_email\"\n                                  class=\"formkit-input bg-neutral-secondary-medium border ps-9 border-default-medium text-heading text-sm leading-none rounded-base focus:ring-brand focus:border-brand block w-full px-3 py-2.5 shadow-xs placeholder:text-body\"\n                                  name=\"email_address\"\n                                  aria-label=\"Email Address\"\n                                  placeholder=\"Your email address...\"\n                                  required=\"\"\n                                  type=\"email\"\n                              />\n                          </div>\n                          <button data-element=\"submit\" class=\"formkit-submit\">\n                              <div class=\"formkit-spinner\">\n                                  <div></div>\n                                  <div></div>\n                                  <div></div>\n                              </div>\n                              <span class=\"px-4 py-2.5 text-sm text-white bg-brand border border-brand hover:bg-brand-strong focus:ring-4 focus:ring-brand-medium shadow-xs font-medium rounded-base focus:outline-none\">Subscribe</span>\n                          </button>\n                      </div>\n                  </div>\n              </form>\n              <div class=\"text-sm font-normal text-body\">By subscribing, you agree with ConvertKit's <a rel=\"nofollow\" href=\"https://convertkit.com/terms\" class=\"text-fg-brand hover:underline font-medium\">Terms of Service</a> and <a rel=\"nofollow\" class=\"text-fg-brand font-medium hover:underline\" href=\"https://convertkit.com/privacy\">Privacy Policy</a>.</div>\n            </aside>\n\n          </div>\n        </div>\n\n        <!-- Table of content -->\n        <div class=\"flex-none hidden w-64 px-4 xl:text-sm xl:block border-s border-light-subtle\">\n          {{ if (eq .Page.Params.toc true) }}\n          <div id=\"toc\" class=\"flex overflow-y-auto sticky top-28 flex-col justify-between pt-10 pb-6 h-[calc(100vh-5rem)]\">\n            <div class=\"mb-8\">\n              <h4 class=\"pl-2.5 mb-2 text-sm font-semibold tracking-wide text-heading uppercase lg:text-xs\">On this page</h4>\n              {{ .TableOfContents }}\n              <!-- Enhance UI book -->\n              <aside class=\"w-52 mt-6 mx-auto border-t border-light-subtle pt-8\">\n                <a href=\"https://www.enhanceui.com/?ref=flowbite-sidebar\" class=\"block rounded-lg\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"> \n                  <img src=\"/docs/images/book-light.svg\" class=\"shadow-sm mb-3 w-36 dark:hidden\" alt=\"Enhance UI book cover light mode\">\n                  <img src=\"/docs/images/book-dark.svg\" class=\"shadow-sm mb-3 w-36 hidden dark:block\" alt=\"Enhance UI book cover dark mode\">\n                  <h4 class=\"text-base font-semibold text-heading mb-1.5\">Learn Design Concepts</h4>\n                  <p class=\"text-body\">Make better Flowbite pages by learning the fundamentals of design</p>\n                  <div class=\"border-t border-light-subtle pt-2 mt-2\">\n                    <h5 class=\"font-medium text-heading\">Teach Me Design</h5>\n                    <p class=\"text-body\">by Adrian Twarog</p>\n                  </div>\n                </a>\n              </aside>\n            </div>\n          </div>\n          {{ end }}\n        </div>\n      </div>\n\n    </main>\n\n  </div>\n</div>\n{{ end }}\n\n{{ define \"footer\" }}\n{{ range .Page.Params.extra_js -}}\n<script{{ with .async }} async{{ end }} src=\"{{ .src }}\">\n</script>\n  {{- end -}}\n  {{ end }}"
  },
  {
    "path": "layouts/home.html",
    "content": "{{ define \"main\" }}\n\n{{ partial \"navbar\" }}\n\n<div class=\"w-full px-4 lg:px-0 mx-auto max-w-8xl border-s border-e border-gray-100 dark:border-gray-900\">\n  <div class=\"lg:flex\">\n    <!-- Sidebar -->\n    <aside id=\"sidebar\" class=\"fixed inset-0 z-20 flex-none hidden h-full w-72 lg:static lg:h-auto lg:overflow-y-visible lg:pt-0 lg:w-56 lg:block px-6 border-e border-gray-100 dark:border-gray-900\" aria-labelledby=\"sidebar-label\">\n      <h4 id=\"sidebar-label\" class=\"sr-only\">Browse docs</h4>\n      {{ partial \"sidebar\" . }}\n    </aside>\n\n    <div class=\"fixed inset-0 z-10 hidden bg-dark/50 dark:bg-dark/60\" id=\"sidebarBackdrop\"></div>\n\n    <main id=\"content-wrapper\" class=\"flex-auto w-full min-w-0 lg:static lg:max-h-full lg:overflow-visible\">\n      <div class=\"flex w-full\">\n\n        <!-- Main content -->\n        <div class=\"flex-auto max-w-full min-w-0 pt-6 lg:px-8 lg:pt-8 pb:12 xl:pb-24 lg:pb-16\">\n\n          <!-- Intro -->\n          <div class=\"pb-4 mb-8 border-b border-default\">\n            {{ if ( eq .Page.Params.requires_js true) }}\n              <aside class=\"mb-5\" aria-label=\"Component requires Flowbite JavaScript\">\n                <a href=\"{{ \"getting-started/quickstart/\" | relURL }}\" class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-fg-brand-strong bg-brand-softer rounded-full px-3 py-1.5 mr-3 border border-brand-subtle\"><svg aria-hidden=\"true\" class=\"w-4 h-4\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"></path></svg></span> \n                  <span class=\"text-sm font-medium\">Requires Flowbite JS</span> \n                  <svg class=\"w-4 h-4 ml-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5 7 7-7 7\"/></svg>\n                </a>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_laravel true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Laravel\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-[#ff2d20] rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"laravel\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M504.4,115.83a5.72,5.72,0,0,0-.28-.68,8.52,8.52,0,0,0-.53-1.25,6,6,0,0,0-.54-.71,9.36,9.36,0,0,0-.72-.94c-.23-.22-.52-.4-.77-.6a8.84,8.84,0,0,0-.9-.68L404.4,55.55a8,8,0,0,0-8,0L300.12,111h0a8.07,8.07,0,0,0-.88.69,7.68,7.68,0,0,0-.78.6,8.23,8.23,0,0,0-.72.93c-.17.24-.39.45-.54.71a9.7,9.7,0,0,0-.52,1.25c-.08.23-.21.44-.28.68a8.08,8.08,0,0,0-.28,2.08V223.18l-80.22,46.19V63.44a7.8,7.8,0,0,0-.28-2.09c-.06-.24-.2-.45-.28-.68a8.35,8.35,0,0,0-.52-1.24c-.14-.26-.37-.47-.54-.72a9.36,9.36,0,0,0-.72-.94,9.46,9.46,0,0,0-.78-.6,9.8,9.8,0,0,0-.88-.68h0L115.61,1.07a8,8,0,0,0-8,0L11.34,56.49h0a6.52,6.52,0,0,0-.88.69,7.81,7.81,0,0,0-.79.6,8.15,8.15,0,0,0-.71.93c-.18.25-.4.46-.55.72a7.88,7.88,0,0,0-.51,1.24,6.46,6.46,0,0,0-.29.67,8.18,8.18,0,0,0-.28,2.1v329.7a8,8,0,0,0,4,6.95l192.5,110.84a8.83,8.83,0,0,0,1.33.54c.21.08.41.2.63.26a7.92,7.92,0,0,0,4.1,0c.2-.05.37-.16.55-.22a8.6,8.6,0,0,0,1.4-.58L404.4,400.09a8,8,0,0,0,4-6.95V287.88l92.24-53.11a8,8,0,0,0,4-7V117.92A8.63,8.63,0,0,0,504.4,115.83ZM111.6,17.28h0l80.19,46.15-80.2,46.18L31.41,63.44Zm88.25,60V278.6l-46.53,26.79-33.69,19.4V123.5l46.53-26.79Zm0,412.78L23.37,388.5V77.32L57.06,96.7l46.52,26.8V338.68a6.94,6.94,0,0,0,.12.9,8,8,0,0,0,.16,1.18h0a5.92,5.92,0,0,0,.38.9,6.38,6.38,0,0,0,.42,1v0a8.54,8.54,0,0,0,.6.78,7.62,7.62,0,0,0,.66.84l0,0c.23.22.52.38.77.58a8.93,8.93,0,0,0,.86.66l0,0,0,0,92.19,52.18Zm8-106.17-80.06-45.32,84.09-48.41,92.26-53.11,80.13,46.13-58.8,33.56Zm184.52,4.57L215.88,490.11V397.8L346.6,323.2l45.77-26.15Zm0-119.13L358.68,250l-46.53-26.79V131.79l33.69,19.4L392.37,178Zm8-105.28-80.2-46.17,80.2-46.16,80.18,46.15Zm8,105.28V178L455,151.19l33.68-19.4v91.39h0Z\"></path></svg></span> <span class=\"text-sm font-medium\">Requires Laravel</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_symfony true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Symfony\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4 dark:hidden\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"black\"/>\n                      <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.618 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.581 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.117 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.198 465.623 153.205 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.713 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.949 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.041 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"white\"/>\n                    </svg>\n                    <svg aria-hidden=\"true\" class=\"hidden w-4 h-4 dark:inline-block\" viewBox=\"0 0 911 912\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path d=\"M911 455.685C911 707.389 707.066 911.435 455.488 911.435C203.926 911.435 0 707.389 0 455.685C0 204.022 203.918 0 455.488 0C707.066 0 911 204.022 911 455.685Z\" fill=\"white\"/>\n                      <path d=\"M654.655 168.61C608.384 170.194 567.993 195.75 537.918 231.016C504.617 269.735 482.493 315.613 466.517 362.491C437.977 339.072 415.974 308.771 370.158 295.591C334.755 285.41 297.58 289.602 263.387 315.085C247.208 327.184 236.04 345.459 230.737 362.694C216.994 407.369 245.178 447.169 257.978 461.43L285.974 491.422C291.733 497.313 305.646 512.655 298.839 534.643C291.53 558.59 262.689 574.053 233.116 564.96C219.902 560.906 200.929 551.065 205.185 537.227C206.931 531.547 210.992 527.273 213.177 522.43C215.159 518.197 216.125 515.06 216.735 513.167C222.136 495.542 214.745 472.587 195.861 466.744C178.228 461.332 160.197 465.623 153.204 488.318C145.269 514.109 157.615 560.922 223.711 581.285C301.154 605.134 366.633 562.929 375.933 507.942C381.789 473.497 366.227 447.876 337.752 414.975L314.531 389.273C300.48 375.224 295.656 351.269 310.202 332.864C322.482 317.328 339.961 310.713 368.607 318.498C410.435 329.841 429.059 358.875 460.15 382.293C447.333 424.441 438.927 466.736 431.341 504.659L426.679 532.945C404.457 649.566 387.483 713.621 343.38 750.39C334.495 756.72 321.792 766.179 302.657 766.861C292.602 767.162 289.361 760.247 289.223 757.224C289.004 750.195 294.933 746.953 298.872 743.8C304.777 740.583 313.686 735.244 313.069 718.156C312.436 697.971 295.712 680.46 271.558 681.256C253.454 681.866 225.872 698.897 226.911 730.1C227.975 762.335 257.994 786.477 303.266 784.949C327.461 784.121 381.505 774.288 434.744 710.964C496.723 638.36 514.063 555.153 527.107 494.242L541.67 413.821C549.727 414.788 558.393 415.446 567.798 415.674C644.989 417.307 683.585 377.32 684.17 348.214C684.568 330.605 672.637 313.257 655.913 313.671C643.966 314.004 628.948 321.976 625.359 338.511C621.817 354.722 649.911 369.373 627.958 383.634C612.363 393.726 584.416 400.828 545.04 395.067L552.196 355.478C566.807 280.412 584.83 188.087 653.201 185.828C658.196 185.593 676.405 186.04 676.836 198.114C676.949 202.12 675.95 203.177 671.24 212.391C666.431 219.575 664.628 225.718 664.864 232.738C665.514 251.883 680.076 264.494 701.177 263.763C729.385 262.82 737.474 235.355 737.011 221.24C735.826 188.047 700.877 167.082 654.655 168.61Z\" fill=\"#1F2A37\"/>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Symfony</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_javascript true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires JavaScript\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1052 1052\"><path fill=\"#f0db4f\" d=\"M0 0h1052v1052H0z\"/><path d=\"M965.9 801.1c-7.7-48-39-88.3-131.7-125.9-32.2-14.8-68.1-25.399-78.8-49.8-3.8-14.2-4.3-22.2-1.9-30.8 6.9-27.9 40.2-36.6 66.6-28.6 17 5.7 33.1 18.801 42.8 39.7 45.4-29.399 45.3-29.2 77-49.399-11.6-18-17.8-26.301-25.4-34-27.3-30.5-64.5-46.2-124-45-10.3 1.3-20.699 2.699-31 4-29.699 7.5-58 23.1-74.6 44-49.8 56.5-35.6 155.399 25 196.1 59.7 44.8 147.4 55 158.6 96.9 10.9 51.3-37.699 67.899-86 62-35.6-7.4-55.399-25.5-76.8-58.4-39.399 22.8-39.399 22.8-79.899 46.1 9.6 21 19.699 30.5 35.8 48.7 76.2 77.3 266.899 73.5 301.1-43.5 1.399-4.001 10.6-30.801 3.199-72.101zm-394-317.6h-98.4c0 85-.399 169.4-.399 254.4 0 54.1 2.8 103.7-6 118.9-14.4 29.899-51.7 26.2-68.7 20.399-17.3-8.5-26.1-20.6-36.3-37.699-2.8-4.9-4.9-8.7-5.601-9-26.699 16.3-53.3 32.699-80 49 13.301 27.3 32.9 51 58 66.399 37.5 22.5 87.9 29.4 140.601 17.3 34.3-10 63.899-30.699 79.399-62.199 22.4-41.3 17.6-91.3 17.4-146.6.5-90.2 0-180.4 0-270.9z\" fill=\"#323330\"/></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires JavaScript</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_typescript true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires TypeScript\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" fill=\"none\" class=\"w-4 h-4\" viewBox=\"0 0 512 512\" width=\"512\" xmlns=\"http://www.w3.org/2000/svg\"><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><rect fill=\"#3178c6\" height=\"512\" rx=\"50\" width=\"512\"/><path clip-rule=\"evenodd\" d=\"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z\" fill=\"#fff\" fill-rule=\"evenodd\"/></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires TypeScript</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_react true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires React\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs text-fg-brand-strong bg-brand-softer rounded-full px-3 py-1.5 mr-3 border border-brand-subtle\">\n                    <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"react\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\"></path></svg></span> <span class=\"text-sm font-medium\">Requires React</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_nextjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Next.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white bg-white rounded-full\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" viewBox=\"0 0 207 124\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                    <defs></defs>\n                    <g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                        <g id=\"Black-Next.js\" transform=\"translate(-247.000000, -138.000000)\" fill=\"#000000\" fill-rule=\"nonzero\">\n                            <g id=\"next-black\" transform=\"translate(247.000000, 138.000000)\">\n                                <g id=\"EXT-+-Type-something\">\n                                    <path d=\"M48.9421964,32.6320058 L87.9011585,32.6320058 L87.9011585,35.7136421 L52.5134345,35.7136421 L52.5134345,58.9070103 L85.7908813,58.9070103 L85.7908813,61.9886466 L52.5134345,61.9886466 L52.5134345,87.4526941 L88.306981,87.4526941 L88.306981,90.5343303 L48.9421964,90.5343303 L48.9421964,32.6320058 Z M91.3912326,32.6320058 L95.5306221,32.6320058 L113.8738,58.0960534 L132.622801,32.6320058 L158.124498,0.286809811 L116.22757,60.7722112 L137.817329,90.5343303 L133.51561,90.5343303 L113.8738,63.4483691 L94.1508254,90.5343303 L89.9302715,90.5343303 L111.682358,60.7722112 L91.3912326,32.6320058 Z M139.359455,35.713642 L139.359455,32.6320058 L183.756439,32.6320058 L183.756439,35.7136421 L163.302983,35.7136421 L163.302983,90.5343303 L159.731745,90.5343303 L159.731745,35.7136421 L139.359455,35.713642 Z\" id=\"EXT\"></path>\n                                    <polygon id=\"Type-something\" points=\"0.202923647 32.6320058 4.66697141 32.6320058 66.2235778 124.303087 40.785176 90.5343303 3.93649086 37.0111732 3.77416185 90.5343303 0.202923647 90.5343303\"></polygon>\n                                </g>\n                                <path d=\"M183.396622,86.5227221 C184.134938,86.5227221 184.673474,85.9601075 184.673474,85.233037 C184.673474,84.5059658 184.134938,83.9433513 183.396622,83.9433513 C182.666993,83.9433513 182.11977,84.5059658 182.11977,85.233037 C182.11977,85.9601075 182.666993,86.5227221 183.396622,86.5227221 Z M186.905793,83.1297235 C186.905793,85.2763149 188.460599,86.678523 190.727662,86.678523 C193.142388,86.678523 194.601647,85.233037 194.601647,82.7229099 L194.601647,73.8855335 L192.655968,73.8855335 L192.655968,82.7142542 C192.655968,84.1078073 191.952397,84.8521899 190.710289,84.8521899 C189.598473,84.8521899 188.842785,84.1597409 188.816727,83.1297235 L186.905793,83.1297235 Z M197.146664,83.0172011 C197.285642,85.2503478 199.153145,86.678523 201.932686,86.678523 C204.903321,86.678523 206.762139,85.1811034 206.762139,82.792155 C206.762139,80.9138876 205.702439,79.8752151 203.131364,79.2779777 L201.750279,78.9404092 C200.117298,78.5595622 199.457158,78.0488813 199.457158,77.1573541 C199.457158,76.0321243 200.482113,75.296398 202.019547,75.296398 C203.478806,75.296398 204.48639,76.0148135 204.668797,77.1660091 L206.562359,77.1660091 C206.44944,75.0626962 204.590622,73.5825873 202.045605,73.5825873 C199.309495,73.5825873 197.48542,75.0626962 197.48542,77.2871878 C197.48542,79.1221767 198.519063,80.2127835 200.786126,80.7407758 L202.401734,81.1302779 C204.060773,81.5197807 204.790402,82.091051 204.790402,83.0431676 C204.790402,84.1510859 203.643842,84.9560573 202.08035,84.9560573 C200.403939,84.9560573 199.240006,84.2030196 199.074971,83.0172011 L197.146664,83.0172011 Z\" id=\".JS\"></path>\n                            </g>\n                        </g>\n                    </g>\n                </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Next.js</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_remix true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Remix\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-1 mr-3 text-xs text-white bg-white rounded-full\">\n                  <svg class=\"w-5 h-5 text-gray-950 dark:text-white\" aria-hidden=\"true\" viewBox=\"0 0 140 161\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\">\n                  <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M133.85 124.16C135.3 142.762 135.3 151.482 135.3 161H92.2283C92.2283 158.927 92.2653 157.03 92.3028 155.107C92.4195 149.128 92.5411 142.894 91.5717 130.304C90.2905 111.872 82.3473 107.776 67.7419 107.776H54.8021H0V74.24H69.7918C88.2407 74.24 97.4651 68.632 97.4651 53.784C97.4651 40.728 88.2407 32.816 69.7918 32.816H0V0H77.4788C119.245 0 140 19.712 140 51.2C140 74.752 125.395 90.112 105.665 92.672C122.32 96 132.057 105.472 133.85 124.16Z\" fill=\"black\"/>\n                  <path d=\"M0 161V136H45.5416C53.1486 136 54.8003 141.638 54.8003 145V161H0Z\" fill=\"black\"/>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Remix</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_nuxtjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Nuxt\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white rounded-full bg-neutral-primary-medium\">\n                  <svg class=\"w-6 h-6\" aria-hidden=\"true\" viewBox=\"0 0 900 900\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <path d=\"M504.908 750H839.476C850.103 750.001 860.542 747.229 869.745 741.963C878.948 736.696 886.589 729.121 891.9 719.999C897.211 710.876 900.005 700.529 900 689.997C899.995 679.465 897.193 669.12 891.873 660.002L667.187 274.289C661.876 265.169 654.237 257.595 645.036 252.329C635.835 247.064 625.398 244.291 614.773 244.291C604.149 244.291 593.711 247.064 584.511 252.329C575.31 257.595 567.67 265.169 562.36 274.289L504.908 372.979L392.581 179.993C387.266 170.874 379.623 163.301 370.42 158.036C361.216 152.772 350.777 150 340.151 150C329.525 150 319.086 152.772 309.883 158.036C300.679 163.301 293.036 170.874 287.721 179.993L8.12649 660.002C2.80743 669.12 0.00462935 679.465 5.72978e-06 689.997C-0.00461789 700.529 2.78909 710.876 8.10015 719.999C13.4112 729.121 21.0523 736.696 30.255 741.963C39.4576 747.229 49.8973 750.001 60.524 750H270.538C353.748 750 415.112 713.775 457.336 643.101L559.849 467.145L614.757 372.979L779.547 655.834H559.849L504.908 750ZM267.114 655.737L120.551 655.704L340.249 278.586L449.87 467.145L376.474 593.175C348.433 639.03 316.577 655.737 267.114 655.737Z\" fill=\"#00DC82\"/>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Nuxt</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_hugo true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires HUGO\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                <span class=\"px-3 py-px mr-3 text-xs text-white rounded-full bg-neutral-primary-medium\">\n                  <svg aria-hidden=\"true\" class=\"w-5 h-5\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" \n                        viewBox=\"0 0 370 391\" xml:space=\"preserve\">\n                    <style type=\"text/css\">\n                        .st0{fill-rule:evenodd;clip-rule:evenodd;fill:#FF4088;stroke:#C9177E;stroke-width:27;}\n                        .st1{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}\n                    </style>\n                    <path class=\"st0\" d=\"M207.5,22.4L321.9,89c13.5,7.9,21.9,22.4,21.9,38v136.4c0,17.3-9.3,33.3-24.5,41.8l-113.5,63.9\n                        c-15.1,8.5-33.5,8.4-48.5-0.2L52.8,308.8c-16.4-9.5-26.6-27-26.6-45.9V133.4c0-19.1,9.9-36.8,26.1-46.8l102.8-63.5\n                        C171.1,13.2,191.3,13,207.5,22.4z\"/>\n                    <polygon class=\"st1\" points=\"105.6,298.2 105.6,91 149,91 149,166.5 220.9,166.5 220.9,91 264.4,91 264.4,298.2 220.9,298.2 \n                        220.9,207.6 149,207.6 149,298.2 \"/>\n                    </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires HUGO</span>\n              </span>\n            </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_vue true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Vue.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-green-500 rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"vuejs\" class=\"w-4 h-4\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path fill=\"currentColor\" d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\"></path></svg>\n                  </span> \n                  <span class=\"text-sm font-medium\">Requires Vue.js</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_svelte true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Svelte\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n                      viewBox=\"0 0 98.1 118\" style=\"enable-background:new 0 0 98.1 118;\" xml:space=\"preserve\">\n                    <style type=\"text/css\">\n                      .st0{fill:#FF3E00;}\n                      .st1{fill:#FFFFFF;}\n                    </style>\n                    <path class=\"st0\" d=\"M91.8,15.6C80.9-0.1,59.2-4.7,43.6,5.2L16.1,22.8C8.6,27.5,3.4,35.2,1.9,43.9c-1.3,7.3-0.2,14.8,3.3,21.3\n                      c-2.4,3.6-4,7.6-4.7,11.8c-1.6,8.9,0.5,18.1,5.7,25.4c11,15.7,32.6,20.3,48.2,10.4l27.5-17.5c7.5-4.7,12.7-12.4,14.2-21.1\n                      c1.3-7.3,0.2-14.8-3.3-21.3c2.4-3.6,4-7.6,4.7-11.8C99.2,32.1,97.1,22.9,91.8,15.6\"/>\n                    <path class=\"st1\" d=\"M40.9,103.9c-8.9,2.3-18.2-1.2-23.4-8.7c-3.2-4.4-4.4-9.9-3.5-15.3c0.2-0.9,0.4-1.7,0.6-2.6l0.5-1.6l1.4,1\n                      c3.3,2.4,6.9,4.2,10.8,5.4l1,0.3l-0.1,1c-0.1,1.4,0.3,2.9,1.1,4.1c1.6,2.3,4.4,3.4,7.1,2.7c0.6-0.2,1.2-0.4,1.7-0.7L65.5,72\n                      c1.4-0.9,2.3-2.2,2.6-3.8c0.3-1.6-0.1-3.3-1-4.6c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7l-10.5,6.7\n                      c-1.7,1.1-3.6,1.9-5.6,2.4c-8.9,2.3-18.2-1.2-23.4-8.7c-3.1-4.4-4.4-9.9-3.4-15.3c0.9-5.2,4.1-9.9,8.6-12.7l27.5-17.5\n                      c1.7-1.1,3.6-1.9,5.6-2.5c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.2,0.9-0.4,1.7-0.7,2.6l-0.5,1.6l-1.4-1\n                      c-3.3-2.4-6.9-4.2-10.8-5.4l-1-0.3l0.1-1c0.1-1.4-0.3-2.9-1.1-4.1c-1.6-2.3-4.4-3.3-7.1-2.6c-0.6,0.2-1.2,0.4-1.7,0.7L32.4,46.1\n                      c-1.4,0.9-2.3,2.2-2.6,3.8s0.1,3.3,1,4.6c1.6,2.3,4.4,3.3,7.1,2.6c0.6-0.2,1.2-0.4,1.7-0.7l10.5-6.7c1.7-1.1,3.6-1.9,5.6-2.5\n                      c8.9-2.3,18.2,1.2,23.4,8.7c3.2,4.4,4.4,9.9,3.5,15.3c-0.9,5.2-4.1,9.9-8.6,12.7l-27.5,17.5C44.8,102.5,42.9,103.3,40.9,103.9\"/>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Svelte</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_angular true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Angular\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg class=\"w-4 h-4\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n                          viewBox=\"0 0 250 250\" style=\"enable-background:new 0 0 250 250;\" xml:space=\"preserve\">\n                      <style type=\"text/css\">\n                          .st0{fill:#DD0031;}\n                          .st1{fill:#C3002F;}\n                          .st2{fill:#FFFFFF;}\n                      </style>\n                      <g>\n                          <polygon class=\"st0\" points=\"125,30 125,30 125,30 31.9,63.2 46.1,186.3 125,230 125,230 125,230 203.9,186.3 218.1,63.2 \t\"/>\n                          <polygon class=\"st1\" points=\"125,30 125,52.2 125,52.1 125,153.4 125,153.4 125,230 125,230 203.9,186.3 218.1,63.2 125,30 \t\"/>\n                          <path class=\"st2\" d=\"M125,52.1L66.8,182.6h0h21.7h0l11.7-29.2h49.4l11.7,29.2h0h21.7h0L125,52.1L125,52.1L125,52.1L125,52.1\n                              L125,52.1z M142,135.4H108l17-40.9L142,135.4z\"/>\n                      </g>\n                  </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Angular</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_astro true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Astro\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4 dark:hidden\" viewBox=\"0 0 1280 1280\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M815.039 94.6439C824.758 106.709 829.714 122.99 839.626 155.553L1056.17 866.901C976.107 825.368 889.072 795.413 797.281 779.252L656.29 302.798C653.983 295.002 646.822 289.654 638.693 289.654C630.542 289.654 623.368 295.03 621.08 302.853L481.795 779.011C389.579 795.1 302.146 825.109 221.741 866.793L439.347 155.388L439.348 155.388C449.291 122.882 454.262 106.629 463.982 94.5853C472.562 83.9531 483.723 75.6958 496.4 70.6002C510.76 64.8284 527.756 64.8284 561.749 64.8284H717.174C751.212 64.8284 768.23 64.8284 782.603 70.6123C795.292 75.7184 806.459 83.9923 815.039 94.6439Z\" fill=\"url(#paint0_linear_709_110)\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M840.951 900.754C805.253 931.279 734.002 952.097 651.929 952.097C551.197 952.097 466.767 920.737 444.363 878.561C436.354 902.732 434.558 930.396 434.558 948.068C434.558 948.068 429.281 1034.84 489.636 1095.2C489.636 1063.86 515.042 1038.46 546.381 1038.46C600.097 1038.46 600.036 1085.32 599.987 1123.34C599.986 1124.48 599.984 1125.61 599.984 1126.73C599.984 1184.44 635.255 1233.91 685.416 1254.77C677.924 1239.36 673.721 1222.05 673.721 1203.77C673.721 1148.73 706.034 1128.23 743.588 1104.41L743.588 1104.41C773.469 1085.46 806.668 1064.41 829.548 1022.17C841.486 1000.13 848.265 974.893 848.265 948.068C848.265 931.573 845.702 915.676 840.951 900.754Z\" fill=\"#FF5D01\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M840.951 900.754C805.253 931.279 734.002 952.097 651.929 952.097C551.197 952.097 466.767 920.737 444.363 878.561C436.354 902.732 434.558 930.396 434.558 948.068C434.558 948.068 429.281 1034.84 489.636 1095.2C489.636 1063.86 515.042 1038.46 546.381 1038.46C600.097 1038.46 600.036 1085.32 599.987 1123.34C599.986 1124.48 599.984 1125.61 599.984 1126.73C599.984 1184.44 635.255 1233.91 685.416 1254.77C677.924 1239.36 673.721 1222.05 673.721 1203.77C673.721 1148.73 706.034 1128.23 743.588 1104.41L743.588 1104.41C773.469 1085.46 806.668 1064.41 829.548 1022.17C841.486 1000.13 848.265 974.893 848.265 948.068C848.265 931.573 845.702 915.676 840.951 900.754Z\" fill=\"url(#paint1_linear_709_110)\"/>\n                      <defs>\n                      <linearGradient id=\"paint0_linear_709_110\" x1=\"882.997\" y1=\"27.1132\" x2=\"638.955\" y2=\"866.902\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#000014\"/>\n                      <stop offset=\"1\" stop-color=\"#150426\"/>\n                      </linearGradient>\n                      <linearGradient id=\"paint1_linear_709_110\" x1=\"1001.68\" y1=\"652.45\" x2=\"790.326\" y2=\"1094.91\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#FF1639\"/>\n                      <stop offset=\"1\" stop-color=\"#FF1639\" stop-opacity=\"0\"/>\n                      </linearGradient>\n                      </defs>\n                    </svg>\n                    <svg aria-hidden=\"true\" class=\"hidden w-4 h-4 dark:inline-block\" viewBox=\"0 0 1281 1280\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M815.931 94.6439C825.65 106.709 830.606 122.99 840.519 155.553L1057.06 866.901C976.999 825.368 889.964 795.413 798.174 779.252L657.182 302.798C654.875 295.002 647.715 289.654 639.585 289.654C631.434 289.654 624.26 295.03 621.972 302.853L482.688 779.011C390.471 795.1 303.038 825.109 222.634 866.793L440.24 155.388L440.24 155.388C450.183 122.882 455.154 106.629 464.874 94.5853C473.455 83.9531 484.616 75.6958 497.293 70.6002C511.652 64.8284 528.649 64.8284 562.642 64.8284H718.067C752.104 64.8284 769.123 64.8284 783.496 70.6123C796.184 75.7184 807.352 83.9923 815.931 94.6439Z\" fill=\"url(#paint0_linear_709_106)\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M841.843 900.754C806.146 931.279 734.895 952.097 652.822 952.097C552.089 952.097 467.659 920.737 445.256 878.561C437.247 902.732 435.45 930.396 435.45 948.068C435.45 948.068 430.173 1034.84 490.528 1095.2C490.528 1063.86 515.934 1038.46 547.273 1038.46C600.989 1038.46 600.929 1085.32 600.88 1123.34C600.878 1124.48 600.877 1125.61 600.877 1126.73C600.877 1184.44 636.147 1233.91 686.308 1254.77C678.816 1239.36 674.613 1222.05 674.613 1203.77C674.613 1148.73 706.926 1128.23 744.48 1104.41L744.481 1104.41C774.361 1085.46 807.56 1064.41 830.44 1022.17C842.379 1000.13 849.158 974.893 849.158 948.068C849.158 931.573 846.594 915.676 841.843 900.754Z\" fill=\"#FF5D01\"/>\n                      <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M841.843 900.754C806.146 931.279 734.895 952.097 652.822 952.097C552.089 952.097 467.659 920.737 445.256 878.561C437.247 902.732 435.45 930.396 435.45 948.068C435.45 948.068 430.173 1034.84 490.528 1095.2C490.528 1063.86 515.934 1038.46 547.273 1038.46C600.989 1038.46 600.929 1085.32 600.88 1123.34C600.878 1124.48 600.877 1125.61 600.877 1126.73C600.877 1184.44 636.147 1233.91 686.308 1254.77C678.816 1239.36 674.613 1222.05 674.613 1203.77C674.613 1148.73 706.926 1128.23 744.48 1104.41L744.481 1104.41C774.361 1085.46 807.56 1064.41 830.44 1022.17C842.379 1000.13 849.158 974.893 849.158 948.068C849.158 931.573 846.594 915.676 841.843 900.754Z\" fill=\"url(#paint1_linear_709_106)\"/>\n                      <defs>\n                      <linearGradient id=\"paint0_linear_709_106\" x1=\"883.889\" y1=\"27.1132\" x2=\"639.848\" y2=\"866.902\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"white\"/>\n                      <stop offset=\"1\" stop-color=\"#F9FAFB\"/>\n                      </linearGradient>\n                      <linearGradient id=\"paint1_linear_709_106\" x1=\"1002.57\" y1=\"652.45\" x2=\"791.219\" y2=\"1094.91\" gradientUnits=\"userSpaceOnUse\">\n                      <stop stop-color=\"#FF1639\"/>\n                      <stop offset=\"1\" stop-color=\"#FF1639\" stop-opacity=\"0\"/>\n                      </linearGradient>\n                      </defs>\n                    </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Astro</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_gatsby true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Gatsby\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" class=\"w-4 h-4\" viewBox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <g clip-path=\"url(#clip0_4012_35501)\">\n                    <path d=\"M14 28C21.732 28 28 21.732 28 14C28 6.26801 21.732 0 14 0C6.26801 0 0 6.26801 0 14C0 21.732 6.26801 28 14 28Z\" fill=\"#663399\"/>\n                    <path d=\"M6.2 21.8C4.1 19.7 3 16.9 3 14.2L13.9 25C11.1 24.9 8.3 23.9 6.2 21.8Z\" fill=\"white\"/>\n                    <path d=\"M16.3998 24.7L3.2998 11.6C4.3998 6.7 8.7998 3 13.9998 3C17.6998 3 20.8998 4.8 22.8998 7.5L21.3998 8.8C19.6998 6.5 16.9998 5 13.9998 5C10.0998 5 6.7998 7.5 5.4998 11L16.9998 22.5C19.8998 21.5 22.0998 19 22.7998 16H17.9998V14H24.9998C24.9998 19.2 21.2998 23.6 16.3998 24.7Z\" fill=\"white\"/>\n                    </g>\n                    <defs>\n                    <clipPath id=\"clip0_4012_35501\">\n                    <rect width=\"28\" height=\"28\" fill=\"white\"/>\n                    </clipPath>\n                    </defs>\n                  </svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Gatsby</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_meteorjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Meteor.js\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" width=\"2500\" height=\"2451\" viewBox=\"0 0 256 251\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\"><g fill=\"#DF4F4F\"><path d=\"M.439.438L219.3 232.266s7.457 5.259 13.158-.877c5.702-6.135 1.316-12.27 1.316-12.27L.44.439zM69.738 22.35l166.668 179.677s7.456 5.26 13.158-.876c5.702-6.135 1.316-12.27 1.316-12.27L69.738 22.35zM21.053 69.242L187.72 248.919s7.456 5.259 13.158-.877c5.702-6.135 1.316-12.27 1.316-12.27L21.053 69.242zM128.32 41.194l116.442 125.53s5.21 3.674 9.193-.612c3.983-4.287.919-8.573.919-8.573L128.321 41.194zM37.092 123.583l116.441 125.53s5.21 3.674 9.193-.613c3.983-4.286.919-8.572.919-8.572L37.092 123.583zM188.16 68.365l52.775 57.067s2.577 1.722 4.547-.287c1.97-2.008.455-4.017.455-4.017L188.16 68.365zM66.229 181.43l52.775 57.067s2.577 1.722 4.547-.286c1.97-2.009.455-4.017.455-4.017L66.229 181.43z\"/></g></svg>\n                </span>\n                <span class=\"text-sm font-medium\">Requires Meteor.js</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_solidjs true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires SolidJS\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 166 155.3\"><defs><linearGradient id=\"a\" gradientUnits=\"userSpaceOnUse\" x1=\"27.5\" y1=\"3\" x2=\"152\" y2=\"63.5\"><stop offset=\".1\" stop-color=\"#76b3e1\"/><stop offset=\".3\" stop-color=\"#dcf2fd\"/><stop offset=\"1\" stop-color=\"#76b3e1\"/></linearGradient><linearGradient id=\"b\" gradientUnits=\"userSpaceOnUse\" x1=\"95.8\" y1=\"32.6\" x2=\"74\" y2=\"105.2\"><stop offset=\"0\" stop-color=\"#76b3e1\"/><stop offset=\".5\" stop-color=\"#4377bb\"/><stop offset=\"1\" stop-color=\"#1f3b77\"/></linearGradient><linearGradient id=\"c\" gradientUnits=\"userSpaceOnUse\" x1=\"18.4\" y1=\"64.2\" x2=\"144.3\" y2=\"149.8\"><stop offset=\"0\" stop-color=\"#315aa9\"/><stop offset=\".5\" stop-color=\"#518ac8\"/><stop offset=\"1\" stop-color=\"#315aa9\"/></linearGradient><linearGradient id=\"d\" gradientUnits=\"userSpaceOnUse\" x1=\"75.2\" y1=\"74.5\" x2=\"24.4\" y2=\"260.8\"><stop offset=\"0\" stop-color=\"#4377bb\"/><stop offset=\".5\" stop-color=\"#1a336b\"/><stop offset=\"1\" stop-color=\"#1a336b\"/></linearGradient></defs><path d=\"M163 35S110-4 69 5l-3 1c-6 2-11 5-14 9l-2 3-15 26 26 5c11 7 25 10 38 7l46 9 18-30z\" fill=\"#76b3e1\"/><path d=\"M163 35S110-4 69 5l-3 1c-6 2-11 5-14 9l-2 3-15 26 26 5c11 7 25 10 38 7l46 9 18-30z\" opacity=\".3\" fill=\"url(#a)\"/><path d=\"M52 35l-4 1c-17 5-22 21-13 35 10 13 31 20 48 15l62-21S92 26 52 35z\" fill=\"#518ac8\"/><path d=\"M52 35l-4 1c-17 5-22 21-13 35 10 13 31 20 48 15l62-21S92 26 52 35z\" opacity=\".3\" fill=\"url(#b)\"/><path d=\"M134 80a45 45 0 00-48-15L24 85 4 120l112 19 20-36c4-7 3-15-2-23z\" fill=\"url(#c)\"/><path d=\"M114 115a45 45 0 00-48-15L4 120s53 40 94 30l3-1c17-5 23-21 13-34z\" fill=\"url(#d)\"/></svg>\n                  </span>\n                <span class=\"text-sm font-medium\">Requires SolidJS</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_qwik true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Qwik\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs rounded-full bg-neutral-primary-medium px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" class=\"w-4 h-4\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 128 128\">\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(9.411765%,71.372549%,96.470588%);fill-opacity:1;\" d=\"M 95.671875 112.554688 L 78.242188 95.214844 L 77.996094 95.257812 L 77.996094 95.074219 L 40.929688 58.417969 L 50.082031 49.597656 L 44.699219 18.757812 L 19.230469 50.355469 C 14.90625 54.722656 14.074219 61.863281 17.207031 67.105469 L 33.125 93.527344 C 35.558594 97.578125 39.382812 100.183594 44.722656 99.992188 C 56.027344 99.589844 60.996094 99.589844 60.996094 99.589844 L 95.664062 112.546875 L 95.671875 112.558594 Z M 95.671875 112.554688 \"/>\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(67.45098%,49.411765%,95.686275%);fill-opacity:1;\" d=\"M 104.285156 63.960938 C 106.792969 58.785156 107.691406 54.257812 105.214844 49.707031 L 101.691406 43.222656 L 99.863281 39.894531 L 99.152344 38.597656 L 99.085938 38.671875 L 89.5 22.042969 C 87.082031 17.835938 82.582031 15.265625 77.734375 15.320312 L 69.328125 15.558594 L 44.234375 15.625 C 39.496094 15.65625 35.125 18.175781 32.722656 22.257812 L 17.476562 52.539062 L 44.761719 18.59375 L 80.554688 57.953125 L 74.148438 64.445312 L 77.972656 95.238281 L 78.027344 95.167969 L 78.027344 95.257812 L 77.972656 95.257812 L 78.046875 95.332031 L 81.03125 98.238281 L 95.46875 112.339844 C 96.074219 112.925781 97.058594 112.222656 96.65625 111.5 L 87.730469 93.9375 \"/>\n                      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 80.640625 57.855469 L 44.753906 18.695312 L 49.851562 49.359375 L 40.71875 58.222656 L 77.90625 95.179688 L 74.554688 64.5 L 80.640625 57.867188 Z M 80.640625 57.855469 \"/>\n                    </svg>\n                  </span>\n                <span class=\"text-sm font-medium\">Requires Qwik</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_rails true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Ruby on Rails\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"h-4\" viewBox=\"0 0 411 155\">\n                      <g fill=\"#CC0000\" fill-rule=\"evenodd\" transform=\"translate(8 8)\">\n                        <path d=\"M344.6 121.5L344.6 139.6 377.3 139.6C384 139.6 395.5 134.7 395.9 121L395.9 114C395.9 102.3 386.3 95.4 377.3 95.4L361 95.4 361 87 393.3 87 393.3 68.8 362.3 68.8C354.3 68.8 343.6 75.4 343.6 87.7L343.6 94C343.6 106.3 354.2 112.6 362.3 112.6 384.8 112.7 356.9 112.6 377.7 112.6L377.7 121.4M169.4 117.1C169.4 117.1 186.9 115.6 186.9 93 186.9 70.4 165.7 68.3 165.7 68.3L127.5 68.3 127.5 139.6 146.7 139.6 146.7 122.4 163.3 139.6 191.7 139.6 169.4 117.1zM162 102.5L146.7 102.5 146.7 86.2 162.1 86.2C162.1 86.2 166.4 87.8 166.4 94.3 166.4 100.8 162 102.5 162 102.5zM234.3 68.8L214.8 68.8C200.9 68.8 196.2 81.4 196.2 87.4L196.2 139.6 215.7 139.6 215.7 127.1 234 127.1 234 139.6 252.9 139.6 252.9 87.4C252.9 72.2 239.1 68.8 234.3 68.8zM234 106.9L215.6 106.9 215.6 89.6C215.6 89.6 215.6 85.7 221.7 85.7L228.4 85.7C233.8 85.7 233.9 89.6 233.9 89.6L233.9 106.9 234 106.9z\"/>\n                        <rect width=\"20.3\" height=\"70.8\" x=\"261.8\" y=\"68.8\"/>\n                        <polygon points=\"310.6 121.3 310.6 68.8 290.4 68.8 290.4 121.3 290.4 139.6 310.6 139.6 337.9 139.6 337.9 121.3\"/>\n                        <path d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\"/>\n                        <path d=\"M7,139.6 L86,139.6 C86,139.6 70.9,70.7 120.9,42.8 C131.8,37.5 166.5,17.7 223.3,59.7 C225.1,58.2 226.8,57 226.8,57 C226.8,57 174.8,5.1 116.9,10.9 C87.8,13.5 52,40 31,75 C10,110 7,139.6 7,139.6 Z\"/>\n                        <path d=\"M7 139.6L86 139.6C86 139.6 70.9 70.7 120.9 42.8 131.8 37.5 166.5 17.7 223.3 59.7 225.1 58.2 226.8 57 226.8 57 226.8 57 174.8 5.1 116.9 10.9 87.7 13.5 51.9 40 30.9 75 9.9 110 7 139.6 7 139.6zM171.6 16.5L172 9.8C171.1 9.3 168.6 8.1 162.3 6.3L161.9 12.9C165.2 14 168.4 15.2 171.6 16.5z\"/>\n                        <path d=\"M162.1 37.7L161.7 44C165 44.1 168.3 44.5 171.6 45.2L172 39C168.6 38.3 165.3 37.9 162.1 37.7zM125.1 6.5L126.1 6.5 124.1.4C121 .4 117.8.6 114.5 1L116.4 6.9C119.3 6.6 122.2 6.5 125.1 6.5zM129.9 43.3L132.2 50.2C135.1 48.8 138 47.6 140.9 46.7L138.7 40.1C135.3 41.1 132.4 42.2 129.9 43.3zM84.5 17L80 10.1C77.5 11.4 74.9 12.8 72.2 14.4L76.8 21.4C79.4 19.8 81.9 18.3 84.5 17zM105 62L109.8 69.2C111.5 66.7 113.5 64.4 115.7 62.1L111.2 55.3C108.9 57.4 106.8 59.7 105 62zM90.5 94.2L98.6 100.6C99 96.7 99.7 92.8 100.7 88.9L93.5 83.2C92.2 86.9 91.3 90.6 90.5 94.2zM46.7 46.7L39.6 40.5C37 43 34.5 45.5 32.2 48L39.9 54.6C42 51.9 44.3 49.2 46.7 46.7zM16.5 91.4L5 87.2C3.1 91.5 1 96.5 0 99.2L11.5 103.4C12.8 100 14.9 95.1 16.5 91.4zM89 119.6C89.2 124.9 89.7 129.2 90.2 132.2L102.2 136.5C101.3 132.6 100.4 128.2 99.8 123.5L89 119.6z\"/>\n                      </g>\n                    </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Ruby on Rails</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_phoenix true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Phoenix Framework\">\n                <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                  <svg aria-hidden=\"true\" class=\"w-4 h-4\" viewBox=\"0 0 256 175\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"xMidYMid\">\n                      <g>\n                          <path d=\"M96.135,122.038046 C95.007,121.835046 94.565,121.758046 94.123,121.676046 C79.835,119.019046 70.803,110.373046 66.523,96.7810463 C63.855,88.3090463 68.703,82.0700463 77.589,81.6590463 C84.865,81.3220463 89.845,85.5040463 94.249,90.3700463 C99.926,96.6440463 105.13,103.343046 110.706,109.711046 C118.734,118.878046 128.193,124.781046 141.135,122.959046 C152.74,121.325046 162.853,116.668046 171.653,109.003046 C172.976,107.851046 174.427,106.847046 175.82,105.774046 C175.527,105.429046 175.235,105.084046 174.942,104.739046 C167.555,107.033046 160.021,107.804046 152.323,107.417046 C140.675,106.831046 129.576,104.399046 119.645,98.0040463 C110.583,92.1680463 103.9,84.3480463 100.723,73.9030463 C98.157,65.4650463 103.409,59.5620463 112.153,60.7820463 C115.61,61.2640463 118.52,62.8210463 121.132,65.0290463 C123.259,66.8250463 125.299,68.7290463 127.468,70.4710463 C137.674,78.6720463 151.935,79.1280463 164.89,70.2240463 C143.592,70.1270463 129.102,58.4120463 116.375,43.5650463 C111.394,37.7540463 106.531,31.8390463 101.447,26.1200463 C91.61,15.0530463 80.697,5.3030463 65.754,1.9770463 C46.666,-2.2719537 28.238,0.505046296 10.55,8.6060463 C7.023,10.2210463 3.636,12.0990463 0,15.1250463 C1.8,15.1250463 2.782,15.1470463 3.762,15.1220463 C12.68,14.8920463 19.363,18.8550463 24.183,26.1500463 C27.691,31.4590463 29.344,37.4630463 30.604,43.6400463 C32.474,52.8070463 31.506,62.1530463 32.586,71.3620463 C35.362,95.0370463 47.462,111.558046 69.992,120.018046 C78.254,123.121046 86.728,124.154046 96.135,122.038046 L96.135,122.038046 Z M39.196,14.0410463 C35.636,14.9390463 32.791,13.5020463 29.859,10.5350463 C34.88,9.2840463 39.308,8.7990463 44.066,8.6120463 C43.677,11.7010463 41.855,13.3710463 39.196,14.0410463 Z M155.854,152.292046 C155.544,150.013046 153.597,149.009046 152.066,147.817046 C145.294,142.546046 137.374,140.680046 128.977,140.525046 C123.966,140.433046 119.007,140.059046 114.281,138.302046 C112.115,137.497046 109.692,136.463046 109.747,133.664046 C109.802,130.824046 112.273,130.021046 114.522,129.349046 C116.363,128.799046 118.263,128.448046 120.359,127.958046 C115.035,124.546046 109.834,124.073046 102.904,126.860046 C91.995,131.246046 81.24,130.726046 70.365,126.799046 C64.225,124.583046 58.776,121.104046 53.103,118.023046 L52.948,118.130046 C53.022,118.079046 53.1,118.025046 53.095,118.028046 C52.955,117.600046 52.701,117.589046 52.375,117.828046 C52.524,117.958046 52.672,118.088046 52.82,118.218046 C57.525,125.929046 63.881,132.133046 71.061,137.435046 C84.889,147.645046 99.993,153.734046 117.666,151.032046 C123.374,150.159046 129.125,149.482046 134.882,149.018046 C142.1,148.435046 148.977,150.466046 155.854,152.292046 Z M122.535,41.6730463 C122.153,41.3960463 121.786,40.7010463 121.006,41.4200463 C127.364,50.0200463 135.532,56.3600463 145.367,60.3510463 C161.24,66.7920463 177.35,67.8940463 193.827,62.2100463 C206.619,57.7980463 215.818,62.1090463 220.595,74.5290463 C221.286,60.1130463 212.805,49.6090463 199.296,47.5500463 C191.696,46.3920463 184.679,48.9130463 177.56,50.9780463 C157.749,56.7220463 139.339,53.8860463 122.535,41.6730463 Z M221.272,97.9010463 C223.854,98.1180463 226.434,98.3520463 229.015,98.5780463 C223.183,93.4550463 216.075,93.0490463 208.884,93.4580463 C197.934,94.0800463 190.045,100.395046 182.853,107.940046 C176.516,114.590046 170.79,122.050046 161.333,124.722046 C161.491,125.006046 161.532,125.148046 161.576,125.148046 C162.848,125.167046 164.123,125.227046 165.392,125.169046 C179.127,124.547046 192.066,121.650046 202.359,111.682046 C205.6,108.543046 208.501,105.056046 211.63,101.798046 C214.24,99.0810463 217.405,97.5750463 221.272,97.9010463 Z M189.365,80.8790463 C179.115,81.7750463 170.211,86.0150463 161.848,91.6060463 C155.411,95.9090463 148.527,97.9450463 140.791,96.5990463 C139.43,96.3620463 138.059,96.1850463 136.693,95.9800463 C136.677,96.1710463 136.662,96.3610463 136.646,96.5520463 C137.138,96.8050463 137.613,97.1010463 138.125,97.3040463 C139.414,97.8140463 140.684,98.4280463 142.022,98.7460463 C156.908,102.285046 171.158,100.472046 184.006,92.1730463 C192.104,86.9420463 200.487,85.9510463 209.573,87.3020463 C210.491,87.4390463 211.405,87.6060463 212.327,87.6920463 C213.181,87.7730463 214.073,88.6220463 215.226,87.7030463 C207.283,81.9650463 198.727,80.0610463 189.365,80.8790463 Z M152.731,46.0860463 C158.108,46.2720463 163.461,45.5680463 169.085,42.2270463 C167.438,42.3730463 166.739,42.3700463 166.069,42.5040463 C158.321,44.0480463 151.366,42.3580463 145.171,37.4600463 C142.898,35.6620463 140.587,33.9120463 138.285,32.1510463 C129.159,25.1710463 118.694,22.8360463 107.247,23.0340463 C107.432,23.5970463 107.443,23.9830463 107.642,24.1830463 C120.097,36.7810463 134.512,45.4580463 152.731,46.0860463 Z M242.873,110.724046 C235.165,103.079046 224.821,102.094046 215.249,108.766046 C221.585,109.051046 226.341,111.072046 230.198,115.066046 C231.563,116.479046 232.978,117.866046 234.505,119.098046 C240.337,123.802046 250.224,124.028046 256,119.664046 C249.215,117.016046 249.215,117.016046 242.873,110.724046 Z M166.106,169.269046 C159.332,156.660046 147.947,153.815046 134.795,154.661046 C138.683,155.739046 142.314,157.398046 145.646,159.724046 C148.707,161.861046 151.283,164.507046 153.822,167.217046 C158.853,172.586046 166.705,175.881046 171.908,174.767046 C169.519,173.261046 167.397,171.671046 166.106,169.269046 Z M229.137,98.8380463 C229.139,98.7580463 229.141,98.6770463 229.146,98.5930463 C229.146,98.5920463 229.136,98.6030463 229.126,98.6140463 L229.148,98.5900463 C229.104,98.5860463 229.059,98.5820463 229.015,98.5780463 C229.041,98.6020463 229.069,98.6210463 229.095,98.6450463 C229.109,98.7090463 229.123,98.7740463 229.137,98.8380463 Z M156.23,152.589046 C156.141,152.538046 156.052,152.488046 155.963,152.438046 C155.975,152.495046 155.989,152.551046 156.019,152.597046 C156.037,152.627046 156.157,152.593046 156.23,152.589046 Z M155.963,152.438046 C155.955,152.397046 155.948,152.355046 155.937,152.314046 C155.937,152.314046 155.922,152.333046 155.906,152.352046 L155.937,152.315046 C155.91,152.307046 155.882,152.300046 155.854,152.292046 C155.859,152.326046 155.871,152.354046 155.875,152.389046 C155.905,152.405046 155.934,152.422046 155.963,152.438046 Z\" fill=\"#FD4F00\"></path>\n                      </g>\n                  </svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Phoenix Framework</span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_django true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Django\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                      <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 256 326\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\"><g fill=\"#2BA977\"><path d=\"M114.784 0h53.278v244.191c-27.29 5.162-47.38 7.193-69.117 7.193C33.873 251.316 0 222.245 0 166.412c0-53.795 35.93-88.708 91.608-88.708 8.64 0 15.222.68 23.176 2.717V0zm1.867 124.427c-6.24-2.038-11.382-2.717-17.965-2.717-26.947 0-42.512 16.437-42.512 45.243 0 28.046 14.88 43.532 42.17 43.532 5.896 0 10.696-.332 18.307-1.351v-84.707z\"/><path d=\"M255.187 84.26v122.263c0 42.105-3.154 62.353-12.411 79.81-8.64 16.783-20.022 27.366-43.541 39.055l-49.438-23.297c23.519-10.93 34.901-20.588 42.17-35.327 7.61-15.072 10.01-32.529 10.01-78.445V84.261h53.21zM196.608 0h53.278v54.135h-53.278V0z\"/></g></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Django</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_flask true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Flask\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-white rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" class=\"w-4 h-4\" viewBox=\"0 0 32 32\" preserveAspectRatio=\"xMidYMid\"><path d=\"M9.563 26.873c-1.22-.96-2.52-1.878-3.408-3.172-1.87-2.283-3.31-4.925-4.294-7.703-.595-1.806-.8-3.743-1.566-5.48-.802-1.26.138-2.64 1.52-3.04.615-.118 1.696-.7.39-.284-1.17.858-1.283-.78-.083-.884.82-.11 1.12-.78.84-1.382-.88-.574 2.132-1.203.616-2.06C2 1.168 5.786.84 4.852 2.774 4.63 4.26 7.498 2.5 6.832 4.218c.677.825 2.534.188 2.487 1.345.986.068 1.324.897 2.25.96.96.433 2.697.774 3.023 1.855-.95.753-3.153-1.555-3.26.53.288 3.08.214 6.252 1.34 9.185.533 1.775 1.825 3.173 2.99 4.556 1.117 1.354 2.63 2.308 4.17 3.11 1.352.638 2.81 1.06 4.283 1.326.597-.457 1.653-2.156 2.584-1.44.045.806-1.85 1.684-.09 1.595 1.035-.312 1.752.8 2.603-.204.785.93 3.26-.593 2.703 1.306-.755.487-1.856.193-2.612.863-1.247-.623-2.24.557-3.62.408-1.533.275-3.092.385-4.646.387-2.55-.2-5.153-.286-7.578-1.174-1.367-.397-2.7-1.175-3.9-1.954zm2.153.933c1.334.576 2.64 1.184 4.1 1.368 2.32.322 4.715.82 7.043.366-1.054-.476-2.143.185-3.193-.34-1.26.27-2.6-.07-3.9-.237-1.455-.648-3.026-1.094-4.388-1.936-1.703-.622.88.798 1.34.913 1.064.604-1.17-.3-1.486-.56-.892-.5-1.005-.396-.088.112l.56.314zm-2.54-1.794c1.293.48-.006-.91-.597-.83-.262-.455-1.003-.743-.48-.987-.94.326-.984-1.24-1.425-1.016-.994-.314-.387-1.426-1.57-2.11-.108-.72-1.176-1.343-1.516-2.428-.15-.556-1.207-2.15-.558-.666.552 1.43 1.524 2.653 2.334 3.875.628 1.164 1.37 2.38 2.514 3.107.386.37.758.937 1.302 1.053zm-3.724-4.09c.045-.195.236.422 0 0zm5.273 4.663c.286-.128-.412-.162 0 0zm.7.256c-.073-.353-.32.198 0 0zm.88.366c.418-.398-.645-.25 0 0zm1.506.84c.254-.375-.813-.14 0 0zm-2.89-2.015c.65-.42-.84-.006 0 0zm.66.33c-.02-.222-.235.1 0 0zm3.293 2.056c.53.334 3.092.732 1.488.137-.27.056-2.975-.766-1.488-.137zm-5.228-4.072c-.05-.222-.822-.246 0 0zm1.533.894c.4-.28-.828-.215 0 0zm1.3.8c.573-.216-.928-.217 0 0zM9.02 23.665c.62.476 2.506.06.95-.284-.707-.377-2.3-.635-1.214.227l.263.057zm4.32 2.637c.26-.44-1.086-.252 0 0zm-1.313-1.043c1.52.43-1.277-.96-.375-.16l.2.09.175.068zm2.632 1.52c1.44.014-1.3-.2 0 0zm-6.193-3.947c-.056-.268-.355.022 0 0zm8.627 5.312c.038-.484-.47.36 0 0zm-6.17-3.81c-.087-.255-.45-.01 0 0zm-2.32-1.67c.826-.05-1.13-.364 0 0zM5.856 20.89c-.103-.396-.898-.712 0 0zm7.212 4.577c-.15-.173-.07.037 0 0zm4.488 2.755c-.014-.264-.244.1 0 0zm-4.885-3.165c.08-.34-.705-.103 0 0zm-3.344-2.12c.615-.065-.985-.415 0 0zm5.656 3.515c.958-.38-.933-.185 0 0zm-2.942-1.997c1.103.142-1.313-.75-.243-.08l.243.08zm3.835 2.358c1.03-.615.69 1.443 1.748.174 1.043-.762-.9.942.384.136.93-.622 2.303.295 3.17.593.624-.03 1.23.54 1.87.193 1.23-.332-2.408-.492-1.454-1.08-1.126.328-1.958-.39-2.513-1.112-1.264-.292-2.724-.938-3.355-2.056-.257-.42.37.06-.222-.627-.76-.677-1.14-1.446-1.652-2.27-.61-.325-.683-1.284-.744-.032.005-.79-.737-1.323-.92-1.102-.003-.76.795-.38.236-.942-.12-.79-.516-1.61-.634-2.502-.185-.43-.026-1.35-.63-.377-.22 1.027-.073-1.262.27-.508.45-.77-.162-.68-.186-.573.293-.65.186-1.572-.077-1.22.156-.69.247-2.535-.233-2.208.29-.72.552-3.297-.712-2.315-.512.007-1.398.186-1.817.394 1.313.724-.132.262-.668.146-.07.67-.6.38-1.26.387 1.058.13-.515 1.08-1.12.712-.788.376.68 1.316.015 1.607.082.437-1.207-.158-1.106.854-.764-.322-.105 1.2.278.685 1.3.352.915 1.154.948 1.917-.212.444-1.046-1.044-.186-.975-.68-1.103-.75-.4-1.315.114-.13.037 1.44.73.454 1.07.867.134.892.893 1.068 1.372.52.543.413-.6 1.037.053-.395-.58-2.09-1.637-.725-1.3-.007-.584-.247-1.056.172-1.045.415-.75-.434 1.85.5.896.258-.113.323-.75.787.06.674.664.244 1.144-.708.536.17.578 1.273.784 1.065 1.687.22.795.527.502.795.456.2.772.33.204.34-.163.962.206.736.775 1.038 1.172.663.3-.95-2.028.19-.7 1.197 1.08.45 1.533-.625 1.36.68-.055.9.92 1.75.885.776.37 1.3 1.787-.036 1.196-.463-.418-2.106-.934-.764-.14 1.238.574 2.222.916 3.416 1.637.854.6 1.223 1.308 1.547 1.447-.718.343-2.164-.274-1.1-.463-.67-.122-1.424-.46-.782.374.546.456 1.933.408 2.182.46-.21.464-.573.5.008.537-.648.346.208.4.268.597zm-1.326-3.744c-.395-.413-.497-1.185-.07-.513.22.088.7 1.263.07.513zM18.87 25.8c.246-.016.007.187 0 0zm-4.94-3.755c-.016-.624.142.48 0 0zm-.43-.577c-.497-.96.625.27 0 0zm-5.202-3.6c.292-.078.144.498 0 0zm4.14 2.244c.18-.673.2.564 0 0zm-2.925-2.034c-.206-.37.43.348 0 0zm2.51.804c-.47-1.053.334-.575.105.172l-.105-.172zm-4.328-2.886c-.2-.346-.557-1.36-.445-1.67.1.504 1.072 2.17.476.7-.658-1.24.787.402.936.712.07.307-.406-.084-.084.638-.588-.822-.347.454-.882-.37zm-1.337-.922c.055-.804.306.55 0 0zm.602.208c.287-.606.486.845 0 0zM5.5 14.182c-.498-.495-.858-.95.024-.307.34.013-.755-1.037.082-.334.88.16.434 1.443-.105.64zm.76-.02c.29-.287.154.282 0 0zm.468.15c-.44-.822.532.345 0 0zm-.93-.888c-1.448-1.29 1.82.673.236.24l-.236-.24zm4.148 2.41c-.627-.375-.167-2.644.047-1.093.61-.197-.034.802.42.792-.07.63-.275.857-.467.3zm1.534.907c.06-.684.13.468 0 0zm-.266-.264c.07-.292.006.344 0 0zM6.092 13c-.93-1.283 2.703 1.298.596.325-.22-.058-.485-.078-.596-.325zm2.955 1.566c-.088-1.08.196.18 0 0zm2.243 1.44c.173-.615.013.407 0 0zM6.235 12.51c.553-.118 2.3.97.695.31-.177-.196-.556-.107-.695-.31zm4.746 2.366c.06-1.105.33-.66.002.16l-.002-.16zm-4.335-2.75c.226-.33-.598-1.493.118-.417.3.246.897.412.38.516.815.72-.2.195-.497-.1zm4.1 2.406c.155-1.26.137.737 0 0zm-4.57-3.568c.172-.074.09.23 0 0zm1.07.637c.275-.578.508.644 0 0zm3.017 1.678c-.002-.22.057.323 0 0zm-.175-.386c-.418-1.033.4.547 0 0zm-.257-.678c-.07-.427.24.536 0 0zm.418-.68c-.288-.506.363-2.23.436-1.16-.303.834-.087 1.3.123.18.39-.88-.084 1.737-.56.98zm.43-2.566c.125-.154.028.185 0 0zM9.96 23.12c-.17-.15.022.094 0 0zm1.48.748c.823.212.82-.128.075-.23-.4-.372-1.662-.767-.532-.046.074.2.31.185.457.275zm-2.92-1.94c.453.34 1.707.958.646.13.358-.416-.685-.638-.34-.916-.88-.54-.695-.5-.078-.473-1.058-.473.153-.437.096-.68-.408-.08-2.026-.72-1.074.052-.968-.493-.23.184-.523.113-1-.27.88.754-.157.5.567.45 1.528 1.153.24.476-.17.244.922.615 1.2.8zm1.547.89c1.88.606-.923-.74 0 0zm7.92 4.798c.024-.374-.257.32 0 0zm.814.343c.434-.42.018.67.72-.103.007-.553-.02-.88-.806-.208-.217.12-.313.63.087.31zM5.878 19.84c-.133-.524-.934-.522 0 0zm.87.57c-.323-.535-1.152-.485 0 0zm4.946 2.983c.483.43 2.218.315.586.053-.24-.357-1.533-.27-.586-.053zm6.798 4.2c.743-.624-.72.278 0 0zm1.546 1.062c.005-.2-.32.087 0 0zm.003-.28c.823-.87-.797.05 0 0zM3.74 18.05c-.7-1-.436-1.45-1.112-2.267-.128-.625-1.16-2.043-.534-.54.574.88.744 2.24 1.646 2.81zm16.04 10.046c1.515-.978-.62-.426 0 0zm1.156.453c.76-.65-.48-.136 0 0zM5.62 18.735c.217-.323-.56-.042 0 0zm15.075 9.505c.734-.473-.17-.4-.133.043l.133-.043zm-9.962-6.28c-.025-.32-.388.027 0 0zm.615.354c-.196-.396-.3.062 0 0zm10.525 6.245c.94-.68-.57-.13-.197.13l.197-.13zm-.36-.174c.767-.642-.81.284 0 0zm1.84 1.225c.514-.344-.625-.11 0 0zm-17.26-11.11c.69.154 2.755 1.698 1.537.107-.624-.185-.25-1.71-.887-1.44.427.714.35 1.018-.546.568-1.127-.55-.633.272-.413.5-.3.07.397.26.31.266zm-3.14-2.48c.123-.51-1.137-2.81-.595-1.152.195.347.175 1.005.595 1.152zm5.766 3.555c-.356-.297-.017-.042 0 0zm.874.204c0-.54-.966-.22 0 0zm7.577 4.776c-.145-.37-.57-.008 0 0zm.364.266c-.054-.207-.2.04 0 0zm3.003 1.892c.29-.213-.36-.028 0 0zM4.52 16.422c.826-.32-.885-.228 0 0zM16.5 23.97c-.01-.535-.527.133 0 0zM4.193 15.66c.53-.18-.49-.118 0 0zm1.54.746c-.01-.176-.163.067 0 0zm18.788 11.52c.682-.138 2.238.347 2.49-.18-.83-.02-2.867-.585-2.963.134l.18.03.293.018zM6.223 16.53c.012-.542-.422-.02 0 0zm-4.05-2.81c-.184-1.032-.7-.156 0 0zm.965.243c.012-.332-.884-.298 0 0zm.552.27c-.16-.13-.124.163 0 0zm3.473 2.227c.164-.15-.387-.11 0 0zm-3.84-2.84c-.094-.78-1.12-.117 0 0zm-1.98-1.285c-.028-.36-.193.136 0 0zm.295-.222c-.048-.427-.253.054 0 0zm1.627.97c.688-.27-1.253-.56-.14-.05l.14.05zM25.043 26.54c.44-.404-.56-.125 0 0zm2.63 1.363c.177-.52-.445.07 0 0zM3.43 12.235c.073-.505-.546.1 0 0zm-2.316-1.55C.992 9.97 1.01 8.72 2.198 9.142c-1.587.316 1.1 1.974.76.664.668.033 1.306-.395.955.253C5.23 9.916 6.14 8.774 7.412 8.935c1-.132 2.072-.23 3.14-.63.877-.063 1.72-1.007 1.24-1.567-1.196-.1-2.448.048-3.77.312-1.465.304-2.795.883-4.273 1.13-1.44.194.29.533-.123.61-.75.26.897.436-.097.712-.614-.117-1.253-.328-.99-.975-1.38.18-2.593.752-1.502 2.156l.08.001zM4.442 9c.323-1.192 1.733.98.53.16-.143-.108-.38-.195-.53-.16zm.063-.578c.467-.347.248.195 0 0zm.593.01c.043-.548 1.358.3.217.197l-.217-.197zm.81-.326c.297-.347.086.307 0 0zm.208-.14c.494-.593 2.793-.38 1.1-.058-.45-.34-.797.2-1.1.058zm3-.463c-.074-1.62 1.492.575 0 0zm.852-.005c.31-.816 1.21-.328.145-.164.023.087-.032.422-.145.164zm-6.873 4.327c.93-.57-.987-.494 0 0zm.688.2c.326-.347-.7-.14 0 0zM1.757 10.57c.53-.41-.63-.155 0 0zm27.47 17.185c.015-.474-.406.213 0 0zm-2.79-1.905c.08-.545-.36.047 0 0zm3.56 2.09c.743.003 2.252-.23.635-.23-.254.04-1.48.03-.635.23zM4.39 11.673c.602-.04.94-.663-.117-.628-1.64-.17 1.446.562-.2.352-.222.147.314.316.327.275zm.53.268c-.063-.386-.186.205 0 0zm.63-1.676c.26-.324-.36-.087 0 0zm-2-3.344c1.074-.365 2.542-.775 3.05.18-.516-.62-.208-1.232.28-.324.69.918 1.034-.418.586-.726.51.634 1.09.934.342.04.815-.98-1.63.128-2.186.117-.267.12-2.76.636-2.07.713zm.63-1.205c.612-.462 2.118.275 1.152-.46-.095-.083-2.115.557-1.152.46zm2.232.092c.716.018-.31-.963.544-.518-.14-.458-.994-.543-1.412-.727-.236.418.48 1.25.867 1.245zm-1.84-2.026c.248-.336-.435.17 0 0zM5.48 4c1.155-.153-.294-.497-.233-.012L5.48 4zM3.776 2.67c-.813-1.062 1.53.178.703-.933-.696-.553-1.363.624-.703.933zm10.434 5.62c.373-.66-1.54-.89-.25-.234.118.04.092.28.25.234z\"/></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Flask</span>\n                </span>\n              </aside>\n            {{ end }}\n\n            {{ if ( eq .Page.Params.requires_blazor true) }}\n              <aside class=\"mb-5\" aria-label=\"Integration requires Blazor (.NET)\">\n                  <span class=\"inline-flex items-center justify-between px-1 py-1 pr-4 text-sm text-body bg-neutral-primary-soft border border-default rounded-full hover:bg-neutral-tertiary\">\n                  <span class=\"text-xs bg-neutral-primary-medium rounded-full text-white px-3 py-1.5 mr-3\">\n                    <svg fill=\"none\" class=\"w-4 h-4\" viewBox=\"-10.12021875 -53.60951036 339.95397529 343.02235093\" width=\"2500\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m303.935 88.479c-6.598 41.362-27.653 79.041-59.42 106.335s-72.185 42.433-114.064 42.723c-8.483.326-16.977-.19-25.358-1.539a77.723 77.723 0 0 1 -64.63-73.266 75.479 75.479 0 0 1 22.14-52.762 75.46 75.46 0 0 1 105.885-.748 75.478 75.478 0 0 1 22.884 52.443c.317 12.51-5.102 23.483-16.239 23.8-11.899 0-17.477-8.491-17.477-19.934v-31.797a19.478 19.478 0 0 0 -19.323-19.494h-26.653a46.386 46.386 0 0 0 -39.119 20.961 46.399 46.399 0 0 0 31.587 71.268 46.392 46.392 0 0 0 41.8-14.911l.932-1.39.933 1.543a32.82 32.82 0 0 0 27.986 13.328 36.992 36.992 0 0 0 34.268-38.671 100.64 100.64 0 0 0 -2.761-24.577c-4.943-22.734-18.126-42.834-37.008-56.423a94.153 94.153 0 0 0 -125.236 13.718 94.175 94.175 0 0 0 -23.92 63.097 95.352 95.352 0 0 0 27.473 65.824 95.331 95.331 0 0 0 65.448 28.344s6.98.635 14.849.454a200.94 200.94 0 0 0 107.769-32.155c.457-.318.914.317.61.78a158.177 158.177 0 0 1 -123.225 50.396 111.185 111.185 0 0 1 -80.961-32.871 111.215 111.215 0 0 1 -32.215-81.232 115.099 115.099 0 0 1 46.223-92.17 112.704 112.704 0 0 1 66.497-21.953h35.772a100.637 100.637 0 0 0 74.247-32.784 1.39 1.39 0 0 1 .755-.431 1.418 1.418 0 0 1 1.52.663c.153.257.222.555.197.854a100.93 100.93 0 0 1 -15.608 45.14 1.386 1.386 0 0 0 .115 1.511 1.387 1.387 0 0 0 1.424.507 108.158 108.158 0 0 0 75.198-62.013c.173-.277.411-.507.695-.67a1.902 1.902 0 0 1 1.869 0c.284.162.523.392.694.67a137.098 137.098 0 0 1 13.447 87.432zm-189.964 44.858a27.823 27.823 0 0 0 -27.293 33.255 27.83 27.83 0 0 0 21.862 21.865 27.824 27.824 0 0 0 33.251-27.296v-25.977a2.007 2.007 0 0 0 -1.904-1.904z\" fill=\"#702af7\"/></svg>\n                  </span>\n                  <span class=\"text-sm font-medium\">Requires Blazor</span>\n                </span>\n              </aside>\n            {{ end }}\n            \n            <h1 class=\"inline-block mb-3 text-3xl font-semibold tracking-tight text-gray-950 dark:text-white\" id=\"content\">{{ .Title | markdownify }}</h1>\n            <p class=\"mb-4 text-lg text-gray-600 dark:text-gray-300\">{{ .Page.Params.Description | markdownify }}</p>\n          </div>\n\n          <div id=\"mainContent\">\n\n            {{ .Content }}\n\n            <aside class=\"flex mt-8 mb-8 font-medium leading-6\" aria-label=\"Previous and next page navigation\">\n              {{ if isset .Page.Params \"previous\" }}\n                <a class=\"flex items-center justify-center mr-8 text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" href=\"{{ .Page.Params.PreviousLink | relURL }}\">\n                  <svg class=\"w-4 h-4 me-1.5 -ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14M5 12l4-4m-4 4 4 4\"/></svg>\n                  {{ .Page.Params.Previous }}\n                </a>\n              {{ end }}\n              {{ if isset .Page.Params \"next\" }}\n              <a class=\"flex items-center justify-center ml-auto text-body bg-neutral-primary-soft border border-default hover:bg-neutral-secondary-medium hover:text-heading focus:ring-4 focus:ring-neutral-tertiary-soft shadow-xs font-medium leading-5 rounded-base text-sm px-3 py-2 focus:outline-none\" href=\"{{ .Page.Params.NextLink | relURL }}\">\n                {{ .Page.Params.Next }}\n                <svg class=\"w-4 h-4 ms-1.5 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19 12H5m14 0-4 4m4-4-4-4\"/>\n                </svg>\n              </a>\n              {{ end }}\n            </aside>\n\n            <aside class=\"p-4 my-8 bg-white border border-gray-100 rounded-xl shadow-xs sm:p-6 lg:p-8 dark:bg-gray-900 dark:border-gray-800\" aria-label=\"Subscribe to the Flowbite newsletter\">\n              <h3 class=\"mb-3 text-xl font-semibold text-gray-950 dark:text-white\">Get more updates...</h3>\n              <p class=\"mb-5 text-sm font-normal text-gray-600 dark:text-gray-300\">Do you want to get notified when a new component is added to Flowbite? Sign up for our newsletter and you'll be among the first to find out about new features, components, versions, and tools.</p>\n              <script src=\"https://f.convertkit.com/ckjs/ck.5.js\"></script>\n              <form\n                  action=\"https://app.convertkit.com/forms/4692392/subscriptions\"\n                  class=\"seva-form formkit-form\"\n                  method=\"post\"\n                  data-sv-form=\"4692392\"\n                  data-uid=\"344e3b5c48\"\n                  data-format=\"inline\"\n                  data-version=\"5\"\n                  data-options='{\"settings\":{\"after_subscribe\":{\"action\":\"message\",\"success_message\":\"Success! Now check your email to confirm your subscription.\",\"redirect_url\":\"\"},\"analytics\":{\"google\":null,\"fathom\":null,\"facebook\":null,\"segment\":null,\"pinterest\":null,\"sparkloop\":null,\"googletagmanager\":null},\"modal\":{\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15},\"powered_by\":{\"show\":true,\"url\":\"https://convertkit.com/features/forms?utm_campaign=poweredby&amp;utm_content=form&amp;utm_medium=referral&amp;utm_source=dynamic\"},\"recaptcha\":{\"enabled\":false},\"return_visitor\":{\"action\":\"show\",\"custom_content\":\"\"},\"slide_in\":{\"display_in\":\"bottom_right\",\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15},\"sticky_bar\":{\"display_in\":\"top\",\"trigger\":\"timer\",\"scroll_percentage\":null,\"timer\":5,\"devices\":\"all\",\"show_once_every\":15}},\"version\":\"5\"}'\n                  min-width=\"400 500 600 700 800\"\n              >\n                  <div data-style=\"clean\" class=\"flex items-end mb-3\">\n                      <ul class=\"formkit-alert formkit-alert-error\" data-element=\"errors\" data-group=\"alert\"></ul>\n                      <div data-element=\"fields\" data-stacked=\"false\" class=\"flex items-center w-full max-w-md mb-3 seva-fields formkit-fields\">\n                          <div class=\"relative w-full mr-3 formkit-field\">\n                              <label for=\"member_email\" class=\"hidden block mb-2 text-sm font-medium text-gray-950 dark:text-gray-300\">Email address</label>\n                              <div class=\"absolute inset-y-0 left-0 flex items-center pl-3.5 pointer-events-none\">\n                                <svg class=\"w-4 h-4 text-gray-600 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m3.5 5.5 7.893 6.036a1 1 0 0 0 1.214 0L20.5 5.5M4 19h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Z\"/>\n                                </svg>\n\n                              </div>\n                              <input\n                                  id=\"member_email\"\n                                  class=\"formkit-input bg-gray-50 border border-gray-200 text-gray-950 text-sm rounded-xl focus:ring-brand-700 focus:border-brand-500 block w-full pl-10 p-2.5 dark:bg-gray-800 dark:border-gray-700 dark:placeholder-gray-400 dark:text-white dark:focus:ring-brand-500 dark:focus:border-brand-500\"\n                                  name=\"email_address\"\n                                  aria-label=\"Email Address\"\n                                  placeholder=\"Your email address...\"\n                                  required=\"\"\n                                  type=\"email\"\n                              />\n                          </div>\n                          <button data-element=\"submit\" class=\"formkit-submit\">\n                              <div class=\"formkit-spinner\">\n                                  <div></div>\n                                  <div></div>\n                                  <div></div>\n                              </div>\n                              <span class=\"px-4 py-3 text-sm font-medium text-center text-white bg-brand rounded-xl cursor-pointer hover:bg-brand-strong focus:ring-4 focus:ring-brand\">Subscribe</span>\n                          </button>\n                      </div>\n                  </div>\n              </form>\n              <div class=\"text-sm font-normal text-gray-600 dark:text-gray-300\">By subscribing, you agree with ConvertKit's <a rel=\"nofollow\" href=\"https://convertkit.com/terms\" class=\"text-fg-brand hover:underline font-medium\">Terms of Service</a> and <a rel=\"nofollow\" class=\"text-fg-brand font-medium hover:underline\" href=\"https://convertkit.com/privacy\">Privacy Policy</a>.</div>\n            </aside>\n\n          </div>\n        </div>\n\n        <!-- Table of content -->\n        <div class=\"flex-none hidden w-64 px-4 xl:text-sm xl:block border-s border-gray-100 dark:border-gray-900\">\n          {{ if (eq .Page.Params.toc true) }}\n          <div class=\"flex overflow-y-auto sticky top-28 flex-col justify-between pt-10 pb-6 h-[calc(100vh-5rem)]\">\n            <div class=\"mb-8\">\n              <h4 class=\"pl-2.5 mb-2 text-sm font-semibold tracking-wide text-gray-950 uppercase dark:text-white lg:text-xs\">On this page</h4>\n              {{ .TableOfContents }}\n              <!-- Enhance UI book -->\n              <aside class=\"w-52 mt-6 mx-auto border-t border-gray-100 dark:border-gray-900 pt-8\">\n                <a href=\"https://www.enhanceui.com/?ref=flowbite-sidebar\" class=\"block rounded-lg\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"> \n                  <img src=\"/docs/images/book-light.svg\" class=\"shadow-sm mb-3 w-36 dark:hidden\" alt=\"Enhance UI book cover light mode\">\n                  <img src=\"/docs/images/book-dark.svg\" class=\"shadow-sm mb-3 w-36 hidden dark:block\" alt=\"Enhance UI book cover dark mode\">\n                  <h4 class=\"text-base font-semibold text-gray-950 mb-1.5 dark:text-white\">Learn Design Concepts</h4>\n                  <p class=\"text-gray-600 dark:text-gray-300\">Make better Flowbite pages by learning the fundamentals of design</p>\n                  <div class=\"border-t border-gray-100 dark:border-gray-900 pt-2 mt-2\">\n                    <h5 class=\"font-medium text-gray-950 dark:text-white\">Teach Me Design</h5>\n                    <p class=\"text-gray-600 dark:text-gray-300\">by Adrian Twarog</p>\n                  </div>\n                </a>\n              </aside>\n            </div>\n          </div>\n          {{ end }}\n        </div>\n      </div>\n\n    </main>\n\n  </div>\n</div>\n{{ end }}\n\n{{ define \"footer\" }}\n{{ range .Page.Params.extra_js -}}\n<script{{ with .async }} async{{ end }} src=\"{{ .src }}\">\n</script>\n  {{- end -}}\n  {{ end }}"
  },
  {
    "path": "layouts/redirect.html",
    "content": "{{ partial \"redirect\" (.Page.Params.redirect | absURL) }}\n"
  },
  {
    "path": "layouts/robots.txt",
    "content": "# www.robotstxt.org\n# Allow crawling of all content\nUser-agent: *\nDisallow:\nSitemap: {{ \"/sitemap.xml\" | absURL }}"
  },
  {
    "path": "layouts/sitemap.xml",
    "content": "{{ printf \"<?xml version=\\\"1.0\\\" encoding=\\\"utf-8\\\" standalone=\\\"yes\\\" ?>\" | safeHTML }}\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\">\n  {{- range .Data.Pages -}}{{ if ne .Params.sitemap_exclude true }}\n  <url>\n    <loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}\n    <lastmod>{{ safeHTML (.Lastmod.Format \"2006-01-02T15:04:05-07:00\") }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}\n    <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}\n    <priority>{{ .Sitemap.Priority }}</priority>{{ end }}\n  </url>{{ end }}{{ end }}\n</urlset>\n"
  },
  {
    "path": "llms-full.txt",
    "content": "# Flowbite Documentation\n\n> Flowbite is a free and open-source UI component library based on Tailwind CSS and it provides ready-to-use HTML components with data attributes to enable interactive components and plugins for building modern and responsive websites.\n\nThis documentation covers all basic aspects and components of Flowbite.\n\n## Documentation sections\n\n### Getting started\n\n#### Introduction\n\nFlowbite is an open-source library of UI components based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, templates, and more.\n\nIt includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, but also some more advanced interactive elements such as datepickers. \n\nAll of the elements are built using the utility classes from Tailwind CSS and vanilla JavaScript with support for TypeScript.\n\nHere's a quick overview of the Flowbite ecosystem including the open source Tailwind components library, the Figma design files, and the pro version.\n\n<div class=\"mt-10 lg:grid lg:grid-cols-2 lg:gap-8\">\n    <a href=\"{{< ref \"getting-started/quickstart\" >}}\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Quickstart</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Learn how to get started by downloading and configuring Flowbite locally on your machine and start developing.</p>\n    </a>\n    <a href=\"{{< ref \"components/alerts\" >}}\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Components</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Explore the Tailwind CSS elements such as buttons, navbars, alerts, dropdowns and use them to build your website.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/figma/\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Figma design files</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Prototype and design your website before coding with the Flowbite Figma file which is based on the Tailwind CSS classes.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/icons/\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Flowbite Icons</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Free and open-source collection of over 430 solid and outline styled SVG icons to use with our UI component library and Figma.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/pro/\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Flowbite Blocks</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Take your Figma and Tailwind CSS development to the next level with thousands more elements and pages with Flowbite Pro.</p>\n    </a>\n    <a href=\"{{< param homepage >}}/pro/\" class=\"block p-6 mb-6 bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-100 dark:border-gray-700 lg:mb-0\">\n        <h3 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Upgrade to Pro</h3>\n        <p class=\"font-normal text-gray-600 dark:text-gray-400\">Check out over 450+ website sections and advanced UI components built with Tailwind CSS and the Flowbite Library.</p>\n    </a>\n</div>\n\n##### Using Flowbite\n\nOne of the disadvantages of Tailwind CSS compared to other frameworks is that it doesn't have a base set of components. This makes it really hard to quickly prototype a user interface. \n\nThis is where Flowbite comes into play: it's basically Tailwind CSS, but you get all of the components that you would normally get with a classic CSS framework like Bootstrap or Bulma.\n\nThere are over 56 types of UI components including buttons, alerts, breadcrumbs, pagination, and navbars. Flowbite also includes some custom JavaScript that enables interactive components, such as dropdowns, modals, tooltips, and many more. \n\n##### Getting started\n\nFlowbite is technically a plugin that can be included into any existing Tailwind CSS project. To get started, you first need to make sure that you have a working Tailwind CSS project installed and that you also have Node and NPM installed on your machine.\n\n##### Install using NPM\n\nMake sure that you have <a href=\"https://nodejs.org/en/\" rel=\"nofollow\" target=\"_blank\">Node.js</a> and <a href=\"https://tailwindcss.com/docs/installation/using-postcss\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS</a> installed. This guide works with Tailwind v4.\n\n1. Install Flowbite as a dependency using NPM by running the following command:\n\n```bash\nnpm install flowbite\n```\n\n2. Import the default theme variables from Flowbite inside your main `input.css` CSS file:\n\n```css\n@import \"flowbite/src/themes/default\";\n```\n\n3. Import the Flowbite plugin file in your CSS:\n\n```css\n@plugin \"flowbite/plugin\";\n```\n\n4. Configure the source files of Flowbite in your CSS:\n\n```css\n@source \"../node_modules/flowbite\";\n```\n\n5. Include the JavaScript code that powers the interactive elements before the end of your `<body>` tag:\n\n```html\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n```\n\nLearn more about the Flowbite JavaScript API and functionalities in the [JavaScript section](https://flowbite.com/docs/getting-started/javascript/).\n\nIf you have and old project with Tailwind CSS v3 then [check out this guide](#tailwind-css-v3-to-v4) to learn how to upgrade to v4.\n\n##### Include using CDN\n\nThe quickest way to get started working with Flowbite is to include the CSS and JS into your project via CDN.\n\nRequire the following minified stylesheet inside the `head` tag:\n\n```html\n<link href=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.css\" rel=\"stylesheet\" />\n```\n\nAnd include the following JavaScript file before the end of the `body` element:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n```\n\nPlease remember that the best way to work with Tailwind CSS and Flowbite is by purging the CSS classes.\n\n##### Bundled JavaScript\n\nOne of the most popular way of using Flowbite is to include the bundled Javascript file which is UMD ready using a bundler such as Webpack or Parcel which makes sure that all of the data attributes and functionality will work out-of-the-box.\n\nYou can directly import the main JavaScript file inside your bundled `app-bundle.js` file like this:\n\n```javascript\nimport 'flowbite';\n```\n\nThis file has access to all of the components and it automatically applies event listeners to the data attributes.\n\n##### Data attributes\n\nThe preferred way to use the interactive UI components from Flowbite is via the data attributes interface which allows us to add functionality via the HTML element attributes and most of the examples on our documentation applies this strategy.\n\nFor example, to set up a modal component all you need to do is use `data-modal-target` and `data-modal-{toggle|show|hide}` to toggle, show, or hide the component by clicking on any trigger element.\n\n##### Init functions\n\nYou can also use the init functions to set up the event listeners yourself. Here's an example how you can do it with Vue or Nuxt:\n\n```javascript\n<script setup>\nimport { onMounted } from 'vue'\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\nonMounted(() => {\n    initFlowbite();\n})\n</script>\n\n<template>\n    // Modal HTML markup with data attributes from Flowbite\n</template>\n```\n\nThe `initFlowbite` function sets up all of the init functions for dropdowns, modals, navbars, tooltips and so on to hook onto the data attributes. Alternatively, you can also initialise each component category class separately with `initDropdowns` or `initModals`.\n\nYou can view more examples by browsing the [components from Flowbite](#components).\n\n##### ESM and CJS\n\nFlowbite also offers an API for using the components programmatically and it supports both CJS and ESM for JavaScript which can be helpful if you need to expand the default capabilities of the data attributes interface and get access to function callbacks.\n\nHere's an example how you can import and create a new Modal component inside JavaScript:\n\n```javascript\nimport { Modal } from 'flowbite'\n\nconst $modalElement = document.querySelector('#modalEl');\n\nconst modalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    }\n}\n\nconst modal = new Modal($modalElement, modalOptions);\n\nmodal.show();\n```\n\nCheck out the JavaScript behaviour section of each component's page to learn how you can use this.\n\n##### TypeScript\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n```javascript\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\nimport type { InstanceOptions } from 'flowbite';\n\n// other code\n```\n\nLearn more about Flowbite and TypeScript in the [quickstart guide](https://flowbite.com/docs/getting-started/typescript/).\n\n##### Figma Design System\n\nThe components from Flowbite are first conceptualized and designed in Figma using the latest features such as variants, auto-layout, grids, responsive layouts, and more.\n\nLearn more by checking out <a href=\"{{< param homepage >}}/figma/\">Flowbite's Figma design system</a> and start designing your Tailwind CSS projects before actually coding them.\n\n##### Flowbite SVG Icons\n\nCheck out a free and open-source collection of over 430 SVG icons with solid and outline styles to integrate with the UI components from Flowbite.\n\nLearn more by browsing the <a href=\"{{< param homepage >}}/icons/\">Flowbite Icons</a> page and interface to directly copy-paste the icons into your project as raw SVGs or React (JSX) code.\n\n##### Flowbite GPT\n\nWe've developed a custom trained ChatGPT model that you can use to generate website sections and pages based on the resources from Flowbite and Tailwind CSS.\n\nStart generating with [Flowbite GPT](https://chat.openai.com/g/g-y7yC35HB9-flowbite-gpt).\n\n##### Pro version\n\nIf you want to take your Tailwind development workflow to the next level you can check out the [pro version of Flowbite]({{< param homepage >}}/pro/) which includes fully coded pages and layouts for application, marketing, and e-commerce user interfaces.\n\n##### Work with us\n\nIf you're ready to take your application to the next level you can [work with us](https://flowbite.com/work-with-us/) on your project with developers who have been using Flowbite and Tailwind CSS.\n\n##### Learn Design Concepts\n\nIf you want to create even better Flowbite pages, learn design fundamentals from [Teach Me Design - Enhance UI](https://www.enhanceui.com/?ref=flowbite-introduction), a book that covers color theory, typography, UI and UX so you can make the most to implement the Flowbite Ecosystem!\n\n##### Tailwind CSS v3 to v4\n\nIf you want to upgrade v3 from Tailwind CSS with Flowbite you have to follow the <a href=\"https://tailwindcss.com/docs/v4-beta\" rel=\"nofollow\" target=\"_blank\">v4 upgrade guide</a>.\n\n1. Install the next versions of Tailwind CSS and Flowbite using NPM:\n\n```bash\nnpm install tailwindcss @tailwindcss/postcss postcss\n```\n\n2. Add the PostCSS plugin inside the `postcss.config.js` file:\n\n```bash\nexport default {\n  plugins: {\n    '@tailwindcss/postcss': {},\n  },\n};\n```\n\n3. Remove the old directives in your main CSS file and import Tailwind:\n\n```bash\n@import \"tailwindcss\";\n```\n\n4. Use the `@config` directive to import the old configuration file from your project:\n\n```bash\n/* add this to copy the configuration settings from your project */\n@config \"../tailwind.config.js\";\n```\n\n5. Compile the source CSS file using NPX:\n\n```bash\nnpx @tailwindcss/cli -i input.css -o output.css\n```\n\nNow you should be good to go! Check the <a href=\"https://tailwindcss.com/docs/upgrade-guide#changes-from-v3\" rel=\"nofollow\" target=\"_blank\">deprecated changes from v3</a> to learn more about the new features.\n\n##### Tailwind CSS v3\n\nWe recommend you to follow the upgrade guide from v3 to v4 since Flowbite works with both.\n\n##### Tailwind CSS v2\n\nFlowbite works with the 2.x version of Tailwind CSS.\n\n##### WindiCSS\n\nFlowbite also works with WindiCSS by including the plugin inside the `windi.config.js` file:\n\n```bash\nplugins: [\n    require('flowbite/plugin-windicss')\n],\n```\n\n##### React\n\nIf you're using React as a front-end library you can also use the components from Flowbite including the interactive ones such as the dropdowns, modals, and tooltips as long as you install Tailwind CSS and Flowbite in an existing project.\n\nLearn how to <a href=\"{{< ref \"getting-started/react\" >}}\">install Tailwind CSS and Flowbite with React</a>.\n\n##### Next.js\n\nIf you're using React as a front-end library and Next.js as a framework you can also use the components from Flowbite React such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/next-js\" >}}\">install Tailwind CSS and Flowbite with Next.js and React</a>.\n\n##### Vue.js\n\nThe components from Flowbite can also be used any new or existing Vue 3 projects as long as you install Tailwind CSS and Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/vue\" >}}\">install Tailwind CSS and Flowbite with Vue.js</a>.\n\n##### Nuxt\n\nIf you're using Vue 3 as a front-end library and Nuxt as a framework you can also use the components from Flowbite Vue such as the modals, dropdowns, and navbars to speed up your development time coupled with the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/nuxt-js\" >}}\">install Tailwind CSS and Flowbite with Nuxt and Vue 3</a>.\n\n##### Laravel\n\nIf you're running a Laravel application you can easily set up Tailwind CSS and Flowbite and start developing user interfaces based on the utility-first classes and components.\n\nLearn how to <a href=\"{{< ref \"getting-started/laravel\" >}}\">install Tailwind CSS and Flowbite with Laravel</a>.\n\n##### Svelte\n\nIf you're using a Svelte application you can install a standalone Flowbite Svelte library and start developing modern websites using the components from Flowbite and the utility classes from Tailwind CSS.\n\nLearn how to <a href=\"{{< ref \"getting-started/svelte\" >}}\">install Tailwind CSS and Flowbite with Svelte</a>.\n\n##### Angular\n\nYou can read our official guide to learn how to set up a new Angular project together with Tailwind CSS and Flowbite to start building advanced web applications with Google's framework.\n\nLearn how to <a href=\"{{< ref \"getting-started/angular\" >}}\">install Tailwind CSS and Flowbite with Angular</a>.\n\n##### Ruby on Rails\n\nIf you're using a Ruby on Rails project you can install Tailwind CSS with Flowbite and start building web pages using the utility-first classes and the interactive UI compnonents from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/rails\" >}}\">install Tailwind CSS and Flowbite with Ruby on Rails</a>.\n\n##### Django\n\nCheck out the Django integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing even faster using the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/django\" >}}\">install Tailwind CSS and Flowbite with Django</a>.\n\n##### Flask\n\nCheck out the Flask integration guide with Tailwind CSS and Flowbite to set up all technologies and start developing with a micro framework combined with the UI components from Flowbite.\n\nLearn how to <a href=\"{{< ref \"getting-started/flask\" >}}\">install Tailwind CSS and Flowbite with Flask</a>.\n\n##### Licensing\n\nThe library of components from Flowbite is open source under the [MIT License]({{< ref \"getting-started/license\" >}}).\n\n##### Contributions\n\nFlowbite is an open source library under the MIT license and anyone who would like to contribute to the codebase or design is welcome to do so. \n\nPlease reach out to us via the <a href=\"https://github.com/themesberg/flowbite\">official Github repository</a> and the main development team will get in touch as soon as possible.\n\n##### Discord community\n\nFeel free to join our <a href=\"https://discord.gg/4eeurUVvTy\" rel=\"nofollow\">community on Discord</a> to receive help, contribute to the project, or just discuss about Flowbite, Tailwind CSS, and web development in general.\n\n##### YouTube channel\n\nYou can also subscribe to the official [Flowbite YouTube channel](https://www.youtube.com/channel/UC_Ms4V2kYDsh7F_CSsHyQ6A) to view tutorials on how you can use the Flowbite ecosystem to design and build websites.\n\n##### Authors\n\n- <a href=\"https://twitter.com/zoltanszogyenyi\">Zoltán Szőgyényi</a> (web developer)\n- <a href=\"https://twitter.com/RobertTanislav\">Robert Tanislav</a> (web designer)\n\n#### JavaScript\n\n[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) is one of the most popular programming languages in the world, basically powering the client side of nearly 98% percent of all websites alongside HTML and CSS. It is a high-level language which uses dynamic typing and supports features such as object orientation, first-class functions and the web based API allows you access to the DOM (Document Object Model).\n\nFlowbite uses JavaScript to power the interactivity of the more complex UI components such as datepickers, dropdowns, and modals while also leveraging the utility classes from Tailwind CSS. \n\nThere are two main ways you can use JavaScript to power the interactive UI components:\n\n- use the data attributes interface and include the Flowbite JavaScript via NPM or CDN\n- programmatically create instances of the UI components and call methods and attach events to elements\n\nOn this page you will learn how to leverage the Flowbite API to work with the interactivity part of the UI library and how you can customize the default behaviour of the UI components using JavaScript.\n\n##### Flowbite API\n\nFlowbite is written in JavaScript with optional support for TypeScript and provides an extensive API for the interactive UI components that you use by creating new instances of the objects, setting them up with various options, calling methods such as to show or hide a component and even access a global instance manager to get access to the initialised objects.\n\nEach component page on the documentation has a section called \"JavaScript Behaviour\" that documents how you can create and manage an object such as a Modal, Carousel, Dropdown, or any other interactive UI components that requires JavaScript to function.\n\nHere is an extensive example on how you can work with the Modal component:\n\n```javascript\n// set the modal menu element\nconst $targetEl = document.getElementById('modalEl');\n\n// options with default values\nconst options = {\n  placement: 'bottom-right',\n  backdrop: 'dynamic',\n  backdropClasses: 'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n  closable: true,\n  onHide: () => {\n      console.log('modal is hidden');\n  },\n  onShow: () => {\n      console.log('modal is shown');\n  },\n  onToggle: () => {\n      console.log('modal has been toggled');\n  }\n};\n```\n\nCreate a new Modal object based on the options above.\n\n```javascript\nimport { Modal } from 'flowbite';\n\n/*\n* $targetEl: required\n* options: optional\n*/\nconst modal = new Modal($targetEl, options);\n```\n\nUse the `show` and `hide` methods to show and hide the modal component directly from JavaScript.\n\n```javascript\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n```\n\nUse the `toggle` method to toggle the visibility of the modal.\n\n```javascript\n// toggle the modal\nmodal.toggle();\n```\n\nUse the `isHidden` or `isVisible` method to check if the modal is visible or not.\n\n```javascript\n// true if hidden\nmodal.isHidden();\n\n// true if visible\nmodal.isVisible();\n```\n\nPlease take into consideration that for this example you also need to have the appropriate HTML markup available on the page where the JS is loaded:\n\n```html\n<div id=\"modalEl\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n```\n\nEach component that requires JavaScript is well documented on their respective pages under the \"JavaScript Behaviour\" section as described above.\n\n##### Data attributes\n\nThe recommended and quickest way of using Flowbite is to use the data attributes interface that automatically creates instances and behaviour for the UI components by applying inline data attributes to the HTML elements, thus making them interactive via the Flowbite JavaScript API.\n\nAll of the examples on the Flowbite Docs already have the data attributes applied and they are also documented just above the component preview. \n\nHere's an example of how you can set up the modal behaviour and apply \"show\" and \"hide\" actions:\n\n{{< example id=\"default-modal-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n<!-- Modal toggle -->\n<button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ml-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"default-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\nIn order to create a modal with Tailwind CSS you only have to add `data-modal-target=\"modalId\"` data attribute where `modalId` is the ID of the modal that you are targeting.\n\nIf you want to toggle the visibility, show, or hide the modal you can use the following data attributes where the value is the unique ID of the modal component:\n\n- `data-modal-toggle=\"modalID\"` - toggle the modal\n- `data-modal-show=\"modalID\"` - show the modal\n\nThis is just one example that shows you how Flowbite leverages the data attributes and sets up the JavaScript API, without having to create new instances of the objects yourself.\n\n##### Init functions\n\nIf you want to programmatically call the initialisation functions when using data attributes (for example, you might want to call it after the DOM re-rendered) then you can use the `initFlowbite()` function or the separate component initialisation functions such as `initModals()` or `initDropdowns()` wherever you want in your JS code:\n\n```javascript\n<script type=\"application/javascript\">\nimport { initFlowbite } from 'flowbite'\n\n// initialize components based on data attribute selectors\ninitFlowbite();\n</script>\n```\n\nBasically, the `initFlowbite()` function parses your DOM for all of the data attributes and creates new instances of the appropriate components like modals or dropdowns and sets up the behaviour of the examples from the Flowbite Docs - applying the functionality of showing and hiding the components such as hiding the modal when clicking on the \"X\" (close) button.\n\n##### Instance manager\n\nSince version `2.0.0`, the Flowbite JS API also provides a way to globally access all of the instances even if they were created via the data attributes interface. This allows you to programmatically handle the components while also giving you the possibility to use the recommended and quick way of accessing the data attributes interface and UI component examples.\n\nAfter the window has loaded and the UI components from Flowbite have been initialised (either via CDN or the `initFlowbite()` function) you can use the following global object and methods to get access to the object instances:\n\n```javascript\nwindow.addEventListener('load', function() {\n    const modal = FlowbiteInstances.getInstance('Modal', 'modal-id');\n})\n```\n\nAs you can see, the `FlowbiteInstances` global object has two main parameters:\n\n- the first parameter is the component type which can be `Modal`, `Carousel`, `Dropdown` (ie. the name of the object class)\n- the second parameter is the target ID or parent ID of the main element and it's always a string\n\nIf you provide the wrong category or ID then the console will give you a warning.\n\nIf you have provided the correct category and element ID then you can now access the object as if you've created it yourself and work with it programmatically via JavaScript:\n\n```javascript\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n```\n\nYou can even remove the instance from the instance manager:\n\n```javascript\n// remove the instance object from the global FlowbiteInstances manager\nmodal.removeInstance();\n```\n\nYou can also both destroy and remove the instance at the same time:\n\n```javascript\nmodal.destroyAndRemoveInstance();\n```\n\nThis in turn will basically remove the object instance from the global `flowbiteStorage` instance manager - you might want to do this if you want to reset certain elements from the DOM in single page applications.\n\nAnother example if you want to show or hide a tooltip that was created via data attributes would be:\n\n```javascript\nconst tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-id');\n```\n\nAnd now you can show or hide the tooltip programmatically:\n\n```javascript\n// show the tooltip\ntooltip.show();\n\n// hide the tooltip\ntooltip.hide();\n```\n\nYou can call the `destroy()` and `init()` methods to re-calculate the positioning of the tooltip:\n\n```javascript\n// destroy the tooltip event listeners\ntooltip.destroy();\n\n// re-init the tooltip object and event listeners\ntooltip.init();\n\n// show the tooltip\ntooltip.show();\n```\n\nA component is added to the `flowbiteStorage` global instance manager automatically when it's created via the `constructor` method of the object class, regardless of which component is being used from Flowbite.\n\nFinally, you can also access all of the instances by calling the following method:\n\n```javascript\nFlowbiteInstances.getAllInstances();\n```\n\nAlternatively, you can also get all of the instances from one component pool such as from the modals:\n\n```javascript\nFlowbiteInstances.getInstances('Modal');\n```\n\n##### Instance options\n\nWhen creating a new object you can also use the last parameter to set the `instanceOptions` object through which you can set custom options for the Instance manager:\n\n```javascript\nimport type { InstanceOptions } from 'flowbite';\n\nconst instanceOptions: InstanceOptions = {\n    id: \"my-unique-id\",\n    override: true,\n};\n\nconst modal = new Modal($targetEl, options, instanceOptions);\n```\n\nIn this example, the ID of the instance that you can get it from the `FlowbiteInstances` global instance manager object will be `my-unique-id` instead of the `$targetEl` unique ID.\n\nThis can be used to override existing instances if you want to re-initialise the same component with different options, such as when using the collapse object for the same object ID.\n\nIn our default UI components we use this when we want to toggle the mobile navigation both with the hamburger menu icon and the search icon, even though the target element is the same.\n\n##### TypeScript support\n\nFlowbite has support for type declarations of the Flowbite JS API which helps you to keep your code more maintainable and predictable by giving you safety constraints for the parameters and object methods that you're using through your application.\n\nLearn more about Flowbite and TypeScript in the [introduction guide](https://flowbite.com/docs/getting-started/typescript/).\n\n##### Frameworks support\n\nYou can use all of the JS frameworks for the UI components that don't require JavaScript to function (such as buttons, badges, cards) and for the UI components that require JS to work you need to set up the `initFlowbite()` function whenever the DOM has rendered so that you can re-apply the event listeners and object instances to the HTML elements that have data attributes. Otherwise, you need to create the objects and set the event listeners yourself.\n\nWe have written integration guides for all major front-end and back-end frameworks - generally we have standalone libraries for the major front-end frameworks such as [Flowbite React](https://www.flowbite-react.com/), [Flowbite Svelte](https://www.flowbite-svelte.com/), and [Flowbite Vue](https://flowbite-vue.com/).\n\nFor all of the back-end frameworks we recommend the vanilla JS version of Flowbite which integrates very well with frameworks such as [Laravel](https://flowbite.com/docs/getting-started/laravel/), [Django](https://flowbite.com/docs/getting-started/django/), or [Flask](https://flowbite.com/docs/getting-started/flask/).\n\n#### TypeScript\n\n[TypeScript](https://www.typescriptlang.org/) is a free and open-source programming language that helps improve the scalability, maintainability, and readability of code. It does this by adding optional static typing to JavaScript. \n\nIt is developed and maintained by Microsoft and used by companies such as Slack, Bitpanda, Accenture, Medium, and many more to help them scale code better.\n\nThis guide will teach you how to set up Tailwind CSS and the Flowbite library with TypeScript and also show you how you can use the components from Flowbite to power your Tailwind CSS application with integrated types and interfaces.\n\n## Create a new project\n\nFollow the next steps to learn how to install TypeScript and Tailwind CSS in a local project. Before continuing make sure that you have Node.js installed locally on your computer.\n\n1. Create a new project and run the following command to create a `package.json` file in the root folder:\n\n```bash\nnpm init\n```\n\nThis is where we will add the project dependencies and the script commands.\n\n##### Install TypeScript\n\nBy following the official [TypeScript guide](https://www.typescriptlang.org/download) we will install and set it up in our project using NPM.\n\n2. Run the following command to install and require TypeScript as a dependency in your `package.json` file:\n\n```bash\nnpm install --save-dev typescript\n```\n\n3. Create a new `tsconfig.json` file by running the following command:\n\n```bash\nnpx tsc --init\n```\n\n4. Replace the content of the `tsconfig.json` file using the following code:\n\n```javascript\n{\n  \"compilerOptions\": {\n      \"lib\": [\"dom\", \"es2015\"],\n      \"outDir\": \"./lib/cjs/\",\n      \"sourceMap\": true,\n      \"declaration\": true,\n      \"noImplicitAny\": true,\n      \"module\": \"commonjs\",\n      \"target\": \"es5\",\n      \"allowJs\": true,\n      \"moduleResolution\": \"node\"\n  },\n  \"include\": [\"src/**/*.ts*\"],\n  \"exclude\": [\"node_modules\", \"dist\", \"lib\"]\n}\n```\n\nHere's a breakdown of what each option key-value pair represents:\n\n- `lib` - this option specifies which libraries we want TypeScript to support\n- `outDir` - this options tells the TS compiler where to export the compiled code\n- `sourceMap` - enables source maps to be generated\n- `declaration` - generates declaration files after compiling if true\n- `noImplicitAny` - prevents using the any type by throwing an error (this is best practice)\n- `module` - specifies the module system to use when generating JS code from the TypeScript source code\n- `target` - specifies the JavaScript version to which the TypeScript code should be transpiled\n- `allowJs` - specifies whether the compiler should include JS files in the project\n- `moduleResolution` - specifies the strategy that the compiler should use to resolve module names\n- `include` - specifies which are the source files TypeScript should compile \n- `exclude` - specifies which folders should TypeScript ignore when compiling\n\nAfter setting up the TypeScript configuration file we can now write some code.\n\n5. Set up the folder structure for your TypeScript files by creating a new `src/` folder and creating an `index.ts` file inside of it with the following code:\n\n```javascript\nconst text: string = 'Hello TypeScript';\nconsole.log(text);\n```\n\nThis code already uses a type declaration which will help us verify if the compiler works properly.\n\n##### Webpack bundler\n\nIn order to compile the TypeScript code into JavaScript that is supported by modern browsers we will have to install [Webpack](https://webpack.js.org/) and bundle the source code into one final JavaScript file that we will later include in our HTML templates.\n\n6. Install Webpack and the necessary plugins by executing the following command in your terminal:\n\n```bash\nnpm i -D webpack webpack-cli typescript ts-loader\n```\n\n7. Create a new `webpack.config.js` file and add the following content:\n\n```javascript\n//webpack.config.js\nconst path = require('path');\n\nmodule.exports = {\n  mode: \"development\",\n  devtool: \"inline-source-map\",\n  entry: {\n    main: \"./src/index.ts\",\n  },\n  output: {\n    path: path.resolve(__dirname, './dist'),\n    filename: \"app-bundle.js\" // <--- Will be compiled to this single file\n  },\n  resolve: {\n    extensions: [\".ts\", \".tsx\", \".js\"],\n  },\n  module: {\n    rules: [\n      { \n        test: /\\.tsx?$/,\n        loader: \"ts-loader\"\n      }\n    ]\n  }\n};\n```\n\n8. Run the following command to watch for changes and compile the TypeScript source code into browser-compatible JavaScript code:\n\n```bash\nnpx webpack --watch\n```\n\nThis will generate an `app-bundle.js` named JavaScript file that you can now include inside your HTML templates. To check out if it works you can create a new `index.html` file and open it inside your browser.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Document</title>\n    <link rel=\"stylesheet\" href=\"./dist/output.css\">\n</head>\n<body>\n    <h1 class=\"text-4xl\">Hello Tailwind CSS!</h1>\n    <script src=\"./dist/app-bundle.js\"></script>\n</body>\n</html>\n```\n\n##### CommonJS\n\nBy default the compiled code will be CJS as specified in the `tsconfig.json` file.\n\nCompile the code by running the following command in your terminal:\n\n```bash\nnpx tsc\n```\n\nThis will generate a new `lib/` folder with CJS (CommonJS) compiled JavaScript code that we will later include in our templates.\n\n##### ECMAScript modules\n\nIf you want to compile for ESM instead of CJS you can use the following command instead:\n\n```bash\nnpx tsc -m es6 --outDir lib/esm\n```\n\nNow that we have successfully configured TypeScript and also compiled the source code we have to install and configure Tailwind CSS.\n\nRun the following command to install and require Tailwind CSS in your `package.json` file:\n\n```bash\nnpm install -D tailwindcss\n```\n\n##### Install Tailwind CSS\n\n9. Create a new `tailwind.config.js` file by running the following command:\n\n```bash\nnpx tailwindcss init\n```\n\n10. Based on your source template files make sure you include all of the relevant paths in the `content` area of your Tailwind CSS configuration file:\n\n```javascript\n/** @type {import('tailwindcss').Config} */\nmodule.exports = {\n  content: [\n    \"./src/**/*.ts\",\n    \"./**/*.html\"\n  ],\n  theme: {\n    extend: {},\n  },\n  plugins: [],\n}\n```\n\nIn our case we will look for all TypeScript files inside the `src/` folder and all of the HTML files inside the project relative to the root.\n\n11. Create a new `input.css` file inside the `src/` folder and import all of the basic Tailwind CSS directives:\n\n```css\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```\n\n12. Compile the code when changes are made by using the following command:\n\n```bash\nnpx tailwindcss -i ./src/input.css -o ./dist/output.css --watch\n```\n\n13. Open the `index.html` file inside the root folder of your project with the following basic setup where we include all of the compiled code including the new `output.css` file:\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <title>Document</title>\n    <link rel=\"stylesheet\" href=\"./dist/output.css\">\n</head>\n<body>\n    <h1 class=\"text-4xl\">Hello Tailwind CSS!</h1>\n    <script src=\"./dist/app-bundle.js\"></script>\n</body>\n</html>\n```\n\nNow open the `index.html` file in your browser and you should see the text larger because of the `text-4xl` utility class and also see a \"Hello TypeScript\" message inside your developer console.\n\n##### Install Flowbite\n\nYou can start using the open-source and interactive components from Flowbite which are based on Tailwind CSS and support TypeScript types by following the next steps.\n\n1. Install and require Flowbite in your `package.json` file by running the following command:\n\n```bash\nnpm install flowbite\n```\n\n2. Require Flowbite as a plugin inside your `tailwind.config.js` file:\n\n```javascript\nmodule.exports = {\n\n    plugins: [\n        require('flowbite/plugin')\n    ]\n\n}\n```\n\n3. Make sure that the generated utility classes from the library are also included in the final `output.css` file by adding the source code paths inside your `tailwind.config.js` file:\n\n```javascript\nmodule.exports = {\n\n    content: [\n        \"./node_modules/flowbite/**/*.js\"\n    ]\n\n}\n```\n\n##### Flowbite components\n\nNow that you have set up TypeScript, Tailwind CSS, and Flowbite you can start using this stack to build scalable websites using a large collection of UI components from Flowbite which support type declarations.\n\nOne example would be to use the <a href=\"{{< ref \"components/modal\" >}}#javascript-behaviour\">Modal component</a> and using its methods and options to programmatically show or hide the element.\n\nFirst of all we need to make sure that we have the correct HTML element set up in our templates - we can use this markup and add it inside the `index.html` file:\n\n```html\n<button id=\"button\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Default</button>\n\n<div id=\"modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-start justify-between p-5 border-b rounded-t dark:border-gray-600\">\n                <h3 class=\"text-xl font-semibold text-gray-900 lg:text-2xl dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\">\n                    <svg class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>  \n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-6 space-y-6\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-6 space-x-2 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button type=\"button\" class=\"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n```\n\nAs you can see we added a unique ID for the button element that the parent modal element to be able to set event listeners to them later on. After having this markup put in place we need to open the `index.ts` file and import the Modal class from the Flowbite package and set up the event listeners:\n\n```javascript\nimport { Modal } from 'flowbite'\n\n// select the two elements that we'll work with\nconst $buttonElement: HTMLElement = document.querySelector('#button');\nconst $modalElement: HTMLElement = document.querySelector('#modal');\n\n// create a new modal component\nconst modal = new Modal($modalElement);\n\n// toggle the visibility of the modal when clicking on the button\n$buttonElement.addEventListener('click', () => modal.toggle());\n```\n\nAlternatively, you can also call on the available methods of the Modal class such as `show()` or `hide()` to add the logic inside your TypeScript files instead.\n\n```javascript\n// add your own logic and then show the modal\nmodal.show();\n```\n\nThis example will show the modal without having to click the button since the logic has been added in TypeScript directly.\n\n##### Using Types\n\nFlowbite supports type declarations for the interactive UI components including object interfaces and parameter types. Check out the following examples to learn how you can use types with Flowbite.\n\nAdditionally to our code above, we will now import some relevant types from the Flowbite package, namely the `ModalOptions` and `ModalInterface`:\n\n```javascript\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\n// other code\n```\n\nGenerally speaking, all of the components have an interface definition that you can use whenever you create a new object to make sure that you're using the correct types of parameters and methods.\n\nWhen creating a new modal you can set the `ModalInterface` as the main type:\n\n```javascript\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n```\n\nFlowbite also supports type definitions for the options object so if you want to set the placement of the modal based on types, here's how you would do that:\n\n```javascript\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n```\n\nWhy are these types useful, though? Because if you don't set the correct value for the `placement` key, for example you set `right` instead of `top-right` or `bottom-right` TypeScript will throw an error saying that it is not a correct option.\n\nHere's the full code using the types from Flowbite for the modal definition:\n\n```javascript\nimport { Modal } from 'flowbite'\nimport type { ModalOptions, ModalInterface } from 'flowbite'\n\nconst $buttonElement: HTMLElement = document.querySelector('#button');\nconst $modalElement: HTMLElement = document.querySelector('#modal');\n\nconst modalOptions: ModalOptions = {\n    placement: 'top-right'\n}\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions);\n$buttonElement.addEventListener('click', () => modal.toggle());\n\nmodal.show();\n```\n\nUsing the types from TypeScript with the Flowbite components will ensure a more scalable and bug-free code down the line.\n\n##### TypeScript Starter Project\n\nWe have built a [Tailwind CSS TypeScript Starter](https://github.com/themesberg/tailwind-typescript-starter) project on GitHub that uses the configuration above with some pre-built scripts and examples that can help you to get started faster.\n\n#### License\n\n##### Copyright\n\nThe Flowbite name and logos are trademarks of Bergside Inc. Learn more about the [Flowbite Brand Guideline](https://flowbite.com/brand/).\n\n##### Released code\n\nThe released code is licensed under the [MIT license](https://github.com/themesberg/flowbite/blob/main/README.md).\n\nCopyright (c) Themesberg (Bergside Inc.)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n##### Documentation\n\nThe docs code is licensed under the [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/).\n\nAttribution: the documentation code was initially forked from [Bootstrap](https://github.com/twbs/bootstrap) created by the [Bootstrap authors](https://github.com/twbs/bootstrap/graphs/contributors) and [Twitter Inc.](https://twitter.com/) and changes have been made since then to adapt to the Tailwind CSS and Flowbite ecosystem and technologies.\n\n##### Pro version\n\nThe pro version is licensed under the [EULA](https://flowbite.com/license/) from our website.\n\n### Integration guides\n\n- [React](https://flowbite.com/docs/getting-started/react/)\n- [Next.js](https://flowbite.com/docs/getting-started/next-js/)\n- [Vue](https://flowbite.com/docs/getting-started/vue/)\n- [Nuxt](https://flowbite.com/docs/getting-started/nuxt-js/)\n- [Svelte](https://flowbite.com/docs/getting-started/svelte/)\n- [Angular](https://flowbite.com/docs/getting-started/angular/)\n- [Astro](https://flowbite.com/docs/getting-started/astro/)\n- [Remix](https://flowbite.com/docs/getting-started/remix/)\n- [Meteor.js](https://flowbite.com/docs/getting-started/meteor-js/)\n- [Gatsby](https://flowbite.com/docs/getting-started/gatsby/)\n- [SolidJS](https://flowbite.com/docs/getting-started/solid-js/)\n- [Qwik](https://flowbite.com/docs/getting-started/qwik/)\n- [Laravel](https://flowbite.com/docs/getting-started/laravel/)\n- [Symfony](https://flowbite.com/docs/getting-started/symfony/)\n- [Ruby on Rails](https://flowbite.com/docs/getting-started/rails/)\n- [Phoenix](https://flowbite.com/docs/getting-started/phoenix/)\n- [Django](https://flowbite.com/docs/getting-started/django/)\n- [Flask](https://flowbite.com/docs/getting-started/flask/)\n- [Blazor](https://flowbite.com/docs/getting-started/blazor/)\n- [Hugo](https://flowbite.com/docs/getting-started/hugo/)\n\n### Customization\n\n#### Configuration\n\nSince the release of Tailwind v4, the configuration file that you've previously used to set options has now been moved to your main CSS file where you can import modules, plugins, set new variables like colors and fonts, set the custom source files, and more.\n\nBefore continuing, please make sure that you have installed both Flowbite and the latest version of Tailwind.\n\n##### Getting started\n\nYou will probably want to be able to add your own colors, fonts, sizings, shadows, and other styles to the default set of utility classes from Flowbite and Tailwind CSS. In order to do that, you can set most of these options in your main CSS file that gets compiled by Tailwind.\n\nHere's an example of a simple configuration where we import plugins, set the source files, customize variables for colors and fonts, and set the dark mode strategy to use class name:\n\n```css\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@theme {\n    --color-primary-50: #eff6ff;\n    --color-primary-100: #dbeafe;\n    --color-primary-200: #bfdbfe;\n    --color-primary-300: #93c5fd;\n    --color-primary-400: #60a5fa;\n    --color-primary-500: #3b82f6;\n    --color-primary-600: #2563eb;\n    --color-primary-700: #1d4ed8;\n    --color-primary-800: #1e40af;\n    --color-primary-900: #1e3a8a;\n    \n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n```\n\nUsing this example is a good starting point for any project created using Flowbite and Tailwind CSS.\n\n##### Theming variables\n\nYou can customize colors, fonts, spacings, and other styles using native variables in your main CSS file.\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-primary-50: #eff6ff;\n    --color-primary-100: #dbeafe;\n    --color-primary-200: #bfdbfe;\n    --color-primary-300: #93c5fd;\n    --color-primary-400: #60a5fa;\n    --color-primary-500: #3b82f6;\n    --color-primary-600: #2563eb;\n    --color-primary-700: #1d4ed8;\n    --color-primary-800: #1e40af;\n    --color-primary-900: #1e3a8a;\n\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n\n    --spacing-custom: 10px;\n\n    --breakpoint-xs: 30rem;\n    --breakpoint-2xl: 100rem;\n    --breakpoint-3xl: 120rem;\n}\n```\n\nThe example above adds a new color palette, fonts, a custom spacing variable and new media breakpoints.\n\nAll of these styles will be propagated to the utility classes provided by Tailwind CSS.\n\n##### Custom utilities\n\nYou can add custom utilities by using the `@utility` directive in your CSS file.\n\n```css\n@utility custom-url {\n  color: --color-primary-600;\n  text-decoration: underline;\n}\n```\n\nNow you can use the `custom-url` class to add an underline and primary color to the target element.\n\n##### Custom variants\n\nUse the `@variant` direct in native CSS to target states such as hover, focus, dark mode, and more.\n\n```css\n.element {\n  text-decoration: underline;\n\n  @variant hover {\n    text-decoration: no-underline;\n  }\n}\n```\n\n##### Import plugins\n\nYou can import third party plugins using the `@plugin` directive in your CSS file.\n\n```javascript\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@plugin \"flowbite-typography\";\n```\n\n## Source\n\nTailwind CSS automatically detects source files, but ignores a few folders such as your `node_modules`.\n\nHere's how you can explicictly set the source files in your main CSS file:\n\n```css\n@import \"tailwindcss\";\n\n@source \"../node_modules/flowbite\";\n```\n\nThis will scan the Flowbite folder inside your installed packages for Tailwind classes.\n\n## Config\n\nUse the `@config` directive to import old `tailwind.config.js` files to copy your options.\n\n```css\n@import \"tailwindcss\";\n\n@config \"../tailwind.config.js\";\n```\n\n## Prefixes\n\nYou can use the `prefix` object to set a prefix for all of the classes generated by Flowbite and Tailwind CSS.\n\nFor example, you can add the `fb-` prefix like so:\n\n```css\n@import \"tailwindcss\" prefix(fb);\n```\n\nDoing so it will add the prefix to all of the classes.\n\n```css\n.fb-text-left {\n  text-align: left;\n}\n.fb-text-center {\n  text-align: center;\n}\n.fb-text-right {\n  text-align: right;\n}\n/* etc. */\n```\n\n##### Reference\n\nIf you'd like to browse the full list of configurable options, please visit the official <a href=\"https://tailwindcss.com/docs/functions-and-directives\" rel=\"nofollow\" target=\"_blank\">Tailwind CSS configuration</a>.\n\n\n#### Dark mode\n\nOffering a dark version for your website is more of an expected feature rather than a nice to have nowadays. Luckily, Tailwind CSS has a dark mode functionality enabled and the components from Flowbite also support it by using the \"class\" option.\n\nLearn how to enable and build a dark version switcher for Tailwind CSS and Flowbite by using JavaScript and the main CSS file by following the steps described below.\n\n##### Enable dark mode\n\nAll you need to do to enable dark mode for your Tailwind CSS project and Flowbite components is to add the following code inside your main `input.css` file and then add the `dark` class on your `html` element.\n\n```css\n/* input.css */\n@custom-variant dark (&:where(.dark, .dark *));\n```\n\nIf you install the Flowbite Plugin inside your Tailwind project then dark mode via the class method will work automatically as we do this for you by default.\n\nAlternatively, you can also just use the \"media\" option to automatically set the dark or light theme based on the browser's color scheme preference which is the default setting in Tailwind CSS.\n\n##### Dark mode switcher\n\nIf you want to create a dark mode switcher for Tailwind CSS and Flowbite you'll have to add some JavaScript code and a toggle element that a user can use to change their preferences.\n\n1. Toggle dark mode by checking user preference in the `<head>` tag of your HTML:\n\n```html\n<script>\n    // On page load or when changing themes, best to add inline in `head` to avoid FOUC\n    if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n        document.documentElement.classList.add('dark');\n    } else {\n        document.documentElement.classList.remove('dark')\n    }\n</script>\n```\n\nThis will first check if you've previously set the theme color preference manually using the local storage and as a fallback it will either set the dark or light mode based on your browser color scheme preference.\n\n2. Create a `<button>` element that can be interacted with to manually change the theme color:\n\n```html\n<button id=\"theme-toggle\" type=\"button\" class=\"text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5\">\n    <svg id=\"theme-toggle-dark-icon\" class=\"hidden w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z\"></path></svg>\n    <svg id=\"theme-toggle-light-icon\" class=\"hidden w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"></path></svg>\n</button>\n```\n\nIn this example we used a `<button>` component where we change the icon inside based on the current color scheme. You can also use other elements, such as the [toggle component]({{< ref \"components/forms\" >}}).\n\n3. Add the following JavaScript inside your main file to handle the click events on the `<button>` element:\n\n```javascript\nvar themeToggleDarkIcon = document.getElementById('theme-toggle-dark-icon');\nvar themeToggleLightIcon = document.getElementById('theme-toggle-light-icon');\n\n// Change the icons inside the button based on previous settings\nif (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {\n    themeToggleLightIcon.classList.remove('hidden');\n} else {\n    themeToggleDarkIcon.classList.remove('hidden');\n}\n\nvar themeToggleBtn = document.getElementById('theme-toggle');\n\nthemeToggleBtn.addEventListener('click', function() {\n\n    // toggle icons inside button\n    themeToggleDarkIcon.classList.toggle('hidden');\n    themeToggleLightIcon.classList.toggle('hidden');\n\n    // if set via local storage previously\n    if (localStorage.getItem('color-theme')) {\n        if (localStorage.getItem('color-theme') === 'light') {\n            document.documentElement.classList.add('dark');\n            localStorage.setItem('color-theme', 'dark');\n        } else {\n            document.documentElement.classList.remove('dark');\n            localStorage.setItem('color-theme', 'light');\n        }\n\n    // if NOT set via local storage previously\n    } else {\n        if (document.documentElement.classList.contains('dark')) {\n            document.documentElement.classList.remove('dark');\n            localStorage.setItem('color-theme', 'light');\n        } else {\n            document.documentElement.classList.add('dark');\n            localStorage.setItem('color-theme', 'dark');\n        }\n    }\n    \n});\n```\n\nThis script changes the icon inside the button based on previous preferences and also handles the click events by setting the dark mode preference using local storage and also adding or removing the `dark` class from the main `<html>` tag.\n\n##### Customize components\n\nBy using the components from Flowbite you automatically receive dark mode support because of the `dark:{*}` class variant, however, if you would like to customize the appearance of these components when in dark mode all you need to do is change the styles for these class variants.\n\n```html\n<div class=\"bg-white dark:bg-gray-800\">\n  <h1 class=\"text-gray-900 dark:text-white\">Dark mode</h1>\n  <p class=\"text-gray-600 dark:text-gray-300\">\n    Lorem ipsum...\n  </p>\n</div>\n```\n\nAs you can see, when dark mode is activated the `.bg-gray-800` and `.text-white` takes over the default `.bg-white` and `.text-gray-900` classes. You can add as many styles using the `dark:{*}` variant.\n\n#### Theming\n\nSince the release of Tailwind v4 the theming customization has been moved from the `tailwind.config.js` file to native CSS theme variables which brings an advantage that allows your project to have a much more natural way of customizing colors, fonts, shadows, spacings, and more.\n\n##### Getting started\n\nHere's an example of a modified CSS file that sets a custom set of colors and fonts:\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-primary-50: #eff6ff;\n    --color-primary-100: #dbeafe;\n    --color-primary-200: #bfdbfe;\n    --color-primary-300: #93c5fd;\n    --color-primary-400: #60a5fa;\n    --color-primary-500: #3b82f6;\n    --color-primary-600: #2563eb;\n    --color-primary-700: #1d4ed8;\n    --color-primary-800: #1e40af;\n    --color-primary-900: #1e3a8a;\n    \n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n```\n\nThese variables will now create a new color pallette called `primary` that can be used as your main brand color and the fonts that will now use `Inter` by default.\n\n##### Flowbite Plugin\n\nAfter installing Flowbite, make sure that you also import the Flowbite plugin in your main CSS file:\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n```\n\nThis will ensure that the pseudo styles for forms, checkboxes, tooltips, charts, and datatables will be applied.\n\n##### Theme options\n\nThe best way to understand how theming works with Tailwind CSS is for example when you're adding a new color variable this will be available for all text, background, and border related colors. Basically the newly added color will propagate into all of the available utility classes.\n\nThere are many more variable namespaces that you can use to customize the default utility classes from Tailwind CSS including for spacing, containers, fonts, sizing, and more.\n\n##### Colors\n\nUpdating or adding new colors can be done by using the `--color-{name}` variable namespaces:\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-primary-50: #eff6ff;\n    --color-primary-100: #dbeafe;\n    --color-primary-200: #bfdbfe;\n    --color-primary-300: #93c5fd;\n    --color-primary-400: #60a5fa;\n    --color-primary-500: #3b82f6;\n    --color-primary-600: #2563eb;\n    --color-primary-700: #1d4ed8;\n    --color-primary-800: #1e40af;\n    --color-primary-900: #1e3a8a;\n}\n```\n\nThis introduces a list of colors attributed to the `primary` variable name, meaning that utility class names such as `text-primary-600` or `bg-primary-600` will now show your custom branded color when using Tailwind.\n\n##### Fonts\n\nYou can add your own fonts by updating the `--font-body` variable in your CSS file.\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n}\n```\n\nMake sure that you apply `antialiased` to the `<body>` tag of your document to enable font smoothing.\n\n##### Spacing\n\nUse the `spacing-{name}` variable namespace to set spacing values to utility class names used for setting widths, heights, paddings, margins, and more.\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n   --spacing-custom: 10px;\n}\n```\n\n##### Breakpoints\n\nYou can customize the breakpoints at which the reponsive mobile-first utility classes are being targeted using the `--breakpoint-{size}` variable namespaces in your main CSS file:\n\n```css\n/* input.css file */\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n@source \"../node_modules/flowbite\";\n\n@theme {\n  --breakpoint-xs: 30rem;\n  --breakpoint-2xl: 100rem;\n  --breakpoint-3xl: 120rem;\n}\n```\n\nThis will make `p-custom` or `w-custom` have the value of `10px` as explained above.\n\n##### Reference\n\nYou can read all of the configurable variable namespaces on the <a href=\"https://tailwindcss.com/docs/theme#theme-variable-namespaces\" target=\"_blank\" rel=\"nofollow\">Tailwind CSS docs</a>.\n\n#### Colors\n\nSince the Tailwind v4 update the default and recommended way of managing and using colors is with native CSS variables. The color variables from Tailwind CSS can be used to set colors for text elements, borders, backgrounds, focus rings, and more.\n\n##### Default color palette\n\nThe Flowbite UI library has a carefully selected color pallette to meet aesthetic and accessibility demands and here's a list of the default colors that are available in our design system and the UI library.\n\n#### Customize colors\n\nIf you'd like to customize the current colors or introduce new ones you can do so by creating new color variables `--color-{name}` and this color will be available for all text, background and border colors:\n\n```css\n/* input.css file */\n\n@import \"tailwindcss\";\n\n@plugin \"flowbite/plugin\";\n\n@source \"../node_modules/flowbite\";\n\n@theme {\n    --color-primary-50: #eff6ff;\n    --color-primary-100: #dbeafe;\n    --color-primary-200: #bfdbfe;\n    --color-primary-300: #93c5fd;\n    --color-primary-400: #60a5fa;\n    --color-primary-500: #3b82f6;\n    --color-primary-600: #2563eb;\n    --color-primary-700: #1d4ed8;\n    --color-primary-800: #1e40af;\n    --color-primary-900: #1e3a8a;\n}\n```\n\n#### Icons\n\nThe icons used in Flowbite can be found at the [Flowbite Icons](https://flowbite.com/icons/) page where you can configure the options, styles and code format (raw SVG or JSX for React) when integrating the icons into your project.\n\nThe icons use the utility classes from Tailwind CSS for sizing and colors which means that it is perfectly compatible with your Tailwind CSS and Flowbite project.\n\n##### Icons in Figma\n\nThe open-source SVG icons used in the Flowbite Library also has a [Figma Icons File](https://www.figma.com/community/file/1253280241668899805/Flowbite-Icons) that you can use to collaborate with designers and use them for designing websites and web applications and then copying the SVG or JSX code from our website.\n\n##### Illustrations\n\nThe illustrations used in Flowbite can be found at the [Flowbite Illustrations](https://flowbite.com/illustrations/) page where you can configure the options, styles and code format (raw SVG or JSX for React) when integrating the illustrations into your project.\n\n##### Illustrations in Figma\n\nThe open-source SVG illustrations used in the Flowbite Library also has a [Figma Illustrations File](https://www.figma.com/community/file/1471861797767044313/flowbite-illustrations-50-svg-illustrations-in-figma) that you can use to collaborate with designers and use them for designing websites and web applications and then copying the SVG or JSX code from our website.\n\n#### RTL mode\n\nRTL (right-to-left) is a bidirectional text format used for languages that are written from right to left such as Arabic, Hebrew, Persian, Urdu, and Yiddish. A rough estimate would be around over 500 million people that use RTL languages and it's one of the fastest growing populations on the internet.\n\nAll of the UI components from Flowbite support RTL by primarily using the logical properties and values from CSS such as `ms-0` instead of `ml-0` or `pe-5` instead of `pr-5`. This feature requires Tailwind CSS v3.3.0 or higher and Flowbite v2.1.0 or higher.\n\nIn this guide you will learn how to setup and configure bidirectional text formats (RTL and LTR) in your project using Tailwind CSS variants and the Flowbite UI components by changing the `dir` attribute on the `<html>` element.\n\n##### Setting up RTL\n\nBefore you start, make sure you have installed the latest version of [Tailwind CSS](https://tailwindcss.com/docs/installation) and [Flowbite](https://flowbite.com/docs/getting-started/quickstart/).\n\n1. Add the `dir` attribute to the `<html>` element in your `index.html` file:\n\n```html\n<html dir=\"rtl\">\n\n<!-- your HTML markup -->\n\n</html>\n```\n\nBy default, when switching from LTR to RTL the direction, spacing, and positioning of all the UI components from Flowbite will be mirrored as we used logical properties and RTL variants from Tailwind CSS.\n\nYou can also use our RTL button to switch between LTR and RTL when previewing our UI components:\n\n{{< example id=\"default-navbar-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Using RTL variants\n\nIf you need to add RTL variants to your own custom components, you can use the `rtl:` prefix.\n\nFor example, if you want to add a margin to the left side of an element in LTR mode, you would use `ml-2`. \n\nIn RTL mode, you would use `rtl:ml-2` instead.\n\n```html\n<div class=\"ml-2 rtl:ml-0\">\n  <!-- ... -->\n</div>\n```\n\nHowever, we do recommend that you use logical properties for margins, paddings, borders, and rounded-sm corners because the HTML markup will be cleaner and contain less utility-classes, which is always a good thing when it comes to Tailwind CSS.\n\n##### UI components\n\nAs mentioned before, all of the UI components from Flowbite support RTL by default and all of the examples from the documentation will render correctly whenever you set the `dir` attribute to `rtl` on the `<html>` element. Check out all our UI components and examples from the [official documentation](https://flowbite.com/docs/getting-started/introduction/).\n\n### Components\n\n#### Accordion\n\nThe accordion component is a collection of vertically collapsing header and body elements that can be used to show and hide information based on the Tailwind CSS utility classes and JavaScript from Flowbite.\n\nA popular use case would be the \"Frequently Asked Questions\" section of a website or page when you can show questions and answers for each child element.\n\nThere are two main options to initialize the accordion component:\n\n- `data-accordion=\"collapse\"` show only one active child element\n- `data-accordion=\"open\"` keep multiple elements open\n\nDon't forget to set the `data-accordion-target=\"{selector}\"` data attribute to the header element where the value is the id or class of the accordion body element and the `aria-expanded=\"{true|false}\"` attribute to mark the active or inactive state of the accordion.\n\n##### Default accordion\n\nUse the `data-accordion=\"collapse\"` to collapse every other child element when expanding a single one.\n\n{{< example id=\"default-accordion-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-collapse\" data-accordion=\"collapse\">\n  <h2 id=\"accordion-collapse-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-collapse-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-1\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-2\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-3\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Always open\n\nUse the `data-accordion=\"open\"` option to keep previously opened accordion elements unchanged.\n\n{{< example id=\"accordion-always-open-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-open\" data-accordion=\"open\">\n  <h2 id=\"accordion-open-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-open-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-open-body-1\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg> What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-1\" class=\"hidden\" aria-labelledby=\"accordion-open-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-open-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-open-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-open-body-2\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-2\" class=\"hidden\" aria-labelledby=\"accordion-open-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-open-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-open-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-open-body-3\">\n      <span class=\"flex items-center\"><svg class=\"w-5 h-5 me-2 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg> What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-open-body-3\" class=\"hidden\" aria-labelledby=\"accordion-open-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Color options\n\nUse the `data-active-classes` and `data-inactive-classes` to set the active and inactive classes for the header element whenever the accordion is expanded by applying as many classes as you want, but make sure to separate them with a space. If the data attribute is not set or empty, it will apply the default classes.\n\nHere's an example where we apply the blue colors instead of gray:\n\n{{< example id=\"accordion-color-options-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-color\" data-accordion=\"collapse\" data-active-classes=\"bg-blue-100 dark:bg-gray-800 text-blue-600 dark:text-white\">\n  <h2 id=\"accordion-color-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-blue-200 dark:focus:ring-blue-800 dark:border-gray-700 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-color-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-color-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-1\" class=\"hidden\" aria-labelledby=\"accordion-color-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-color-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-blue-200 dark:focus:ring-blue-800 dark:border-gray-700 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-color-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-color-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-2\" class=\"hidden\" aria-labelledby=\"accordion-color-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-color-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-blue-200 dark:focus:ring-blue-800 dark:border-gray-700 dark:text-gray-400 hover:bg-blue-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-color-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-color-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-color-body-3\" class=\"hidden\" aria-labelledby=\"accordion-color-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Flush accordion\n\nUse this example to remove the background color and rounded borders from the accordion component.\n\n{{< example id=\"accordion-flush-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-flush\" data-accordion=\"collapse\" data-active-classes=\"bg-white dark:bg-gray-900 text-gray-900 dark:text-white\" data-inactive-classes=\"text-gray-500 dark:text-gray-400\">\n  <h2 id=\"accordion-flush-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400 gap-3\" data-accordion-target=\"#accordion-flush-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-flush-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-1\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-1\">\n    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-flush-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400 gap-3\" data-accordion-target=\"#accordion-flush-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-2\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-2\">\n    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-flush-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400 gap-3\" data-accordion-target=\"#accordion-flush-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-flush-body-3\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-3\">\n    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Arrow style\n\nUse the `data-accordion-icon` data attribute to optionally set an element to rotate 180 degrees when the accordion element is expanded. If the data attribute is not set, then it will not rotate.\n\n{{< example id=\"accordion-arrow-style-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-arrow-icon\" data-accordion=\"open\">\n  <h2 id=\"accordion-arrow-icon-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-900 bg-gray-100 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-white dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-arrow-icon-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-arrow-icon-body-1\">\n      <span>Accordion without an arrow</span>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-icon-body-1\" aria-labelledby=\"accordion-arrow-icon-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-arrow-icon-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-arrow-icon-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-arrow-icon-body-2\">\n      <span>Accordion with another icon</span>\n      <svg class=\"w-4 h-4 shrink-0 -me-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.529 7.988a2.502 2.502 0 0 1 5 .191A2.441 2.441 0 0 1 10 10.582V12m-.01 3.008H10M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-icon-body-2\" class=\"hidden\" aria-labelledby=\"accordion-arrow-icon-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-arrow-icon-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-arrow-icon-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-arrow-icon-body-3\">\n      <span>Accordion without arrow rotation</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-arrow-icon-body-3\" class=\"hidden\" aria-labelledby=\"accordion-arrow-icon-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Nesting accordions\n\nAccordions can be nested. All of the mentioned options are supported.\n\nTo enable nested accordions you need to wrap the nested accordion in an element with the `data-accordion` attribute and don't accidentally initialize an accordion with nested accordions' items (e.g. by using `$accordionBodyEl.querySelectorAll`), when using <a href=\"#javascript-behaviour\">custom JavaScript</a>.\n\n{{< example id=\"accordion-nesting-example\" github=\"components/accordion.md\" show_dark=true >}}\n<div id=\"accordion-nested-parent\" data-accordion=\"collapse\">\n  <h2 id=\"accordion-collapse-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-collapse-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-1\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n      <p class=\"mb-4 text-gray-500 dark:text-gray-400\">What are the differences between Flowbite and Tailwind UI?</p>\n      <!-- Nested accordion -->\n      <div id=\"accordion-nested-collapse\" data-accordion=\"collapse\">\n        <h2 id=\"accordion-nested-collapse-heading-1\">\n          <button type=\"button\" class=\"flex items-center justify-between w-full p-5 rounded-t-xl font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-nested-collapse-body-1\" aria-expanded=\"false\" aria-controls=\"accordion-nested-collapse-body-1\">\n            <span>Open source</span>\n           <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n            </svg>\n          </button>\n        </h2>\n        <div id=\"accordion-nested-collapse-body-1\" class=\"hidden\" aria-labelledby=\"accordion-nested-collapse-heading-1\">\n          <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n            <p class=\"text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product.</p>\n          </div>\n        </div>\n        <h2 id=\"accordion-nested-collapse-heading-2\">\n          <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-nested-collapse-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-nested-collapse-body-2\">\n            <span>Architecture</span>\n            <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n            </svg>\n          </button>\n        </h2>\n        <div id=\"accordion-nested-collapse-body-2\" class=\"hidden\" aria-labelledby=\"accordion-nested-collapse-heading-2\">\n          <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n            <p class=\"text-gray-500 dark:text-gray-400\">Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n          </div>\n        </div>\n        <h2 id=\"accordion-nested-collapse-heading-3\">\n          <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-nested-collapse-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-nested-collapse-body-3\">\n            <span>Can I use both?</span>\n            <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n            </svg>\n          </button>\n        </h2>\n        <div id=\"accordion-nested-collapse-body-3\" class=\"hidden\" aria-labelledby=\"accordion-nested-collapse-heading-3\">\n          <div class=\"p-5 border border-gray-200 dark:border-gray-700\">\n            <p class=\"mb-2 text-gray-500 dark:text-gray-400\">We actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n            <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n            <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n              <li><a href=\"https://flowbite.com/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n              <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n            </ul>\n          </div>\n        </div>\n      </div>\n      <!-- End: Nested accordion -->\n    </div>\n  </div>\n  <h2 id=\"accordion-collapse-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 gap-3\" data-accordion-target=\"#accordion-collapse-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-collapse-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n      </svg>\n    </button>\n  </h2>\n  <div id=\"accordion-collapse-body-2\" class=\"hidden\" aria-labelledby=\"accordion-collapse-heading-2\">\n    <div class=\"p-5 border border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"https://flowbite.com/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nUse the **Accordion** object from Flowbite to create a collection of vertically collapsing heading and content elements using object parameters, options, methods, and callback functions directly from JavaScript.\n\n###### Object parameters\n\nCreate a new Accordion object by passing an array of accordion items and an optional options object to customize the styles and add callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">accordionEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    The parent HTML element of the accordion component.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">items</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array of accordion items objects including the unique identifier, heading element, content element, and the active state.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object of options that you can set to customize the style of the accordion items and set callback functions.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the second parameter for the Accordion object to customize the behaviour, styles, and to set callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n              <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                  <td class=\"px-6 py-4 font-medium\">\n                      <code class=\"text-blue-600 dark:text-blue-400\">alwaysOpen</code>\n                  </td>\n                  <td class=\"px-6 py-4\">\n                      Boolean\n                  </td>\n                  <td class=\"px-6 py-4\">\n                      If set to true then multiple accordion elements can be open at the same time. By default it's false.\n                  </td>\n              </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">activeClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an array of Tailwind CSS class names to apply for the active accordion heading element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">inactiveClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Apply an array of Tailwind CSS class names to apply for the inactive accordion heading elements.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onOpen</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when a new accordion item has been opened.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onClose</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when a new accordion item has been closed.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the object methods on the Accordion object to programmatically open, close, or toggle the visibility of a given accordion item.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to toggle an accordion item based on its current state.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">open(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to open an accordion item based on the id.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">close(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to close an accordion item based on the id.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnOpen(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been opened.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnClose(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been closed.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when an accordion item has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nLearn more about using the Accordion object from Flowbite in this example in JavaScript.\n\nTo get started you need to create an array of accordion item objects including a unique identifier (it can be a number as well), a trigger element (eg. a button), a content element (the content body), and the active state.\n\nAdditionally, you can also set some options to change the default behaviour of the accordion, customize the styles, and set callback functions.\n\n```javascript\nconst accordionElement = document.getElementById('accordion-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst accordionItems = [\n    {\n        id: 'accordion-example-heading-1',\n        triggerEl: document.querySelector('#accordion-example-heading-1'),\n        targetEl: document.querySelector('#accordion-example-body-1'),\n        active: true\n    },\n    {\n        id: 'accordion-example-heading-2',\n        triggerEl: document.querySelector('#accordion-example-heading-2'),\n        targetEl: document.querySelector('#accordion-example-body-2'),\n        active: false\n    },\n    {\n        id: 'accordion-example-heading-3',\n        triggerEl: document.querySelector('#accordion-example-heading-3'),\n        targetEl: document.querySelector('#accordion-example-body-3'),\n        active: false\n    }\n];\n\n// options with default values\nconst options = {\n    alwaysOpen: true,\n    activeClasses: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white',\n    inactiveClasses: 'text-gray-500 dark:text-gray-400',\n    onOpen: (item) => {\n        console.log('accordion item has been shown');\n        console.log(item);\n    },\n    onClose: (item) => {\n        console.log('accordion item has been hidden');\n        console.log(item);\n    },\n    onToggle: (item) => {\n        console.log('accordion item has been toggled');\n        console.log(item);\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n    id: 'accordion-example',\n    override: true\n};\n```\n\nCreate a new Accordion object using the options set above as the parameters.\n\n```javascript\nimport { Accordion } from 'flowbite';\n\n/*\n* accordionEl: HTML element (required)\n* accordionItems: array of accordion item objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst accordion = new Accordion(accordionElement, accordionItems, options, instanceOptions);\n```\n\nNow you can access the object methods to programmatically open, close, and toggle the accordion items based on the unique identifier.\n\n```javascript\n// open accordion item based on id\naccordion.open('accordion-example-heading-2');\n\n// close accordion item based on id\naccordion.close('accordion-example-heading-2');\n\n// toggle visibility of item based on id\naccordion.toggle('accordion-example-heading-3');\n```\n\n###### HTML Markup\n\nUse the following HTML markup example for the JavaScript script above.\n\n```html\n<div id=\"accordion-example\">\n  <h2 id=\"accordion-example-heading-1\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 rounded-t-xl focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"true\" aria-controls=\"accordion-example-body-1\">\n      <span>What is Flowbite?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 rotate-180 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-1\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-1\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700 dark:bg-gray-900\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-example-heading-2\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-b-0 border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"false\" aria-controls=\"accordion-example-body-2\">\n      <span>Is there a Figma file available?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-2\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-2\">\n    <div class=\"p-5 border border-b-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n      <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"{{< param homepage >}}/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n    </div>\n  </div>\n  <h2 id=\"accordion-example-heading-3\">\n    <button type=\"button\" class=\"flex items-center justify-between w-full p-5 font-medium rtl:text-right text-gray-500 border border-gray-200 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800\" aria-expanded=\"false\" aria-controls=\"accordion-example-body-3\">\n      <span>What are the differences between Flowbite and Tailwind UI?</span>\n      <svg data-accordion-icon class=\"w-6 h-6 shrink-0\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n    </button>\n  </h2>\n  <div id=\"accordion-example-body-3\" class=\"hidden\" aria-labelledby=\"accordion-example-heading-3\">\n    <div class=\"p-5 border border-t-0 border-gray-200 dark:border-gray-700\">\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n      <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n      <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n        <li><a href=\"{{< param homepage >}}/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n      </ul>\n    </div>\n  </div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Accordion object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Accordion } from \"flowbite\";\nimport type { AccordionOptions, AccordionItem, AccordionInterface } from \"flowbite\";\nimport type { InstanceOptions } from 'flowbite';\n\nconst accordionEl = document.querySelector('#accordion-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst accordionItems: AccordionItem[] = [\n    {\n        id: 'accordion-example-heading-1',\n        triggerEl: document.querySelector('#accordion-example-heading-1'),\n        targetEl: document.querySelector('#accordion-example-body-1'),\n        active: true\n    },\n    {\n        id: 'accordion-example-heading-2',\n        triggerEl: document.querySelector('#accordion-example-heading-2'),\n        targetEl: document.querySelector('#accordion-example-body-2'),\n        active: false\n    },\n    {\n        id: 'accordion-example-heading-3',\n        triggerEl: document.querySelector('#accordion-example-heading-3'),\n        targetEl: document.querySelector('#accordion-example-body-3'),\n        active: false\n    }\n];\n\n// options with default values\nconst options: AccordionOptions = {\n    alwaysOpen: true,\n    activeClasses: 'bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white',\n    inactiveClasses: 'text-gray-500 dark:text-gray-400',\n    onOpen: (item) => {\n        console.log('accordion item has been shown');\n        console.log(item);\n    },\n    onClose: (item) => {\n        console.log('accordion item has been hidden');\n        console.log(item);\n    },\n    onToggle: (item) => {\n        console.log('accordion item has been toggled');\n        console.log(item);\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n    id: 'accordion-example',\n    override: true\n};\n\n/*\n* accordionEl: HTML element (required)\n* accordionItems: array of accordion item objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst accordion: AccordionInterface = new Accordion(accordionEl, accordionItems, options, instanceOptions);\n\n// open accordion item based on id\naccordion.open('accordion-example-heading-2');\n\n// destroy accordion\naccordion.destroy();\n\n// re-initialize accordion\naccordion.init();\n```\n\n#### Alert\n\nThe alert component can be used to provide information to your users such as success or error messages, but also highlighted information complementing the normal flow of paragraphs and headers on a page.\n\nFlowbite also includes dismissible alerts which can be hidden by the users by clicking on the close icon.\n\n##### Default alert\n\nUse the following examples of alert components to show messages as feedback to your users.\n\n{{< example id=\"default-alert-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"p-4 mb-4 text-sm text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400\" role=\"alert\">\n  <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400\" role=\"alert\">\n  <span class=\"font-medium\">Danger alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400\" role=\"alert\">\n  <span class=\"font-medium\">Success alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 mb-4 text-sm text-yellow-800 rounded-lg bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300\" role=\"alert\">\n  <span class=\"font-medium\">Warning alert!</span> Change a few things up and try submitting again.\n</div>\n<div class=\"p-4 text-sm text-gray-800 rounded-lg bg-gray-50 dark:bg-gray-800 dark:text-gray-300\" role=\"alert\">\n  <span class=\"font-medium\">Dark alert!</span> Change a few things up and try submitting again.\n</div>\n{{< /example >}}\n\n##### Alerts with icon\n\nYou can also include a descriptive icon to complement the message inside the alert component with the following example.\n\n{{< example id=\"alerts-with-icon-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex items-center p-4 mb-4 text-sm text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Danger alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-green-800 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Success alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-yellow-800 rounded-lg bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Warning alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 text-sm text-gray-800 rounded-lg bg-gray-50 dark:bg-gray-800 dark:text-gray-300\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Dark alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n{{< /example >}}\n\n##### Bordered alerts \n\nUse this example to add a border accent to the alert component instead of just a plain background.\n\n{{< example id=\"alerts-with-border-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex items-center p-4 mb-4 text-sm text-blue-800 border border-blue-300 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400 dark:border-blue-800\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-red-800 border border-red-300 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400 dark:border-red-800\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Danger alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-green-800 border border-green-300 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400 dark:border-green-800\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Success alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 mb-4 text-sm text-yellow-800 border border-yellow-300 rounded-lg bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300 dark:border-yellow-800\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Warning alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n<div class=\"flex items-center p-4 text-sm text-gray-800 border border-gray-300 rounded-lg bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:border-gray-600\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Dark alert!</span> Change a few things up and try submitting again.\n  </div>\n</div>\n{{< /example >}}\n\n##### Alerts with list\n\nUse this example to show a list and a description inside an alert component.\n\n{{< example id=\"alerts-list-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div class=\"flex p-4 mb-4 text-sm text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3 mt-[2px]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-1.5 list-disc list-inside\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n<div class=\"flex p-4 mb-4 text-sm text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400\" role=\"alert\">\n  <svg class=\"shrink-0 inline w-4 h-4 me-3 mt-[2px]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Danger</span>\n  <div>\n    <span class=\"font-medium\">Ensure that these requirements are met:</span>\n      <ul class=\"mt-1.5 list-disc list-inside\">\n        <li>At least 10 characters (and up to 100 characters)</li>\n        <li>At least one lowercase character</li>\n        <li>Inclusion of at least one special character, e.g., ! @ # ?</li>\n    </ul>\n  </div>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Dismissing\n\nUse the following alert elements that are also dismissible.\n\n{{< example id=\"alerts-dismissing-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-1\" class=\"flex items-center p-4 mb-4 text-blue-800 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400\" role=\"alert\">\n  <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-3 text-sm font-medium\">\n    A simple info alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-blue-50 text-blue-500 rounded-lg focus:ring-2 focus:ring-blue-400 p-1.5 hover:bg-blue-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-blue-400 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-1\" aria-label=\"Close\">\n      <span class=\"sr-only\">Close</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n  </button>\n</div>\n<div id=\"alert-2\" class=\"flex items-center p-4 mb-4 text-red-800 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400\" role=\"alert\">\n  <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-3 text-sm font-medium\">\n    A simple info alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-red-50 text-red-500 rounded-lg focus:ring-2 focus:ring-red-400 p-1.5 hover:bg-red-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-red-400 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-2\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n    </svg>\n  </button>\n</div>\n<div id=\"alert-3\" class=\"flex items-center p-4 mb-4 text-green-800 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400\" role=\"alert\">\n  <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-3 text-sm font-medium\">\n    A simple info alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-green-50 text-green-500 rounded-lg focus:ring-2 focus:ring-green-400 p-1.5 hover:bg-green-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-green-400 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-3\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n    </svg>\n  </button>\n</div>\n<div id=\"alert-4\" class=\"flex items-center p-4 mb-4 text-yellow-800 rounded-lg bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300\" role=\"alert\">\n  <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-3 text-sm font-medium\">\n    A simple info alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-yellow-50 text-yellow-500 rounded-lg focus:ring-2 focus:ring-yellow-400 p-1.5 hover:bg-yellow-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-yellow-300 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-4\" aria-label=\"Close\">\n    <span class=\"sr-only\">Close</span>\n    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n    </svg>\n  </button>\n</div>\n<div id=\"alert-5\" class=\"flex items-center p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" role=\"alert\">\n  <svg class=\"shrink-0 w-4 h-4 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>\n  <span class=\"sr-only\">Info</span>\n  <div class=\"ms-3 text-sm font-medium text-gray-800 dark:text-gray-300\">\n    A simple dark alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n  </div>\n  <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-gray-50 text-gray-500 rounded-lg focus:ring-2 focus:ring-gray-400 p-1.5 hover:bg-gray-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:hover:text-white\" data-dismiss-target=\"#alert-5\" aria-label=\"Close\">\n    <span class=\"sr-only\">Dismiss</span>\n    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n    </svg>\n  </button>\n</div>\n{{< /example >}}\n\n##### Border accent\n\nUse this example to add a border accent on top of the alert component for further visual distinction.\n\n{{< example id=\"alerts-border-accent-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-border-1\" class=\"flex items-center p-4 mb-4 text-blue-800 border-t-4 border-blue-300 bg-blue-50 dark:text-blue-400 dark:bg-gray-800 dark:border-blue-800\" role=\"alert\">\n    <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <div class=\"ms-3 text-sm font-medium\">\n      A simple info alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n    </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-blue-50 text-blue-500 rounded-lg focus:ring-2 focus:ring-blue-400 p-1.5 hover:bg-blue-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-blue-400 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-border-1\" aria-label=\"Close\">\n      <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n    </button>\n</div>\n<div id=\"alert-border-2\" class=\"flex items-center p-4 mb-4 text-red-800 border-t-4 border-red-300 bg-red-50 dark:text-red-400 dark:bg-gray-800 dark:border-red-800\" role=\"alert\">\n    <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <div class=\"ms-3 text-sm font-medium\">\n      A simple danger alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n    </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-red-50 text-red-500 rounded-lg focus:ring-2 focus:ring-red-400 p-1.5 hover:bg-red-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-red-400 dark:hover:bg-gray-700\"  data-dismiss-target=\"#alert-border-2\" aria-label=\"Close\">\n      <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n    </button>\n</div>\n<div id=\"alert-border-3\" class=\"flex items-center p-4 mb-4 text-green-800 border-t-4 border-green-300 bg-green-50 dark:text-green-400 dark:bg-gray-800 dark:border-green-800\" role=\"alert\">\n    <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <div class=\"ms-3 text-sm font-medium\">\n      A simple success alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n    </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-green-50 text-green-500 rounded-lg focus:ring-2 focus:ring-green-400 p-1.5 hover:bg-green-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-green-400 dark:hover:bg-gray-700\"  data-dismiss-target=\"#alert-border-3\" aria-label=\"Close\">\n      <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n    </button>\n</div>\n<div id=\"alert-border-4\" class=\"flex items-center p-4 mb-4 text-yellow-800 border-t-4 border-yellow-300 bg-yellow-50 dark:text-yellow-300 dark:bg-gray-800 dark:border-yellow-800\" role=\"alert\">\n    <svg class=\"shrink-0 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <div class=\"ms-3 text-sm font-medium\">\n      A simple danger alert with an <a href=\"#\" class=\"font-semibold underline hover:no-underline\">example link</a>. Give it a click if you like.\n    </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-yellow-50 text-yellow-500 rounded-lg focus:ring-2 focus:ring-yellow-400 p-1.5 hover:bg-yellow-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-yellow-300 dark:hover:bg-gray-700\" data-dismiss-target=\"#alert-border-4\" aria-label=\"Close\">\n      <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n    </button>\n</div>\n<div id=\"alert-border-5\" class=\"flex items-center p-4 border-t-4 border-gray-300 bg-gray-50 dark:bg-gray-800 dark:border-gray-600\" role=\"alert\">\n    <svg class=\"shrink-0 w-4 h-4 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <div class=\"ms-3 text-sm font-medium text-gray-800 dark:text-gray-300\">\n      A simple dark alert with an <a href=\"#\" class=\"font-semibold underline hover:text-gray-800 hover:no-underline dark:text-gray-300\">example link</a>. Give it a click if you like.\n    </div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-gray-50 text-gray-500 rounded-lg focus:ring-2 focus:ring-gray-400 p-1.5 hover:bg-gray-200 inline-flex items-center justify-center h-8 w-8 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700 dark:hover:text-white\" data-dismiss-target=\"#alert-border-5\" aria-label=\"Close\">\n      <span class=\"sr-only\">Dismiss</span>\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n    </button>\n</div>\n{{< /example >}}\n\n##### Additional content\n\nThe following alert components can be used if you wish to disclose more information inside the element.\n\n{{< example id=\"alerts-additional-content-example\" github=\"components/alerts.md\" show_dark=true >}}\n<div id=\"alert-additional-content-1\" class=\"p-4 mb-4 text-blue-800 border border-blue-300 rounded-lg bg-blue-50 dark:bg-gray-800 dark:text-blue-400 dark:border-blue-800\" role=\"alert\">\n  <div class=\"flex items-center\">\n    <svg class=\"shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <span class=\"sr-only\">Info</span>\n    <h3 class=\"text-lg font-medium\">This is a info alert</h3>\n  </div>\n  <div class=\"mt-2 mb-4 text-sm\">\n    More info about this info alert goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <div class=\"flex\">\n    <button type=\"button\" class=\"text-white bg-blue-800 hover:bg-blue-900 focus:ring-4 focus:outline-none focus:ring-blue-200 font-medium rounded-lg text-xs px-3 py-1.5 me-2 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n      <svg class=\"me-2 h-3 w-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n      View more\n    </button>\n    <button type=\"button\" class=\"text-blue-800 bg-transparent border border-blue-800 hover:bg-blue-900 hover:text-white focus:ring-4 focus:outline-none focus:ring-blue-200 font-medium rounded-lg text-xs px-3 py-1.5 text-center dark:hover:bg-blue-600 dark:border-blue-600 dark:text-blue-400 dark:hover:text-white dark:focus:ring-blue-800\" data-dismiss-target=\"#alert-additional-content-1\" aria-label=\"Close\">\n      Dismiss\n    </button>\n  </div>\n</div>\n<div id=\"alert-additional-content-2\" class=\"p-4 mb-4 text-red-800 border border-red-300 rounded-lg bg-red-50 dark:bg-gray-800 dark:text-red-400 dark:border-red-800\" role=\"alert\">\n  <div class=\"flex items-center\">\n    <svg class=\"shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <span class=\"sr-only\">Info</span>\n    <h3 class=\"text-lg font-medium\">This is a danger alert</h3>\n  </div>\n  <div class=\"mt-2 mb-4 text-sm\">\n    More info about this info danger goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <div class=\"flex\">\n    <button type=\"button\" class=\"text-white bg-red-800 hover:bg-red-900 focus:ring-4 focus:outline-none focus:ring-red-300 font-medium rounded-lg text-xs px-3 py-1.5 me-2 text-center inline-flex items-center dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-800\">\n      <svg class=\"me-2 h-3 w-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n      View more\n    </button>\n    <button type=\"button\" class=\"text-red-800 bg-transparent border border-red-800 hover:bg-red-900 hover:text-white focus:ring-4 focus:outline-none focus:ring-red-300 font-medium rounded-lg text-xs px-3 py-1.5 text-center dark:hover:bg-red-600 dark:border-red-600 dark:text-red-500 dark:hover:text-white dark:focus:ring-red-800\" data-dismiss-target=\"#alert-additional-content-2\" aria-label=\"Close\">\n      Dismiss\n    </button>\n  </div>\n</div>\n<div id=\"alert-additional-content-3\" class=\"p-4 mb-4 text-green-800 border border-green-300 rounded-lg bg-green-50 dark:bg-gray-800 dark:text-green-400 dark:border-green-800\" role=\"alert\">\n  <div class=\"flex items-center\">\n    <svg class=\"shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <span class=\"sr-only\">Info</span>\n    <h3 class=\"text-lg font-medium\">This is a success alert</h3>\n  </div>\n  <div class=\"mt-2 mb-4 text-sm\">\n    More info about this info success goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <div class=\"flex\">\n    <button type=\"button\" class=\"text-white bg-green-800 hover:bg-green-900 focus:ring-4 focus:outline-none focus:ring-green-300 font-medium rounded-lg text-xs px-3 py-1.5 me-2 text-center inline-flex items-center dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800\">\n      <svg class=\"me-2 h-3 w-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n      View more\n    </button>\n    <button type=\"button\" class=\"text-green-800 bg-transparent border border-green-800 hover:bg-green-900 hover:text-white focus:ring-4 focus:outline-none focus:ring-green-300 font-medium rounded-lg text-xs px-3 py-1.5 text-center dark:hover:bg-green-600 dark:border-green-600 dark:text-green-400 dark:hover:text-white dark:focus:ring-green-800\" data-dismiss-target=\"#alert-additional-content-3\" aria-label=\"Close\">\n      Dismiss\n    </button>\n  </div>\n</div>\n<div id=\"alert-additional-content-4\" class=\"p-4 mb-4 text-yellow-800 border border-yellow-300 rounded-lg bg-yellow-50 dark:bg-gray-800 dark:text-yellow-300 dark:border-yellow-800\" role=\"alert\">\n  <div class=\"flex items-center\">\n    <svg class=\"shrink-0 w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <span class=\"sr-only\">Info</span>\n    <h3 class=\"text-lg font-medium\">This is a warning alert</h3>\n  </div>\n  <div class=\"mt-2 mb-4 text-sm\">\n    More info about this info warning goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <div class=\"flex\">\n    <button type=\"button\" class=\"text-white bg-yellow-800 hover:bg-yellow-900 focus:ring-4 focus:outline-none focus:ring-yellow-300 font-medium rounded-lg text-xs px-3 py-1.5 me-2 text-center inline-flex items-center dark:bg-yellow-300 dark:text-gray-800 dark:hover:bg-yellow-400 dark:focus:ring-yellow-800\">\n      <svg class=\"me-2 h-3 w-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n      View more\n    </button>\n    <button type=\"button\" class=\"text-yellow-800 bg-transparent border border-yellow-800 hover:bg-yellow-900 hover:text-white focus:ring-4 focus:outline-none focus:ring-yellow-300 font-medium rounded-lg text-xs px-3 py-1.5 text-center dark:hover:bg-yellow-300 dark:border-yellow-300 dark:text-yellow-300 dark:hover:text-gray-800 dark:focus:ring-yellow-800\" data-dismiss-target=\"#alert-additional-content-4\" aria-label=\"Close\">\n      Dismiss\n    </button>\n  </div>\n</div>\n<div id=\"alert-additional-content-5\" class=\"p-4 border border-gray-300 rounded-lg bg-gray-50 dark:border-gray-600 dark:bg-gray-800\" role=\"alert\">\n  <div class=\"flex items-center\">\n    <svg class=\"shrink-0 w-4 h-4 me-2 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n    </svg>\n    <span class=\"sr-only\">Info</span>\n    <h3 class=\"text-lg font-medium text-gray-800 dark:text-gray-300\">This is a dark alert</h3>\n  </div>\n  <div class=\"mt-2 mb-4 text-sm text-gray-800 dark:text-gray-300\">\n    More info about this info dark goes here. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.\n  </div>\n  <div class=\"flex\">\n    <button type=\"button\" class=\"text-white bg-gray-700 hover:bg-gray-800 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-lg text-xs px-3 py-1.5 me-2 text-center inline-flex items-center dark:bg-gray-600 dark:hover:bg-gray-500 dark:focus:ring-gray-800\">\n      <svg class=\"me-2 h-3 w-3 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n      View more\n    </button>\n    <button type=\"button\" class=\"text-gray-800 bg-transparent border border-gray-700 hover:bg-gray-800 hover:text-white focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-lg text-xs px-3 py-1.5 text-center dark:border-gray-600 dark:hover:bg-gray-600 dark:focus:ring-gray-800 dark:text-gray-300 dark:hover:text-white\" data-dismiss-target=\"#alert-additional-content-5\" aria-label=\"Close\">\n      Dismiss\n    </button>\n  </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nThe **Dismiss** class from Flowbite can be used to create an object that will hide a target element or elements based on the parameters, options, and methods that you provide.\n\n###### Object parameters\n\nThe parameters for the Dismiss object can be used to programmatically initialize and manipulate the behaviour of the dismissal of the target element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-800\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the element object that will be dismissed.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the element object that will trigger the targetEl dismission on click.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the options object to set the trigger element, transition, duration, timing classes of the dismiss animation and callback functions.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these optional options for the Dismiss object to set the transition, duration, and timing function types based on the utility classes from Tailwind CSS.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body0\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">transition</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use one of the Transition Property utility classes from Tailwind CSS to set transition type for the main element. The default value is <code class=\"text-purple-600 dark:text-purple-400\">transition-opacity</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">duration</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the duration of the dismissing animation. The default value is <code class=\"text-purple-600 dark:text-purple-400\">300</code> (300 milliseconds).\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">timing</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the transition timing function utility class from Tailwind CSS. The default value is <code class=\"text-purple-600 dark:text-purple-400\">ease-out</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been dismissed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods on the Dismiss object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dismiss object to hide the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set the callback function when the item has been dismissed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Dismiss object.\n\nFirst of all, you should set the required target element and optionally set a trigger element which will dismiss the target element when clicked and other options to customize the animation.\n\n```javascript\n// target element that will be dismissed\nconst $targetEl = document.getElementById('targetElement');\n\n// optional trigger element\nconst $triggerEl = document.getElementById('triggerElement');\n\n// options object\nconst options = {\n  transition: 'transition-opacity',\n  duration: 1000,\n  timing: 'ease-out',\n\n  // callback functions\n  onHide: (context, targetEl) => {\n    console.log('element has been dismissed')\n    console.log(targetEl)\n  }\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'targetElement',\n  override: true\n};\n```\n\nCreate a new Dismiss object based on the options set above.\n\n```javascript\nimport { Dismiss } from 'flowbite';\n\n/*\n* $targetEl (required)\n* $triggerEl (optional)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst dismiss = new Dismiss($targetEl, $triggerEl, options, instanceOptions);\n```\n\nYou can now use the methods on the Dismiss object.\n\n```javascript\n// hide the target element\ndismiss.hide();\n```\n\n###### HTML Markup\n\nUse this HTML code for the JavaScript code example above.\n\n```html\n<button id=\"triggerElement\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Hide alert</button>\n\n<div id=\"targetElement\" class=\"p-4 mb-4 text-sm text-blue-800 rounded-lg bg-blue-50 dark:bg-blue-200 dark:text-blue-800\" role=\"alert\">\n  <span class=\"font-medium\">Info alert!</span> Change a few things up and try submitting again.\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Dismiss class, parameters and its options. \n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Dismiss } from \"flowbite\";\nimport type { DismissOptions, DismissInterface } from \"flowbite\";\nimport type { InstanceOptions } from 'flowbite';\n\n// target element that will be dismissed\nconst $targetEl: HTMLElement = document.getElementById('targetElement');\n\n// optional trigger element\nconst $triggerEl: HTMLElement = document.getElementById('triggerElement');\n\n// options object\nconst options: DismissOptions = {\n  transition: 'transition-opacity',\n  duration: 1000,\n  timing: 'ease-out',\n\n  // callback functions\n  onHide: (context, targetEl) => {\n    console.log('element has been dismissed')\n    console.log(targetEl)\n  }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'targetElement',\n  override: true\n};\n\n/*\n* $targetEl (required)\n* $triggerEl (optional)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst dismiss: DismissInterface = new Dismiss($targetEl, $triggerEl, options, instanceOptions);\n\n// programmatically hide it\ndismiss.hide();\n```\n\n#### Avatar\n\nThe avatar component can be used as a visual identifier for a user profile on your website and you can use the examples from Flowbite to modify the styles and sizes of these components using the utility classes from Tailwind CSS.\n\n##### Default avatar\n\nUse this example to create a circle and rounded avatar on an image element.\n\n{{< example id=\"default-avatar-example\" class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Rounded avatar\">\n<img class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Default avatar\">\n{{< /example >}}\n\n##### Bordered\n\nApply a border around the avatar component you can use the `ring-{color}` class from Tailwind CSS.\n\n{{< example id=\"avatar-bordered-example\" class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-10 h-10 p-1 rounded-full ring-2 ring-gray-300 dark:ring-gray-500\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Bordered avatar\">\n{{< /example >}}\n\n##### Placeholder icon\n\nUse this example as a placeholder icon for the user profile when there is no custom image available.\n\n{{< example id=\"avatar-placeholder-example\" class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative w-10 h-10 overflow-hidden bg-gray-100 rounded-full dark:bg-gray-600\">\n    <svg class=\"absolute w-12 h-12 text-gray-400 -left-1\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z\" clip-rule=\"evenodd\"></path></svg>\n</div>\n{{< /example >}}\n\n##### Placeholder initials\n\nThis example can be used to show the initials of the user's first and last name as a placeholder when no profile picture is available.\n\n{{< example id=\"avatar-placeholder-initials-example\" class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative inline-flex items-center justify-center w-10 h-10 overflow-hidden bg-gray-100 rounded-full dark:bg-gray-600\">\n    <span class=\"font-medium text-gray-600 dark:text-gray-300\">JL</span>\n</div>\n{{< /example >}}\n\n##### Avatar tooltip\n\nUse this example to show a tooltip when hovering over the avatar.\n\n{{< example id=\"avatar-tooltip-example\" class=\"flex items-center justify-center pt-8 gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<div>\n  <div id=\"tooltip-jese\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n      Jese Leos\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-jese\" class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Medium avatar\">\n</div>\n<div>\n  <div id=\"tooltip-roberta\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n      Roberta Casas\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-roberta\" class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Medium avatar\">\n</div>\n<div>\n  <div id=\"tooltip-bonnie\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n      Bonnie Green\n      <div class=\"tooltip-arrow\" data-popper-arrow></div>\n  </div>\n  <img data-tooltip-target=\"tooltip-bonnie\" class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Medium avatar\">\n</div>\n{{< /example >}}\n\n##### Dot indicator\n\nUse a dot element relative to the avatar component as an indicator for the user (eg. online or offline status).\n\n{{< example id=\"avatar-dot-indicator-example\" class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"top-0 left-7 absolute  w-3.5 h-3.5 bg-green-400 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"absolute top-0 left-8 transform -translate-y-1/2 w-3.5 h-3.5 bg-red-400 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"bottom-0 left-7 absolute  w-3.5 h-3.5 bg-green-400 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <span class=\"absolute bottom-0 left-8 transform translate-y-1/4 w-3.5 h-3.5 bg-green-400 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n{{< /example >}}\n\n##### Stacked\n\nUse this example if you want to stack a group of users by overlapping the avatar components.\n\n{{< example id=\"avatar-stacked-example\" class=\"flex justify-center gap-4 rtl:gap-8\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"flex -space-x-4 rtl:space-x-reverse\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"\">\n</div>\n<div class=\"flex -space-x-4 rtl:space-x-reverse\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n    <img class=\"w-10 h-10 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n    <a class=\"flex items-center justify-center w-10 h-10 text-xs font-medium text-white bg-gray-700 border-2 border-white rounded-full hover:bg-gray-600 dark:border-gray-800\" href=\"#\">+99</a>\n</div>\n{{< /example >}}\n\n##### Avatar text\n\nThis example can be used if you want to show additional information in the form of text elements such as the user's name and join date.\n\n{{< example id=\"avatar-text-example\" class=\"flex justify-center\" github=\"components/avatar.md\" show_dark=true >}}\n<div class=\"flex items-center gap-4\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n    <div class=\"font-medium dark:text-white\">\n        <div>Jese Leos</div>\n        <div class=\"text-sm text-gray-500 dark:text-gray-400\">Joined in August 2014</div>\n    </div>\n</div>\n{{< /example >}}\n\n##### User dropdown\n\nUse this example if you want to show a dropdown menu when clicking on the avatar component.\n\n{{< example id=\"avatar-user-dropdown-example\" class=\"flex justify-center gap-4\" github=\"components/avatar.md\" show_dark=true iframeHeight=\"360\" >}}\n<img id=\"avatarButton\" type=\"button\" data-dropdown-toggle=\"userDropdown\" data-dropdown-placement=\"bottom-start\" class=\"w-10 h-10 rounded-full cursor-pointer\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"User dropdown\">\n\n<!-- Dropdown menu -->\n<div id=\"userDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div>Bonnie Green</div>\n      <div class=\"font-medium truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"avatarButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-1\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nChoose from multiple sizing options for the avatar component from this example.\n\n{{< example id=\"avatar-sizes-example\" class=\"flex flex-wrap items-center justify-center gap-6\" github=\"components/avatar.md\" show_dark=true >}}\n<img class=\"w-6 h-6 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Extra small avatar\">\n<img class=\"w-8 h-8 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Small avatar\">\n<img class=\"w-10 h-10 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Medium avatar\">\n<img class=\"w-20 h-20 rounded-sm\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Large avatar\">\n<img class=\"rounded-sm w-36 h-36\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Extra large avatar\">\n{{< /example >}}\n\n#### Badge\n\nThe badge component can be used to complement other elements such as buttons or text elements as a label or to show the count of a given data, such as the number of comments for an article or how much time has passed by since a comment has been made.\n\nAlternatively, badges can also be used as standalone elements that link to a certain page by using the anchor tag instead of a `span` element.\n\n##### Default badge\n\nUse the following badge elements to indicate counts or labels inside or outside components.\n\n{{< example id=\"default-badge-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300\">Default</span>\n<span class=\"bg-gray-100 text-gray-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-gray-300\">Dark</span>\n<span class=\"bg-red-100 text-red-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-red-900 dark:text-red-300\">Red</span>\n<span class=\"bg-green-100 text-green-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-green-900 dark:text-green-300\">Green</span>\n<span class=\"bg-yellow-100 text-yellow-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-yellow-900 dark:text-yellow-300\">Yellow</span>\n<span class=\"bg-indigo-100 text-indigo-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-indigo-900 dark:text-indigo-300\">Indigo</span>\n<span class=\"bg-purple-100 text-purple-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-purple-900 dark:text-purple-300\">Purple</span>\n<span class=\"bg-pink-100 text-pink-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-pink-900 dark:text-pink-300\">Pink</span>\n{{< /example >}}\n\n##### Large badges\n\nUse the `text-sm` utility class and increase the paddings to create a larger variant of the badges.\n\n{{< example id=\"badge-sizes-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-blue-100 text-blue-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300\">Default</span>\n<span class=\"bg-gray-100 text-gray-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-gray-300\">Dark</span>\n<span class=\"bg-red-100 text-red-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-red-900 dark:text-red-300\">Red</span>\n<span class=\"bg-green-100 text-green-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-green-900 dark:text-green-300\">Green</span>\n<span class=\"bg-yellow-100 text-yellow-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-yellow-900 dark:text-yellow-300\">Yellow</span>\n<span class=\"bg-indigo-100 text-indigo-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-indigo-900 dark:text-indigo-300\">Indigo</span>\n<span class=\"bg-purple-100 text-purple-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-purple-900 dark:text-purple-300\">Purple</span>\n<span class=\"bg-pink-100 text-pink-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-pink-900 dark:text-pink-300\">Pink</span>\n{{< /example >}}\n\n##### Bordered badge\n\nThis example can be used to add a border accent to the badge component.\n\n{{< example id=\"bordered-badge-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-blue-400 border border-blue-400\">Default</span>\n<span class=\"bg-gray-100 text-gray-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-gray-400 border border-gray-500\">Dark</span>\n<span class=\"bg-red-100 text-red-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-red-400 border border-red-400\">Red</span>\n<span class=\"bg-green-100 text-green-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-green-400 border border-green-400\">Green</span>\n<span class=\"bg-yellow-100 text-yellow-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-yellow-300 border border-yellow-300\">Yellow</span>\n<span class=\"bg-indigo-100 text-indigo-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-indigo-400 border border-indigo-400\">Indigo</span>\n<span class=\"bg-purple-100 text-purple-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-purple-400 border border-purple-400\">Purple</span>\n<span class=\"bg-pink-100 text-pink-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-pink-400 border border-pink-400\">Pink</span>\n{{< /example >}}\n\n##### Pills badge\n\nUse this example to make the corners even more rounded-sm like pills for the badge component.\n\n{{< example id=\"pills-badge-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-blue-900 dark:text-blue-300\">Default</span>\n<span class=\"bg-gray-100 text-gray-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-gray-700 dark:text-gray-300\">Dark</span>\n<span class=\"bg-red-100 text-red-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300\">Red</span>\n<span class=\"bg-green-100 text-green-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-green-900 dark:text-green-300\">Green</span>\n<span class=\"bg-yellow-100 text-yellow-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-yellow-900 dark:text-yellow-300\">Yellow</span>\n<span class=\"bg-indigo-100 text-indigo-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-indigo-900 dark:text-indigo-300\">Indigo</span>\n<span class=\"bg-purple-100 text-purple-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-purple-900 dark:text-purple-300\">Purple</span>\n<span class=\"bg-pink-100 text-pink-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded-full dark:bg-pink-900 dark:text-pink-300\">Pink</span>\n{{< /example >}}\n\n##### Badges as links\n\nYou can also use badges as anchor elements to link to another page.\n\n{{< example id=\"badge-links-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<a href=\"#\" class=\"bg-blue-100 hover:bg-blue-200 text-blue-800 text-xs font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-blue-400 border border-blue-400 inline-flex items-center justify-center\">Badge link</a>\n<a href=\"#\" class=\"bg-blue-100 hover:bg-blue-200 text-blue-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-blue-400 border border-blue-400 inline-flex items-center justify-center\">Badge link</a>\n{{< /example >}}\n\n##### Badges with icon\n\nYou can also use [SVG icons](https://flowbite.com/icons/) inside the badge elements.\n\n{{< example id=\"badge-icons-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"bg-gray-100 text-gray-800 text-xs font-medium inline-flex items-center px-2.5 py-0.5 rounded-sm me-2 dark:bg-gray-700 dark:text-gray-400 border border-gray-500 \">\n<svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.982 13.982a1 1 0 0 1-1.414 0l-3.274-3.274A1.012 1.012 0 0 1 9 10V6a1 1 0 0 1 2 0v3.586l2.982 2.982a1 1 0 0 1 0 1.414Z\"/>\n</svg>\n3 days ago\n</span>\n<span class=\"bg-blue-100 text-blue-800 text-xs font-medium inline-flex items-center px-2.5 py-0.5 rounded-sm dark:bg-gray-700 dark:text-blue-400 border border-blue-400\">\n<svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.982 13.982a1 1 0 0 1-1.414 0l-3.274-3.274A1.012 1.012 0 0 1 9 10V6a1 1 0 0 1 2 0v3.586l2.982 2.982a1 1 0 0 1 0 1.414Z\"/>\n</svg>\n2 minutes ago\n</span>\n{{< /example >}}\n\n##### Notification badge\n\nUse the following example to show a badge inside of a button component.\n\n{{< example id=\"badge-notification-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<button type=\"button\" class=\"relative inline-flex items-center p-3 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\n<span class=\"sr-only\">Notifications</span>\n  <div class=\"absolute inline-flex items-center justify-center w-6 h-6 text-xs font-bold text-white bg-red-500 border-2 border-white rounded-full -top-2 -end-2 dark:border-gray-900\">20</div>\n</button>\n{{< /example >}}\n\n##### Button with badge\n\nUse this example to add a badge inside a button component for a count indicator.\n\n{{< example id=\"badge-button-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\nMessages\n<span class=\"inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-blue-800 bg-blue-200 rounded-full\">\n2\n</span>\n</button>\n{{< /example >}}\n\n##### Badge with icon only\n\nAlternatively you can also use badges which indicate only a SVG icon.\n\n{{< example id=\"badge-icon-only-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span class=\"inline-flex items-center justify-center w-6 h-6 me-2 text-sm font-semibold text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</span>\n<span class=\"inline-flex items-center justify-center w-6 h-6 me-2 text-sm font-semibold text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path fill=\"currentColor\" d=\"m18.774 8.245-.892-.893a1.5 1.5 0 0 1-.437-1.052V5.036a2.484 2.484 0 0 0-2.48-2.48H13.7a1.5 1.5 0 0 1-1.052-.438l-.893-.892a2.484 2.484 0 0 0-3.51 0l-.893.892a1.5 1.5 0 0 1-1.052.437H5.036a2.484 2.484 0 0 0-2.48 2.481V6.3a1.5 1.5 0 0 1-.438 1.052l-.892.893a2.484 2.484 0 0 0 0 3.51l.892.893a1.5 1.5 0 0 1 .437 1.052v1.264a2.484 2.484 0 0 0 2.481 2.481H6.3a1.5 1.5 0 0 1 1.052.437l.893.892a2.484 2.484 0 0 0 3.51 0l.893-.892a1.5 1.5 0 0 1 1.052-.437h1.264a2.484 2.484 0 0 0 2.481-2.48V13.7a1.5 1.5 0 0 1 .437-1.052l.892-.893a2.484 2.484 0 0 0 0-3.51Z\"/>\n<path fill=\"#fff\" d=\"M8 13a1 1 0 0 1-.707-.293l-2-2a1 1 0 1 1 1.414-1.414l1.42 1.42 5.318-3.545a1 1 0 0 1 1.11 1.664l-6 4A1 1 0 0 1 8 13Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</span>\n<span class=\"inline-flex items-center justify-center w-6 h-6 me-2 text-sm font-semibold text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</span>\n<span class=\"inline-flex items-center justify-center w-6 h-6 me-2 text-sm font-semibold text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400\">\n<svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</span>\n{{< /example >}}\n\n##### Chips (dismissible badges)\n\nUse the `data-dismiss-target` data attribute to dismiss the current badge where the value is the id of the target element using a transition animation.\n\n{{< example id=\"badge-dismiss-example\" class=\"flex justify-center\" github=\"components/badge.md\" show_dark=true >}}\n<span id=\"badge-dismiss-default\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300\">\nDefault\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-blue-400 bg-transparent rounded-xs hover:bg-blue-200 hover:text-blue-900 dark:hover:bg-blue-800 dark:hover:text-blue-300\" data-dismiss-target=\"#badge-dismiss-default\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-dark\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-gray-800 bg-gray-100 rounded-sm dark:bg-gray-700 dark:text-gray-300\">\nDark\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-gray-400 bg-transparent rounded-xs hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-gray-300\" data-dismiss-target=\"#badge-dismiss-dark\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-red\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-red-800 bg-red-100 rounded-sm dark:bg-red-900 dark:text-red-300\">\nRed\n<button type=\"button\" class=\"inline-flex items-center p-1  ms-2 text-sm text-red-400 bg-transparent rounded-xs hover:bg-red-200 hover:text-red-900 dark:hover:bg-red-800 dark:hover:text-red-300\" data-dismiss-target=\"#badge-dismiss-red\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-green\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-green-800 bg-green-100 rounded-sm dark:bg-green-900 dark:text-green-300\">\nGreen\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-green-400 bg-transparent rounded-xs hover:bg-green-200 hover:text-green-900 dark:hover:bg-green-800 dark:hover:text-green-300\" data-dismiss-target=\"#badge-dismiss-green\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-yellow\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-yellow-800 bg-yellow-100 rounded-sm dark:bg-yellow-900 dark:text-yellow-300\">\nYellow\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-yellow-400 bg-transparent rounded-xs hover:bg-yellow-200 hover:text-yellow-900 dark:hover:bg-yellow-800 dark:hover:text-yellow-300\" data-dismiss-target=\"#badge-dismiss-yellow\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-indigo\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-indigo-800 bg-indigo-100 rounded-sm dark:bg-indigo-900 dark:text-indigo-300\">\nIndigo\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-indigo-400 bg-transparent rounded-xs hover:bg-indigo-200 hover:text-indigo-900 dark:hover:bg-indigo-800 dark:hover:text-indigo-300\" data-dismiss-target=\"#badge-dismiss-indigo\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-purple\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-purple-800 bg-purple-100 rounded-sm dark:bg-purple-900 dark:text-purple-300\">\nPurple\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-purple-400 bg-transparent rounded-xs hover:bg-purple-200 hover:text-purple-900 dark:hover:bg-purple-800 dark:hover:text-purple-300\" data-dismiss-target=\"#badge-dismiss-purple\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n<span id=\"badge-dismiss-pink\" class=\"inline-flex items-center px-2 py-1 me-2 text-sm font-medium text-pink-800 bg-pink-100 rounded-sm dark:bg-pink-900 dark:text-pink-300\">\nPink\n<button type=\"button\" class=\"inline-flex items-center p-1 ms-2 text-sm text-pink-400 bg-transparent rounded-xs hover:bg-pink-200 hover:text-pink-900 dark:hover:bg-pink-800 dark:hover:text-pink-300\" data-dismiss-target=\"#badge-dismiss-pink\" aria-label=\"Remove\">\n<svg class=\"w-2 h-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n</svg>\n<span class=\"sr-only\">Remove badge</span>\n</button>\n</span>\n{{< /example >}}\n\n#### Banner\n\nGet started with the sticky banner component coded with Tailwind CSS and Flowbite to show marketing, informational and CTA messages to your website visitors fixed to the top or bottom part of the page as the user scroll down the main content area.\n\nExplore the following examples based on various styles, sizes, and positionings to leverage the sticky banner component and increase marketing conversions with a responsive element supporting dark mode.\n\n##### Default sticky banner\n\nUse this free example to show a text message for announcement with a CTA link, an icon element and a close button to dismiss the banner.\n\n{{< example id=\"default-sticky-banner-example\" class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"sticky-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex justify-between w-full p-4 border-b border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"flex items-center mx-auto\">\n        <p class=\"flex items-center text-sm font-normal text-gray-500 dark:text-gray-400\">\n            <span class=\"inline-flex p-1 me-3 bg-gray-200 rounded-full dark:bg-gray-600 w-6 h-6 items-center justify-center shrink-0\">\n                <svg class=\"w-3 h-3 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 19\">\n                    <path d=\"M15 1.943v12.114a1 1 0 0 1-1.581.814L8 11V5l5.419-3.871A1 1 0 0 1 15 1.943ZM7 4H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2v5a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V4ZM4 17v-5h1v5H4ZM16 5.183v5.634a2.984 2.984 0 0 0 0-5.634Z\"/>\n                </svg>\n                <span class=\"sr-only\">Light bulb</span>\n            </span>\n            <span>New brand identity has been launched for the <a href=\"https://flowbite.com\" class=\"inline font-medium text-blue-600 underline dark:text-blue-500 hover:no-underline\">Flowbite Library</a></span>\n        </p>\n    </div>\n    <div class=\"flex items-center\">\n        <button data-dismiss-target=\"#sticky-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center w-7 h-7 items-center text-gray-400 hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 dark:hover:bg-gray-600 dark:hover:text-white\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n##### Bottom banner position\n\nThis example can be used to position the sticky banner to the bottom side of the page instead of the top side.\n\n{{< example id=\"bottom-banner-example\" class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"bottom-banner\" tabindex=\"-1\" class=\"fixed bottom-0 start-0 z-50 flex justify-between w-full p-4 border-t border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"flex items-center mx-auto\">\n        <p class=\"flex items-center text-sm font-normal text-gray-500 dark:text-gray-400\">\n            <span class=\"inline-flex p-1 me-3 bg-gray-200 rounded-full dark:bg-gray-600 w-6 h-6 items-center justify-center\">\n                <svg class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M18.435 7.546A2.32 2.32 0 0 1 17.7 5.77a3.354 3.354 0 0 0-3.47-3.47 2.322 2.322 0 0 1-1.776-.736 3.357 3.357 0 0 0-4.907 0 2.281 2.281 0 0 1-1.776.736 3.414 3.414 0 0 0-2.489.981 3.372 3.372 0 0 0-.982 2.49 2.319 2.319 0 0 1-.736 1.775 3.36 3.36 0 0 0 0 4.908A2.317 2.317 0 0 1 2.3 14.23a3.356 3.356 0 0 0 3.47 3.47 2.318 2.318 0 0 1 1.777.737 3.36 3.36 0 0 0 4.907 0 2.36 2.36 0 0 1 1.776-.737 3.356 3.356 0 0 0 3.469-3.47 2.319 2.319 0 0 1 .736-1.775 3.359 3.359 0 0 0 0-4.908ZM8.5 5.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2Zm3 9.063a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm2.207-6.856-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 1.414Z\"/>\n                </svg>\n                <span class=\"sr-only\">Discount</span>\n            </span>\n            <span>Get 5% commission per sale <a href=\"https://flowbite.com\" class=\"flex items-center ms-0 text-sm font-medium text-blue-600 md:ms-1 md:inline-flex dark:text-blue-500 hover:underline\">Become a partner <svg class=\"w-3 h-3 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a></span>\n        </p>\n    </div>\n    <div class=\"flex items-center\">\n        <button data-dismiss-target=\"#bottom-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center w-7 h-7 items-center text-gray-400 hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 dark:hover:bg-gray-600 dark:hover:text-white\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Marketing CTA banner\n\nUse this free example to show a text message for announcement with a CTA link, an icon element and a close button to dismiss the banner. Set a different width by using the `max-w-{*}` utility classes from Tailwind CSS.\n\n{{< example id=\"marketing-sticky-banner-example\" class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"marketing-banner\" tabindex=\"-1\" class=\"fixed z-50 flex flex-col md:flex-row justify-between w-[calc(100%-2rem)] p-4 -translate-x-1/2 bg-white border border-gray-100 rounded-lg shadow-xs lg:max-w-7xl left-1/2 top-6 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"flex flex-col items-start mb-3 me-4 md:items-center md:flex-row md:mb-0\">\n        <a href=\"https://flowbite.com/\" class=\"flex items-center mb-2 border-gray-200 md:pe-4 md:me-4 md:border-e md:mb-0 dark:border-gray-600\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-2\" alt=\"Flowbite Logo\">\n            <span class=\"self-center text-lg font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <p class=\"flex items-center text-sm font-normal text-gray-500 dark:text-gray-400\">Build websites even faster with components on top of Tailwind CSS</p>\n    </div>\n    <div class=\"flex items-center shrink-0\">\n        <a href=\"#\" class=\"px-5 py-2 me-2 text-xs font-medium text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Sign up</a>\n        <button data-dismiss-target=\"#marketing-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center w-7 h-7 items-center text-gray-400 hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 dark:hover:bg-gray-600 dark:hover:text-white\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n##### Newsletter sign-up banner\n\nThis example can be used to encourage your website visitors to sign up to your email newsletter by showing an inline form inside the sticky banner on the top side of your page.\n\n{{< example id=\"newsletter-sticky-banner-example\" class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"newsletter-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex justify-between w-full p-4 border-b border-gray-200 bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"flex items-center shrink-0 w-full mx-auto sm:w-auto\">\n        <form class=\"flex flex-col items-center w-full md:flex-row\">\n            <label for=\"email\" class=\"shrink-0 mb-2 me-auto text-sm font-medium text-gray-500 md:mb-0 md:me-4 dark:text-gray-400 md:m-0\">Sign up for our newsletter</label>\n            <input type=\"email\" id=\"email\" placeholder=\"Enter your email\" class=\"bg-white border border-gray-300 text-gray-900 md:w-64 mb-2 md:mb-0 md:me-4 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required />\n            <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Subscribe</button>\n        </form>\n    </div>\n    <div class=\"flex items-center absolute top-2.5 end-2.5 md:relative md:top-auto md:end-auto\">\n        <button data-dismiss-target=\"#newsletter-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center w-7 h-7 items-center text-gray-400 hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 dark:hover:bg-gray-600 dark:hover:text-white\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Informational banner\n\nThis example can be used to share important information with your website visitors by showing a heading and a paragraph inside the sticky banner and two CTA buttons with links.\n\n{{< example id=\"informational-sticky-banner-example\" class=\"p-0\" github=\"components/banner.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div id=\"informational-banner\" tabindex=\"-1\" class=\"fixed top-0 start-0 z-50 flex flex-col justify-between w-full p-4 border-b border-gray-200 md:flex-row bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"mb-4 md:mb-0 md:me-4\">\n        <h2 class=\"mb-1 text-base font-semibold text-gray-900 dark:text-white\">Integration is the key</h2>\n        <p class=\"flex items-center text-sm font-normal text-gray-500 dark:text-gray-400\">You can integrate Flowbite with many tools to make your work even more efficient and lightning fast based on Tailwind CSS.</p>\n    </div>\n    <div class=\"flex items-center shrink-0\">\n        <a href=\"#\" class=\"inline-flex items-center justify-center px-3 py-2 me-3 text-xs font-medium text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n    <path d=\"M9 1.334C7.06.594 1.646-.84.293.653a1.158 1.158 0 0 0-.293.77v13.973c0 .193.046.383.134.55.088.167.214.306.366.403a.932.932 0 0 0 .5.147c.176 0 .348-.05.5-.147 1.059-.32 6.265.851 7.5 1.65V1.334ZM19.707.653C18.353-.84 12.94.593 11 1.333V18c1.234-.799 6.436-1.968 7.5-1.65a.931.931 0 0 0 .5.147.931.931 0 0 0 .5-.148c.152-.096.279-.235.366-.403.088-.167.134-.357.134-.55V1.423a1.158 1.158 0 0 0-.293-.77Z\"/>\n  </svg> Learn more</a>\n        <a href=\"#\" class=\"inline-flex items-center justify-center px-3 py-2 me-2 text-xs font-medium text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get started <svg class=\"w-3 h-3 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n        <button data-dismiss-target=\"#informational-banner\" type=\"button\" class=\"shrink-0 inline-flex justify-center w-7 h-7 items-center text-gray-400 hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 dark:hover:bg-gray-600 dark:hover:text-white\">\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n            <span class=\"sr-only\">Close banner</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### More examples\n\nFor more sticky banner examples you can check [banner sections](https://flowbite.com/blocks/marketing/banner/) from Flowbite Blocks.\n\n#### Bottom navigation\n\nThe bottom bar component can be used to allow menu items and certain control actions to be performed by the user through the usage of a fixed bar positioning to the bottom side of your page.\n\nCheck out multiple examples of the bottom navigation component based on various styles, controls, sizes, content and leverage the utility classes from Tailwind CSS to integrate into your own project.\n\n##### Default bottom navigation\n\nUse the default bottom navigation bar example to show a list of menu items as buttons to allow the user to navigate through your website based on a fixed position. You can also use anchor tags instead of buttons.\n\n{{< example id=\"default-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 w-full h-16 bg-white border-t border-gray-200 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"grid h-full max-w-lg grid-cols-4 mx-auto font-medium\">\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Home</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M11.074 4 8.442.408A.95.95 0 0 0 7.014.254L2.926 4h8.148ZM9 13v-1a4 4 0 0 1 4-4h6V6a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h17a1 1 0 0 0 1-1v-2h-6a4 4 0 0 1-4-4Z\"/>\n                <path d=\"M19 10h-6a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1Zm-4.5 3.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM12.62 4h2.78L12.539.41a1.086 1.086 0 1 0-1.7 1.352L12.62 4Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Wallet</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Settings</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Profile</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Menu items with border\n\nThis example can be used to show a border between the menu items inside the bottom navbar.\n\n{{< example id=\"border-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 w-full h-16 bg-white border-t border-gray-200 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"grid h-full max-w-lg grid-cols-4 mx-auto font-medium\">\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-gray-200 border-x hover:bg-gray-50 dark:hover:bg-gray-800 group dark:border-gray-600\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Home</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-e border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-800 group dark:border-gray-600\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M11.074 4 8.442.408A.95.95 0 0 0 7.014.254L2.926 4h8.148ZM9 13v-1a4 4 0 0 1 4-4h6V6a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h17a1 1 0 0 0 1-1v-2h-6a4 4 0 0 1-4-4Z\"/>\n                <path d=\"M19 10h-6a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1Zm-4.5 3.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM12.62 4h2.78L12.539.41a1.086 1.086 0 1 0-1.7 1.352L12.62 4Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Wallet</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Settings</span>\n        </button>\n        <button type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-800 group border-x dark:border-gray-600\">\n            <svg class=\"w-5 h-5 mb-2 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n            </svg>\n            <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Profile</span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Application bar example\n\nUse this example to show a CTA button in the center of the navigation component to create new items.\n\n{{< example id=\"cta-button-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed z-50 w-full h-16 max-w-lg -translate-x-1/2 bg-white border border-gray-200 rounded-full bottom-4 left-1/2 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"grid h-full max-w-lg grid-cols-5 mx-auto\">\n        <button data-tooltip-target=\"tooltip-home\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 rounded-s-full hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n            </svg>\n            <span class=\"sr-only\">Home</span>\n        </button>\n        <div id=\"tooltip-home\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Home\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-wallet\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M11.074 4 8.442.408A.95.95 0 0 0 7.014.254L2.926 4h8.148ZM9 13v-1a4 4 0 0 1 4-4h6V6a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h17a1 1 0 0 0 1-1v-2h-6a4 4 0 0 1-4-4Z\"/>\n                <path d=\"M19 10h-6a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1Zm-4.5 3.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM12.62 4h2.78L12.539.41a1.086 1.086 0 1 0-1.7 1.352L12.62 4Z\"/>\n            </svg>\n            <span class=\"sr-only\">Wallet</span>\n        </button>\n        <div id=\"tooltip-wallet\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Wallet\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"flex items-center justify-center\">\n            <button data-tooltip-target=\"tooltip-new\" type=\"button\" class=\"inline-flex items-center justify-center w-10 h-10 font-medium bg-blue-600 rounded-full hover:bg-blue-700 group focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n                <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n                </svg>\n                <span class=\"sr-only\">New item</span>\n            </button>\n        </div>\n        <div id=\"tooltip-new\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Create new item\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-profile\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 rounded-e-full hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n            </svg>\n            <span class=\"sr-only\">Profile</span>\n        </button>\n        <div id=\"tooltip-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Profile\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Example with pagination\n\nThis example be used to paginate multiple pages on a single view alongside other menu items.\n\n{{< example id=\"pagination-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 z-50 w-full h-16 -translate-x-1/2 bg-white border-t border-gray-200 left-1/2 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"grid h-full max-w-lg grid-cols-6 mx-auto\">\n        <button data-tooltip-target=\"tooltip-document\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M.188 5H5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707c-.358.362-.617.81-.753 1.3C.148 5.011.166 5 .188 5ZM14 8a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm2 7h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1h1a1 1 0 0 1 0 2Z\"/>\n                <path d=\"M6 14a7.969 7.969 0 0 1 10-7.737V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H.188A.909.909 0 0 1 0 6.962V18a1.969 1.969 0 0 0 1.933 2h6.793A7.976 7.976 0 0 1 6 14Z\"/>\n            </svg>\n            <span class=\"sr-only\">New document</span>\n        </button>\n        <div id=\"tooltip-document\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            New document\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-bookmark\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n                <path d=\"M13 20a1 1 0 0 1-.64-.231L7 15.3l-5.36 4.469A1 1 0 0 1 0 19V2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v17a1 1 0 0 1-1 1Z\"/>\n            </svg>\n            <span class=\"sr-only\">Bookmark</span>\n        </button>\n        <div id=\"tooltip-bookmark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Bookmark\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"flex items-center justify-center col-span-2\">\n            <div class=\"flex items-center justify-between w-full text-gray-600 dark:text-gray-400 bg-gray-100 rounded-lg dark:bg-gray-600 max-w-[128px] mx-2\">\n                <button type=\"button\" class=\"inline-flex items-center justify-center h-8 px-1 w-6 bg-gray-100 rounded-s-lg dark:bg-gray-600 hover:bg-gray-200 dark:hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:focus:ring-gray-800\">\n                    <svg class=\"w-2 h-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Previous page</span>\n                </button>\n                <span class=\"shrink-0 mx-1 text-sm font-medium space-x-0.5 rtl:space-x-reverse\">1 of 345</span>\n                <button type=\"button\" class=\"inline-flex items-center justify-center h-8 px-1 w-6 bg-gray-100 rounded-e-lg dark:bg-gray-600 hover:bg-gray-200 dark:hover:bg-gray-800 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:focus:ring-gray-800\">\n                    <svg class=\"w-2 h-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Next page</span>\n                </button>\n            </div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-profile\" type=\"button\" class=\"inline-flex flex-col items-center justify-center px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n            </svg>\n            <span class=\"sr-only\">Profile</span>\n        </button>\n        <div id=\"tooltip-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Profile\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Button group bottom bar\n\n{{< example id=\"button-group-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 z-50 w-full -translate-x-1/2 bg-white border-t border-gray-200 left-1/2 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"w-full\">\n        <div class=\"grid max-w-xs grid-cols-3 gap-1 p-1 mx-auto my-2 bg-gray-100 rounded-lg dark:bg-gray-600\" role=\"group\">\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700 rounded-lg\">\n                New\n            </button>\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-white bg-gray-900 dark:bg-gray-300 dark:text-gray-900 rounded-lg\">\n                Popular\n            </button>\n            <button type=\"button\" class=\"px-5 py-1.5 text-xs font-medium text-gray-900 hover:bg-gray-200 dark:text-white dark:hover:bg-gray-700 rounded-lg\">\n                Following\n            </button>\n        </div>\n    </div>\n    <div class=\"grid h-full max-w-lg grid-cols-5 mx-auto\">\n        <button data-tooltip-target=\"tooltip-home\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n            </svg>\n            <span class=\"sr-only\">Home</span>\n        </button>\n        <div id=\"tooltip-home\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Home\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-bookmark\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n                <path d=\"M13 20a1 1 0 0 1-.64-.231L7 15.3l-5.36 4.469A1 1 0 0 1 0 19V2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v17a1 1 0 0 1-1 1Z\"/>\n            </svg>\n            <span class=\"sr-only\">Bookmark</span>\n        </button>\n        <div id=\"tooltip-bookmark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Bookmark\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-post\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n            <span class=\"sr-only\">New post</span>\n        </button>\n        <div id=\"tooltip-post\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            New post\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-search\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n            </svg>\n            <span class=\"sr-only\">Search</span>\n        </button>\n        <div id=\"tooltip-search\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Search\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"inline-flex flex-col items-center justify-center p-4 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n            <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"sr-only\">Settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Card with bottom bar\n\nThis example can be used to position a bottom navigation bar inside of a card element with scroll enabled on the Y axis to allow changing the content inside of the card, enable certain actions or show a list of menu items.\n\nYou can even use the other bottom navbar examples to exchange the default one presented here.\n\n{{< example id=\"card-bottom-nav-example\" class=\"flex items-center justify-center p-4\" github=\"components/bottom-navigation.md\" show_dark=true >}}\n\n<div class=\"relative w-full max-w-sm overflow-y-scroll bg-white border border-gray-100 rounded-lg dark:bg-gray-700 dark:border-gray-600 h-96\">\n    <ul>\n        <li class=\"border-b border-gray-100 dark:border-gray-600\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos Avatar\">\n                <div>\n                    <p class=\"text-sm text-gray-500 dark:text-gray-400\">New message from <span class=\"font-medium text-gray-900 dark:text-white\">Jese Leos</span>: \"Hey, what's up? All set for the presentation?\"</p>\n                    <span class=\"text-xs text-blue-600 dark:text-blue-500\">a few moments ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-gray-100 dark:border-gray-600\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph McFall Avatar\">\n                <div>\n                    <p class=\"text-sm text-gray-500 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Joseph McFall</span> and <span class=\"font-medium text-gray-900 dark:text-white\">5 others</span> started following you.</p>\n                    <span class=\"text-xs text-blue-600 dark:text-blue-500\">10 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-gray-100 dark:border-gray-600\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green Avatar\">\n                <div>\n                    <p class=\"text-sm text-gray-500 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green</span> and <span class=\"font-medium text-gray-900 dark:text-white\">141 others</span> love your story. See it and view more stories.</p>\n                    <span class=\"text-xs text-blue-600 dark:text-blue-500\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li class=\"border-b border-gray-100 dark:border-gray-600\">\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie Livingston Avatar\">\n                <div>\n                    <p class=\"text-sm text-gray-500 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Leslie Livingston</span> mentioned you in a comment: <span class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">@bonnie.green</span> what do you say?</p>\n                    <span class=\"text-xs text-blue-600 dark:text-blue-500\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"flex items-center justify-center w-full px-4 py-3 hover:bg-gray-50 dark:hover:bg-gray-800\">\n                <img class=\"me-3 rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Robert Brown Avatar\">\n                <div>\n                    <p class=\"text-sm text-gray-500 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Robert Brown</span> posted a new video: Glassmorphism - learn how to implement the new design trend. </p>\n                    <span class=\"text-xs text-blue-600 dark:text-blue-500\">23 minutes ago</span>\n                </div>\n            </a>\n        </li>\n    </ul>\n    <div class=\"sticky bottom-0 left-0 z-50 w-full h-16 bg-white border-t border-gray-200 dark:bg-gray-700 dark:border-gray-600\">\n        <div class=\"grid h-full max-w-lg grid-cols-3 mx-auto\">\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n                <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.982 13.982a1 1 0 0 1-1.414 0l-3.274-3.274A1.012 1.012 0 0 1 9 10V6a1 1 0 0 1 2 0v3.586l2.982 2.982a1 1 0 0 1 0 1.414Z\"/>\n                </svg>\n                <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Latest</span>\n            </button>\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n                <svg class=\"w-5 h-5 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 19\">\n                    <path d=\"M14.5 0A3.987 3.987 0 0 0 11 2.1a4.977 4.977 0 0 1 3.9 5.858A3.989 3.989 0 0 0 14.5 0ZM9 13h2a4 4 0 0 1 4 4v2H5v-2a4 4 0 0 1 4-4Z\"/>\n                    <path d=\"M5 19h10v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2ZM5 7a5.008 5.008 0 0 1 4-4.9 3.988 3.988 0 1 0-3.9 5.859A4.974 4.974 0 0 1 5 7Zm5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm5-1h-.424a5.016 5.016 0 0 1-1.942 2.232A6.007 6.007 0 0 1 17 17h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.424 9H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2a6.007 6.007 0 0 1 4.366-5.768A5.016 5.016 0 0 1 5.424 9Z\"/>\n                </svg>\n                <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Following</span>\n            </button>\n            <button type=\"button\" class=\"inline-flex flex-col items-center justify-center font-medium px-5 hover:bg-gray-50 dark:hover:bg-gray-800 group\">\n                <svg class=\"w-6 h-6 mb-1 text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n                <span class=\"text-sm text-gray-500 dark:text-gray-400 group-hover:text-blue-600 dark:group-hover:text-blue-500\">Favorites</span>\n            </button>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Online meeting control bar\n\nUse this component to show a list of options for online video meetings by showing a list of options such as muting the microphone, hiding the camera, adjusting the volume and more.\n\n{{< example id=\"video-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true disable_init_js=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 grid w-full h-16 grid-cols-1 px-8 bg-white border-t border-gray-200 md:grid-cols-3 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"items-center justify-center hidden text-gray-500 dark:text-gray-400 me-auto md:flex\">\n        <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.982 13.982a1 1 0 0 1-1.414 0l-3.274-3.274A1.012 1.012 0 0 1 9 10V6a1 1 0 0 1 2 0v3.586l2.982 2.982a1 1 0 0 1 0 1.414Z\"/>\n        </svg>\n        <span class=\"text-sm\">12:43 PM</span>\n    </div>\n    <div class=\"flex items-center justify-center mx-auto\">\n        <button data-tooltip-target=\"tooltip-microphone\" type=\"button\" class=\"p-2.5 group bg-gray-100 rounded-full hover:bg-gray-200 me-4 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:bg-gray-600 dark:hover:bg-gray-800\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 19\">\n                <path d=\"M15 5a1 1 0 0 0-1 1v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a1 1 0 0 0-2 0v3a6.006 6.006 0 0 0 6 6h1v2H5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9v-2h1a6.006 6.006 0 0 0 6-6V6a1 1 0 0 0-1-1Z\"/>\n                <path d=\"M9 0H7a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3Z\"/>\n            </svg>\n            <span class=\"sr-only\">Mute microphone</span>\n        </button>\n        <div id=\"tooltip-microphone\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Mute microphone\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-camera\" type=\"button\" class=\"p-2.5 bg-gray-100 group rounded-full hover:bg-gray-200 me-4 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:bg-gray-600 dark:hover:bg-gray-800\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n                <path d=\"M11 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm8.585 1.189a.994.994 0 0 0-.9-.138l-2.965.983a1 1 0 0 0-.685.949v8a1 1 0 0 0 .675.946l2.965 1.02a1.013 1.013 0 0 0 1.032-.242A1 1 0 0 0 20 12V2a1 1 0 0 0-.415-.811Z\"/>\n            </svg>\n            <span class=\"sr-only\">Hide camera</span>\n        </button>\n        <div id=\"tooltip-camera\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Hide camera\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-feedback\" type=\"button\" class=\"p-2.5 bg-gray-100 group rounded-full hover:bg-gray-200 me-4 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:bg-gray-600 dark:hover:bg-gray-800\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share feedback</span>\n        </button>\n        <div id=\"tooltip-feedback\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share feedback\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-settings\" type=\"button\" class=\"p-2.5 bg-gray-100 group rounded-full me-4 md:me-0 hover:bg-gray-200 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:bg-gray-600 dark:hover:bg-gray-800\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n            <span class=\"sr-only\">Video settings</span>\n        </button>\n        <div id=\"tooltip-settings\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Video settings\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"moreOptionsDropdownButton\" data-dropdown-toggle=\"moreOptionsDropdown\" type=\"button\" class=\"p-2.5 bg-gray-100 md:hidden group rounded-full hover:bg-gray-200 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 dark:bg-gray-600 dark:hover:bg-gray-800\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n                <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n            </svg>\n            <span class=\"sr-only\">Show options</span>\n        </button>\n        <div id=\"moreOptionsDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"moreOptionsDropdownButton\">\n                <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Show participants</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Adjust volume</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Show information</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div class=\"items-center justify-center hidden ms-auto md:flex\">\n        <button data-tooltip-target=\"tooltip-participants\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n            </svg>\n            <span class=\"sr-only\">Show participants</span>\n        </button>\n        <div id=\"tooltip-participants\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Show participants\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-volume\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                <path d=\"M10.836.357a1.978 1.978 0 0 0-2.138.3L3.63 5H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h1.63l5.07 4.344a1.985 1.985 0 0 0 2.142.299A1.98 1.98 0 0 0 12 15.826V2.174A1.98 1.98 0 0 0 10.836.357Zm2.728 4.695a1.001 1.001 0 0 0-.29 1.385 4.887 4.887 0 0 1 0 5.126 1 1 0 0 0 1.674 1.095A6.645 6.645 0 0 0 16 9a6.65 6.65 0 0 0-1.052-3.658 1 1 0 0 0-1.384-.29Zm4.441-2.904a1 1 0 0 0-1.664 1.11A10.429 10.429 0 0 1 18 9a10.465 10.465 0 0 1-1.614 5.675 1 1 0 1 0 1.674 1.095A12.325 12.325 0 0 0 20 9a12.457 12.457 0 0 0-1.995-6.852Z\"/>\n            </svg>\n            <span class=\"sr-only\">Adjust volume</span>\n        </button>\n        <div id=\"tooltip-volume\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Adjust volume\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-information\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Show information</span>\n        </button>\n        <div id=\"tooltip-information\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Show information\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Video player bar\n\nUse this component to show control buttons for a video or audio that is playing in the browser to control the volume, navigate between videos, pause or start the video, and more.\n\n{{< example id=\"audio-bottom-nav-example\" class=\"p-0\" github=\"components/bottom-navigation.md\" iframeHeight=\"480\" iframeMaxHeight=\"480\" disable_init_js=true skeletonPlaceholders=true show_dark=true >}}\n\n<div class=\"fixed bottom-0 left-0 z-50 grid w-full h-24 grid-cols-1 px-8 bg-white border-t border-gray-200 md:grid-cols-3 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"items-center justify-center hidden me-auto md:flex\">\n        <img class=\"h-8 me-3 rounded-sm\" src=\"/docs/images/misc/flowbite-yt-screenshot.png\" alt=\"Video preview\">\n        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Flowbite Crash Course</span>\n    </div>\n    <div class=\"flex items-center w-full\">\n        <div class=\"w-full\">\n            <div class=\"flex items-center justify-center mx-auto mb-1\">\n                <button data-tooltip-target=\"tooltip-shuffle\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n                    <svg class=\" w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11.484 6.166 13 4h6m0 0-3-3m3 3-3 3M1 14h5l1.577-2.253M1 4h5l7 10h6m0 0-3 3m3-3-3-3\"/>\n                    </svg>\n                    <span class=\"sr-only\">Shuffle video</span>\n                </button>\n                <div id=\"tooltip-shuffle\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Shuffle video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-previous\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n                    <svg class=\"rtl:rotate-180 w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n                        <path d=\"M10.819.4a1.974 1.974 0 0 0-2.147.33l-6.5 5.773A2.014 2.014 0 0 0 2 6.7V1a1 1 0 0 0-2 0v14a1 1 0 1 0 2 0V9.3c.055.068.114.133.177.194l6.5 5.773a1.982 1.982 0 0 0 2.147.33A1.977 1.977 0 0 0 12 13.773V2.227A1.977 1.977 0 0 0 10.819.4Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Previous video</span>\n                </button>\n                <div id=\"tooltip-previous\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Previous video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-pause\" type=\"button\" class=\"inline-flex items-center justify-center p-2.5 mx-2 font-medium bg-blue-600 rounded-full hover:bg-blue-700 group focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n                    <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n                        <path fill-rule=\"evenodd\" d=\"M0 .8C0 .358.32 0 .714 0h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 0 15.2V.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H7.857c-.394 0-.714-.358-.714-.8V.8Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                    <span class=\"sr-only\">Pause video</span>\n                </button>\n                <div id=\"tooltip-pause\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Pause video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-next\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n                    <svg class=\"rtl:rotate-180 w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n                        <path d=\"M11 0a1 1 0 0 0-1 1v5.7a2.028 2.028 0 0 0-.177-.194L3.33.732A2 2 0 0 0 0 2.227v11.546A1.977 1.977 0 0 0 1.181 15.6a1.982 1.982 0 0 0 2.147-.33l6.5-5.773A1.88 1.88 0 0 0 10 9.3V15a1 1 0 1 0 2 0V1a1 1 0 0 0-1-1Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Next video</span>\n                </button>\n                <div id=\"tooltip-next\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Next video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button data-tooltip-target=\"tooltip-restart\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 1v5h-5M2 19v-5h5m10-4a8 8 0 0 1-14.947 3.97M1 10a8 8 0 0 1 14.947-3.97\"/>\n                    </svg>\n                    <span class=\"sr-only\">Restart video</span>\n                </button>\n                <div id=\"tooltip-restart\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Restart video\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <div class=\"flex items-center justify-between space-x-2 rtl:space-x-reverse\">\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">3:45</span>\n                <div class=\"w-full bg-gray-200 rounded-full h-1.5 dark:bg-gray-800\">\n                    <div class=\"bg-blue-600 h-1.5 rounded-full\" style=\"width: 65%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">5:00</span>\n            </div>\n        </div>\n    </div>\n    <div class=\"items-center justify-center hidden ms-auto md:flex\">\n        <button data-tooltip-target=\"tooltip-playlist\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 16\">\n                <path d=\"M14.316.051A1 1 0 0 0 13 1v8.473A4.49 4.49 0 0 0 11 9c-2.206 0-4 1.525-4 3.4s1.794 3.4 4 3.4 4-1.526 4-3.4a2.945 2.945 0 0 0-.067-.566c.041-.107.064-.22.067-.334V2.763A2.974 2.974 0 0 1 16 5a1 1 0 0 0 2 0C18 1.322 14.467.1 14.316.051ZM10 3H1a1 1 0 0 1 0-2h9a1 1 0 1 1 0 2Z\"/>\n                <path d=\"M10 7H1a1 1 0 0 1 0-2h9a1 1 0 1 1 0 2Zm-5 4H1a1 1 0 0 1 0-2h4a1 1 0 1 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">View playlist</span>\n        </button>\n        <div id=\"tooltip-playlist\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            View playlist\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-captions\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n                <path d=\"M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM7.648 9.636c.25 0 .498-.064.717-.186a1 1 0 1 1 .979 1.745 3.475 3.475 0 1 1 .185-5.955 1 1 0 1 1-1.082 1.681 1.475 1.475 0 1 0-.799 2.715Zm6.186 0c.252 0 .5-.063.72-.187a1 1 0 1 1 .974 1.746 3.475 3.475 0 1 1 .188-5.955 1 1 0 0 1-1.084 1.681 1.475 1.475 0 1 0-.8 2.715h.002Z\"/>\n            </svg>\n            <span class=\"sr-only\">Captions</span>\n        </button>\n        <div id=\"tooltip-captions\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle captions\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-expand\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 me-1 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M18 .989a1.016 1.016 0 0 0-.056-.277c-.011-.034-.009-.073-.023-.1a.786.786 0 0 0-.066-.1.979.979 0 0 0-.156-.224l-.007-.01a.873.873 0 0 0-.116-.073.985.985 0 0 0-.2-.128.959.959 0 0 0-.231-.047A.925.925 0 0 0 17 0h-4a1 1 0 1 0 0 2h1.664l-3.388 3.552a1 1 0 0 0 1.448 1.381L16 3.5V5a1 1 0 0 0 2 0V.989ZM17 12a1 1 0 0 0-1 1v1.586l-3.293-3.293a1 1 0 0 0-1.414 1.414L14.586 16H13a1 1 0 0 0 0 2h4a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1ZM3.414 2H5a1 1 0 0 0 0-2H1a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V3.414l3.536 3.535A1 1 0 0 0 6.95 5.535L3.414 2Zm2.139 9.276L2 14.665V13a1 1 0 1 0-2 0v4c.006.046.015.09.027.135.006.08.022.16.048.235a.954.954 0 0 0 .128.2.95.95 0 0 0 .073.117l.01.007A.983.983 0 0 0 1 18h4a1 1 0 0 0 0-2H3.5l3.436-3.276a1 1 0 0 0-1.38-1.448h-.003Z\"/>\n            </svg>\n            <span class=\"sr-only\">Expand</span>\n        </button>\n        <div id=\"tooltip-expand\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Full screen\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-tooltip-target=\"tooltip-volume\" type=\"button\" class=\"p-2.5 group rounded-full hover:bg-gray-100 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                <path d=\"M10.836.357a1.978 1.978 0 0 0-2.138.3L3.63 5H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h1.63l5.07 4.344a1.985 1.985 0 0 0 2.142.299A1.98 1.98 0 0 0 12 15.826V2.174A1.98 1.98 0 0 0 10.836.357Zm2.728 4.695a1.001 1.001 0 0 0-.29 1.385 4.887 4.887 0 0 1 0 5.126 1 1 0 0 0 1.674 1.095A6.645 6.645 0 0 0 16 9a6.65 6.65 0 0 0-1.052-3.658 1 1 0 0 0-1.384-.29Zm4.441-2.904a1 1 0 0 0-1.664 1.11A10.429 10.429 0 0 1 18 9a10.465 10.465 0 0 1-1.614 5.675 1 1 0 1 0 1.674 1.095A12.325 12.325 0 0 0 20 9a12.457 12.457 0 0 0-1.995-6.852Z\"/>\n            </svg>\n            <span class=\"sr-only\">Adjust volume</span>\n        </button>\n        <div id=\"tooltip-volume\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Adjust volume\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n#### Breadcrumb\n\nThe breadcrumb component is an important part of any website or application that can be used to show the current location of a page in a hierarchical structure of pages.\n\nFlowbite includes two styles of breadcrumb elements, one that has a transparent background and a few more that come with a background in different colors.\n\n##### Default breadcrumb\n\nUse the following breadcrumb example to show the hierarchical structure of pages.\n\n{{< example id=\"default-breadcrumb-example\" class=\"flex justify-center\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<nav class=\"flex\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-gray-600 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n        </svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center\">\n        <svg class=\"rtl:rotate-180 w-3 h-3 text-gray-400 mx-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <a href=\"#\" class=\"ms-1 text-sm font-medium text-gray-600 hover:text-blue-600 md:ms-2 dark:text-gray-400 dark:hover:text-white\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <svg class=\"rtl:rotate-180 w-3 h-3 text-gray-400 mx-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <span class=\"ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n##### Solid background\n\nYou can alternatively also use the breadcrumb components with a solid background.\n\n{{< example id=\"breadcrumb-background-example\" class=\"flex justify-center\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"flex px-5 py-3 text-gray-600 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-2 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-gray-600 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n        </svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center\">\n        <svg class=\"rtl:rotate-180 block w-3 h-3 mx-1 text-gray-400 \" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <a href=\"#\" class=\"ms-1 text-sm font-medium text-gray-600 hover:text-blue-600 md:ms-2 dark:text-gray-400 dark:hover:text-white\">Templates</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <svg class=\"rtl:rotate-180  w-3 h-3 mx-1 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <span class=\"ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n##### Header breadcrumb\n\nUse this example to show a list of items such as the branches from GitHub and a dropdown component.\n\n{{< example id=\"header-breadcrumb-example\" class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"justify-between px-4 py-3 text-gray-600 border border-gray-200 rounded-lg sm:flex sm:px-5 bg-gray-50 dark:bg-gray-800 dark:border-gray-700\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center mb-3 space-x-1 md:space-x-2 rtl:space-x-reverse sm:mb-0\">\n    <li>\n      <div class=\"flex items-center\">\n        <a href=\"#\" class=\"ms-1 text-sm font-medium text-gray-600 hover:text-blue-600 md:ms-2 dark:text-gray-400 dark:hover:text-white\">flowbite.com</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <svg class=\"rtl:rotate-180 w-3 h-3 mx-1 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <a href=\"#\" class=\"ms-1 text-sm font-medium text-gray-600 hover:text-blue-600 md:ms-2 dark:text-gray-400 dark:hover:text-white\">develop</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center \">\n        <svg class=\"rtl:rotate-180 w-3 h-3 mx-1 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <span class=\"mx-1 text-sm font-medium text-gray-500 md:mx-2 dark:text-gray-400\">Issue #312</span><span class=\"bg-blue-100 text-blue-800 text-xs font-semibold me-2 px-2 py-0.5 rounded-sm dark:bg-blue-200 dark:text-blue-800 hidden sm:flex\">docs</span>\n      </div>\n    </li>\n  </ol>\n  <div>\n    <button id=\"dropdownDefault\" data-dropdown-toggle=\"dropdown\" class=\"inline-flex items-center px-3 py-2 text-sm font-normal text-center text-gray-600 bg-gray-200 rounded-lg hover:bg-gray-300 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:text-gray-300 dark:focus:ring-gray-700\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5v10M3 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm9-10v.4A3.6 3.6 0 0 1 8.4 9H6.61A3.6 3.6 0 0 0 3 12.605M14.458 3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/>\n  </svg>Fix #6597<svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n    <div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefault\">\n        <li>\n          <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">New branch</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Rename</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n        </li>\n      </ul>\n    </div>  \n  </div>\n</nav>\n{{< /example >}}\n\n##### Breadcrumb with dropdown\n\nUse this example to show dropdown components inside the breadcrumbs.\n\n{{< example id=\"breadcrumb-dropdown-example\" class=\"flex justify-center pb-48\" github=\"components/breadcrumb.md\" show_dark=true >}}\n\n<!-- Breadcrumb -->\n<nav class=\"flex justify-between\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center mb-3 sm:mb-0\">\n    <li>\n      <div class=\"flex items-center\">\n        <button id=\"dropdownProject\" data-dropdown-toggle=\"dropdown-project\" class=\"inline-flex items-center px-3 py-2 text-sm font-normal text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-900 dark:hover:bg-gray-800 dark:text-white dark:focus:ring-gray-700\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5v10M3 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm9-10v.4A3.6 3.6 0 0 1 8.4 9H6.61A3.6 3.6 0 0 0 3 12.605M14.458 3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/>\n  </svg>flowbite.com<svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n        <div id=\"dropdown-project\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefault\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">themesberg.com</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">ui.glass</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">iconscale</a>\n            </li>\n          </ul>\n        </div> \n      </div>\n    </li>\n    <span class=\"mx-2 text-gray-400\">/</span>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <button id=\"dropdownDatabase\" data-dropdown-toggle=\"dropdown-database\" class=\"inline-flex items-center px-3 py-2 text-sm font-normal text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-900 dark:hover:bg-gray-800 dark:text-white dark:focus:ring-gray-700\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n    <path d=\"M8 5.625c4.418 0 8-1.063 8-2.375S12.418.875 8 .875 0 1.938 0 3.25s3.582 2.375 8 2.375Zm0 13.5c4.963 0 8-1.538 8-2.375v-4.019c-.052.029-.112.054-.165.082a8.08 8.08 0 0 1-.745.353c-.193.081-.394.158-.6.231l-.189.067c-2.04.628-4.165.936-6.3.911a20.601 20.601 0 0 1-6.3-.911l-.189-.067a10.719 10.719 0 0 1-.852-.34 8.08 8.08 0 0 1-.493-.244c-.053-.028-.113-.053-.165-.082v4.019C0 17.587 3.037 19.125 8 19.125Zm7.09-12.709c-.193.081-.394.158-.6.231l-.189.067a20.6 20.6 0 0 1-6.3.911 20.6 20.6 0 0 1-6.3-.911l-.189-.067a10.719 10.719 0 0 1-.852-.34 8.08 8.08 0 0 1-.493-.244C.112 6.035.052 6.01 0 5.981V10c0 .837 3.037 2.375 8 2.375s8-1.538 8-2.375V5.981c-.052.029-.112.054-.165.082a8.08 8.08 0 0 1-.745.353Z\"/>\n  </svg>databaseName<svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n        <div id=\"dropdown-database\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefault\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">databaseProd</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">databaseStaging</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">flowbiteProd</a>\n            </li>\n          </ul>\n        </div>\n      </div>\n    </li>\n  </ol>\n</nav>\n{{< /example >}}\n\n#### Buttons\n\nThe button component is probably the most widely used element in any user interface or website as it can be used to launch an action but also to link to other pages.\n\nFlowbite provides a large variety of styles and sizes for the button component including outlined buttons, multiple colors, sizes, buttons with icons, and more.\n\n##### Default button\n\nUse these default button styles with multiple colors to indicate an action or link within your website.\n\n{{< example id=\"default-button-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Default</button>\n<button type=\"button\" class=\"py-2.5 px-5 me-2 mb-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Alternative</button>\n<button type=\"button\" class=\"text-white bg-gray-800 hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700\">Dark</button>\n<button type=\"button\" class=\"text-gray-900 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\">Light</button>\n<button type=\"button\" class=\"focus:outline-none text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800\">Green</button>\n<button type=\"button\" class=\"focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900\">Red</button>\n<button type=\"button\" class=\"focus:outline-none text-white bg-yellow-400 hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:focus:ring-yellow-900\">Yellow</button>\n<button type=\"button\" class=\"focus:outline-none text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900\">Purple</button>\n{{< /example >}}\n\n##### Button pills\n\nThe button pills can be used as an alternative style by using fully rounded edges.\n\n{{< example id=\"button-pills-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default</button>\n<button type=\"button\" class=\"py-2.5 px-5 me-2 mb-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-full border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Alternative</button>\n<button type=\"button\" class=\"text-white bg-gray-800 hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 font-medium rounded-full text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700\">Dark</button>\n<button type=\"button\" class=\"text-gray-900 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-full text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\">Light</button>\n<button type=\"button\" class=\"text-white bg-green-700 hover:bg-green-800 focus:outline-none focus:ring-4 focus:ring-green-300 font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mb-2 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800\">Green</button>\n<button type=\"button\" class=\"text-white bg-red-700 hover:bg-red-800 focus:outline-none focus:ring-4 focus:ring-red-300 font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mb-2 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900\">Red</button>\n<button type=\"button\" class=\"text-white bg-yellow-400 hover:bg-yellow-500 focus:outline-none focus:ring-4 focus:ring-yellow-300 font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mb-2 dark:focus:ring-yellow-900\">Yellow</button>\n<button type=\"button\" class=\"text-white bg-purple-700 hover:bg-purple-800 focus:outline-none focus:ring-4 focus:ring-purple-300 font-medium rounded-full text-sm px-5 py-2.5 text-center mb-2 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900\">Purple</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Gradient monochrome\n\nThese beautifully colored buttons built with the gradient color stops utility classes from Tailwind CSS can be used as a creative alternative to the default button styles.\n\n{{< example id=\"button-monochrome-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-green-300 dark:focus:ring-green-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Green</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Cyan</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Teal</button>\n<button type=\"button\" class=\"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-lime-300 dark:focus:ring-lime-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Lime</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Red</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-pink-300 dark:focus:ring-pink-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-purple-300 dark:focus:ring-purple-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Purple</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Gradient duotone\n\nThese buttons use a style that includes two contrasted colors creating an impressive mesh gradient effect.\n\n{{< example id=\"button-duotone-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Purple to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Cyan to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-green-200 dark:focus:ring-green-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Green to Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-purple-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Purple to Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-br from-pink-500 to-orange-400 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-pink-200 dark:focus:ring-pink-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Pink to Orange</button>\n<button type=\"button\" class=\"text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 hover:bg-gradient-to-l hover:from-teal-200 hover:to-lime-200 focus:ring-4 focus:outline-none focus:ring-lime-200 dark:focus:ring-teal-700 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Teal to Lime</button>\n<button type=\"button\" class=\"text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-red-100 dark:focus:ring-red-400 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Red to Yellow</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Gradient outline\n\nThis is a special button style that incorporates a gradient color for the outline that can be used as a secondary style to the fully colored gradient buttons.\n\n{{< example id=\"button-gradient-outline-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-purple-600 to-blue-500 group-hover:from-purple-600 group-hover:to-blue-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nPurple to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-cyan-500 to-blue-500 group-hover:from-cyan-500 group-hover:to-blue-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-cyan-200 dark:focus:ring-cyan-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nCyan to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-green-400 to-blue-600 group-hover:from-green-400 group-hover:to-blue-600 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-green-200 dark:focus:ring-green-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nGreen to blue\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-purple-500 to-pink-500 group-hover:from-purple-500 group-hover:to-pink-500 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-purple-200 dark:focus:ring-purple-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nPurple to pink\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-pink-500 to-orange-400 group-hover:from-pink-500 group-hover:to-orange-400 hover:text-white dark:text-white focus:ring-4 focus:outline-none focus:ring-pink-200 dark:focus:ring-pink-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nPink to orange\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-teal-300 to-lime-300 group-hover:from-teal-300 group-hover:to-lime-300 dark:text-white dark:hover:text-gray-900 focus:ring-4 focus:outline-none focus:ring-lime-200 dark:focus:ring-lime-800\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nTeal to Lime\n</span>\n</button>\n<button class=\"relative inline-flex items-center justify-center p-0.5 mb-2 me-2 overflow-hidden text-sm font-medium text-gray-900 rounded-lg group bg-gradient-to-br from-red-200 via-red-300 to-yellow-200 group-hover:from-red-200 group-hover:via-red-300 group-hover:to-yellow-200 dark:text-white dark:hover:text-gray-900 focus:ring-4 focus:outline-none focus:ring-red-100 dark:focus:ring-red-400\">\n<span class=\"relative px-5 py-2.5 transition-all ease-in duration-75 bg-white dark:bg-gray-900 rounded-md group-hover:bg-transparent group-hover:dark:bg-transparent\">\nRed to Yellow\n</span>\n</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Colored shadows\n\nThese beautiful button elements with color shadows can be used since the release of Tailwind v3.0.\n\n{{< example id=\"button-colored-shadows-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800 shadow-lg shadow-blue-500/50 dark:shadow-lg dark:shadow-blue-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 \">Blue</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-green-300 dark:focus:ring-green-800 shadow-lg shadow-green-500/50 dark:shadow-lg dark:shadow-green-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Green</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 shadow-lg shadow-cyan-500/50 dark:shadow-lg dark:shadow-cyan-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Cyan</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-teal-300 dark:focus:ring-teal-800 shadow-lg shadow-teal-500/50 dark:shadow-lg dark:shadow-teal-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Teal</button>\n<button type=\"button\" class=\"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-lime-300 dark:focus:ring-lime-800 shadow-lg shadow-lime-500/50 dark:shadow-lg dark:shadow-lime-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Lime</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 shadow-lg shadow-red-500/50 dark:shadow-lg dark:shadow-red-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Red</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-pink-300 dark:focus:ring-pink-800 shadow-lg shadow-pink-500/50 dark:shadow-lg dark:shadow-pink-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Pink</button>\n<button type=\"button\" class=\"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:outline-none focus:ring-purple-300 dark:focus:ring-purple-800 shadow-lg shadow-purple-500/50 dark:shadow-lg dark:shadow-purple-800/80 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2\">Purple</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Social buttons\n\nUse these button styles when building social media login forms using Facebook, Twitter, GitHub, Google, and Apple. These buttons use the new `bg-[#hex]` utility classes from Tailwind CSS v3.0.\n\n{{< example id=\"button-social-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-[#3b5998] hover:bg-[#3b5998]/90 focus:ring-4 focus:outline-none focus:ring-[#3b5998]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#3b5998]/55 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 8 19\">\n<path fill-rule=\"evenodd\" d=\"M6.135 3H8V0H6.135a4.147 4.147 0 0 0-4.142 4.142V6H0v3h2v9.938h3V9h2.021l.592-3H5V3.591A.6.6 0 0 1 5.592 3h.543Z\" clip-rule=\"evenodd\"/>\n</svg>\nSign in with Facebook\n</button>\n<button type=\"button\" class=\"text-white bg-[#1da1f2] hover:bg-[#1da1f2]/90 focus:ring-4 focus:outline-none focus:ring-[#1da1f2]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#1da1f2]/55 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 17\">\n<path fill-rule=\"evenodd\" d=\"M20 1.892a8.178 8.178 0 0 1-2.355.635 4.074 4.074 0 0 0 1.8-2.235 8.344 8.344 0 0 1-2.605.98A4.13 4.13 0 0 0 13.85 0a4.068 4.068 0 0 0-4.1 4.038 4 4 0 0 0 .105.919A11.705 11.705 0 0 1 1.4.734a4.006 4.006 0 0 0 1.268 5.392 4.165 4.165 0 0 1-1.859-.5v.05A4.057 4.057 0 0 0 4.1 9.635a4.19 4.19 0 0 1-1.856.07 4.108 4.108 0 0 0 3.831 2.807A8.36 8.36 0 0 1 0 14.184 11.732 11.732 0 0 0 6.291 16 11.502 11.502 0 0 0 17.964 4.5c0-.177 0-.35-.012-.523A8.143 8.143 0 0 0 20 1.892Z\" clip-rule=\"evenodd\"/>\n</svg>\nSign in with Twitter\n</button>\n<button type=\"button\" class=\"text-white bg-[#24292F] hover:bg-[#24292F]/90 focus:ring-4 focus:outline-none focus:ring-[#24292F]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-500 dark:hover:bg-[#050708]/30 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path fill-rule=\"evenodd\" d=\"M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z\" clip-rule=\"evenodd\"/>\n</svg>\nSign in with Github\n</button>\n<button type=\"button\" class=\"text-white bg-[#4285F4] hover:bg-[#4285F4]/90 focus:ring-4 focus:outline-none focus:ring-[#4285F4]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#4285F4]/55 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 19\">\n<path fill-rule=\"evenodd\" d=\"M8.842 18.083a8.8 8.8 0 0 1-8.65-8.948 8.841 8.841 0 0 1 8.8-8.652h.153a8.464 8.464 0 0 1 5.7 2.257l-2.193 2.038A5.27 5.27 0 0 0 9.09 3.4a5.882 5.882 0 0 0-.2 11.76h.124a5.091 5.091 0 0 0 5.248-4.057L14.3 11H9V8h8.34c.066.543.095 1.09.088 1.636-.086 5.053-3.463 8.449-8.4 8.449l-.186-.002Z\" clip-rule=\"evenodd\"/>\n</svg>\nSign in with Google\n</button>\n<button type=\"button\" class=\"text-white bg-[#050708] hover:bg-[#050708]/90 focus:ring-4 focus:outline-none focus:ring-[#050708]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#050708]/50 dark:hover:bg-[#050708]/30 me-2 mb-2\">\n<svg class=\"w-5 h-5 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"apple\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\"></path></svg>\nSign in with Apple\n</button>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Payment buttons\n\nUse these payment buttons for your product checkout or NFT minting landing page including MetaMask, Opera, Bitcoin, Ethereum, Paypal, Visa, Mastercard, and American Express.\n\n{{< example id=\"button-payment-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 me-2 mb-2\">\n<svg aria-hidden=\"true\" class=\"w-6 h-5 me-2 -ms-1\" viewBox=\"0 0 2405 2501\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <g clip-path=\"url(#clip0_1512_1323)\"> <path d=\"M2278.79 1730.86L2133.62 2221.69L1848.64 2143.76L2278.79 1730.86Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1848.64 2143.76L2123.51 1767.15L2278.79 1730.86L1848.64 2143.76Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M2065.2 1360.79L2278.79 1730.86L2123.51 1767.15L2065.2 1360.79ZM2065.2 1360.79L2202.64 1265.6L2278.79 1730.86L2065.2 1360.79Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1890.29 1081.17L2285.34 919.338L2265.7 1007.99L1890.29 1081.17ZM2253.21 1114.48L1890.29 1081.17L2265.7 1007.99L2253.21 1114.48Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2253.21 1114.48L2202.64 1265.6L1890.29 1081.17L2253.21 1114.48ZM2332.34 956.82L2265.7 1007.99L2285.34 919.338L2332.34 956.82ZM2253.21 1114.48L2265.7 1007.99L2318.65 1052.01L2253.21 1114.48Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1542.24 2024.17L1641 2055.7L1848.64 2143.75L1542.24 2024.17Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M2202.64 1265.6L2253.21 1114.48L2296.64 1147.8L2202.64 1265.6ZM2202.64 1265.6L1792.71 1130.55L1890.29 1081.17L2202.64 1265.6Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L1890.29 1081.17L1792.71 1130.55L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2285.34 919.338L1890.29 1081.17L1987.86 617.696L2285.34 919.338Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L2400.16 570.1L2285.34 919.338L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2202.64 1265.6L2065.2 1360.79L1792.71 1130.55L2202.64 1265.6Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2382.31 236.33L2400.16 570.1L1987.86 617.696L2382.31 236.33Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M2382.31 236.33L1558.3 835.45L1547.59 429.095L2382.31 236.33Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M934.789 380.309L1547.59 429.095L1558.3 835.449L934.789 380.309Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1792.71 1130.55L1558.3 835.449L1987.86 617.696L1792.71 1130.55Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1792.71 1130.55L2065.2 1360.79L1682.65 1403.04L1792.71 1130.55Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1682.65 1403.04L1558.3 835.449L1792.71 1130.55L1682.65 1403.04Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M1987.86 617.696L1558.3 835.45L2382.31 236.33L1987.86 617.696Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M940.144 2134.24L1134.69 2337.11L869.939 2096.16L940.144 2134.24Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1848.64 2143.75L1940.86 1793.33L2123.51 1767.15L1848.64 2143.75Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M151.234 1157.92L487.978 803.917L194.666 1115.67L151.234 1157.92Z\" fill=\"#E2761B\" stroke=\"#E2761B\" stroke-width=\"5.94955\"/> <path d=\"M2123.51 1767.15L1940.86 1793.33L2065.2 1360.79L2123.51 1767.15ZM1558.3 835.449L1230.48 824.74L934.789 380.309L1558.3 835.449Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2065.2 1360.79L1940.86 1793.33L1930.74 1582.12L2065.2 1360.79Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1682.65 1403.04L2065.2 1360.79L1930.74 1582.12L1682.65 1403.04Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1230.48 824.74L1558.3 835.449L1682.65 1403.04L1230.48 824.74Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1230.48 824.74L345.784 6.08252L934.79 380.309L1230.48 824.74ZM934.195 2258.58L165.513 2496.56L12.0146 1910.53L934.195 2258.58Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L555.803 1076.41L799.14 1132.93L265.465 1304.27Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M799.139 1132.93L555.803 1076.41L686.098 538.567L799.139 1132.93Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M194.666 1115.67L555.803 1076.41L265.465 1304.27L194.666 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1930.74 1582.12L1780.81 1506.56L1682.65 1403.04L1930.74 1582.12Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M194.666 1115.67L169.083 980.618L555.803 1076.41L194.666 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1749.88 1676.72L1780.81 1506.56L1930.74 1582.12L1749.88 1676.72Z\" fill=\"#233447\" stroke=\"#233447\" stroke-width=\"5.94955\"/> <path d=\"M1940.86 1793.33L1749.88 1676.72L1930.74 1582.12L1940.86 1793.33Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M555.803 1076.41L169.082 980.618L137.55 866.982L555.803 1076.41ZM686.098 538.567L555.803 1076.41L137.55 866.982L686.098 538.567ZM686.098 538.567L1230.48 824.74L799.139 1132.93L686.098 538.567Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M799.14 1132.93L1230.48 824.74L1422.65 1411.96L799.14 1132.93ZM1422.65 1411.96L826.508 1399.47L799.14 1132.93L1422.65 1411.96Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L799.14 1132.93L826.508 1399.47L265.465 1304.27ZM1682.65 1403.04L1422.65 1411.96L1230.48 824.74L1682.65 1403.04Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1780.81 1506.56L1749.88 1676.72L1682.65 1403.04L1780.81 1506.56Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M345.784 6.08252L1230.48 824.74L686.098 538.567L345.784 6.08252Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M12.0146 1910.53L758.088 1879.59L934.195 2258.58L12.0146 1910.53Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M934.194 2258.58L758.088 1879.59L1124.58 1861.75L934.194 2258.58Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1749.88 1676.72L1940.86 1793.33L2046.16 2041.42L1749.88 1676.72ZM826.508 1399.47L12.0146 1910.53L265.465 1304.27L826.508 1399.47ZM758.088 1879.59L12.0146 1910.53L826.508 1399.47L758.088 1879.59ZM1682.65 1403.04L1731.43 1580.33L1495.83 1594.02L1682.65 1403.04ZM1495.83 1594.02L1422.65 1411.96L1682.65 1403.04L1495.83 1594.02Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1134.69 2337.11L934.194 2258.58L1631.48 2375.79L1134.69 2337.11Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M265.465 1304.27L151.234 1157.91L194.666 1115.67L265.465 1304.27Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1710.61 2288.92L1631.48 2375.79L934.194 2258.58L1710.61 2288.92Z\" fill=\"#D7C1B3\" stroke=\"#D7C1B3\" stroke-width=\"5.94955\"/> <path d=\"M1748.09 2075.93L934.194 2258.58L1124.58 1861.75L1748.09 2075.93Z\" fill=\"#E4761B\" stroke=\"#E4761B\" stroke-width=\"5.94955\"/> <path d=\"M934.194 2258.58L1748.09 2075.93L1710.61 2288.92L934.194 2258.58Z\" fill=\"#D7C1B3\" stroke=\"#D7C1B3\" stroke-width=\"5.94955\"/> <path d=\"M137.55 866.982L110.777 409.462L686.098 538.567L137.55 866.982ZM194.665 1115.67L115.536 1035.35L169.082 980.618L194.665 1115.67Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1289.38 1529.76L1422.65 1411.96L1403.61 1699.92L1289.38 1529.76Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1422.65 1411.96L1289.38 1529.76L1095.43 1630.31L1422.65 1411.96Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M2046.16 2041.42L2009.87 2014.65L1749.88 1676.72L2046.16 2041.42Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1095.43 1630.31L826.508 1399.47L1422.65 1411.96L1095.43 1630.31Z\" fill=\"#CD6116\" stroke=\"#CD6116\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1422.65 1411.96L1495.83 1594.02L1403.61 1699.92Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M89.3589 912.199L137.55 866.982L169.083 980.618L89.3589 912.199Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1095.43 1630.31L1289.38 1529.76L1403.61 1699.92Z\" fill=\"#233447\" stroke=\"#233447\" stroke-width=\"5.94955\"/> <path d=\"M686.098 538.567L110.777 409.462L345.784 6.08252L686.098 538.567Z\" fill=\"#763D16\" stroke=\"#763D16\" stroke-width=\"5.94955\"/> <path d=\"M1631.48 2375.79L1664.2 2465.03L1134.69 2337.12L1631.48 2375.79Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1124.58 1861.75L1095.43 1630.31L1403.61 1699.92L1124.58 1861.75Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M826.508 1399.47L1095.43 1630.31L1124.58 1861.75L826.508 1399.47Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1495.83 1594.02L1731.43 1580.33L2009.87 2014.65L1495.83 1594.02ZM826.508 1399.47L1124.58 1861.75L758.088 1879.59L826.508 1399.47Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1495.83 1594.02L1788.55 2039.64L1403.61 1699.92L1495.83 1594.02Z\" fill=\"#E4751F\" stroke=\"#E4751F\" stroke-width=\"5.94955\"/> <path d=\"M1403.61 1699.92L1788.55 2039.64L1748.09 2075.93L1403.61 1699.92Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M1748.09 2075.93L1124.58 1861.75L1403.61 1699.92L1748.09 2075.93ZM2009.87 2014.65L1788.55 2039.64L1495.83 1594.02L2009.87 2014.65Z\" fill=\"#F6851B\" stroke=\"#F6851B\" stroke-width=\"5.94955\"/> <path d=\"M2068.18 2224.07L1972.99 2415.05L1664.2 2465.03L2068.18 2224.07ZM1664.2 2465.03L1631.48 2375.79L1710.61 2288.92L1664.2 2465.03Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M1710.61 2288.92L1768.92 2265.72L1664.2 2465.03L1710.61 2288.92ZM1664.2 2465.03L1768.92 2265.72L2068.18 2224.07L1664.2 2465.03Z\" fill=\"#C0AD9E\" stroke=\"#C0AD9E\" stroke-width=\"5.94955\"/> <path d=\"M2009.87 2014.65L2083.05 2059.27L1860.54 2086.04L2009.87 2014.65Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1860.54 2086.04L1788.55 2039.64L2009.87 2014.65L1860.54 2086.04ZM1834.96 2121.15L2105.66 2088.42L2068.18 2224.07L1834.96 2121.15Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M2068.18 2224.07L1768.92 2265.72L1834.96 2121.15L2068.18 2224.07ZM1768.92 2265.72L1710.61 2288.92L1748.09 2075.93L1768.92 2265.72ZM1748.09 2075.93L1788.55 2039.64L1860.54 2086.04L1748.09 2075.93ZM2083.05 2059.27L2105.66 2088.42L1834.96 2121.15L2083.05 2059.27Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1834.96 2121.15L1860.54 2086.04L2083.05 2059.27L1834.96 2121.15ZM1748.09 2075.93L1834.96 2121.15L1768.92 2265.72L1748.09 2075.93Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> <path d=\"M1860.54 2086.04L1834.96 2121.15L1748.09 2075.93L1860.54 2086.04Z\" fill=\"#161616\" stroke=\"#161616\" stroke-width=\"5.94955\"/> </g> <defs> <clipPath id=\"clip0_1512_1323\"> <rect width=\"2404\" height=\"2500\" fill=\"white\" transform=\"translate(0.519043 0.132812)\"/> </clipPath> </defs> </svg>\nConnect with MetaMask\n</button>\n<button type=\"button\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 me-2 mb-2\">\n<svg aria-hidden=\"true\" class=\"w-5 h-5 me-2 -ms-1\" viewBox=\"0 0 80 80\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><rect width=\"80\" height=\"80\" fill=\"white\" transform=\"translate(0.519043 0.132812)\"/> <stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\nConnect with Opera Wallet\n</button>\n<button type=\"button\" class=\"text-white bg-[#FF9119] hover:bg-[#FF9119]/80 focus:ring-4 focus:outline-none focus:ring-[#FF9119]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:hover:bg-[#FF9119]/80 dark:focus:ring-[#FF9119]/40 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"bitcoin\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M504 256c0 136.1-111 248-248 248S8 392.1 8 256 119 8 256 8s248 111 248 248zm-141.7-35.33c4.937-32.1-20.19-50.74-54.55-62.57l11.15-44.7-27.21-6.781-10.85 43.52c-7.154-1.783-14.5-3.464-21.8-5.13l10.93-43.81-27.2-6.781-11.15 44.69c-5.922-1.349-11.73-2.682-17.38-4.084l.031-.14-37.53-9.37-7.239 29.06s20.19 4.627 19.76 4.913c11.02 2.751 13.01 10.04 12.68 15.82l-12.7 50.92c.76 .194 1.744 .473 2.829 .907-.907-.225-1.876-.473-2.876-.713l-17.8 71.34c-1.349 3.348-4.767 8.37-12.47 6.464 .271 .395-19.78-4.937-19.78-4.937l-13.51 31.15 35.41 8.827c6.588 1.651 13.05 3.379 19.4 5.006l-11.26 45.21 27.18 6.781 11.15-44.73a1038 1038 0 0 0 21.69 5.627l-11.11 44.52 27.21 6.781 11.26-45.13c46.4 8.781 81.3 5.239 95.99-36.73 11.84-33.79-.589-53.28-25-65.99 17.78-4.098 31.17-15.79 34.75-39.95zm-62.18 87.18c-8.41 33.79-65.31 15.52-83.75 10.94l14.94-59.9c18.45 4.603 77.6 13.72 68.81 48.96zm8.417-87.67c-7.673 30.74-55.03 15.12-70.39 11.29l13.55-54.33c15.36 3.828 64.84 10.97 56.85 43.03z\"></path></svg>\nPay with Bitcoin\n</button>\n<button type=\"button\" class=\"text-gray-900 bg-[#F7BE38] hover:bg-[#F7BE38]/90 focus:ring-4 focus:outline-none focus:ring-[#F7BE38]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#F7BE38]/50 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"paypal\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M111.4 295.9c-3.5 19.2-17.4 108.7-21.5 134-.3 1.8-1 2.5-3 2.5H12.3c-7.6 0-13.1-6.6-12.1-13.9L58.8 46.6c1.5-9.6 10.1-16.9 20-16.9 152.3 0 165.1-3.7 204 11.4 60.1 23.3 65.6 79.5 44 140.3-21.5 62.6-72.5 89.5-140.1 90.3-43.4 .7-69.5-7-75.3 24.2zM357.1 152c-1.8-1.3-2.5-1.8-3 1.3-2 11.4-5.1 22.5-8.8 33.6-39.9 113.8-150.5 103.9-204.5 103.9-6.1 0-10.1 3.3-10.9 9.4-22.6 140.4-27.1 169.7-27.1 169.7-1 7.1 3.5 12.9 10.6 12.9h63.5c8.6 0 15.7-6.3 17.4-14.9 .7-5.4-1.1 6.1 14.4-91.3 4.6-22 14.3-19.7 29.3-19.7 71 0 126.4-28.8 142.9-112.3 6.5-34.8 4.6-71.4-23.8-92.6z\"></path></svg>\nCheck out with PayPal\n</button>\n<button type=\"button\" class=\"text-white bg-[#050708] hover:bg-[#050708]/80 focus:ring-4 focus:outline-none focus:ring-[#050708]/50 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:hover:bg-[#050708]/40 dark:focus:ring-gray-600 me-2 mb-2\">\n<svg class=\"w-5 h-5 me-2 -ms-1\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"apple\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\"></path></svg>\nCheck out with Apple Pay\n</button>\n<button type=\"button\" class=\"text-white bg-[#2557D6] hover:bg-[#2557D6]/90 focus:ring-4 focus:ring-[#2557D6]/50 focus:outline-none font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-[#2557D6]/50 me-2 mb-2\">\n<svg aria-hidden=\"true\" class=\"w-10 h-3 me-2 -ms-1\" viewBox=\"0 0 256 64\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M28.812 0L0 63.76H34.492L38.768 53.594H48.542L52.818 63.76H90.784V56.001L94.167 63.76H113.806L117.189 55.837V63.76H196.148L205.749 53.858L214.739 63.76L255.294 63.842L226.391 32.058L255.294 0H215.368L206.022 9.71899L197.315 0H111.418L104.042 16.457L96.493 0H62.073V7.495L58.244 0C58.244 0 28.812 0 28.812 0ZM35.486 9.05399H52.299L71.41 52.29V9.05399H89.828L104.589 40.054L118.193 9.05399H136.519V54.806H125.368L125.277 18.955L109.02 54.806H99.045L82.697 18.955V54.806H59.757L55.408 44.549H31.912L27.572 54.797H15.281C15.281 54.797 35.486 9.05399 35.486 9.05399ZM146.721 9.05399H192.063L205.931 24.034L220.246 9.05399H234.114L213.043 32.049L234.114 54.779H219.617L205.749 39.625L191.361 54.779H146.721V9.05399ZM43.665 16.795L35.924 35.067H51.397L43.665 16.795ZM157.918 18.527V26.879H182.654V36.188H157.918V45.306H185.663L198.555 31.876L186.21 18.519H157.918V18.527Z\" fill=\"white\"/></svg>\nPay with American Express\n</button>\n<button type=\"button\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-800 dark:bg-white dark:border-gray-700 dark:text-gray-900 dark:hover:bg-gray-200 me-2 mb-2\">\n<svg aria-hidden=\"true\" class=\"w-10 h-3 me-2 -ms-1\" viewBox=\"0 0 660 203\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M233.003 199.762L266.362 4.002H319.72L286.336 199.762H233.003V199.762ZM479.113 8.222C468.544 4.256 451.978 0 431.292 0C378.566 0 341.429 26.551 341.111 64.604C340.814 92.733 367.626 108.426 387.865 117.789C408.636 127.387 415.617 133.505 415.517 142.072C415.384 155.195 398.931 161.187 383.593 161.187C362.238 161.187 350.892 158.22 333.368 150.914L326.49 147.803L319.003 191.625C331.466 197.092 354.511 201.824 378.441 202.07C434.531 202.07 470.943 175.822 471.357 135.185C471.556 112.915 457.341 95.97 426.556 81.997C407.906 72.941 396.484 66.898 396.605 57.728C396.605 49.591 406.273 40.89 427.165 40.89C444.611 40.619 457.253 44.424 467.101 48.39L471.882 50.649L479.113 8.222V8.222ZM616.423 3.99899H575.193C562.421 3.99899 552.861 7.485 547.253 20.233L468.008 199.633H524.039C524.039 199.633 533.198 175.512 535.27 170.215C541.393 170.215 595.825 170.299 603.606 170.299C605.202 177.153 610.098 199.633 610.098 199.633H659.61L616.423 3.993V3.99899ZM551.006 130.409C555.42 119.13 572.266 75.685 572.266 75.685C571.952 76.206 576.647 64.351 579.34 57.001L582.946 73.879C582.946 73.879 593.163 120.608 595.299 130.406H551.006V130.409V130.409ZM187.706 3.99899L135.467 137.499L129.902 110.37C120.176 79.096 89.8774 45.213 56.0044 28.25L103.771 199.45L160.226 199.387L244.23 3.99699L187.706 3.996\" fill=\"#0E4595\"/><path d=\"M86.723 3.99219H0.682003L0 8.06519C66.939 24.2692 111.23 63.4282 129.62 110.485L110.911 20.5252C107.682 8.12918 98.314 4.42918 86.725 3.99718\" fill=\"#F2AE14\"/></svg>\nPay with Visa\n</button>\n<button type=\"button\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700 me-2 mb-2\">\n<svg aria-hidden=\"true\" class=\"h-4 me-2 -ms-1 w-7\" viewBox=\"0 0 601 360\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M359.01 179.504C359.01 278.647 278.639 359.004 179.5 359.004C80.361 359.004 0 278.643 0 179.504C0 80.3709 80.362 0.00390625 179.5 0.00390625C278.637 0.00390625 359.01 80.3749 359.01 179.504Z\" fill=\"#D9222A\"/><path d=\"M420.489 0C374.11 0 331.846 17.596 299.989 46.467C293.499 52.356 287.441 58.704 281.864 65.463H318.131C323.096 71.5 327.667 77.85 331.816 84.475H268.181C264.354 90.597 260.9 96.944 257.839 103.483H342.152C345.046 109.668 347.583 116.013 349.753 122.487H250.24C248.15 128.721 246.408 135.067 245.023 141.495H354.963C357.652 153.985 359.008 166.726 359.005 179.503C359.005 199.438 355.751 218.615 349.751 236.524H250.238C252.402 243.001 254.938 249.348 257.834 255.532H342.15C339.087 262.073 335.631 268.421 331.803 274.545H268.178C272.325 281.165 276.897 287.511 281.863 293.541H318.122C312.552 300.313 306.492 306.668 299.992 312.554C331.849 341.42 374.109 359.008 420.492 359.008C519.631 359.008 600.002 278.647 600.002 179.508C600.002 80.379 519.631 0.00799561 420.492 0.00799561\" fill=\"#EE9F2D\"/><path d=\"M576.07 279.564C576.07 276.365 578.662 273.763 581.866 273.763C585.07 273.763 587.662 276.365 587.662 279.564C587.662 282.763 585.07 285.365 581.866 285.365C578.662 285.365 576.07 282.763 576.07 279.564ZM581.866 283.972C584.3 283.971 586.273 281.998 586.274 279.564C586.274 277.132 584.303 275.162 581.872 275.16H581.866C579.437 275.157 577.466 277.123 577.462 279.551V279.565C577.46 281.998 579.43 283.971 581.862 283.973C581.863 283.972 581.865 283.972 581.866 283.972V283.972ZM581.083 282.112H579.896V277.016H582.045C582.495 277.016 582.953 277.016 583.35 277.27C583.763 277.549 583.996 278.041 583.996 278.549C583.996 279.12 583.658 279.653 583.112 279.861L584.05 282.111H582.735L581.956 280.094H581.085L581.083 282.112V282.112ZM581.083 279.222H581.741C581.987 279.222 582.246 279.243 582.467 279.122C582.662 278.997 582.763 278.763 582.763 278.538C582.758 278.329 582.651 278.136 582.475 278.02C582.268 277.891 581.939 277.919 581.717 277.919H581.083V279.222ZM137.583 199.159C135.537 198.921 134.638 198.858 133.233 198.858C122.187 198.858 116.595 202.645 116.595 210.126C116.595 214.737 119.324 217.671 123.582 217.671C131.521 217.671 137.241 210.112 137.583 199.159V199.159ZM151.754 232.155H135.608L135.979 224.479C131.053 230.544 124.483 233.428 115.553 233.428C104.99 233.428 97.7492 225.178 97.7492 213.199C97.7492 195.175 110.345 184.658 131.966 184.658C134.174 184.658 137.008 184.857 139.907 185.228C140.511 182.787 140.67 181.74 140.67 180.427C140.67 175.519 137.274 173.69 128.17 173.69C118.637 173.582 110.774 175.961 107.545 177.023C107.749 175.794 110.245 160.364 110.245 160.364C119.957 157.518 126.361 156.447 133.57 156.447C150.302 156.447 159.166 163.96 159.149 178.159C159.182 181.964 158.552 186.659 157.57 192.83C155.879 203.564 152.25 226.551 151.754 232.155V232.155ZM89.5962 232.155H70.1092L81.2712 162.158L56.3462 232.155H43.0672L41.4252 162.558L29.6922 232.155H11.4502L26.6872 141.099H54.7082L56.4082 192.067L73.5002 141.099H104.667L89.5962 232.155ZM444.566 199.159C442.529 198.921 441.625 198.858 440.224 198.858C429.183 198.858 423.59 202.645 423.59 210.126C423.59 214.737 426.316 217.671 430.573 217.671C438.513 217.671 444.237 210.112 444.566 199.159V199.159ZM458.75 232.155H442.604L442.97 224.479C438.044 230.544 431.47 233.428 422.548 233.428C411.983 233.428 404.748 225.178 404.748 213.199C404.748 195.175 417.336 184.658 438.961 184.658C441.169 184.658 443.998 184.857 446.895 185.228C447.499 182.787 447.658 181.74 447.658 180.427C447.658 175.519 444.266 173.69 435.162 173.69C425.629 173.582 417.775 175.961 414.533 177.023C414.737 175.794 417.242 160.364 417.242 160.364C426.954 157.518 433.354 156.447 440.555 156.447C457.295 156.447 466.159 163.96 466.142 178.159C466.174 181.964 465.545 186.659 464.563 192.83C462.879 203.564 459.242 226.551 458.75 232.155V232.155ZM238.36 231.03C233.027 232.709 228.869 233.428 224.36 233.428C214.398 233.428 208.961 227.703 208.961 217.161C208.819 213.89 210.394 205.281 211.632 197.424C212.757 190.507 220.081 146.895 220.081 146.895H239.452L237.189 158.103H248.888L246.246 175.899H234.504C232.254 189.982 229.05 207.524 229.013 209.849C229.013 213.665 231.05 215.332 235.684 215.332C237.905 215.332 239.624 215.105 240.938 214.632L238.36 231.03V231.03ZM297.752 230.43C291.098 232.464 284.677 233.447 277.873 233.43C256.189 233.409 244.886 222.084 244.886 200.398C244.886 175.085 259.266 156.451 278.785 156.451C294.756 156.451 304.956 166.884 304.956 183.247C304.956 188.676 304.256 193.976 302.568 201.459H263.994C262.689 212.2 269.564 216.676 280.831 216.676C287.766 216.676 294.019 215.247 300.973 212.013L297.752 230.43V230.43ZM286.864 186.53C286.971 184.987 288.919 173.313 277.851 173.313C271.68 173.313 267.268 178.017 265.471 186.53H286.864V186.53ZM163.444 181.513C163.444 190.88 167.986 197.339 178.286 202.189C186.178 205.898 187.398 206.999 187.398 210.359C187.398 214.976 183.919 217.06 176.207 217.06C170.394 217.06 164.986 216.152 158.749 214.138C158.749 214.138 156.186 230.459 156.069 231.24C160.499 232.207 164.449 233.101 176.348 233.43C196.911 233.43 206.407 225.601 206.407 208.68C206.407 198.505 202.431 192.534 192.67 188.046C184.499 184.296 183.562 183.459 183.562 180.001C183.562 175.997 186.799 173.955 193.099 173.955C196.924 173.955 202.149 174.363 207.099 175.067L209.874 157.892C204.828 157.092 197.178 156.45 192.724 156.45C170.923 156.451 163.377 167.838 163.444 181.513V181.513ZM392.534 158.397C397.946 158.397 402.992 159.818 409.946 163.318L413.134 143.555C410.28 142.434 400.23 135.855 391.717 135.855C378.676 135.855 367.652 142.326 359.897 153.005C348.588 149.259 343.939 156.83 338.24 164.372L333.177 165.551C333.56 163.068 333.906 160.601 333.789 158.105H315.893C313.448 181.022 309.115 204.233 305.722 227.18L304.838 232.156H324.334C327.588 211.013 329.371 197.476 330.455 188.314L337.796 184.23C338.893 180.152 342.325 178.772 349.213 178.939C348.287 183.947 347.824 189.03 347.83 194.123C347.83 218.348 360.9 233.431 381.88 233.431C387.284 233.431 391.921 232.719 399.101 230.773L402.531 210.014C396.073 213.195 390.772 214.691 385.972 214.691C374.643 214.691 367.788 206.328 367.788 192.506C367.788 172.455 377.984 158.397 392.534 158.397\" fill=\"black\"/><path d=\"M95.2095 226.744H75.7184L86.8895 156.756L61.9635 226.744H48.6805L47.0385 157.156L35.3055 226.744H17.0645L32.3015 135.702H60.3224L61.1104 192.064L80.0145 135.702H110.281L95.2095 226.744Z\" fill=\"white\"/><path d=\"M557.52 141.104L553.199 167.413C547.87 160.4 542.145 155.325 534.587 155.325C524.754 155.325 515.804 162.78 509.945 173.75C501.787 172.058 493.348 169.187 493.348 169.187L493.344 169.254C494.002 163.12 494.265 159.379 494.206 158.108H476.306C473.868 181.025 469.535 204.236 466.149 227.183L465.256 232.159H484.748C487.381 215.063 489.396 200.868 490.881 189.608C497.539 183.592 500.873 178.342 507.602 178.692C504.623 185.897 502.877 194.195 502.877 202.709C502.877 221.222 512.243 233.434 526.41 233.434C533.552 233.434 539.031 230.972 544.377 225.263L543.464 232.147H561.899L576.741 141.105L557.52 141.104V141.104ZM533.149 215.045C526.515 215.045 523.166 210.137 523.166 200.449C523.166 185.894 529.437 175.574 538.278 175.574C544.973 175.574 548.598 180.678 548.598 190.083C548.599 204.762 542.228 215.045 533.149 215.045V215.045Z\" fill=\"black\"/><path d=\"M143.19 193.764C141.148 193.528 140.244 193.465 138.844 193.465C127.798 193.465 122.21 197.252 122.21 204.731C122.21 209.335 124.939 212.278 129.189 212.278C137.136 212.277 142.857 204.719 143.19 193.764V193.764ZM157.368 226.748H141.222L141.589 219.085C136.668 225.139 130.089 228.035 121.168 228.035C110.601 228.035 103.363 219.785 103.363 207.806C103.363 189.774 115.955 179.264 137.58 179.264C139.788 179.264 142.622 179.464 145.518 179.835C146.122 177.394 146.281 176.348 146.281 175.027C146.281 170.118 142.889 168.298 133.785 168.298C124.248 168.19 116.389 170.569 113.156 171.619C113.36 170.394 115.856 154.982 115.856 154.982C125.564 152.124 131.976 151.053 139.176 151.053C155.913 151.053 164.78 158.57 164.764 172.757C164.793 176.578 164.16 181.27 163.18 187.432C161.493 198.156 157.861 221.156 157.368 226.748V226.748ZM418.748 138.156L415.557 157.923C408.607 154.427 403.557 153.003 398.15 153.003C383.599 153.003 373.4 167.061 373.4 187.109C373.4 200.93 380.257 209.29 391.584 209.29C396.384 209.29 401.68 207.798 408.138 204.615L404.717 225.365C397.533 227.322 392.901 228.035 387.492 228.035C366.515 228.035 353.441 212.951 353.441 188.726C353.441 156.176 371.5 133.426 397.329 133.426C405.836 133.427 415.89 137.035 418.748 138.156V138.156ZM450.191 193.764C448.15 193.528 447.25 193.465 445.844 193.465C434.803 193.465 429.211 197.252 429.211 204.731C429.211 209.335 431.94 212.278 436.194 212.278C444.132 212.277 449.857 204.719 450.191 193.764V193.764ZM464.369 226.748H448.219L448.59 219.085C443.665 225.139 437.09 228.035 428.169 228.035C417.606 228.035 410.365 219.785 410.365 207.806C410.365 189.774 422.961 179.264 444.577 179.264C446.79 179.264 449.619 179.464 452.518 179.835C453.119 177.394 453.281 176.348 453.281 175.027C453.281 170.118 449.888 168.298 440.786 168.298C431.253 168.19 423.39 170.569 420.156 171.619C420.36 170.394 422.86 154.982 422.86 154.982C432.569 152.124 438.976 151.053 446.176 151.053C462.917 151.053 471.78 158.57 471.759 172.757C471.792 176.578 471.163 181.27 470.18 187.432C468.498 198.156 464.857 221.156 464.369 226.748ZM243.979 225.627C238.641 227.306 234.483 228.035 229.979 228.035C220.017 228.035 214.58 222.309 214.58 211.767C214.442 208.488 216.018 199.887 217.255 192.031C218.375 185.105 225.7 141.497 225.7 141.497H245.068L242.808 152.709H252.749L250.103 170.497H240.128C237.878 184.589 234.665 202.117 234.632 204.447C234.632 208.277 236.673 209.929 241.303 209.929C243.524 209.929 245.241 209.713 246.557 209.238L243.979 225.627V225.627ZM303.37 225.035C296.72 227.068 290.291 228.047 283.491 228.035C261.806 228.014 250.504 216.689 250.504 195.002C250.504 169.681 264.883 151.052 284.403 151.052C300.374 151.052 310.574 161.481 310.574 177.852C310.574 183.286 309.874 188.585 308.19 196.064H269.616C268.31 206.805 275.185 211.286 286.453 211.286C293.383 211.286 299.641 209.851 306.591 206.609L303.37 225.035V225.035ZM292.479 181.123C292.595 179.585 294.539 167.906 283.466 167.906C277.299 167.906 272.887 172.623 271.091 181.123H292.479ZM169.059 176.118C169.059 185.485 173.601 191.936 183.901 196.793C191.793 200.502 193.013 201.605 193.013 204.965C193.013 209.581 189.53 211.664 181.825 211.664C176.009 211.664 170.6 210.756 164.358 208.743C164.358 208.743 161.804 225.064 161.687 225.844C166.108 226.811 170.062 227.694 181.962 228.035C202.528 228.035 212.021 220.206 212.021 203.289C212.021 193.109 208.05 187.139 198.284 182.652C190.117 178.893 189.171 178.068 189.171 174.606C189.171 170.606 192.417 168.547 198.713 168.547C202.534 168.547 207.759 168.968 212.717 169.672L215.488 152.493C210.446 151.693 202.796 151.052 198.342 151.052C176.538 151.052 168.996 162.431 169.059 176.118V176.118ZM567.509 226.748H549.071L549.988 219.855C544.641 225.572 539.163 228.035 532.02 228.035C517.854 228.035 508.492 215.822 508.492 197.309C508.492 172.679 523.013 151.917 540.2 151.917C547.759 151.917 553.479 155.004 558.804 162.013L563.129 135.705H582.35L567.509 226.748V226.748ZM538.763 209.639C547.838 209.639 554.213 199.356 554.213 184.686C554.213 175.281 550.584 170.177 543.888 170.177C535.051 170.177 528.773 180.492 528.773 195.052C528.772 204.738 532.13 209.639 538.763 209.639ZM481.921 152.71C479.48 175.627 475.148 198.84 471.759 221.773L470.867 226.749H490.358C497.33 181.474 499.016 172.632 509.946 173.74C511.688 164.473 514.928 156.357 517.345 152.261C509.182 150.561 504.624 155.174 498.657 163.936C499.128 160.148 499.99 156.469 499.819 152.711L481.921 152.71V152.71ZM321.501 152.71C319.055 175.627 314.722 198.84 311.334 221.773L310.446 226.749H329.946C336.909 181.474 338.592 172.632 349.516 173.74C351.266 164.473 354.507 156.357 356.915 152.261C348.761 150.561 344.198 155.174 338.236 163.936C338.707 160.148 339.56 156.469 339.398 152.711L321.501 152.71V152.71ZM576.071 220.951C576.067 217.752 578.657 215.156 581.855 215.152H581.867C585.064 215.148 587.66 217.738 587.663 220.935V220.951C587.662 224.152 585.068 226.746 581.867 226.748C578.666 226.746 576.072 224.152 576.071 220.951V220.951ZM581.867 225.356C584.298 225.358 586.269 223.387 586.27 220.957V220.953C586.273 218.52 584.302 216.547 581.871 216.545H581.867C579.432 216.546 577.46 218.519 577.459 220.953C577.461 223.385 579.434 225.356 581.867 225.356ZM581.083 223.485H579.895V218.403H582.048C582.494 218.403 582.957 218.412 583.344 218.657C583.761 218.94 583.998 219.424 583.998 219.931C583.998 220.506 583.661 221.043 583.11 221.248L584.051 223.484H582.731L581.952 221.475H581.082L581.083 223.485ZM581.083 220.606H581.736C581.982 220.606 582.249 220.625 582.465 220.506C582.661 220.381 582.761 220.145 582.761 219.918C582.752 219.708 582.647 219.514 582.474 219.395C582.27 219.278 581.932 219.311 581.711 219.311H581.082L581.083 220.606V220.606Z\" fill=\"white\"/></svg>\nPay with MasterCard\n</button>\n<button type=\"button\" class=\"text-gray-900 bg-gray-100 hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-500 me-2 mb-2\">\n<svg class=\"w-4 h-4 me-2 -ms-1 text-[#626890]\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"ethereum\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 320 512\"><path fill=\"currentColor\" d=\"M311.9 260.8L160 353.6 8 260.8 160 0l151.9 260.8zM160 383.4L8 290.6 160 512l152-221.4-152 92.8z\"></path></svg>\nPay with Ethereum\n</button>\n{{< /example >}}\n\n##### Outline buttons\n\nUse the following button styles to show the colors only for the border of the element.\n\n{{< example id=\"button-outline-example\" class=\"flex flex-wrap\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-blue-700 hover:text-white border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:hover:bg-blue-500 dark:focus:ring-blue-800\">Default</button>\n<button type=\"button\" class=\"text-gray-900 hover:text-white border border-gray-800 hover:bg-gray-900 focus:ring-4 focus:outline-none focus:ring-gray-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-gray-600 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-800\">Dark</button>\n<button type=\"button\" class=\"text-green-700 hover:text-white border border-green-700 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-green-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-green-500 dark:text-green-500 dark:hover:text-white dark:hover:bg-green-600 dark:focus:ring-green-800\">Green</button>\n<button type=\"button\" class=\"text-red-700 hover:text-white border border-red-700 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-red-500 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600 dark:focus:ring-red-900\">Red</button>\n<button type=\"button\" class=\"text-yellow-400 hover:text-white border border-yellow-400 hover:bg-yellow-500 focus:ring-4 focus:outline-none focus:ring-yellow-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-yellow-300 dark:text-yellow-300 dark:hover:text-white dark:hover:bg-yellow-400 dark:focus:ring-yellow-900\">Yellow</button>\n<button type=\"button\" class=\"text-purple-700 hover:text-white border border-purple-700 hover:bg-purple-800 focus:ring-4 focus:outline-none focus:ring-purple-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2 dark:border-purple-400 dark:text-purple-400 dark:hover:text-white dark:hover:bg-purple-500 dark:focus:ring-purple-900\">Purple</button>\n{{< /example >}}\n\n##### Button sizes\n\nUse these examples if you want to use smaller or larger buttons.\n\n{{< example id=\"button-sizes-example\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Extra small</button>\n<button type=\"button\" class=\"px-3 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Small</button>\n<button type=\"button\" class=\"px-5 py-2.5 text-sm font-medium text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Base</button>\n<button type=\"button\" class=\"px-5 py-3 text-base font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Large</button>\n<button type=\"button\" class=\"px-6 py-3.5 text-base font-medium text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Extra large</button>\n{{< /example >}}\n\n##### Button sizes with icon\n\nUse these examples if you want to use smaller or larger buttons.\n\n{{< example id=\"button-sizes-example\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"px-3 py-2 text-xs font-medium text-center inline-flex items-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-3 h-3 text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\nExtra small\n</button>\n<button type=\"button\" class=\"px-3 py-2 text-sm font-medium text-center inline-flex items-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-3 h-3 text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\nSmall\n</button>\n<button type=\"button\" class=\"px-5 py-2.5 text-sm font-medium text-white inline-flex items-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-3.5 h-3.5 text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\nBase\n</button>\n<button type=\"button\" class=\"px-5 py-3 text-base font-medium text-center inline-flex items-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-4 h-4 text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\nLarge\n</button>\n<button type=\"button\" class=\"px-6 py-3.5 text-base font-medium text-white inline-flex items-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-4 h-4 text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\nExtra large\n</button>\n{{< /example >}}\n\n##### Buttons with icon\n\nUse the following examples to add a [SVG icon](https://flowbite.com/icons/) inside the button either on the left or right side.\n\n{{< example id=\"button-icon-example\" class=\"flex\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center me-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n<path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n</svg>\nBuy now\n</button>\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\nChoose plan\n<svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n</button>\n{{< /example >}}\n\n##### Button with label\n\nThis example can be used to show a notification count or helper text inside a button using the badge element.\n\n{{< example id=\"button-label-example\" class=\"flex\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\nMessages\n<span class=\"inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-blue-800 bg-blue-200 rounded-full\">\n2\n</span>\n</button>\n{{< /example >}}\n\n##### Icon buttons\n\nSometimes you need a button to indicate an action using only an icon.\n\n{{< example id=\"button-icon-only-example\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm p-2.5 text-center inline-flex items-center me-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-full text-sm p-2.5 text-center inline-flex items-center me-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"text-blue-700 border border-blue-700 hover:bg-blue-700 hover:text-white focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm p-2.5 text-center inline-flex items-center me-2 dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:focus:ring-blue-800 dark:hover:bg-blue-500\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n<path d=\"M3 7H1a1 1 0 0 0-1 1v8a2 2 0 0 0 4 0V8a1 1 0 0 0-1-1Zm12.954 0H12l1.558-4.5a1.778 1.778 0 0 0-3.331-1.06A24.859 24.859 0 0 1 6 6.8v9.586h.114C8.223 16.969 11.015 18 13.6 18c1.4 0 1.592-.526 1.88-1.317l2.354-7A2 2 0 0 0 15.954 7Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n<button type=\"button\" class=\"text-blue-700 border border-blue-700 hover:bg-blue-700 hover:text-white focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-full text-sm p-2.5 text-center inline-flex items-center dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:focus:ring-blue-800 dark:hover:bg-blue-500\">\n<svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n<path d=\"M3 7H1a1 1 0 0 0-1 1v8a2 2 0 0 0 4 0V8a1 1 0 0 0-1-1Zm12.954 0H12l1.558-4.5a1.778 1.778 0 0 0-3.331-1.06A24.859 24.859 0 0 1 6 6.8v9.586h.114C8.223 16.969 11.015 18 13.6 18c1.4 0 1.592-.526 1.88-1.317l2.354-7A2 2 0 0 0 15.954 7Z\"/>\n</svg>\n<span class=\"sr-only\">Icon description</span>\n</button>\n{{< /example >}}\n\n##### Loader\n\nUse the following <a href=\"{{< ref \"components/spinner\" >}}\">spinner components</a> from Flowbite to indicate a loader animation inside buttons:\n\n{{< example id=\"button-loader-example\" github=\"components/buttons.md\" show_dark=true >}}\n<button disabled type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 inline-flex items-center\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"inline w-4 h-4 me-3 text-white animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"#E5E7EB\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentColor\"/>\n</svg>\nLoading...\n</button>\n<button disabled type=\"button\" class=\"py-2.5 px-5 me-2 text-sm font-medium text-gray-900 bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:outline-none focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 inline-flex items-center\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"inline w-4 h-4 me-3 text-gray-200 animate-spin dark:text-gray-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#1C64F2\"/>\n</svg>\nLoading...\n</button>\n{{< /example >}}\n\n##### Disabled\n\nUse the following styles to indicate a disabled button. This can be often used inside form elements to disable the submit button before all the form elements have been completed and validated.\n\n{{< example id=\"button-disabled-example\" github=\"components/buttons.md\" show_dark=true >}}\n<button type=\"button\" class=\"text-white bg-blue-400 dark:bg-blue-500 cursor-not-allowed font-medium rounded-lg text-sm px-5 py-2.5 text-center\" disabled>Disabled button</button>\n{{< /example >}}\n\n#### Button group\n\nThe button group component from Flowbite can be used to stack together multiple buttons and links inside a single element.\n\n##### Default example\n\nUse the following code to stack together buttons into a single group.\n\n{{< example id=\"default-button-group-example\" class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-md shadow-xs\" role=\"group\">\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-s-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Profile\n  </button>\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Settings\n  </button>\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-e-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Messages\n  </button>\n</div>\n{{< /example >}}\n\n##### Button group as links\n\nYou can also use the button group component as links.\n\n{{< example id=\"button-group-links-example\" class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-md shadow-xs\">\n  <a href=\"#\" aria-current=\"page\" class=\"px-4 py-2 text-sm font-medium text-blue-700 bg-white border border-gray-200 rounded-s-lg hover:bg-gray-100 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Profile\n  </a>\n  <a href=\"#\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Settings\n  </a>\n  <a href=\"#\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-e-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    Messages\n  </a>\n</div>\n{{< /example >}}\n\n##### Group buttons with icons\n\nYou can also use [SVG icons](https://flowbite.com/icons/) inside the grouped buttons.\n\n{{< example id=\"button-group-icons-example\" class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-md shadow-xs\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-s-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n    </svg>\n    Profile\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-white border-t border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n    </svg>\n    Settings\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-e-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-blue-500 dark:focus:text-white\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n      <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n    </svg>\n    Downloads\n  </button>\n</div>\n{{< /example >}}\n\n##### Outline\n\nGroup a series of buttons together on a single line or stack them in a vertical column.\n\n{{< example id=\"button-group-outline-example\" class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-md shadow-xs\" role=\"group\">\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-s-lg hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    Profile\n  </button>\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border-t border-b border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    Settings\n  </button>\n  <button type=\"button\" class=\"px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-lg hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    Downloads\n  </button>\n</div>\n{{< /example >}}\n\n##### Outlined with icon\n\nGroup a series of buttons together on a single line or stack them in a vertical column.\n\n{{< example id=\"button-group-outline-icon-example\" class=\"flex justify-center\" github=\"components/button-group.md\" show_dark=true >}}\n\n<div class=\"inline-flex rounded-md shadow-xs\" role=\"group\">\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-s-lg hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n    </svg>\n    Profile\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border-t border-b border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n    </svg>\n    Settings\n  </button>\n  <button type=\"button\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 rounded-e-lg hover:bg-gray-900 hover:text-white focus:z-10 focus:ring-2 focus:ring-gray-500 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700\">\n    <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n      <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n    </svg>\n    Downloads\n  </button>\n</div>\n{{< /example >}}\n\n#### Card\n\nUse these responsive card components to show data entries and information to your users in multiple forms and contexts such as for your blog, application, user profiles, and more.\n\n##### Default card\n\nUse the following simple card component with a title and description.\n\n{{< example id=\"default-card-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n<a href=\"#\" class=\"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow-sm hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700\">\n\n<h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n<p class=\"font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n</a>\n{{< /example >}}\n\n##### Card with button\n\nUse the following example of a card element if you also want to have an action button.\n\n{{< example id=\"card-cta-button-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <a href=\"#\">\n        <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n    </a>\n    <p class=\"mb-3 font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n    <a href=\"#\" class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        Read more\n        <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n        </svg>\n    </a>\n</div>\n{{< /example >}}\n\n##### Card with link\n\nThis example can be used to show a CTA as a link instead of a button inside the card.\n\n{{< example id=\"card-cta-link-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <svg class=\"w-7 h-7 text-gray-500 dark:text-gray-400 mb-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M18 5h-.7c.229-.467.349-.98.351-1.5a3.5 3.5 0 0 0-3.5-3.5c-1.717 0-3.215 1.2-4.331 2.481C8.4.842 6.949 0 5.5 0A3.5 3.5 0 0 0 2 3.5c.003.52.123 1.033.351 1.5H2a2 2 0 0 0-2 2v3a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V7a2 2 0 0 0-2-2ZM8.058 5H5.5a1.5 1.5 0 0 1 0-3c.9 0 2 .754 3.092 2.122-.219.337-.392.635-.534.878Zm6.1 0h-3.742c.933-1.368 2.371-3 3.739-3a1.5 1.5 0 0 1 0 3h.003ZM11 13H9v7h2v-7Zm-4 0H2v5a2 2 0 0 0 2 2h3v-7Zm6 0v7h3a2 2 0 0 0 2-2v-5h-5Z\"/>\n    </svg>\n    <a href=\"#\">\n        <h5 class=\"mb-2 text-2xl font-semibold tracking-tight text-gray-900 dark:text-white\">Need a help in Claim?</h5>\n    </a>\n    <p class=\"mb-3 font-normal text-gray-500 dark:text-gray-400\">Go to this step by step guideline process on how to certify for your weekly benefits:</p>\n    <a href=\"#\" class=\"inline-flex font-medium items-center text-blue-600 hover:underline\">\n        See our guideline\n        <svg class=\"w-3 h-3 ms-2.5 rtl:rotate-[270deg]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 11v4.833A1.166 1.166 0 0 1 13.833 17H2.167A1.167 1.167 0 0 1 1 15.833V4.167A1.166 1.166 0 0 1 2.167 3h4.618m4.447-2H17v5.768M9.111 8.889l7.778-7.778\"/>\n        </svg>\n    </a>\n</div>\n{{< /example >}}\n\n##### Card with image\n\nYou can use the following example of a card element with an image for blog posts, user cards, and many more.\n\n{{< example id=\"card-image-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"max-w-sm bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <a href=\"#\">\n        <img class=\"rounded-t-lg\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <div class=\"p-5\">\n        <a href=\"#\">\n            <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n        </a>\n        <p class=\"mb-3 font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n        <a href=\"#\" class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n            Read more\n             <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n            </svg>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Horizontal card\n\nIf you want to spice up your cards you can use the following card which has its child elements aligned horizontally.\n\n{{< example id=\"card-horizontal-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n<a href=\"#\" class=\"flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow-sm md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700\">\n    <img class=\"object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg\" src=\"/docs/images/blog/image-4.jpg\" alt=\"\">\n    <div class=\"flex flex-col justify-between p-4 leading-normal\">\n        <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n        <p class=\"mb-3 font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n    </div>\n</a>\n{{< /example >}}\n\n##### User profile card\n\nUse this user profile card example if you want to show a dropdown menu and buttons to enable multiple actions from your user.\n\n{{< example id=\"card-user-profile-example\" class=\"flex flex-wrap justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <div class=\"flex justify-end px-4 pt-4\">\n        <button id=\"dropdownButton\" data-dropdown-toggle=\"dropdown\" class=\"inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-1.5\" type=\"button\">\n            <span class=\"sr-only\">Open dropdown</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n                <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n            </svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"dropdown\" class=\"z-10 hidden text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2\" aria-labelledby=\"dropdownButton\">\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Edit</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Export Data</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 text-sm text-red-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Delete</a>\n            </li>\n            </ul>\n        </div>\n    </div>\n    <div class=\"flex flex-col items-center pb-10\">\n        <img class=\"w-24 h-24 mb-3 rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\"/>\n        <h5 class=\"mb-1 text-xl font-medium text-gray-900 dark:text-white\">Bonnie Green</h5>\n        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Visual Designer</span>\n        <div class=\"flex mt-4 md:mt-6\">\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Add friend</a>\n            <a href=\"#\" class=\"py-2 px-4 ms-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Message</a>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Card with form inputs\n\nUse this card example where you can add form input elements that can be used for authentication actions or any other context where you need to receive information from your users.\n\n{{< example id=\"card-form-inputs-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:p-6 md:p-8 dark:bg-gray-800 dark:border-gray-700\">\n    <form class=\"space-y-6\" action=\"#\">\n        <h5 class=\"text-xl font-medium text-gray-900 dark:text-white\">Sign in to our platform</h5>\n        <div>\n            <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n            <input type=\"email\" name=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" placeholder=\"name@company.com\" required />\n        </div>\n        <div>\n            <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n            <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" required />\n        </div>\n        <div class=\"flex items-start\">\n            <div class=\"flex items-start\">\n                <div class=\"flex items-center h-5\">\n                    <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n                </div>\n                <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Remember me</label>\n            </div>\n            <a href=\"#\" class=\"ms-auto text-sm text-blue-700 hover:underline dark:text-blue-500\">Lost Password?</a>\n        </div>\n        <button type=\"submit\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Login to your account</button>\n        <div class=\"text-sm font-medium text-gray-500 dark:text-gray-300\">\n            Not registered? <a href=\"#\" class=\"text-blue-700 hover:underline dark:text-blue-500\">Create account</a>\n        </div>\n    </form>\n</div>\n{{< /example >}}\n\n##### E-commerce card\n\nUse this card for your e-commerce websites and show information about the products and enable actions such as adding a review and adding the product to the cart.\n\n{{< example id=\"card-ecommerce-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <a href=\"#\">\n        <img class=\"p-8 rounded-t-lg\" src=\"/docs/images/products/apple-watch.png\" alt=\"product image\" />\n    </a>\n    <div class=\"px-5 pb-5\">\n        <a href=\"#\">\n            <h5 class=\"text-xl font-semibold tracking-tight text-gray-900 dark:text-white\">Apple Watch Series 7 GPS, Aluminium Case, Starlight Sport</h5>\n        </a>\n        <div class=\"flex items-center mt-2.5 mb-5\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse\">\n                <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n                <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n                <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n                <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n                <svg class=\"w-4 h-4 text-gray-200 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n                    <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n                </svg>\n            </div>\n            <span class=\"bg-blue-100 text-blue-800 text-xs font-semibold px-2.5 py-0.5 rounded-sm dark:bg-blue-200 dark:text-blue-800 ms-3\">5.0</span>\n        </div>\n        <div class=\"flex items-center justify-between\">\n            <span class=\"text-3xl font-bold text-gray-900 dark:text-white\">$599</span>\n            <a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Add to cart</a>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Call to action card\n\nUse this CTA card example to encourage your users to visit a certain page such as downloading the iOS or Android application for your project.\n\n{{< example id=\"card-cta-example\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full p-4 text-center bg-white border border-gray-200 rounded-lg shadow-sm sm:p-8 dark:bg-gray-800 dark:border-gray-700\">\n    <h5 class=\"mb-2 text-3xl font-bold text-gray-900 dark:text-white\">Work fast from anywhere</h5>\n    <p class=\"mb-5 text-base text-gray-500 sm:text-lg dark:text-gray-400\">Stay up to date and move work forward with Flowbite on iOS & Android. Download the app today.</p>\n    <div class=\"items-center justify-center space-y-4 sm:flex sm:space-y-0 sm:space-x-4 rtl:space-x-reverse\">\n        <a href=\"#\" class=\"w-full sm:w-auto bg-gray-800 hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-300 text-white rounded-lg inline-flex items-center justify-center px-4 py-2.5 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700\">\n            <svg class=\"me-3 w-7 h-7\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"apple\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path fill=\"currentColor\" d=\"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z\"></path></svg>\n            <div class=\"text-left rtl:text-right\">\n                <div class=\"mb-1 text-xs\">Download on the</div>\n                <div class=\"-mt-1 font-sans text-sm font-semibold\">Mac App Store</div>\n            </div>\n        </a>\n        <a href=\"#\" class=\"w-full sm:w-auto bg-gray-800 hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-300 text-white rounded-lg inline-flex items-center justify-center px-4 py-2.5 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700\">\n            <svg class=\"me-3 w-7 h-7\" aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fab\" data-icon=\"google-play\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z\"></path></svg>\n            <div class=\"text-left rtl:text-right\">\n                <div class=\"mb-1 text-xs\">Get in on</div>\n                <div class=\"-mt-1 font-sans text-sm font-semibold\">Google Play</div>\n            </div>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Card with nav tabs\n\nUse this example of a card component with navigation tabs that can change the content inside the card based on which one is currently active.\n\n{{< example id=\"card-nav-tabs-example\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap text-sm font-medium text-center text-gray-500 border-b border-gray-200 rounded-t-lg bg-gray-50 dark:border-gray-700 dark:text-gray-400 dark:bg-gray-800\" id=\"defaultTab\" data-tabs-toggle=\"#defaultTabContent\" role=\"tablist\">\n        <li class=\"me-2\">\n            <button id=\"about-tab\" data-tabs-target=\"#about\" type=\"button\" role=\"tab\" aria-controls=\"about\" aria-selected=\"true\" class=\"inline-block p-4 text-blue-600 rounded-ss-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 dark:text-blue-500\">About</button>\n        </li>\n        <li class=\"me-2\">\n            <button id=\"services-tab\" data-tabs-target=\"#services\" type=\"button\" role=\"tab\" aria-controls=\"services\" aria-selected=\"false\" class=\"inline-block p-4 hover:text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-gray-300\">Services</button>\n        </li>\n        <li class=\"me-2\">\n            <button id=\"statistics-tab\" data-tabs-target=\"#statistics\" type=\"button\" role=\"tab\" aria-controls=\"statistics\" aria-selected=\"false\" class=\"inline-block p-4 hover:text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-gray-300\">Facts</button>\n        </li>\n    </ul>\n    <div id=\"defaultTabContent\">\n        <div class=\"hidden p-4 bg-white rounded-lg md:p-8 dark:bg-gray-800\" id=\"about\" role=\"tabpanel\" aria-labelledby=\"about-tab\">\n            <h2 class=\"mb-3 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white\">Powering innovation & trust at 200,000+ companies worldwide</h2>\n            <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Empower Developers, IT Ops, and business teams to collaborate at high velocity. Respond to changes and deliver great customer and employee service experiences fast.</p>\n            <a href=\"#\" class=\"inline-flex items-center font-medium text-blue-600 hover:text-blue-800 dark:text-blue-500 dark:hover:text-blue-700\">\n                Learn more\n                <svg class=\" w-2.5 h-2.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n                </svg>\n            </a>\n        </div>\n        <div class=\"hidden p-4 bg-white rounded-lg md:p-8 dark:bg-gray-800\" id=\"services\" role=\"tabpanel\" aria-labelledby=\"services-tab\">\n            <h2 class=\"mb-5 text-2xl font-extrabold tracking-tight text-gray-900 dark:text-white\">We invest in the world’s potential</h2>\n            <!-- List -->\n            <ul role=\"list\" class=\"space-y-4 text-gray-500 dark:text-gray-400\">\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Dynamic reports and dashboards</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Templates for everyone</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Development workflow</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Limitless business automation</span>\n                </li>\n            </ul>\n        </div>\n        <div class=\"hidden p-4 bg-white rounded-lg md:p-8 dark:bg-gray-800\" id=\"statistics\" role=\"tabpanel\" aria-labelledby=\"statistics-tab\">\n            <dl class=\"grid max-w-screen-xl grid-cols-2 gap-8 p-4 mx-auto text-gray-900 sm:grid-cols-3 xl:grid-cols-6 dark:text-white sm:p-8\">\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">73M+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Developers</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">100M+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Public repositories</dd>\n                </div>\n                <div class=\"flex flex-col\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">1000s</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Open source projects</dd>\n                </div>\n            </dl>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Card full width tabs\n\nUse this example of a card component to show tabs that span the full width of the element and change the content area clicking on each one.\n\n{{< example id=\"card-full-width-tabs-example\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full bg-white border border-gray-200 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700\">\n    <div class=\"sm:hidden\">\n        <label for=\"tabs\" class=\"sr-only\">Select tab</label>\n        <select id=\"tabs\" class=\"bg-gray-50 border-0 border-b border-gray-200 text-gray-900 text-sm rounded-t-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n            <option>Statistics</option>\n            <option>Services</option>\n            <option>FAQ</option>\n        </select>\n    </div>\n    <ul class=\"hidden text-sm font-medium text-center text-gray-500 divide-x divide-gray-200 rounded-lg sm:flex dark:divide-gray-600 dark:text-gray-400 rtl:divide-x-reverse\" id=\"fullWidthTab\" data-tabs-toggle=\"#fullWidthTabContent\" role=\"tablist\">\n        <li class=\"w-full\">\n            <button id=\"stats-tab\" data-tabs-target=\"#stats\" type=\"button\" role=\"tab\" aria-controls=\"stats\" aria-selected=\"true\" class=\"inline-block w-full p-4 rounded-ss-lg bg-gray-50 hover:bg-gray-100 focus:outline-none dark:bg-gray-700 dark:hover:bg-gray-600\">Statistics</button>\n        </li>\n        <li class=\"w-full\">\n            <button id=\"about-tab\" data-tabs-target=\"#about\" type=\"button\" role=\"tab\" aria-controls=\"about\" aria-selected=\"false\" class=\"inline-block w-full p-4 bg-gray-50 hover:bg-gray-100 focus:outline-none dark:bg-gray-700 dark:hover:bg-gray-600\">Services</button>\n        </li>\n        <li class=\"w-full\">\n            <button id=\"faq-tab\" data-tabs-target=\"#faq\" type=\"button\" role=\"tab\" aria-controls=\"faq\" aria-selected=\"false\" class=\"inline-block w-full p-4 rounded-se-lg bg-gray-50 hover:bg-gray-100 focus:outline-none dark:bg-gray-700 dark:hover:bg-gray-600\">FAQ</button>\n        </li>\n    </ul>\n    <div id=\"fullWidthTabContent\" class=\"border-t border-gray-200 dark:border-gray-600\">\n        <div class=\"hidden p-4 bg-white rounded-lg md:p-8 dark:bg-gray-800\" id=\"stats\" role=\"tabpanel\" aria-labelledby=\"stats-tab\">\n            <dl class=\"grid max-w-screen-xl grid-cols-2 gap-8 p-4 mx-auto text-gray-900 sm:grid-cols-3 xl:grid-cols-6 dark:text-white sm:p-8\">\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">73M+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Developers</dd>\n                </div>\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">100M+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Public repositories</dd>\n                </div>\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">1000s</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Open source projects</dd>\n                </div>\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">1B+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Contributors</dd>\n                </div>\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">90+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Top Forbes companies</dd>\n                </div>\n                <div class=\"flex flex-col items-center justify-center\">\n                    <dt class=\"mb-2 text-3xl font-extrabold\">4M+</dt>\n                    <dd class=\"text-gray-500 dark:text-gray-400\">Organizations</dd>\n                </div>\n            </dl>\n        </div>\n        <div class=\"hidden p-4 bg-white rounded-lg md:p-8 dark:bg-gray-800\" id=\"about\" role=\"tabpanel\" aria-labelledby=\"about-tab\">\n            <h2 class=\"mb-5 text-2xl font-extrabold tracking-tight text-gray-900 dark:text-white\">We invest in the world’s potential</h2>\n            <!-- List -->\n            <ul role=\"list\" class=\"space-y-4 text-gray-500 dark:text-gray-400\">\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Dynamic reports and dashboards</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Templates for everyone</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Development workflow</span>\n                </li>\n                <li class=\"flex space-x-2 rtl:space-x-reverse items-center\">\n                    <svg class=\"shrink-0 w-3.5 h-3.5 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n                    </svg>\n                    <span class=\"leading-tight\">Limitless business automation</span>\n                </li>\n            </ul>\n        </div>\n        <div class=\"hidden p-4 bg-white rounded-lg dark:bg-gray-800\" id=\"faq\" role=\"tabpanel\" aria-labelledby=\"faq-tab\">\n            <div id=\"accordion-flush\" data-accordion=\"collapse\" data-active-classes=\"bg-white dark:bg-gray-800 text-gray-900 dark:text-white\" data-inactive-classes=\"text-gray-500 dark:text-gray-400\">\n                <h2 id=\"accordion-flush-heading-1\">\n                    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium text-left rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400\" data-accordion-target=\"#accordion-flush-body-1\" aria-expanded=\"true\" aria-controls=\"accordion-flush-body-1\">\n                    <span>What is Flowbite?</span>\n                    <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n                    </svg>\n                    </button>\n                </h2>\n                <div id=\"accordion-flush-body-1\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-1\">\n                    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n                    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is an open-source library of interactive components built on top of Tailwind CSS including buttons, dropdowns, modals, navbars, and more.</p>\n                    <p class=\"text-gray-500 dark:text-gray-400\">Check out this guide to learn how to <a href=\"/docs/getting-started/introduction/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">get started</a> and start developing websites even faster with components on top of Tailwind CSS.</p>\n                    </div>\n                </div>\n                <h2 id=\"accordion-flush-heading-2\">\n                    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium text-left rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400\" data-accordion-target=\"#accordion-flush-body-2\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-2\">\n                    <span>Is there a Figma file available?</span>\n                    <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n                    </svg>\n                    </button>\n                </h2>\n                <div id=\"accordion-flush-body-2\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-2\">\n                    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n                    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Flowbite is first conceptualized and designed using the Figma software so everything you see in the library has a design equivalent in our Figma file.</p>\n                    <p class=\"text-gray-500 dark:text-gray-400\">Check out the <a href=\"https://flowbite.com/figma/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Figma design system</a> based on the utility classes from Tailwind CSS and components from Flowbite.</p>\n                    </div>\n                </div>\n                <h2 id=\"accordion-flush-heading-3\">\n                    <button type=\"button\" class=\"flex items-center justify-between w-full py-5 font-medium text-left rtl:text-right text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400\" data-accordion-target=\"#accordion-flush-body-3\" aria-expanded=\"false\" aria-controls=\"accordion-flush-body-3\">\n                    <span>What are the differences between Flowbite and Tailwind UI?</span>\n                    <svg data-accordion-icon class=\"w-3 h-3 rotate-180 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n                    </svg>\n                    </button>\n                </h2>\n                <div id=\"accordion-flush-body-3\" class=\"hidden\" aria-labelledby=\"accordion-flush-heading-3\">\n                    <div class=\"py-5 border-b border-gray-200 dark:border-gray-700\">\n                    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The main difference is that the core components from Flowbite are open source under the MIT license, whereas Tailwind UI is a paid product. Another difference is that Flowbite relies on smaller and standalone components, whereas Tailwind UI offers sections of pages.</p>\n                    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">However, we actually recommend using both Flowbite, Flowbite Pro, and even Tailwind UI as there is no technical reason stopping you from using the best of two worlds.</p>\n                    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">Learn more about these technologies:</p>\n                    <ul class=\"ps-5 text-gray-500 list-disc dark:text-gray-400\">\n                        <li><a href=\"https://flowbite.com/pro/\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Flowbite Pro</a></li>\n                        <li><a href=\"https://tailwindui.com/\" rel=\"nofollow\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Tailwind UI</a></li>\n                    </ul>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Card with list\n\nUse this card example if you want to show a list of data:\n\n{{< example id=\"card-list-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-md p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:p-8 dark:bg-gray-800 dark:border-gray-700\">\n    <div class=\"flex items-center justify-between mb-4\">\n        <h5 class=\"text-xl font-bold leading-none text-gray-900 dark:text-white\">Latest Customers</h5>\n        <a href=\"#\" class=\"text-sm font-medium text-blue-600 hover:underline dark:text-blue-500\">\n            View all\n        </a>\n   </div>\n   <div class=\"flow-root\">\n        <ul role=\"list\" class=\"divide-y divide-gray-200 dark:divide-gray-700\">\n            <li class=\"py-3 sm:py-4\">\n                <div class=\"flex items-center\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-4\">\n                        <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n                            Neil Sims\n                        </p>\n                        <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n                        $320\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-3 sm:py-4\">\n                <div class=\"flex items-center \">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-4\">\n                        <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n                            Bonnie Green\n                        </p>\n                        <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n                        $3467\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-3 sm:py-4\">\n                <div class=\"flex items-center\">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Michael image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-4\">\n                        <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n                            Michael Gough\n                        </p>\n                        <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n                        $67\n                    </div>\n                </div>\n            </li>\n            <li class=\"py-3 sm:py-4\">\n                <div class=\"flex items-center \">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Lana image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-4\">\n                        <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n                            Lana Byrd\n                        </p>\n                        <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n                        $367\n                    </div>\n                </div>\n            </li>\n            <li class=\"pt-3 pb-0 sm:pt-4\">\n                <div class=\"flex items-center \">\n                    <div class=\"shrink-0\">\n                        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Thomas image\">\n                    </div>\n                    <div class=\"flex-1 min-w-0 ms-4\">\n                        <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n                            Thomes Lean\n                        </p>\n                        <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                            email@windster.com\n                        </p>\n                    </div>\n                    <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n                        $2367\n                    </div>\n                </div>\n            </li>\n        </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Pricing card\n\nShow detailed information to potential customers about your product's pricing plan, list of features, and a purchase button.\n\n{{< example id=\"card-pricing-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:p-8 dark:bg-gray-800 dark:border-gray-700\">\n<h5 class=\"mb-4 text-xl font-medium text-gray-500 dark:text-gray-400\">Standard plan</h5>\n<div class=\"flex items-baseline text-gray-900 dark:text-white\">\n<span class=\"text-3xl font-semibold\">$</span>\n<span class=\"text-5xl font-extrabold tracking-tight\">49</span>\n<span class=\"ms-1 text-xl font-normal text-gray-500 dark:text-gray-400\">/month</span>\n</div>\n<ul role=\"list\" class=\"space-y-5 my-7\">\n<li class=\"flex items-center\">\n<svg class=\"shrink-0 w-4 h-4 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 dark:text-gray-400 ms-3\">2 team members</span>\n</li>\n<li class=\"flex\">\n<svg class=\"shrink-0 w-4 h-4 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 dark:text-gray-400 ms-3\">20GB Cloud storage</span>\n</li>\n<li class=\"flex\">\n<svg class=\"shrink-0 w-4 h-4 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 dark:text-gray-400 ms-3\">Integration help</span>\n</li>\n<li class=\"flex line-through decoration-gray-500\">\n<svg class=\"shrink-0 w-4 h-4 text-gray-400 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 ms-3\">Sketch Files</span>\n</li>\n<li class=\"flex line-through decoration-gray-500\">\n<svg class=\"shrink-0 w-4 h-4 text-gray-400 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 ms-3\">API Access</span>\n</li>\n<li class=\"flex line-through decoration-gray-500\">\n<svg class=\"shrink-0 w-4 h-4 text-gray-400 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 ms-3\">Complete documentation</span>\n</li>\n<li class=\"flex line-through decoration-gray-500\">\n<svg class=\"shrink-0 w-4 h-4 text-gray-400 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n<path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n</svg>\n<span class=\"text-base font-normal leading-tight text-gray-500 ms-3\">24×7 phone & email support</span>\n</li>\n</ul>\n<button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-200 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-900 font-medium rounded-lg text-sm px-5 py-2.5 inline-flex justify-center w-full text-center\">Choose plan</button>\n</div>\n{{< /example >}}\n\n##### Testimonial card\n\nUse this example to split cards into multiple sections such as for testimonials or reviews.\n\n{{< example id=\"card-testimonial-example\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"grid mb-8 border border-gray-200 rounded-lg shadow-xs dark:border-gray-700 md:mb-12 md:grid-cols-2 bg-white dark:bg-gray-800\">\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center bg-white border-b border-gray-200 rounded-t-lg md:rounded-t-none md:rounded-ss-lg md:border-e dark:bg-gray-800 dark:border-gray-700\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-gray-500 lg:mb-8 dark:text-gray-400\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Very easy this was to integrate</h3>\n            <p class=\"my-4\">If you care for your time, I hands down would go with this.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/karen-nelson.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 font-medium dark:text-white text-left rtl:text-right ms-3\">\n                <div>Bonnie Green</div>\n                <div class=\"text-sm text-gray-500 dark:text-gray-400 \">Developer at Open AI</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center bg-white border-b border-gray-200 md:rounded-se-lg dark:bg-gray-800 dark:border-gray-700\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-gray-500 lg:mb-8 dark:text-gray-400\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Solid foundation for any project</h3>\n            <p class=\"my-4\">Designing with Figma components that can be easily translated to the utility classes of Tailwind CSS is a huge timesaver!\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/roberta-casas.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 font-medium dark:text-white text-left rtl:text-right ms-3\">\n                <div>Roberta Casas</div>\n                <div class=\"text-sm text-gray-500 dark:text-gray-400\">Lead designer at Dropbox</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center bg-white border-b border-gray-200 md:rounded-es-lg md:border-b-0 md:border-e dark:bg-gray-800 dark:border-gray-700\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-gray-500 lg:mb-8 dark:text-gray-400\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Mindblowing workflow</h3>\n            <p class=\"my-4\">Aesthetically, the well designed components are beautiful and will undoubtedly level up your next application.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 font-medium dark:text-white text-left rtl:text-right ms-3\">\n                <div>Jese Leos</div>\n                <div class=\"text-sm text-gray-500 dark:text-gray-400\">Software Engineer at Facebook</div>\n            </div>\n        </figcaption>    \n    </figure>\n    <figure class=\"flex flex-col items-center justify-center p-8 text-center bg-white border-gray-200 rounded-b-lg md:rounded-se-lg dark:bg-gray-800 dark:border-gray-700\">\n        <blockquote class=\"max-w-2xl mx-auto mb-4 text-gray-500 lg:mb-8 dark:text-gray-400\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Efficient Collaborating</h3>\n            <p class=\"my-4\">You have many examples that can be used to create a fast prototype for your team.\"</p>\n        </blockquote>\n        <figcaption class=\"flex items-center justify-center \">\n            <img class=\"rounded-full w-9 h-9\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/joseph-mcfall.png\" alt=\"profile picture\">\n            <div class=\"space-y-0.5 font-medium dark:text-white text-left rtl:text-right ms-3\">\n                <div>Joseph McFall</div>\n                <div class=\"text-sm text-gray-500 dark:text-gray-400\">CTO at Google</div>\n            </div>\n        </figcaption>    \n    </figure>\n</div>\n{{< /example >}}\n\n##### Crypto card\n\nUse this web3 card component to show a list of applications that you can use to connect your crypto wallet for NFT related trading and authentication.\n\n{{< example id=\"card-crypto-example\" class=\"flex justify-center\" github=\"components/card.md\" show_dark=true >}}\n\n<div class=\"w-full max-w-sm p-4 bg-white border border-gray-200 rounded-lg shadow-sm sm:p-6 dark:bg-gray-800 dark:border-gray-700\">\n<h5 class=\"mb-3 text-base font-semibold text-gray-900 md:text-xl dark:text-white\">\nConnect wallet\n</h5>\n<p class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Connect with one of our available wallet providers or create a new one.</p>\n<ul class=\"my-4 space-y-3\">\n<li>\n<a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n<svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 40 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M39.0728 0L21.9092 12.6999L25.1009 5.21543L39.0728 0Z\" fill=\"#E17726\"/><path d=\"M0.966797 0.0151367L14.9013 5.21656L17.932 12.7992L0.966797 0.0151367Z\" fill=\"#E27625\"/><path d=\"M32.1656 27.0093L39.7516 27.1537L37.1004 36.1603L27.8438 33.6116L32.1656 27.0093Z\" fill=\"#E27625\"/><path d=\"M7.83409 27.0093L12.1399 33.6116L2.89876 36.1604L0.263672 27.1537L7.83409 27.0093Z\" fill=\"#E27625\"/><path d=\"M17.5203 10.8677L17.8304 20.8807L8.55371 20.4587L11.1924 16.4778L11.2258 16.4394L17.5203 10.8677Z\" fill=\"#E27625\"/><path d=\"M22.3831 10.7559L28.7737 16.4397L28.8067 16.4778L31.4455 20.4586L22.1709 20.8806L22.3831 10.7559Z\" fill=\"#E27625\"/><path d=\"M12.4115 27.0381L17.4768 30.9848L11.5928 33.8257L12.4115 27.0381Z\" fill=\"#E27625\"/><path d=\"M27.5893 27.0376L28.391 33.8258L22.5234 30.9847L27.5893 27.0376Z\" fill=\"#E27625\"/><path d=\"M22.6523 30.6128L28.6066 33.4959L23.0679 36.1282L23.1255 34.3884L22.6523 30.6128Z\" fill=\"#D5BFB2\"/><path d=\"M17.3458 30.6143L16.8913 34.3601L16.9286 36.1263L11.377 33.4961L17.3458 30.6143Z\" fill=\"#D5BFB2\"/><path d=\"M15.6263 22.1875L17.1822 25.4575L11.8848 23.9057L15.6263 22.1875Z\" fill=\"#233447\"/><path d=\"M24.3739 22.1875L28.133 23.9053L22.8184 25.4567L24.3739 22.1875Z\" fill=\"#233447\"/><path d=\"M12.8169 27.0049L11.9606 34.0423L7.37109 27.1587L12.8169 27.0049Z\" fill=\"#CC6228\"/><path d=\"M27.1836 27.0049L32.6296 27.1587L28.0228 34.0425L27.1836 27.0049Z\" fill=\"#CC6228\"/><path d=\"M31.5799 20.0605L27.6165 24.0998L24.5608 22.7034L23.0978 25.779L22.1387 20.4901L31.5799 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.41797 20.0605L17.8608 20.4902L16.9017 25.779L15.4384 22.7038L12.3988 24.0999L8.41797 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.15039 19.2314L12.6345 23.7816L12.7899 28.2736L8.15039 19.2314Z\" fill=\"#E27525\"/><path d=\"M31.8538 19.2236L27.2061 28.2819L27.381 23.7819L31.8538 19.2236Z\" fill=\"#E27525\"/><path d=\"M17.6412 19.5088L17.8217 20.6447L18.2676 23.4745L17.9809 32.166L16.6254 25.1841L16.625 25.1119L17.6412 19.5088Z\" fill=\"#E27525\"/><path d=\"M22.3562 19.4932L23.3751 25.1119L23.3747 25.1841L22.0158 32.1835L21.962 30.4328L21.75 23.4231L22.3562 19.4932Z\" fill=\"#E27525\"/><path d=\"M27.7797 23.6011L27.628 27.5039L22.8977 31.1894L21.9414 30.5138L23.0133 24.9926L27.7797 23.6011Z\" fill=\"#F5841F\"/><path d=\"M12.2373 23.6011L16.9873 24.9926L18.0591 30.5137L17.1029 31.1893L12.3723 27.5035L12.2373 23.6011Z\" fill=\"#F5841F\"/><path d=\"M10.4717 32.6338L16.5236 35.5013L16.4979 34.2768L17.0043 33.8323H22.994L23.5187 34.2753L23.48 35.4989L29.4935 32.641L26.5673 35.0591L23.0289 37.4894H16.9558L13.4197 35.0492L10.4717 32.6338Z\" fill=\"#C0AC9D\"/><path d=\"M22.2191 30.231L23.0748 30.8354L23.5763 34.8361L22.8506 34.2234H17.1513L16.4395 34.8485L16.9244 30.8357L17.7804 30.231H22.2191Z\" fill=\"#161616\"/><path d=\"M37.9395 0.351562L39.9998 6.53242L38.7131 12.7819L39.6293 13.4887L38.3895 14.4346L39.3213 15.1542L38.0875 16.2779L38.8449 16.8264L36.8347 19.1742L28.5894 16.7735L28.5179 16.7352L22.5762 11.723L37.9395 0.351562Z\" fill=\"#763E1A\"/><path d=\"M2.06031 0.351562L17.4237 11.723L11.4819 16.7352L11.4105 16.7735L3.16512 19.1742L1.15488 16.8264L1.91176 16.2783L0.678517 15.1542L1.60852 14.4354L0.350209 13.4868L1.30098 12.7795L0 6.53265L2.06031 0.351562Z\" fill=\"#763E1A\"/><path d=\"M28.1861 16.2485L36.9226 18.7921L39.7609 27.5398L32.2728 27.5398L27.1133 27.6049L30.8655 20.2912L28.1861 16.2485Z\" fill=\"#F5841F\"/><path d=\"M11.8139 16.2485L9.13399 20.2912L12.8867 27.6049L7.72971 27.5398H0.254883L3.07728 18.7922L11.8139 16.2485Z\" fill=\"#F5841F\"/><path d=\"M25.5283 5.17383L23.0847 11.7736L22.5661 20.6894L22.3677 23.4839L22.352 30.6225H17.6471L17.6318 23.4973L17.4327 20.6869L16.9139 11.7736L14.4707 5.17383H25.5283Z\" fill=\"#F5841F\"/></svg>\n<span class=\"flex-1 ms-3 whitespace-nowrap\">MetaMask</span>\n<span class=\"inline-flex items-center justify-center px-2 py-0.5 ms-3 text-xs font-medium text-gray-500 bg-gray-200 rounded-sm dark:bg-gray-700 dark:text-gray-400\">Popular</span>\n</a>\n</li>\n<li>\n<a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n<svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 292 292\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M145.7 291.66C226.146 291.66 291.36 226.446 291.36 146C291.36 65.5541 226.146 0.339844 145.7 0.339844C65.2542 0.339844 0.0400391 65.5541 0.0400391 146C0.0400391 226.446 65.2542 291.66 145.7 291.66Z\" fill=\"#3259A5\"/><path d=\"M195.94 155.5C191.49 179.08 170.8 196.91 145.93 196.91C117.81 196.91 95.0204 174.12 95.0204 146C95.0204 117.88 117.81 95.0897 145.93 95.0897C170.8 95.0897 191.49 112.93 195.94 136.5H247.31C242.52 84.7197 198.96 44.1797 145.93 44.1797C89.6904 44.1797 44.1104 89.7697 44.1104 146C44.1104 202.24 89.7004 247.82 145.93 247.82C198.96 247.82 242.52 207.28 247.31 155.5H195.94Z\" fill=\"white\"/></svg>\n<span class=\"flex-1 ms-3 whitespace-nowrap\">Coinbase Wallet</span>\n</a>\n</li>\n<li>\n<a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n<svg aria-hidden=\"true\" svg class=\"h-5\"viewBox=\"0 0 75.591 75.591\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\n<span class=\"flex-1 ms-3 whitespace-nowrap\">Opera Wallet</span>\n</a>\n</li>\n<li>\n<a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n<svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><defs><radialGradient cx=\"0%\" cy=\"50%\" fx=\"0%\" fy=\"50%\" r=\"100%\" id=\"radialGradient-1\"><stop stop-color=\"#5D9DF6\" offset=\"0%\"></stop><stop stop-color=\"#006FFF\" offset=\"100%\"></stop></radialGradient></defs><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"logo\"><rect id=\"base\" fill=\"url(#radialGradient-1)\" x=\"0\" y=\"0\" width=\"512\" height=\"512\" rx=\"256\"></rect><path d=\"M169.209772,184.531136 C217.142772,137.600733 294.857519,137.600733 342.790517,184.531136 L348.559331,190.179285 C350.955981,192.525805 350.955981,196.330266 348.559331,198.676787 L328.82537,217.99798 C327.627045,219.171241 325.684176,219.171241 324.485851,217.99798 L316.547278,210.225455 C283.10802,177.485633 228.89227,177.485633 195.453011,210.225455 L186.951456,218.549188 C185.75313,219.722448 183.810261,219.722448 182.611937,218.549188 L162.877976,199.227995 C160.481326,196.881474 160.481326,193.077013 162.877976,190.730493 L169.209772,184.531136 Z M383.602212,224.489406 L401.165475,241.685365 C403.562113,244.031874 403.562127,247.836312 401.165506,250.182837 L321.971538,327.721548 C319.574905,330.068086 315.689168,330.068112 313.292501,327.721609 C313.292491,327.721599 313.29248,327.721588 313.29247,327.721578 L257.08541,272.690097 C256.486248,272.103467 255.514813,272.103467 254.915651,272.690097 C254.915647,272.690101 254.915644,272.690105 254.91564,272.690108 L198.709777,327.721548 C196.313151,330.068092 192.427413,330.068131 190.030739,327.721634 C190.030725,327.72162 190.03071,327.721606 190.030695,327.721591 L110.834524,250.181849 C108.437875,247.835329 108.437875,244.030868 110.834524,241.684348 L128.397819,224.488418 C130.794468,222.141898 134.680206,222.141898 137.076856,224.488418 L193.284734,279.520668 C193.883897,280.107298 194.85533,280.107298 195.454493,279.520668 C195.454502,279.520659 195.45451,279.520651 195.454519,279.520644 L251.65958,224.488418 C254.056175,222.141844 257.941913,222.141756 260.338618,224.488222 C260.338651,224.488255 260.338684,224.488288 260.338717,224.488321 L316.546521,279.520644 C317.145683,280.107273 318.117118,280.107273 318.71628,279.520644 L374.923175,224.489406 C377.319825,222.142885 381.205562,222.142885 383.602212,224.489406 Z\" id=\"WalletConnect\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path></g></g></svg>\n<span class=\"flex-1 ms-3 whitespace-nowrap\">WalletConnect</span>\n</a>\n</li>\n<li>\n<a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n<svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 96 96\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M72.0998 0.600098H48.3998H24.5998H0.799805V24.4001V48.2001V49.7001V71.8001V71.9001V95.5001H24.5998V72.0001V71.9001V49.8001V48.3001V24.5001H48.3998H72.1998H95.9998V0.700104H72.0998V0.600098Z\" fill=\"#617BFF\"/><path d=\"M48.5 71.8002H72.1V95.6002H73C79.1 95.6002 84.9 93.2002 89.2 88.9002C93.5 84.6002 95.9 78.8002 95.9 72.7002V48.2002H48.5V71.8002Z\" fill=\"#617BFF\"/></svg>\n<span class=\"flex-1 ms-3 whitespace-nowrap\">Fortmatic</span>\n</a>\n</li>\n</ul>\n<div>\n<a href=\"#\" class=\"inline-flex items-center text-xs font-normal text-gray-500 hover:underline dark:text-gray-400\">\n<svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.529 7.988a2.502 2.502 0 0 1 5 .191A2.441 2.441 0 0 1 10 10.582V12m-.01 3.008H10M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n</svg>\nWhy do I need to connect with my wallet?</a>\n</div>\n</div>\n{{< /example >}}\n\n#### Carousel\n\nThe carousel component can be used to cycle through a set of elements using custom options, controls, and indicators based on the JavaScript object from Flowbite.\n\n##### Default slider\n\nThe carousel component can be initialized by using the `data-carousel={static|slide}` data attribute and by applying a unique `id` attribute to the parent element.\n\n-   `data-carousel=\"static\"` to prevent the carousel sliding by default\n-   `data-carousel=\"slide\"` to infinitely cycle through the items\n\nYou can add as many carousel items as you want, but make sure that you add the `data-carousel-item` data attribute to each of them and set a single item to active by applying the `active` value to the data attribute.\n\nUse the `duration-*` and the animation classes from Tailwind CSS to apply custom effects to the carousel items and don't forget to set the `hidden` class by default to prevent flickering.\n\n{{< example id=\"default-carousel-example\" github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"default-carousel\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div class=\"absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse\">\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"true\" aria-label=\"Slide 1\" data-carousel-slide-to=\"0\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 2\" data-carousel-slide-to=\"1\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 3\" data-carousel-slide-to=\"2\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 4\" data-carousel-slide-to=\"3\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 5\" data-carousel-slide-to=\"4\"></button>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Controls\n\nUse the `data-carousel-prev` and `data-carousel-next` data attribute to listen to click events which will trigger the slide event from the carousel component to each direction.\n\nYou can customize the control elements with the classes from Tailwind CSS anyhow you want.\n\n{{< example id=\"carousel-controls-example\" github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"controls-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Indicators\n\nShow the carousel indicators by adding the `data-carousel-slide-to={position}` to any number or style of indicator elements where the value equals the position of the slider element.\n\n{{< example id=\"carousel-indicators-example\" github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"indicators-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div class=\"absolute z-30 flex -translate-x-1/2 space-x-3 rtl:space-x-reverse bottom-5 left-1/2\">\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"true\" aria-label=\"Slide 1\" data-carousel-slide-to=\"0\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 2\" data-carousel-slide-to=\"1\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 3\" data-carousel-slide-to=\"2\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 4\" data-carousel-slide-to=\"3\"></button>\n        <button type=\"button\" class=\"w-3 h-3 rounded-full\" aria-current=\"false\" aria-label=\"Slide 5\" data-carousel-slide-to=\"4\"></button>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Animation\n\nYou can easily customize the duration and animation style of the carousel component by using the `duration-*` and `ease-*` utility classes from Tailwind CSS.\n\n{{< example id=\"carousel-animation-example\" github=\"components/carousel.md\" show_dark=true >}}\n\n<div id=\"animation-carousel\" class=\"relative w-full\" data-carousel=\"static\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-1.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-2.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item=\"active\">\n            <img src=\"/docs/images/carousel/carousel-3.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-4.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-200 ease-linear\" data-carousel-item>\n            <img src=\"/docs/images/carousel/carousel-5.svg\" class=\"absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"...\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nUse the **Carousel** class from Flowbite to create an object that you can use to apply custom styles, change the active slide item, set callback functions directly from JavaScript.\n\n###### Object parameters\n\nPass the object parameters for the Carousel object to set the carousel items and options.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">carouselElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Parent HTML element of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">items</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Array\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass an array of carousel item objects including the position and the element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass an object of options to set the interval, indicators, and callback functions.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these options for the Carousel object to set the default position, interval, indicators, custom styles, and callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">defaultPosition</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the default active slider item based on its position (starts from [0-x]).\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">interval</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the interval duration in milliseconds when the carousel is cycling.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">indicators</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Array\n              </td>\n              <td class=\"px-6 py-4\">\n                 An optional object of indicator elements and custom classes.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onNext</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the next carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onPrev</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the previous carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onChange</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the position of the carousel item has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods on the Carousel object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">next()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go to the next slide of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">prev()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go to the previous slide of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">slideTo(position)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to go the carousel with the position that you set as a parameter.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">cycle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to start cycling the carousel component based on the default interval duration.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">pause()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to stop the automatic cycling of the carousel component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getItem(position)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Get the carousel item based on the position number that you set as a parameter.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getActiveItem()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Get the current active carousel item.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnNext(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the next carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnPrev(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the previous carousel item has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnChange(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the the slide item inside the carousel has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following example to learn how to programmatically create a new Carousel object by passing the parameters, using the methods, and the callback functions.\n\n```javascript\nconst carouselElement = document.getElementById('carousel-example');\n\nconst items = [\n    {\n        position: 0,\n        el: document.getElementById('carousel-item-1'),\n    },\n    {\n        position: 1,\n        el: document.getElementById('carousel-item-2'),\n    },\n    {\n        position: 2,\n        el: document.getElementById('carousel-item-3'),\n    },\n    {\n        position: 3,\n        el: document.getElementById('carousel-item-4'),\n    },\n];\n\n// options with default values\nconst options = {\n    defaultPosition: 1,\n    interval: 3000,\n\n    indicators: {\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses:\n            'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n        items: [\n            {\n                position: 0,\n                el: document.getElementById('carousel-indicator-1'),\n            },\n            {\n                position: 1,\n                el: document.getElementById('carousel-indicator-2'),\n            },\n            {\n                position: 2,\n                el: document.getElementById('carousel-indicator-3'),\n            },\n            {\n                position: 3,\n                el: document.getElementById('carousel-indicator-4'),\n            },\n        ],\n    },\n\n    // callback functions\n    onNext: () => {\n        console.log('next slider item is shown');\n    },\n    onPrev: () => {\n        console.log('previous slider item is shown');\n    },\n    onChange: () => {\n        console.log('new slider item has been shown');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'carousel-example',\n  override: true\n};\n```\n\nCreate a new carousel object using the options set above.\n\n```javascript\nimport { Carousel } from 'flowbite';\n\nconst carousel = new Carousel(carouselElement, items, options, instanceOptions);\n```\n\nUse the `next()` and `prev()` public methods on the carousel object to jump to the left or right carousel slide item based on the position of the current active item.\n\n```javascript\n// goes to the next (right) slide\ncarousel.next();\n\n// goes to the previous (left) slide\ncarousel.prev();\n```\n\nUse the `slideTo(position)` public method to jump to the carousel slide item with the specified position.\n\n```javascript\n// jumps to the 3rd position (position starts from 0)\ncarousel.slideTo(2);\n```\n\nUse the `cycle()` method to start an automated cycling where the duration is the milliseconds of time between each slide and the `pause()` method to clear the cycle event.\n\n```javascript\n// starts or resumes the carousel cycling (automated sliding)\ncarousel.cycle();\n\n// pauses the cycling (automated sliding)\ncarousel.pause();\n```\n\n###### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above. Please note that you should use the `hidden` class from Tailwind CSS to hide the carousel items by default.\n\n```html\n<div id=\"carousel-example\" class=\"relative w-full\">\n    <!-- Carousel wrapper -->\n    <div\n        class=\"relative h-56 overflow-hidden rounded-lg sm:h-64 xl:h-80 2xl:h-96\"\n    >\n        <!-- Item 1 -->\n        <div id=\"carousel-item-1\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-1.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 2 -->\n        <div id=\"carousel-item-2\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-2.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 3 -->\n        <div id=\"carousel-item-3\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-3.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n        <!-- Item 4 -->\n        <div id=\"carousel-item-4\" class=\"hidden duration-700 ease-in-out\">\n            <img\n                src=\"/docs/images/carousel/carousel-4.svg\"\n                class=\"absolute left-1/2 top-1/2 block w-full -translate-x-1/2 -translate-y-1/2\"\n                alt=\"...\"\n            />\n        </div>\n    </div>\n    <!-- Slider indicators -->\n    <div\n        class=\"absolute bottom-5 left-1/2 z-30 flex -translate-x-1/2 space-x-3 rtl:space-x-reverse\"\n    >\n        <button\n            id=\"carousel-indicator-1\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-full\"\n            aria-current=\"true\"\n            aria-label=\"Slide 1\"\n        ></button>\n        <button\n            id=\"carousel-indicator-2\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-full\"\n            aria-current=\"false\"\n            aria-label=\"Slide 2\"\n        ></button>\n        <button\n            id=\"carousel-indicator-3\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-full\"\n            aria-current=\"false\"\n            aria-label=\"Slide 3\"\n        ></button>\n        <button\n            id=\"carousel-indicator-4\"\n            type=\"button\"\n            class=\"h-3 w-3 rounded-full\"\n            aria-current=\"false\"\n            aria-label=\"Slide 4\"\n        ></button>\n    </div>\n    <!-- Slider controls -->\n    <button\n        id=\"data-carousel-prev\"\n        type=\"button\"\n        class=\"group absolute left-0 top-0 z-30 flex h-full cursor-pointer items-center justify-center px-4 focus:outline-none\"\n    >\n        <span\n            class=\"inline-flex h-10 w-10 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70\"\n        >\n            <svg\n                class=\"h-4 w-4 text-white dark:text-gray-800\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"none\"\n                viewBox=\"0 0 6 10\"\n            >\n                <path\n                    stroke=\"currentColor\"\n                    stroke-linecap=\"round\"\n                    stroke-linejoin=\"round\"\n                    stroke-width=\"2\"\n                    d=\"M5 1 1 5l4 4\"\n                />\n            </svg>\n            <span class=\"hidden\">Previous</span>\n        </span>\n    </button>\n    <button\n        id=\"data-carousel-next\"\n        type=\"button\"\n        class=\"group absolute right-0 top-0 z-30 flex h-full cursor-pointer items-center justify-center px-4 focus:outline-none\"\n    >\n        <span\n            class=\"inline-flex h-10 w-10 items-center justify-center rounded-full bg-white/30 group-hover:bg-white/50 group-focus:outline-none group-focus:ring-4 group-focus:ring-white dark:bg-gray-800/30 dark:group-hover:bg-gray-800/60 dark:group-focus:ring-gray-800/70\"\n        >\n            <svg\n                class=\"h-4 w-4 text-white dark:text-gray-800\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"none\"\n                viewBox=\"0 0 6 10\"\n            >\n                <path\n                    stroke=\"currentColor\"\n                    stroke-linecap=\"round\"\n                    stroke-linejoin=\"round\"\n                    stroke-width=\"2\"\n                    d=\"m1 9 4-4-4-4\"\n                />\n            </svg>\n            <span class=\"hidden\">Next</span>\n        </span>\n    </button>\n</div>\n```\n\nIf you want to set trigger the next or previous slide item for the any button, just add some event listeners and call the `next()` and `prev()` methods on the Carousel object.\n\n```javascript\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Carousel class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Carousel } from 'flowbite';\nimport type {\n    CarouselItem,\n    CarouselOptions,\n    CarouselInterface,\n} from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst carouselElement: HTMLElement = document.getElementById('carousel-example');\n\nconst items: CarouselItem[] = [\n    {\n        position: 0,\n        el: document.getElementById('carousel-item-1'),\n    },\n    {\n        position: 1,\n        el: document.getElementById('carousel-item-2'),\n    },\n    {\n        position: 2,\n        el: document.getElementById('carousel-item-3'),\n    },\n    {\n        position: 3,\n        el: document.getElementById('carousel-item-4'),\n    },\n];\n\n// object options with default values\nconst options: CarouselOptions = {\n    defaultPosition: 1,\n    interval: 3000,\n\n    indicators: {\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses:\n            'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n        items: [\n            {\n                position: 0,\n                el: document.getElementById('carousel-indicator-1'),\n            },\n            {\n                position: 1,\n                el: document.getElementById('carousel-indicator-2'),\n            },\n            {\n                position: 2,\n                el: document.getElementById('carousel-indicator-3'),\n            },\n            {\n                position: 3,\n                el: document.getElementById('carousel-indicator-4'),\n            },\n        ],\n    },\n\n    // callback functions\n    onNext: () => {\n        console.log('next slider item is shown');\n    },\n    onPrev: () => {\n        console.log('previous slider item is shown');\n    },\n    onChange: () => {\n        console.log('new slider item has been shown');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'carousel-example',\n  override: true\n};\n\nconst carousel: CarouselInterface = new Carousel(carouselElement, items, options, instanceOptions);\n\ncarousel.cycle();\n\n// set event listeners for prev and next buttons\nconst $prevButton = document.getElementById('data-carousel-prev');\nconst $nextButton = document.getElementById('data-carousel-next');\n\n$prevButton.addEventListener('click', () => {\n    carousel.prev();\n});\n\n$nextButton.addEventListener('click', () => {\n    carousel.next();\n});\n```\n\n#### Chat bubble\n\nThe chat bubble component is the building block for creating chat interfaces where users can send messages to each other by text, voice notes, images, galleries and other attachments. These components are usually used in chat applications and social media platforms such as Facebook, Twitter/X, WhatsApp, and more.\n\nThe examples below provide multiple variations of default, outline, and clean styles coded with the utility classes from Tailwind CSS. Some of the components may require you to include the Flowbite JavaScript to enable the dropdowns and tooltips functionality.\n\n##### Default chat bubble\n\nUse this example to show a simple chat bubble with a text message, user profile and a timestamp.\n\n{{< example id=\"chat-bubble-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <p class=\"text-sm font-normal py-2.5 text-gray-900 dark:text-white\">That's awesome. I think our users will really appreciate the improvements.</p>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Voice note message\n\nThis example can be used to show a voice note message with control buttons and a dropdown menu.\n\n{{< example id=\"voice-note-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-2.5 w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 rounded-lg hover:bg-gray-200 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-600\" type=\"button\">\n            <svg class=\"w-4 h-4 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n               <path d=\"M3 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm7 0H9a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Z\"/>\n            </svg>\n         </button>\n         <svg aria-hidden=\"true\" class=\"w-[145px] md:w-[185px] md:h-[40px]\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n            <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n            <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"#1C64F2\"/>\n         </svg>\n         <span class=\"inline-flex self-center items-center p-2 text-sm font-medium text-gray-900 dark:text-white\">3:42</span>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"shrink-0 inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### File attachment\n\nUse this example to send a file attachment inside a chat bubble with the ability to download the file.\n\n{{< example id=\"file-attachement-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n         </div>\n         <div class=\"flex items-start my-2.5 bg-gray-50 dark:bg-gray-600 rounded-xl p-2\">\n            <div class=\"me-2\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-gray-500 dark:text-gray-400 gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-50 rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-600 dark:hover:bg-gray-500 dark:focus:ring-gray-600\" type=\"button\">\n                  <svg class=\"w-4 h-4 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                     <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                     <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                  </svg>\n               </button>\n            </div>\n         </div>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Image attachment\n\nThis example can be used to show an image attachment with a download button when hovering over.\n\n{{< example id=\"image-attachment-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <div class=\"flex items-center space-x-2 rtl:space-x-reverse mb-2\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n         </div>\n         <p class=\"text-sm font-normal text-gray-900 dark:text-white\">This is the new office <3</p>\n         <div class=\"group relative my-2.5\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                    <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                    </svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-lg\" />\n         </div>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Image gallery\n\nUse this example to show an image gallery based on a grid layout with the ability to download images.\n\n{{< example id=\"image-gallery-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex flex-col w-full max-w-[326px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <div class=\"flex items-center space-x-2 rtl:space-x-reverse mb-2\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n         </div>\n         <p class=\"text-sm font-normal text-gray-900 dark:text-white\">This is the new office <3</p>\n         <div class=\"grid gap-4 grid-cols-2 my-2.5\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-gray-900/90 hover:bg-gray-900/50 transition-all duration-300 rounded-lg flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n         </div>\n         <div class=\"flex justify-between items-center\">\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n            <button class=\"text-sm text-blue-700 dark:text-blue-500 font-medium inline-flex items-center hover:underline\">\n                <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                </svg>\n            Save all</button>\n         </div>\n      </div>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### URL preview sharing\n\nUse this example to show a OG preview of the URL that is being shared inside the chat bubble.\n\n{{< example id=\"url-sharing-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"520\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <p class=\"text-sm font-normal py-2.5 text-gray-900 dark:text-white\">Check out this open-source UI component library based on Tailwind CSS:</p>\n      <p class=\"text-sm font-normal pb-2.5 text-gray-900 dark:text-white\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-blue-700 dark:text-blue-500 underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n      <a href=\"#\" class=\"bg-gray-50 dark:bg-gray-600 rounded-xl p-4 mb-2 hover:bg-gray-200 dark:hover:bg-gray-500\">\n        <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-lg mb-2\" />\n        <span class=\"text-sm font-medium text-gray-900 dark:text-white mb-2\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n        <span class=\"text-xs text-gray-500 dark:text-gray-400 font-normal\">github.com</span>\n      </a>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Outline chat bubble\n\nUse this example to show a text message with the user profile and timestamp outside the chat bubble.\n\n{{< example id=\"outline-chat-bubble-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"370\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1 w-full max-w-[320px]\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex flex-col leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <p class=\"text-sm font-normal text-gray-900 dark:text-white\"> That's awesome. I think our users will really appreciate the improvements.</p>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Outline voice note\n\nThis example can be used to show a voice note with the user profile and timestamp outside the chat bubble.\n\n{{< example id=\"outline-voice-note-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"370\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col gap-1\">\n        <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n        </div>\n        <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n            <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n                <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 rounded-lg hover:bg-gray-200 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-600\" type=\"button\">\n                    <svg class=\"w-4 h-4 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n                        <path d=\"M3 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm7 0H9a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Z\"/>\n                    </svg>\n                </button>\n                <svg class=\"w-[145px] md:w-[185px] md:h-[40px]\" aria-hidden=\"true\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\"class=\"dark:fill-white\"/>\n                    <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"#1C64F2\"/>\n                </svg>\n                <span class=\"inline-flex self-center items-center p-2 text-sm font-medium text-gray-900 dark:text-white\">3:42</span>\n            </div>\n        </div>\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n    </div>\n    <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n        <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n            <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n        </svg>\n    </button>\n    <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n        <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n            </li>\n        </ul>\n    </div>\n</div>\n{{< /example >}}\n\n##### Outline file attachment\n\nUse this example to show a file attachment with the user profile and timestamp outside the chat bubble.\n\n{{< example id=\"outline-file-attachment-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <div class=\"flex items-start bg-gray-50 dark:bg-gray-600 rounded-xl p-2\">\n            <div class=\"me-2\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-gray-500 dark:text-gray-400 gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-50 rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-600 dark:hover:bg-gray-500 dark:focus:ring-gray-600\" type=\"button\">\n                  <svg class=\"w-4 h-4 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                     <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                     <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                  </svg>\n               </button>\n            </div>\n         </div>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Outline image attachment\n\nThis example can be used to send an image attachment with the user profile outside the chat bubble.\n\n{{< example id=\"outline-image-attachment-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"460\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n        <p class=\"text-sm font-normal text-gray-900 dark:text-white\">I'm working from home today! 😅</p>\n        <div class=\"group relative my-2.5\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                    <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                    </svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n        </div>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Outline image gallery\n\nUse this example to show an image gallery with the user profile and timestamp outside the chat bubble.\n\n{{< example id=\"outline-image-gallery-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"480\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n        <p class=\"text-sm font-normal text-gray-900 dark:text-white\">I'm working from home today! 😅</p>\n        <div class=\"grid gap-4 grid-cols-2 my-2.5\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-gray-900/90 hover:bg-gray-900/50 transition-all duration-300 rounded-lg flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n         </div>\n         <div class=\"flex justify-end items-center\">\n            <button class=\"text-sm text-blue-700 dark:text-blue-500 font-medium inline-flex items-center hover:underline\">\n                <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                </svg>\n            Save all</button>\n         </div>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Outline URL preview sharing\n\nUse this example to show a URL preview with the user profile and timestamp outside the chat bubble.\n\n{{< example id=\"outline-url-sharing-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"520\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n   <div class=\"flex flex-col gap-1 w-full max-w-[320px]\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"flex flex-col leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700\">\n         <p class=\"text-sm font-normal py-2.5 text-gray-900 dark:text-white\">Check out this open-source UI component library based on Tailwind CSS:</p>\n        <p class=\"text-sm font-normal pb-2.5 text-gray-900 dark:text-white\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-blue-700 dark:text-blue-500 underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n        <a href=\"#\" class=\"bg-gray-50 dark:bg-gray-600 rounded-xl p-4 mb-2 hover:bg-gray-200 dark:hover:bg-gray-500\">\n            <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-lg mb-2\" />\n            <span class=\"text-sm font-medium text-gray-900 dark:text-white mb-2\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n            <span class=\"text-xs text-gray-500 dark:text-gray-400 font-normal\">github.com</span>\n        </a>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n   <button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" data-dropdown-placement=\"bottom-start\" class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-900 dark:hover:bg-gray-800 dark:focus:ring-gray-600\" type=\"button\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n         <path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n      </svg>\n   </button>\n   <div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-40 dark:bg-gray-700 dark:divide-gray-600\">\n      <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reply</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Forward</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Copy</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report</a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Delete</a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Clean chat bubble\n\nUse this example to show a text message with the user profile and timestamp with a transparent background.\n\n{{< example id=\"clean-chat-bubble-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"180\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col w-full max-w-[320px] leading-1.5\">\n        <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n        </div>\n        <p class=\"text-sm font-normal py-2 text-gray-900 dark:text-white\"> That's awesome. I think our users will really appreciate the improvements.</p>\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}\n\n##### Clean voice note\n\nThis example can be used to show a voice note with a transparent background.\n\n{{< example id=\"clean-voice-note-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"180\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col gap-1\">\n        <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n        </div>\n        <div class=\"flex flex-col w-full max-w-[320px] leading-1.5 py-2 rounded-e-xl rounded-es-xl\">\n            <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n                <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:hover:bg-gray-600 dark:focus:ring-gray-600\" type=\"button\">\n                    <svg class=\"w-4 h-4 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 12 16\">\n                        <path d=\"M3 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm7 0H9a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Z\"/>\n                    </svg>\n                </button>\n                <svg class=\"w-[145px] md:w-[185px] md:h-[40px]\" aria-hidden=\"true\" viewBox=\"0 0 185 40\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                    <rect y=\"17\" width=\"3\" height=\"6\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"7\" y=\"15.5\" width=\"3\" height=\"9\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"21\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\"class=\"dark:fill-white\"/>\n                    <rect x=\"14\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"28\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"35\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"42\" y=\"5.5\" width=\"3\" height=\"29\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"49\" y=\"10\" width=\"3\" height=\"20\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"56\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"63\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#6B7280\" class=\"dark:fill-white\"/>\n                    <rect x=\"70\" y=\"12.5\" width=\"3\" height=\"15\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"77\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"84\" y=\"3\" width=\"3\" height=\"34\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"91\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"98\" y=\"0.5\" width=\"3\" height=\"39\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"105\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"112\" y=\"6.5\" width=\"3\" height=\"27\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"119\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"126\" y=\"11.5\" width=\"3\" height=\"17\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"133\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"140\" y=\"2\" width=\"3\" height=\"36\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"147\" y=\"7\" width=\"3\" height=\"26\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"154\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"161\" y=\"9\" width=\"3\" height=\"22\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"168\" y=\"13.5\" width=\"3\" height=\"13\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"175\" y=\"16\" width=\"3\" height=\"8\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"182\" y=\"17.5\" width=\"3\" height=\"5\" rx=\"1.5\" fill=\"#E5E7EB\" class=\"dark:fill-gray-500\"/>\n                    <rect x=\"66\" y=\"16\" width=\"8\" height=\"8\" rx=\"4\" fill=\"#1C64F2\"/>\n                </svg>\n                <span class=\"inline-flex self-center items-center p-2 text-sm font-medium text-gray-900 dark:text-white\">3:42</span>\n            </div>\n        </div>\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}\n\n##### Clean file attachment\n\nUse this example to show a file attachment and a download button with a transparent background.\n\n{{< example id=\"clean-file-attachment-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"200\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <div class=\"flex items-start bg-gray-50 dark:bg-gray-700 rounded-xl p-2\">\n            <div class=\"me-2\">\n               <span class=\"flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white pb-2\">\n                  <svg fill=\"none\" aria-hidden=\"true\" class=\"w-5 h-5 shrink-0\" viewBox=\"0 0 20 21\">\n                     <g clip-path=\"url(#clip0_3173_1381)\">\n                        <path fill=\"#E2E5E7\" d=\"M5.024.5c-.688 0-1.25.563-1.25 1.25v17.5c0 .688.562 1.25 1.25 1.25h12.5c.687 0 1.25-.563 1.25-1.25V5.5l-5-5h-8.75z\"/>\n                        <path fill=\"#B0B7BD\" d=\"M15.024 5.5h3.75l-5-5v3.75c0 .688.562 1.25 1.25 1.25z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M18.774 9.25l-3.75-3.75h3.75v3.75z\"/>\n                        <path fill=\"#F15642\" d=\"M16.274 16.75a.627.627 0 01-.625.625H1.899a.627.627 0 01-.625-.625V10.5c0-.344.281-.625.625-.625h13.75c.344 0 .625.281.625.625v6.25z\"/>\n                        <path fill=\"#fff\" d=\"M3.998 12.342c0-.165.13-.345.34-.345h1.154c.65 0 1.235.435 1.235 1.269 0 .79-.585 1.23-1.235 1.23h-.834v.66c0 .22-.14.344-.32.344a.337.337 0 01-.34-.344v-2.814zm.66.284v1.245h.834c.335 0 .6-.295.6-.605 0-.35-.265-.64-.6-.64h-.834zM7.706 15.5c-.165 0-.345-.09-.345-.31v-2.838c0-.18.18-.31.345-.31H8.85c2.284 0 2.234 3.458.045 3.458h-1.19zm.315-2.848v2.239h.83c1.349 0 1.409-2.24 0-2.24h-.83zM11.894 13.486h1.274c.18 0 .36.18.36.355 0 .165-.18.3-.36.3h-1.274v1.049c0 .175-.124.31-.3.31-.22 0-.354-.135-.354-.31v-2.839c0-.18.135-.31.355-.31h1.754c.22 0 .35.13.35.31 0 .16-.13.34-.35.34h-1.455v.795z\"/>\n                        <path fill=\"#CAD1D8\" d=\"M15.649 17.375H3.774V18h11.875a.627.627 0 00.625-.625v-.625a.627.627 0 01-.625.625z\"/>\n                     </g>\n                     <defs>\n                        <clipPath id=\"clip0_3173_1381\">\n                           <path fill=\"#fff\" d=\"M0 0h20v20H0z\" transform=\"translate(0 .5)\"/>\n                        </clipPath>\n                     </defs>\n                  </svg>\n                  Flowbite Terms & Conditions\n               </span>\n               <span class=\"flex text-xs font-normal text-gray-500 dark:text-gray-400 gap-2\">\n                  12 Pages \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  18 MB \n                  <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" class=\"self-center\" width=\"3\" height=\"4\" viewBox=\"0 0 3 4\" fill=\"none\">\n                     <circle cx=\"1.5\" cy=\"2\" r=\"1.5\" fill=\"#6B7280\"/>\n                  </svg>\n                  PDF\n               </span>\n            </div>\n            <div class=\"inline-flex self-center items-center\">\n               <button class=\"inline-flex self-center items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-50 rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-600\" type=\"button\">\n                  <svg class=\"w-4 h-4 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                     <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                     <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                  </svg>\n               </button>\n            </div>\n         </div>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n</div>\n{{< /example >}}\n\n##### Clean image attachment\n\nThis example can be used to show an image and a download button with a transparent background.\n\n{{< example id=\"clean-image-attachment-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"380\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <p class=\"text-sm font-normal text-gray-900 dark:text-white\">This is the new office <3</p>\n         <div class=\"group relative mt-2\">\n            <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                <button data-tooltip-target=\"download-image\" class=\"inline-flex items-center justify-center rounded-full h-10 w-10 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                    <svg class=\"w-5 h-5 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                    </svg>\n                </button>\n                <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Download image\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n            <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-lg\" />\n         </div>\n      </div>\n      <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n   </div>\n</div>\n{{< /example >}}\n\n##### Clean image gallery\n\nUse this example to show an image gallery with a transparent background as a chat message.\n\n{{< example id=\"clean-image-gallery-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"390\" >}}\n<div class=\"flex items-start gap-2.5\">\n   <img class=\"h-8 w-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\" />\n   <div class=\"flex flex-col gap-2.5\">\n      <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n         <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n         <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n      </div>\n      <div class=\"leading-1.5 flex w-full max-w-[320px] flex-col\">\n         <p class=\"text-sm font-normal text-gray-900 dark:text-white\">This is the new office <3</p>\n         <div class=\"grid gap-4 grid-cols-2 mt-2\">\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-1\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-1\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-2\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-2\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-2.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <div class=\"absolute w-full h-full bg-gray-900/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg flex items-center justify-center\">\n                    <button data-tooltip-target=\"download-image-3\" class=\"inline-flex items-center justify-center rounded-full h-8 w-8 bg-white/30 hover:bg-white/50 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50\">\n                        <svg class=\"w-4 h-4 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n                        </svg>\n                    </button>\n                    <div id=\"download-image-3\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <img src=\"/docs/images/blog/image-3.jpg\" class=\"rounded-lg\" />\n            </div>\n            <div class=\"group relative\">\n                <button class=\"absolute w-full h-full bg-gray-900/90 hover:bg-gray-900/50 transition-all duration-300 rounded-lg flex items-center justify-center\">\n                    <span class=\"text-xl font-medium text-white\">+7</span>\n                    <div id=\"download-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        Download image\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </button>\n                <img src=\"/docs/images/blog/image-1.jpg\" class=\"rounded-lg\" />\n            </div>\n         </div>\n      </div>\n      <div class=\"flex justify-between items-center\">\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n        <button class=\"text-sm text-blue-700 dark:text-blue-500 font-medium inline-flex items-center hover:underline\">\n            <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n            </svg>\n        Save all</button>\n        </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### Clean URL preview sharing\n\nThis example can be used to show a URL preview with a transparent background.\n\n{{< example id=\"clean-url-sharing-example\" class=\"flex justify-center\" github=\"components/chat-bubble.md\" show_dark=true iframeHeight=\"450\" >}}\n<div class=\"flex items-start gap-2.5\">\n    <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n    <div class=\"flex flex-col w-full max-w-[320px] leading-1.5\">\n        <div class=\"flex items-center space-x-2 rtl:space-x-reverse\">\n            <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</span>\n            <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">11:46</span>\n        </div>\n        <p class=\"text-sm font-normal py-2.5 text-gray-900 dark:text-white\">Check out this open-source UI component library based on Tailwind CSS:</p>\n        <p class=\"text-sm font-normal pb-2.5 text-gray-900 dark:text-white\"><a href=\"https://github.com/themesberg/flowbite\" class=\"text-blue-700 dark:text-blue-500 underline hover:no-underline font-medium break-all\">https://github.com/themesberg/flowbite</a></p>\n        <a href=\"#\" class=\"bg-gray-50 dark:bg-gray-600 rounded-xl p-4 mb-2 hover:bg-gray-200 dark:hover:bg-gray-500\">\n            <img src=\"https://flowbite.com/docs/images/og-image.png\" class=\"rounded-lg mb-2\" />\n            <span class=\"text-sm font-medium text-gray-900 dark:text-white mb-2\">GitHub - themesberg/flowbite: The most popular and open source libra ...</span>\n            <span class=\"text-xs text-gray-500 dark:text-gray-400 font-normal\">github.com</span>\n        </a>\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Delivered</span>\n    </div>\n</div>\n{{< /example >}}\n\n#### Clipboard\n\nThe copy to clipboard component allows you to copy text, lines of code, contact details or any other data to the clipboard with a single click on a trigger element such as a button. This component can be used to copy text from an input field, textarea, code block or even address fields in a form element.\n\nUse cases for websites can be found in the examples below and they include copying code installation commands, API keys, URLs, addresses, contact details, sharing course URLs inside a modal and more. \n\nThese components are built with Tailwind CSS and Flowbite and can be found on the internet on websites such as Bitly, Cloudflare, Amazon AWS and almost all open-source projects and documentations.\n\n##### Default copy to clipboard\n\nMake sure that you add the `data-copy-to-clipboard-target=\"elementID\"` data attribute to the trigger element (ie. the button) to initialize the JS behavior where the `elementID` is the ID of the element where the source text can be found (such as input field).\n\nUse this example to copy the content of an input text field by clicking on a button and update the button text by applying the JavaScript code from the tab below based on the `updateOnCopyCallback()` function callback from the Flowbite JS API.\n\n{{< example id=\"clipboard-example\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install');\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n\n        // reset to default state\n        setTimeout(() => {\n            $defaultMessage.classList.remove('hidden');\n            $successMessage.classList.add('hidden');\n        }, 2000);\n    });\n})\n` >}}\n<div class=\"grid grid-cols-8 gap-2 w-full max-w-[23rem]\">\n    <label for=\"npm-install\" class=\"sr-only\">Label</label>\n    <input id=\"npm-install\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"npm install flowbite\" disabled readonly>\n    <button data-copy-to-clipboard-target=\"npm-install\" class=\"col-span-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 items-center inline-flex justify-center\">\n        <span id=\"default-message\">Copy</span>\n        <span id=\"success-message\" class=\"hidden\">\n            <div class=\"inline-flex items-center\">\n                <svg class=\"w-3 h-3 text-white me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n                Copied!\n            </div>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Input with copy button\n\nThis example can be used to copy the content of an input field by clicking on a button with an icon positioned inside the form element and also show a tooltip with a message when the text has been copied.\n\nIf you also want to update the text inside the tooltip and the icon, then you need to apply the JavaScript code based on the `updateOnCopyCallback()` function callback from the Flowbite JS API.\n\n{{< example id=\"clipboard-button-input-example\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install-copy-button');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-copy-npm-install-copy-button');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-[16rem]\">\n    <div class=\"relative\">\n        <label for=\"npm-install-copy-button\" class=\"sr-only\">Label</label>\n        <input id=\"npm-install-copy-button\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"npm install flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"npm-install-copy-button\" data-tooltip-target=\"tooltip-copy-npm-install-copy-button\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon\">\n                <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon\" class=\"hidden\">\n                <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-copy-npm-install-copy-button\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Copy button with text\n\nUse this example to show a copy button inside the input field with a text label and icon that updates to a success state when the text has been copied. Make sure that you also apply the custom JavaScript code below to enable the success and default message states.\n\n{{< example id=\"clipboard-button-text-input-example\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'npm-install-copy-text');\n\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n    }\n\n    const resetToDefault = () => {\n        $defaultMessage.classList.remove('hidden');\n        $successMessage.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-[16rem]\">\n    <div class=\"relative\">\n        <label for=\"npm-install-copy-text\" class=\"sr-only\">Label</label>\n        <input id=\"npm-install-copy-text\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full px-2.5 py-4 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"npm install flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"npm-install-copy-text\" class=\"absolute end-2.5 top-1/2 -translate-y-1/2 text-gray-900 dark:text-gray-400 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-2.5 inline-flex items-center justify-center bg-white border-gray-200 border h-8\">\n            <span id=\"default-message\">\n                <span class=\"inline-flex items-center\">\n                    <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                        <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-xs font-semibold\">Copy</span>\n                </span>\n            </span>\n            <span id=\"success-message\" class=\"hidden\">\n                <span class=\"inline-flex items-center\">\n                    <svg class=\"w-3 h-3 text-blue-700 dark:text-blue-500 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                    </svg>\n                    <span class=\"text-xs font-semibold text-blue-700 dark:text-blue-500\">Copied</span>\n                </span>\n            </span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Input group with copy\n\nThis example can be used to show a copy to clipboard button inside an input group which has a label positioned inside the input field. The icon inside the button will switch to a success state if you also apply the custom JavaScript code below.\n\n{{< example id=\"clipboard-button-group-example\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'website-url');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-website-url');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-sm\">\n    <div class=\"mb-2 flex justify-between items-center\">\n        <label for=\"website-url\" class=\"text-sm font-medium text-gray-900 dark:text-white\">Verify your website:</label>\n    </div>\n    <div class=\"flex items-center\">\n        <span class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600\">URL</span>\n        <div class=\"relative w-full\">\n            <input id=\"website-url\" type=\"text\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"https://flowbite.com\" readonly disabled />\n        </div>\n        <button data-tooltip-target=\"tooltip-website-url\" data-copy-to-clipboard-target=\"website-url\" class=\"shrink-0 z-10 inline-flex items-center py-3 px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700\" type=\"button\">\n            <span id=\"default-icon\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon\" class=\"hidden\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-website-url\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message\">Copy link</span>\n            <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Security certificate is required for approval</p>\n</div>\n{{< /example >}}\n\n##### URL shortener input group\n\nUse this example to copy a shortened URL to the clipboard by clicking on a button with an icon positioned inside the input field and also show a tooltip with a message when the text has been copied.\n\n{{< example id=\"clipboard-url-shortener-example\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"280\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'url-shortener');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-url-shortener');\n\n    const $defaultIcon = document.getElementById('default-icon');\n    const $successIcon = document.getElementById('success-icon');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-sm\">\n    <div class=\"mb-2 flex justify-between items-center\">\n        <label for=\"url-shortener\" class=\"text-sm font-medium text-gray-900 dark:text-white\">Shorten URL:</label>\n    </div>\n    <div class=\"flex items-center\">\n        <button class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-white bg-blue-700 dark:bg-blue-600 border hover:bg-blue-800 dark:hover:bg-blue-700 rounded-s-lg border-blue-700 dark:border-blue-600 hover:border-blue-700 dark:hover:border-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:focus:ring-blue-800\">Generate</button>\n        <div class=\"relative w-full\">\n            <input id=\"url-shortener\" type=\"text\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"https://bit.ly/3U2SXcF\" readonly disabled />\n        </div>\n        <button data-tooltip-target=\"tooltip-url-shortener\" data-copy-to-clipboard-target=\"url-shortener\" class=\"shrink-0 z-10 inline-flex items-center py-3 px-4 text-sm font-medium text-center text-gray-500 dark:text-gray-400 hover:text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:hover:text-white dark:border-gray-600\" type=\"button\">\n            <span id=\"default-icon\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon\" class=\"hidden\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-url-shortener\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message\">Copy link</span>\n            <span id=\"success-tooltip-message\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Make sure that your URL is valid</p>\n</div>\n{{< /example >}}\n\n##### Copy source code block\n\nThis example can be used to copy and paste code inside a `<pre>` and `<code>` block by clicking on a button with an icon position inside the block and also show a tooltip with a message when the text has been copied.\n\nYou need to add an extra `data-copy-to-clipboard-content-type=\"innerHTML\"` data attribute to the trigger element (ie. the button) to specify that the content that is to be copied is from the `innerHTML` of the target element (ie. the code block). \n\nYou also need to add the `data-copy-to-clipboard-html-entities=\"true\"` option to the trigger element so that the copied text will be decoded from HTML entities to plain text that will work inside your code editor.\n\n{{< example id=\"clipboard-source-block\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"480\" javascript=`\nwindow.addEventListener('load', function () {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'code-block');\n\n    const $defaultMessage = document.getElementById('default-message');\n    const $successMessage = document.getElementById('success-message');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultMessage.classList.add('hidden');\n        $successMessage.classList.remove('hidden');\n    }\n\n    const resetToDefault = () => {\n        $defaultMessage.classList.remove('hidden');\n        $successMessage.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-lg\">\n    <div class=\"mb-2 flex justify-between items-center\">\n        <p class=\"text-sm font-medium text-gray-900 dark:text-white\">Card example with CTA button:</p>\n    </div>\n    <div class=\"relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-64\">\n        <div class=\"overflow-scroll max-h-full\">\n            <pre><code id=\"code-block\" class=\"text-sm text-gray-500 dark:text-gray-400 whitespace-pre\">&#x27;use client&#x27;;\n\nimport Link from &#x27;next/link&#x27;;\nimport { Navbar } from &#x27;flowbite-react&#x27;;\n\nfunction Component() {\n  return (\n    &#x3C;Navbar fluid rounded&#x3E;\n      &#x3C;Navbar.Brand as={Link} href=&#x22;https://flowbite-react.com&#x22;&#x3E;\n        &#x3C;img src=&#x22;/favicon.svg&#x22; className=&#x22;mr-3 h-6 sm:h-9&#x22; alt=&#x22;Flowbite React Logo&#x22; /&#x3E;\n        &#x3C;span className=&#x22;self-center whitespace-nowrap text-xl font-semibold dark:text-white&#x22;&#x3E;Flowbite React&#x3C;/span&#x3E;\n      &#x3C;/Navbar.Brand&#x3E;\n      &#x3C;Navbar.Toggle /&#x3E;\n      &#x3C;Navbar.Collapse&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22; active&#x3E;\n          Home\n        &#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link as={Link} href=&#x22;#&#x22;&#x3E;\n          About\n        &#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Services&#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Pricing&#x3C;/Navbar.Link&#x3E;\n        &#x3C;Navbar.Link href=&#x22;#&#x22;&#x3E;Contact&#x3C;/Navbar.Link&#x3E;\n      &#x3C;/Navbar.Collapse&#x3E;\n    &#x3C;/Navbar&#x3E;\n  );\n}\n</code></pre>\n        </div>\n    <div class=\"absolute top-2 end-2 bg-gray-50 dark:bg-gray-700\">\n        <button data-copy-to-clipboard-target=\"code-block\" data-copy-to-clipboard-content-type=\"innerHTML\" data-copy-to-clipboard-html-entities=\"true\" class=\"text-gray-900 dark:text-gray-400 m-0.5 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-2.5 inline-flex items-center justify-center bg-white border-gray-200 border h-8\">\n            <span id=\"default-message\">\n                <span class=\"inline-flex items-center\">\n                    <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                        <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-xs font-semibold\">Copy code</span>\n                </span>\n            </span>\n            <span id=\"success-message\" class=\"hidden\">\n                <span class=\"inline-flex items-center\">\n                    <svg class=\"w-3 h-3 text-blue-700 dark:text-blue-500 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                    </svg>\n                    <span class=\"text-xs font-semibold text-blue-700 dark:text-blue-500\">Copied</span>\n                </span>\n            </span>\n        </button>\n    </div>\n    </div>\n    <p class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Configure Tailwind CSS and Flowbite before copying the code</p>\n</div>\n{{< /example >}}\n\n##### Card with API keys\n\nUse this example to show multiple input field elements that have the copy to clipboard button inside a card component for more complex applications where you need to copy API keys, account IDs and more.\n\nMake sure that you also apply the custom JavaScript code with the function callback to enable the success and default message states for each input field and copy button.\n\n{{< example id=\"clipboard-api-keys\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"580\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboardAccountID = FlowbiteInstances.getInstance('CopyClipboard', 'account-id');\n    const clipboardExternalID = FlowbiteInstances.getInstance('CopyClipboard', 'api-key');\n    const clipboardRoleARN = FlowbiteInstances.getInstance('CopyClipboard', 'role-arn');\n\n    const tooltipAccountID = FlowbiteInstances.getInstance('Tooltip', 'tooltip-account-id');\n    const tooltipExternalID = FlowbiteInstances.getInstance('Tooltip', 'tooltip-api-key');\n    const tooltipRoleARN = FlowbiteInstances.getInstance('Tooltip', 'tooltip-role-arn');\n\n    const clipboards = [\n        {\n            clipboard: clipboardAccountID,\n            tooltip: tooltipAccountID,\n            defaultMessage: document.getElementById('default-tooltip-message-account-id'),\n            successMessage: document.getElementById('success-tooltip-message-account-id'),\n            defaultIcon: document.getElementById('default-icon-account-id'),\n            successIcon: document.getElementById('success-icon-account-id')\n        },\n        {\n            clipboard: clipboardExternalID,\n            tooltip: tooltipExternalID,\n            defaultMessage: document.getElementById('default-tooltip-message-api-key'),\n            successMessage: document.getElementById('success-tooltip-message-api-key'),\n            defaultIcon: document.getElementById('default-icon-api-key'),\n            successIcon: document.getElementById('success-icon-api-key')\n        },\n        {\n            clipboard: clipboardRoleARN,\n            tooltip: tooltipRoleARN,\n            defaultMessage: document.getElementById('default-tooltip-message-role-arn'),\n            successMessage: document.getElementById('success-tooltip-message-role-arn'),\n            defaultIcon: document.getElementById('default-icon-role-arn'),\n            successIcon: document.getElementById('success-icon-role-arn')\n        }\n    ]\n\n    clipboards.forEach((item) => {\n        item.clipboard.updateOnCopyCallback(() => {\n            showSuccess(item.defaultMessage, item.successMessage);\n            showSuccess(item.defaultIcon, item.successIcon);\n            item.tooltip.show();\n\n            // reset to default state\n            setTimeout(() => {\n                resetToDefault(item.defaultMessage, item.successMessage);\n                resetToDefault(item.defaultIcon, item.successIcon);\n                item.tooltip.hide();\n            }, 2000);\n        })\n    })\n\n    const showSuccess = ($defaultEl, $successEl) => {\n        $defaultEl.classList.add('hidden');\n        $successEl.classList.remove('hidden');\n    }\n\n    const resetToDefault = ($defaultEl, $successEl) => {\n        $defaultEl.classList.remove('hidden');\n        $successEl.classList.add('hidden');\n    }\n})\n` >}}\n<div class=\"w-full max-w-lg bg-white dark:bg-gray-800 border-gray-200 border dark:border-gray-700 shadow-sm rounded-lg p-5\">\n    <h2 class=\"text-lg font-semibold text-gray-900 dark:text-white mb-2\">Create a role with read only in-line policies</h2>\n    <p class=\"text-gray-500 dark:text-gray-400 mb-6\">To give Flowbite read access, please create an IAM Role following <a href=\"#\" class=\"text-blue-700 dark:text-blue-500 underline hover:no-underline font-medium\">trust relationship</a> and <a href=\"#\" class=\"text-blue-700 dark:text-blue-500 underline hover:no-underline font-medium\">inline policy</a>.</p>\n    <label for=\"account-id\" class=\"text-sm font-medium text-gray-900 dark:text-white mb-2 block\">Flowbite account ID:</label>\n    <div class=\"relative mb-4\">\n        <input id=\"account-id\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"756593826\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"account-id\" data-tooltip-target=\"tooltip-account-id\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-account-id\">\n                <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon-account-id\" class=\"hidden\">\n                <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-account-id\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message-account-id\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-account-id\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <label for=\"api-key\" class=\"text-sm font-medium text-gray-900 dark:text-white mb-2 block\">API key:</label>\n    <div class=\"relative mb-4\">\n        <input id=\"api-key\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"f4h6sd3t-jsy63ind-hsgdt7rs-jdhf76st\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"api-key\" data-tooltip-target=\"tooltip-api-key\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-api-key\">\n                <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon-api-key\" class=\"hidden\">\n                <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-api-key\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message-api-key\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-api-key\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <label for=\"role-arn\" class=\"text-sm font-medium text-gray-900 dark:text-white mb-2 block\">Role ARN:</label>\n    <div class=\"relative mb-6\">\n        <input id=\"role-arn\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"123456789012:user/Flowbite\" disabled readonly>\n        <button data-copy-to-clipboard-target=\"role-arn\" data-tooltip-target=\"tooltip-role-arn\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-role-arn\">\n                <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon-role-arn\" class=\"hidden\">\n                <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-role-arn\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message-role-arn\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-role-arn\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n        <button type=\"button\" class=\"py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Cancel</button>\n        <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Next step</button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Copy contact details\n\nThis example can be used to copy the text content (ie. contact details) inside of the `<address>` field by clicking on the copy to clipboard button positioned inside of the address card.\n\nMake sure that you set the `data-copy-to-clipboard-content-type=\"textContent\"` data attribute to the trigger element (ie. the button) to specify the source of the content that is to be copied.\n\n{{< example id=\"contact-details-clipboard\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"380\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'contact-details');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-contact-details');\n\n    const $defaultIcon = document.getElementById('default-icon-contact-details');\n    const $successIcon = document.getElementById('success-icon-contact-details');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message-contact-details');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message-contact-details');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<div class=\"w-full max-w-md bg-white dark:bg-gray-800 border border-gray-200 dark:border-gray-700 shadow-sm rounded-lg p-5\">\n    <h2 class=\"text-lg font-semibold text-gray-900 dark:text-white mb-2\">Contact details</h2>\n    <address class=\"relative bg-gray-50 dark:bg-gray-700 dark:border-gray-600 p-4 rounded-lg border border-gray-200 not-italic grid grid-cols-2\">\n        <div class=\"space-y-2 text-gray-500 dark:text-gray-400 leading-loose hidden sm:block\">\n            Name <br />\n            Email <br />\n            Phone Number\n        </div>\n        <div id=\"contact-details\" class=\"space-y-2 text-gray-900 dark:text-white font-medium leading-loose\">\n            Bonnie Green <br />\n            name@flowbite.com <br />\n            + 12 345 67890\n        </div>\n        <button data-copy-to-clipboard-target=\"contact-details\" data-copy-to-clipboard-content-type=\"textContent\" data-tooltip-target=\"tooltip-contact-details\" class=\"absolute end-2 top-2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n            <span id=\"default-icon-contact-details\">\n                <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>\n            </span>\n            <span id=\"success-icon-contact-details\" class=\"hidden\">\n                <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </span>\n        </button>\n        <div id=\"tooltip-contact-details\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"default-tooltip-message-contact-details\">Copy to clipboard</span>\n            <span id=\"success-tooltip-message-contact-details\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </address>\n</div>\n{{< /example >}}\n\n##### Copy button with modal\n\nUse this example to show an input field where you can copy the URL of the current page and also show a modal with the copied URL when the copy button is clicked.\n\n{{< example id=\"copy-to-clipboard-modal\" class=\"flex justify-center items-center h-full\" github=\"components/clipboard.md\" show_dark=true iframeHeight=\"580\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'course-url');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-course-url');\n\n    const $defaultIcon = document.getElementById('default-icon-course-url');\n    const $successIcon = document.getElementById('success-icon-course-url');\n\n    const $defaultTooltipMessage = document.getElementById('default-tooltip-message-course-url');\n    const $successTooltipMessage = document.getElementById('success-tooltip-message-course-url');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n})\n` >}}\n<button type=\"button\" data-modal-target=\"course-modal\" data-modal-toggle=\"course-modal\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M17.5 3A3.5 3.5 0 0 0 14 7L8.1 9.8A3.5 3.5 0 0 0 2 12a3.5 3.5 0 0 0 6.1 2.3l6 2.7-.1.5a3.5 3.5 0 1 0 1-2.3l-6-2.7a3.5 3.5 0 0 0 0-1L15 9a3.5 3.5 0 0 0 6-2.4c0-2-1.6-3.5-3.5-3.5Z\"/>\n</svg>\nShare course\n</button>\n\n<!-- Main modal -->\n<div id=\"course-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-lg max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-800\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5\">\n                <h3 class=\"text-lg text-gray-500 dark:text-gray-400\">\n                    Share course\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm h-8 w-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-700 dark:hover:text-white\" data-modal-toggle=\"course-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"px-4 pb-4 md:px-5 md:pb-5\">\n                <label for=\"course-url\" class=\"text-sm font-medium text-gray-900 dark:text-white mb-2 block\">Share the course link below with your friends:</label>\n                <div class=\"relative mb-4\">\n                    <input id=\"course-url\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"https://flowbite.com/docs/components/alerts/\" disabled readonly>\n                    <button data-copy-to-clipboard-target=\"course-url\" data-tooltip-target=\"tooltip-course-url\" class=\"absolute end-2 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg p-2 inline-flex items-center justify-center\">\n                        <span id=\"default-icon-course-url\">\n                            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                            </svg>\n                        </span>\n                        <span id=\"success-icon-course-url\" class=\"hidden\">\n                            <svg class=\"w-3.5 h-3.5 text-blue-700 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                            </svg>\n                        </span>\n                    </button>\n                    <div id=\"tooltip-course-url\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                        <span id=\"default-tooltip-message-course-url\">Copy to clipboard</span>\n                        <span id=\"success-tooltip-message-course-url\" class=\"hidden\">Copied!</span>\n                        <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                    </div>\n                </div>\n                <button type=\"button\" data-modal-hide=\"course-modal\" class=\"py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Close</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nUse the **CopyClipboard** object from the Flowbite JS API to create a component with a trigger element (ie. an input field, code blocks, address tag) and target element (ie. button or text) where the content of the target element is copied to the clipboard when the trigger element is clicked.\n\n###### Object parameters\n\nUse the object parameters from the CopyClipboard object to set options such as the content type of the text that is to be copied (ie. value of an input field, text content or inner HTML) and other options.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the trigger element (ie. a button or text) that will trigger the copy to clipboard event when being clicked.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the target element where the text that will be copied to the clipboard is located (ie. an input field, code block, address tag).\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to set the the content type, HTML decoder and callback function for the copy to clipboard event.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these optional options for the CopyClipboard object to set the content type from where the text will be copied from, an optional HTML decoder for code blocks and function callbacks to set success and default messages.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">contentType</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the source of the text that will be copied: input (default), innerHTML or textContent.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">htmlEntities</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set this option to true if you want to decode the HTML entities for code blocks. Default is false.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onCopy</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the text has been copied to the clipboard.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods from the CopyClipboard component to programmatically work with the component such as copying the text on demand or updating the callback function.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getTargetValue()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                 Get the value of the target element (ie. input field, code block, address tag).\n              </td>\n          </tr>\n        <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">copy()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this method to copy the text from the target element to the clipboard.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">decodeHTML()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to decode the HTML entities from the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnCopyCallback(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to update the callback function that is called when the text has been copied to the clipboard.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following example to learn how to create a new CopyClipboard component via the Flowbite JavaScript API and set up the class, options, and methods to programmatically work with the component.\n\n```javascript\n// set the trigger element such as a button or text field\nconst $triggerEl = document.getElementById('copy-clipboard-button');\n\n// set the trigger element such as an input field or code block\nconst $targetEl = document.getElementById('copy-text');\n\n// optional options with default values and callback functions\nconst options = {\n    contentType: 'input',\n    htmlEntities: false, // infinite\n    onCopy: () => {\n        console.log('text copied successfully!');\n    }\n};\n\nconst instanceOptions = {\n  id: 'copy-clipboard-example',\n  override: true\n};\n```\n\nNext step is to create a new instance of a CopyClipboard object using the parameters we have set above.\n\n```javascript\nimport { CopyClipboard } from 'flowbite';\n\n/*\n * $triggerEl: required\n * $targetEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst clipboard = new CopyClipboard($triggerEl, $targetEl, options, instanceOptions);\n```\n\nSet the event listeners on the button to copy the text from the input field:\n\n```javascript\n$triggerEl.addEventListener('click', () => {\n    clipboard.copy();\n});\n```\n\nNow you can programmatically call the methods of the CopyClipboard component:\n\n```javascript\n// get the value, inner HTML or text content of the target element\nclipboard.getTargetValue();\n\n// copy the target element text value\nclipboard.copy();\n\n// update the on copy function callback\nclipboard.updateOnCopyCallback(() => {\n    // do something when the text has been copied to the clipboard\n    console.log('updated on copy callback success message');\n});\n```\n\n###### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n```html\n<div class=\"grid grid-cols-8 gap-2 w-full max-w-[23rem]\">\n    <label for=\"copy-text\" class=\"sr-only\">Label</label>\n    <input id=\"copy-text\" type=\"text\" class=\"col-span-6 bg-gray-50 border border-gray-300 text-gray-500 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"npm install flowbite\" disabled readonly>\n    <button id=\"copy-clipboard-button\" class=\"col-span-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 items-center inline-flex justify-center\">\n        <span id=\"default-message\">Copy</span>\n        <span id=\"success-message\" class=\"hidden inline-flex items-center\">\n            <svg class=\"w-3 h-3 text-white me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n            </svg>\n            Copied!\n        </span>\n    </button>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the CopyClipboard object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { CopyClipboard } from 'flowbite';\nimport type { CopyClipboardOptions, CopyClipboardInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the trigger element which will be clicked (ie. a button or text)\nconst $triggerEl: HTMLElement = document.getElementById('copy-clipboard-button') as HTMLElement;\n\n// set the target element where the text will be copied from (ie. input field, code block)\nconst $targetEl: HTMLInputElement = document.getElementById('copy-text') as HTMLInputElement;\n\n// optional options with default values and callback functions\nconst options: CopyClipboardOptions = {\n    contentType: 'input',\n    htmlEntities: false, // infinite\n    onCopy: () => {\n        console.log('text copied successfully!');\n    }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'copy-clipboard-example',\n  override: true\n};\n\n/*\n * $triggerEl: required\n * $targetEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst clipboard: CopyClipboardInterface = new CopyClipboard(\n    $triggerEl,\n    $targetEl,\n    options,\n    instanceOptions\n);\n\n// copy the value of the target element\nclipboard.copy();\n```\n\n#### Datepicker\n\nThe Tailwind CSS datepicker component developed by Flowbite is built with vanilla JavaScript and using the utility-first classes from Tailwind. The datepicker features both inline and a date range picker functionality and some extra options such as autohide, custom format, positioning, and more. Check out the [timepicker component](https://flowbite.com/docs/forms/timepicker/) to select time alongside dates.\n\n##### Getting started\n\nIf you want to use the datepicker component from Flowbite you have to include the Flowbite JavaScript file either via NPM or CDN. For versions before `2.4.0` please continue using the dedicated CDN and component.\n\nFollow the [quickstart guide]({{< ref \"getting-started/quickstart\" >}}) and then include the following JavaScript file:\n\n```html\n<script src=\"../path/to/flowbite/dist/flowbite.min.js\"></script>\n```\n\nAlternatively you can also use CDN to include the datepicker JavaScript.\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.min.js\"></script>\n```\n\nAlso make sure that you add the source files for Tailwind in your main CSS file:\n\n```css\n@import \"tailwindcss\";\n\n@source \"../node_modules/flowbite-datepicker\";\n```\n\nIf you'd like to manually be able to manipulate the datepicker component using JavaScript then you should <a href=\"#javascript\">install the component using NPM</a> and include it into your JavaScript code.\n\n##### Datepicker example\n\nUse the following example of an input element to create a datepicker component. All you need to do is to add the `datepicker` data attribute to any `input` element.\n\n{{< example id=\"default-datepicker-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"500\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n    </svg>\n  </div>\n  <input datepicker id=\"default-datepicker\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n##### Inline datepicker\n\nUse the `inline-datepicker` and `data-date` data attributes to initialize and set the default date for an inline datepicker inside a block element such as a `div`.\n\n{{< example id=\"datepicker-inline-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true initDatepicker=true >}}\n<div id=\"datepicker-inline\" inline-datepicker data-date=\"02/25/2024\"></div>\n{{< /example >}}\n\n##### Date range picker\n\nUse the `date-rangepicker` data attribute and the following markup to initialize two datepickers as a range.\n\n{{< example id=\"datepicker-range-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div id=\"date-range-picker\" date-rangepicker class=\"flex items-center\">\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n         <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n        </svg>\n    </div>\n    <input id=\"datepicker-range-start\" name=\"start\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date start\">\n  </div>\n  <span class=\"mx-4 text-gray-500\">to</span>\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n         <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n        </svg>\n    </div>\n    <input id=\"datepicker-range-end\" name=\"end\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date end\">\n</div>\n</div>\n{{< /example >}}\n\n##### Options\n\nLearn more about the options that you can use with the Tailwind datepicker to enable features such as autohide, action buttons, date format, orientation, and more based on the vanilla JavaScript from Flowbite.\n\n###### Autohide\n\nUse the `datepicker-autohide` data attribute to make the datepicker disappear right after selecting a date.\n\n{{< example id=\"datepicker-autohide-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-autohide\" datepicker datepicker-autohide type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Action buttons\n\nBy adding the `datepicker-buttons` data attribute you will enable the `today` and `clear` buttons:\n\n- clicking on the `today` button will browse back to the current day/month/year\n- clicking on the `clear` button will reset all selections\n\nIf you want the button to additionally select today's date, add `datepicker-autoselect-today` data attribute.\n\n{{< example id=\"datepicker-action-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"530\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-actions\" datepicker datepicker-buttons datepicker-autoselect-today type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Date format\n\nIf you want to use a custom format such as `mm-dd-yyyy`then you can use the `datepicker-format=\"{format}\"` data attribute to change it.\n\n{{< example id=\"datepicker-date-format-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-format\" datepicker datepicker-format=\"mm-dd-yyyy\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Max and min dates\n\nUse the `datepicker-min-date={format}` and `datepicker-max-date={format}` to set the minimum and maximum dates that can be selected inside the datepicker.\n\n{{< example id=\"datepicker-max-min-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-format\" datepicker datepicker-min-date=\"06/04/2024\" datepicker-max-date=\"05/05/2025\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Orientation\n\nYou can override the default positioning algorithm by using the `datepicker-orientation=\"{top|right|bottom|left}\"` data attributes. You can even combine right with bottom or left with top.\n\n{{< example id=\"datepicker-orientation-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"480\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-orientation\" datepicker datepicker-orientation=\"bottom right\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Title\n\nYou can also add a title to the datepicker by using the `datepicker-title=\"{title}\"` data attribute.\n\n{{< example id=\"datepicker-title-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"components/datepicker.md\" show_dark=true iframeHeight=\"530\" initDatepicker=true >}}\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n      </svg>\n  </div>\n  <input id=\"datepicker-title\" datepicker datepicker-title=\"Flowbite datepicker\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n{{< /example >}}\n\n###### Custom colors\n\nYou can set the `primary` color class which is by default set to blue to add your own colors.\n\n###### Language (i18n)\n\nWe are working on the API to provide language support for the datepicker. \n\nUntil then, please refer to this [solution from GitHub](https://github.com/themesberg/flowbite/issues/32#issuecomment-1420422922).\n\n##### Timepicker\n\nUse the native browser timepicker input field to select a time alongside the datepicker. Check out more examples on the [timepicker](https://flowbite.com/docs/forms/timepicker/) component page from Flowbite.\n\n{{< example id=\"timepicker-default-example\" github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n            </svg>\n        </div>\n        <input type=\"time\" id=\"time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n    </div>\n</form>\n{{< /example >}}\n\n##### Dark mode\n\nIf you would like to enable dark mode for the datepicker please follow the [dark mode]({{< ref \"customize/dark-mode\" >}}) guide on Flowbite and enable it either manually or by using a dark mode switcher.\n\n##### JavaScript Behaviour\n\nUse the **Tailwind CSS Datepicker** component from Flowbite to select a date or range of dates based on the Datepicker API and configure the component using the methods and options that you can pass when creating the object using JavaScript.\n\n###### Object parameters\n\nUse the object parameters from the Datepicker component to set the datepicker parent input element and the options associated with it when creating a new instance.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">datepickerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the main HTML element that will be rendered for the datepicker. It can be an input element or a `div` for inline rendering.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use the options parameter to set custom datepicker options such as the default date, minimum and maximum values, action buttons and callback functions.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these optional options for the Datepicker object to set options such as the date format, orientation, max and min dates, custom buttons, callback functions and more.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">rangePicker</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Boolean\n              </td>\n              <td class=\"px-6 py-4\">\n                  If set to true then the datepicker will be converted to a date range picker. By default it's false.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">format</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this option to set a custom format for the datepicker. By default it's `mm/dd/yyyy`.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">maxDate</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this option to set the maximum selectable date of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">minDate</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Use this option to set the minimum selectable date of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">orientation</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set the orientation of the datepicker component when it's not inline. It can be top, bottom, left, or right.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">buttons</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Boolean\n              </td>\n              <td class=\"px-6 py-4\">\n                 If set to true then the \"today\" and \"clear\" action buttons will be shown that lets you select today's date or clear selections.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">autoSelectToday</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                 If set to 1 then it will automatically have today's date preselected.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">title</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set a custom title for the datepicker component. By default it's null.\n              </td>\n          </tr>\n          <!-- <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">language</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                 Set the language of the datepicker using country codes like `es`, `fr`, or `de`. By default it's set to english.\n              </td>\n          </tr> -->\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods of the Datepicker object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n        <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getDate()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the currenctly select date from the datepicker.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">setDate()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set the date value of the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this function to programatically show the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this function to programatically hide the datepicker component.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getDatepickerInstance()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the parent datepicker instance with the extended collection of methods and options.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the datepicker component has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the datepicker component has been hidden.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following examples to learn how to use a basic HTML markup together with the Flowbite Datepicker API JS.\n\nFirst of all, you need to select the datepicker element (it can be an input field or div for inline datepickers) and set up the options object.\n\n```javascript\n// set the target element of the input field\nconst $datepickerEl = document.getElementById('datepicker-custom');\n\n// optional options with default values and callback functions\nconst options = {\n    defaultDatepickerId: null,\n    autohide: false,\n    format: 'mm/dd/yyyy',\n    maxDate: null,\n    minDate: null,\n    orientation: 'bottom',\n    buttons: false,\n    autoSelectToday: false,\n    title: null,\n    rangePicker: false,\n    onShow: () => {},\n    onHide: () => {},\n};\n\nconst instanceOptions = {\n  id: 'datepicker-custom-example',\n  override: true\n};\n```\n\nNext step is to create a new instance of a Datepicker object using the parameters we have set above.\n\n```javascript\nimport { Datepicker } from 'flowbite';\n\n/*\n * $datepickerEl: required\n * options: optional\n */\nconst datepicker = new Datepicker($datepickerEl, options, instanceOptions);\n```\n\nUse the following methods to show and hide the datepicker, set or get the currently selected date and get access to the instance.\n\n```javascript\n// get the currently selected date (undefined if not selected)\ndatepicker.getDate();\n\n// set the date (or dates if date range picker)\ndatepicker.setDate('05/31/2024');\n\n// programatically show the datepicker\ndatepicker.show();\n\n// programatically hide the datepicker\ndatepicker.hide();\n\n// use this method to get the parent datepicker instance from https://mymth.github.io/vanillajs-datepicker/#/\ndatepicker.getDatepickerInstance();\n```\n\n###### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n```html\n<div class=\"relative max-w-sm\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n      <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n    </svg>\n  </div>\n  <input id=\"datepicker-custom\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Select date\">\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Datepicker object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Datepicker } from 'flowbite';\nimport type { DatepickerOptions, DatepickerInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element of the input field or div\nconst $datepickerEl: HTMLInputElement = document.getElementById('datepicker-custom') as HTMLInputElement;\n\n// optional options with default values and callback functions\nconst options: DatepickerOptions = {\n    defaultDatepickerId: null,\n    autohide: false,\n    format: 'mm/dd/yyyy',\n    maxDate: null,\n    minDate: null,\n    orientation: 'bottom',\n    buttons: false,\n    autoSelectToday: 0,\n    title: null,\n    rangePicker: false,\n    onShow: () => {},\n    onHide: () => {},\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'datepicker-custom-example',\n  override: true\n};\n\n/*\n * $datepickerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst datepicker: DatepickerInterface = new Datepicker(\n    $datepickerEl,\n    options,\n    instanceOptions\n);\n\n// get the currently selected date (undefined if not selected)\ndatepicker.getDate();\n\n// set the date (or dates if date range picker)\ndatepicker.setDate('05/31/2024');\n\n// programatically show the datepicker\ndatepicker.show();\n\n// programatically hide the datepicker\ndatepicker.hide();\n\n// use this method to get the parent datepicker instance from https://mymth.github.io/vanillajs-datepicker/#/\ndatepicker.getDatepickerInstance();\n```\n\n###### Parent library\n\nIf you want to directly use the main Datepicker component instance you can either install it via NPM and import it or use the `getDatepickerInstance()` method using our Instance Manager to call all of the extra options and methods from the [parent plugin library](https://github.com/themesberg/flowbite-datepicker):\n\n```bash\nnpm install flowbite-datepicker --save\n```\n\nAfter you've installed the NPM library, you will need to import the `Datepicker` module:\n\n```javascript\nimport Datepicker from 'flowbite-datepicker';\n```\n\nInitialize a new element using the `Datepicker` constructor and optionally add your own options based on your needs:\n\n```javascript\nconst datepickerEl = document.getElementById('datepickerId');\nnew Datepicker(datepickerEl, {\n    // options\n}); \n```\n\nIf you want to use the **Tailwind Date Range Picker** you have to import the `DateRangePicker` module:\n\n```javascript\nimport DateRangePicker from 'flowbite-datepicker';\n```\n\nThen in the same fashion you can initialize a date range picker component by using the `DateRangePicker` constructor:\n\n```javascript\nconst dateRangePickerEl = document.getElementById('dateRangePickerId');\nnew DateRangePicker(dateRangePickerEl, {\n    // options\n}); \n```\n\n###### React support\n\nOne of our community members built the React version of the Flowbite Datepicker and you can learn more about it on <a href=\"https://github.com/OMikkel/tailwind-datepicker-react\" rel=\"nofollow\">this repository on GitHub</a>.\n\n###### Turbo load support \n\nIn order to support turbo load from Ruby on Rails 7, you have to include the `flowbite.turbo.js` file either from NPM or CDN into your project.\n\nFollow the [quickstart guide]({{< ref \"getting-started/rails\" >}}) and then include the following JavaScript file:\n\n```bash\npin \"flowbite\", to: \"https://cdn.jsdelivr.net/npm/flowbite@{{< current_version >}}/dist/flowbite.turbo.min.js\"\n```\n\nDon't forget to also import it inside your `application.js` file:\n\n```javascript\nimport \"flowbite/dist/flowbite.turbo.js\";\n```\n\n#### Device mockups\n\nThe device mockup component can be used to feature a preview and screenshot of your application as if you would already use it on a mobile phone and it's a great use case for hero and CTA sections.\n\nThis component is built using only the utility classes from Tailwind CSS and has built-in dark mode support so it's easy to customize, it loads very fast and integrates perfectly with Tailwind CSS and Flowbite.\n\nYou can choose from multiple examples of mockups including phone, tablet, laptop, and even desktop devices with iOS or Android support.\n\n##### Default mockup\n\nUse this example to show a standard phone mockup based on Tailwind CSS and add your app screenshot inside of it with dark mode support included.\n\n{{< example id=\"default-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px]\">\n    <div class=\"h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n##### iPhone 12 mockup (iOS)\n\nUse this example to clearly show that the preview of your application is being used on an iPhone with iOS.\n\n{{< example id=\"iphone-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px] shadow-xl\">\n    <div class=\"w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-gray-800 absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-2-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-2-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n##### Google Pixel (Android)\n\nUse this alternative phone mockup example if you want to feature previews for android gadgets.\n\n{{< example id=\"android-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-xl h-[600px] w-[300px] shadow-xl\">\n    <div class=\"w-[148px] h-[18px] bg-gray-800 top-0 rounded-b-[1rem] left-1/2 -translate-x-1/2 absolute\"></div>\n    <div class=\"h-[32px] w-[3px] bg-gray-800 absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-gray-800 absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-xl overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n##### Tablet mockup\n\nThis component can be used to show an application preview inside of a responsive tablet mockup.\n\n{{< example id=\"tablet-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[14px] rounded-[2.5rem] h-[454px] max-w-[341px] md:h-[682px] md:max-w-[512px]\">\n    <div class=\"h-[32px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-gray-800 dark:bg-gray-800 absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden h-[426px] md:h-[654px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/tablet-mockup-image.png\" class=\"dark:hidden h-[426px] md:h-[654px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/tablet-mockup-image-dark.png\" class=\"hidden dark:block h-[426px] md:h-[654px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n##### Laptop mockup\n\nThis example can be used to show a screenshot of your application inside a laptop mockup.\n\n{{< example id=\"laptop-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[8px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]\">\n    <div class=\"rounded-lg overflow-hidden h-[156px] md:h-[278px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/laptop-screen.png\" class=\"dark:hidden h-[156px] md:h-[278px] w-full rounded-lg\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/laptop-screen-dark.png\" class=\"hidden dark:block h-[156px] md:h-[278px] w-full rounded-lg\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl rounded-t-sm h-[17px] max-w-[351px] md:h-[21px] md:max-w-[597px]\">\n    <div class=\"absolute left-1/2 top-0 -translate-x-1/2 rounded-b-xl w-[56px] h-[5px] md:w-[96px] md:h-[8px] bg-gray-800\"></div>\n</div>\n{{< /example >}}\n\n##### Desktop mockup\n\nUse this example to show a preview of your application inside a desktop device such as an iMac.\n\n{{< example id=\"desktop-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-800 dark:border-gray-800 bg-gray-800 border-[16px] rounded-t-xl h-[172px] max-w-[301px] md:h-[294px] md:max-w-[512px]\">\n    <div class=\"rounded-xl overflow-hidden h-[140px] md:h-[262px]\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/screen-image-imac.png\" class=\"dark:hidden h-[140px] md:h-[262px] w-full rounded-xl\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/screen-image-imac-dark.png\" class=\"hidden dark:block h-[140px] md:h-[262px] w-full rounded-xl\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-gray-900 dark:bg-gray-700 rounded-b-xl h-[24px] max-w-[301px] md:h-[42px] md:max-w-[512px]\"></div>\n<div class=\"relative mx-auto bg-gray-800 rounded-b-xl h-[55px] max-w-[83px] md:h-[95px] md:max-w-[142px]\"></div>\n{{< /example >}}\n\n##### Smartwatch mockup\n\nThis component can be used to showcase applications built for smartwatches.\n\n{{< example id=\"smartwatch-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-t-[2.5rem] h-[63px] max-w-[133px]\"></div>\n<div class=\"relative mx-auto border-gray-900 dark:bg-gray-800 dark:border-gray-800 border-[10px] rounded-[2.5rem] h-[213px] w-[208px]\">\n    <div class=\"h-[41px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -end-[16px] top-[40px] rounded-e-lg\"></div>\n    <div class=\"h-[32px] w-[6px] bg-gray-800 dark:bg-gray-800 absolute -end-[16px] top-[88px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden h-[193px] w-[188px]\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/watch-screen-image.png\" class=\"dark:hidden h-[193px] w-[188px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/docs/device-mockups/watch-screen-image-dark.png\" class=\"hidden dark:block h-[193px] w-[188px]\" alt=\"\">\n    </div>\n</div>\n<div class=\"relative mx-auto bg-gray-800 dark:bg-gray-700 rounded-b-[2.5rem] h-[63px] max-w-[133px]\"></div>\n{{< /example >}}\n\n##### Mockup colors\n\nYou can easily update the color of the mockup by changing the background color with Tailwind CSS.\n\n{{< example id=\"colors-mockup\" github=\"components/device-mockups.md\" show_dark=true >}}\n<div class=\"relative mx-auto border-gray-300 dark:border-gray-800 bg-gray-300 dark:bg-gray-800 border-[14px] rounded-[2.5rem] h-[600px] w-[300px]\">\n    <div class=\"h-[32px] w-[3px] bg-gray-300 dark:bg-gray-800 absolute -start-[17px] top-[72px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-300 dark:bg-gray-800 absolute -start-[17px] top-[124px] rounded-s-lg\"></div>\n    <div class=\"h-[46px] w-[3px] bg-gray-300 dark:bg-gray-800 absolute -start-[17px] top-[178px] rounded-s-lg\"></div>\n    <div class=\"h-[64px] w-[3px] bg-gray-300 dark:bg-gray-800 absolute -end-[17px] top-[142px] rounded-e-lg\"></div>\n    <div class=\"rounded-[2rem] overflow-hidden w-[272px] h-[572px] bg-white dark:bg-gray-800\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-light.png\" class=\"dark:hidden w-[272px] h-[572px]\" alt=\"\">\n        <img src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/hero/mockup-1-dark.png\" class=\"hidden dark:block w-[272px] h-[572px]\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n#### Drawer\n\nUse the Drawer component (or \"off-canvas\") to show a fixed element relative to the document page from any side for navigation, contact forms, informational purposes or other user actions.\n\nYou can set multiple options such as the placement, activate body scrolling, show or hide the backdrop and even use the swipeable edge functionality to show a small part of the drawer when it is not shown completely.\n\nTo enable interactivity via data attributes and the Drawer API you need to include [Flowbite's JavaScript file]({{< ref \"getting-started/quickstart\" >}}).\n\n##### Default drawer\n\nTo initiate the drawer component you need to set the `data-drawer-target=\"{id}\"` data attribute to an element such as a button where the value needs to be the id of the drawer component itself.\n\nThen you can use the following attributes to either show, hide or toggle the drawer visibility where the value is the id of the drawer component:\n\n-   `data-drawer-show=\"{id}\"` - show the drawer component\n-   `data-drawer-hide=\"{id}\"` - hide the drawer component\n-   `data-drawer-toggle=\"{id}\"` - toggle the visibility of the drawer component\n\nFor accessibility you should also apply the `aria-controls={id}` attribute to the element that triggers the drawer and the `aria-labelledby={id}` attribute to the drawer component where the value is the id of the drawer title.\n\nYou can also avoid the drawer flickering and hide it by default by applying the following classes to the Drawer element: `transition-transform left-0 top-0 -translate-x-full`. This will set the component off-canvas.\n\n{{< example id=\"default-drawer-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-example\" data-drawer-show=\"drawer-example\" aria-controls=\"drawer-example\">\n   Show drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-example\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-80 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-label\">\n   <h5 id=\"drawer-label\" class=\"inline-flex items-center mb-4 text-base font-semibold text-gray-500 dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>Info</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-example\" aria-controls=\"drawer-example\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n      \n   <p class=\"mb-6 text-sm text-gray-500 dark:text-gray-400\">Supercharge your hiring by taking advantage of our <a href=\"#\" class=\"text-blue-600 underline dark:text-blue-500 hover:no-underline\">limited-time sale</a> for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked candidates and the #1 design job board.</p>\n   <div class=\"grid grid-cols-2 gap-4\">\n      <a href=\"#\" class=\"px-4 py-2 text-sm font-medium text-center text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Learn more</a>\n      <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get access <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n   </div>\n</div>\n{{< /example >}}\n\n##### Drawer navigation\n\nUse this example to show a navigational sidebar inside the drawer component.\n\n{{< example id=\"drawer-navigation-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-navigation\" data-drawer-show=\"drawer-navigation\" aria-controls=\"drawer-navigation\">\n   Show navigation\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-navigation\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-64 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-navigation-label\">\n    <h5 id=\"drawer-navigation-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-navigation\" aria-controls=\"drawer-navigation\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Contact form\n\nUse this example to show a contact form inside the drawer component.\n\n{{< example id=\"drawer-contact-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"840\" iframeMaxHeight=\"840\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-contact\" data-drawer-show=\"drawer-contact\" aria-controls=\"drawer-contact\">\n   Show contact form\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-contact\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-80 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-contact-label\">\n   <h5 id=\"drawer-label\" class=\"inline-flex items-center mb-6 text-base font-semibold text-gray-500 uppercase dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n    <path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n    <path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n  </svg>Contact us</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-contact\" aria-controls=\"drawer-contact\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n   <form class=\"mb-6\">\n      <div class=\"mb-6\">\n         <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n         <input type=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@company.com\" required />\n      </div>\n      <div class=\"mb-6\">\n         <label for=\"subject\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Subject</label>\n         <input type=\"text\" id=\"subject\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Let us know how we can help you\" required />\n      </div>\n      <div class=\"mb-6\">\n         <label for=\"message\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your message</label>\n         <textarea id=\"message\" rows=\"4\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Your message...\"></textarea>\n      </div>\n      <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 w-full focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800 block\">Send message</button>\n   </form>\n   <p class=\"mb-2 text-sm text-gray-500 dark:text-gray-400\">\n      <a href=\"#\" class=\"hover:underline\">info@company.com</a>\n   </p>\n   <p class=\"text-sm text-gray-500 dark:text-gray-400\">\n      <a href=\"#\" class=\"hover:underline\">212-456-7890</a>\n   </p>\n</div>\n{{< /example >}}\n\n##### Form elements\n\nUse this example if you want to add form elements inside the drawer component including datepickers.\n\n{{< example id=\"drawer-form-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"840\" iframeMaxHeight=\"840\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-form\" data-drawer-show=\"drawer-form\" aria-controls=\"drawer-form\">\n   Show drawer form\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-form\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-80 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-form-label\">\n   <h5 id=\"drawer-label\" class=\"inline-flex items-center mb-6 text-base font-semibold text-gray-500 uppercase dark:text-gray-400\"><svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm14-7.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm-5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm-5-4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1Zm0 4a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1ZM20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4Z\"/>\n  </svg>New event</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-form\" aria-controls=\"drawer-form\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n   <form class=\"mb-6\">\n      <div class=\"mb-6\">\n         <label for=\"title\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Title</label>\n         <input type=\"text\" id=\"title\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Apple Keynote\" required />\n      </div>\n      <div class=\"mb-6\">\n         <label for=\"description\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Description</label>\n         <textarea id=\"description\" rows=\"4\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Write event description...\"></textarea>\n      </div>\n      <div class=\"relative mb-6\">\n         <div class=\"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n               <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n            </svg>\n         </div>\n         <input datepicker=\"\" datepicker-autohide datepicker-buttons=\"\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 datepicker-input\" placeholder=\"Select date\">\n      </div>\n      <div class=\"mb-4\">\n         <label for=\"guests\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Invite guests</label>\n         <div class=\"relative\">\n            <input type=\"search\" id=\"guests\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Add guest email\" required />\n            <button type=\"button\" class=\"absolute inline-flex items-center px-3 py-1 text-sm font-medium text-white bg-blue-700 rounded-lg end-2 bottom-2 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"><svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n    <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Zm11-3h-2V5a1 1 0 0 0-2 0v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 0 0 2 0V9h2a1 1 0 1 0 0-2Z\"/>\n  </svg>Add</button>\n         </div>\n      </div>\n      <div class=\"flex mb-4 -space-x-4 rtl:space-x-reverse\">\n         <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"\">\n      </div>\n      <button type=\"submit\" class=\"text-white justify-center flex items-center bg-blue-700 hover:bg-blue-800 w-full focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\"><svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M18 2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM2 18V7h6.7l.4-.409A4.309 4.309 0 0 1 15.753 7H18v11H2Z\"/>\n    <path d=\"M8.139 10.411 5.289 13.3A1 1 0 0 0 5 14v2a1 1 0 0 0 1 1h2a1 1 0 0 0 .7-.288l2.886-2.851-3.447-3.45ZM14 8a2.463 2.463 0 0 0-3.484 0l-.971.983 3.468 3.468.987-.971A2.463 2.463 0 0 0 14 8Z\"/>\n  </svg> Create event</button>\n   </form>\n</div>\n{{< /example >}}\n\n##### Placement\n\nUse the placement options to position the drawer component either on the top, right, bottom, or left side of the document page. This can be done using the `data-drawer-placement=\"{top|right|bottom|left}\"` data attribute where the default value is \"left\".\n\n###### Left drawer\n\nUse this example where you can position the drawer component on the left side of the page.\n\nTo span the full height of the page you'll have to add the `h-screen` class to the drawer component.\n\n{{< example id=\"drawer-placement-left-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-left-example\" data-drawer-show=\"drawer-left-example\" data-drawer-placement=\"left\" aria-controls=\"drawer-left-example\">\n  Show left drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-left-example\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-80 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-left-label\">\n    <h5 id=\"drawer-left-label\" class=\"inline-flex items-center mb-4 text-base font-semibold text-gray-500 dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>Left drawer</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-left-example\" aria-controls=\"drawer-left-example\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n   <p class=\"mb-6 text-sm text-gray-500 dark:text-gray-400\">Supercharge your hiring by taking advantage of our <a href=\"#\" class=\"text-blue-600 underline font-medium dark:text-blue-500 hover:no-underline\">limited-time sale</a> for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked candidates and the #1 design job board.</p>\n   <div class=\"grid grid-cols-2 gap-4\">\n      <a href=\"#\" class=\"px-4 py-2 text-sm font-medium text-center text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Learn more</a>\n      <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get access <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n   </div>\n</div>\n{{< /example >}}\n\n###### Right drawer\n\nUse this example to show the drawer component on the right side of the page.\n\nTo span the full height of the page you'll have to add the `h-screen` class to the drawer component.\n\n{{< example id=\"drawer-placement-right-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-right-example\" data-drawer-show=\"drawer-right-example\" data-drawer-placement=\"right\" aria-controls=\"drawer-right-example\">\n   Show right drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-right-example\" class=\"fixed top-0 right-0 z-40 h-screen p-4 overflow-y-auto transition-transform translate-x-full bg-white w-80 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-right-label\">\n    <h5 id=\"drawer-right-label\" class=\"inline-flex items-center mb-4 text-base font-semibold text-gray-500 dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>Right drawer</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-right-example\" aria-controls=\"drawer-right-example\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n   <p class=\"mb-6 text-sm text-gray-500 dark:text-gray-400\">Supercharge your hiring by taking advantage of our <a href=\"#\" class=\"text-blue-600 underline font-medium dark:text-blue-500 hover:no-underline\">limited-time sale</a> for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked candidates and the #1 design job board.</p>\n   <div class=\"grid grid-cols-2 gap-4\">\n      <a href=\"#\" class=\"px-4 py-2 text-sm font-medium text-center text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Learn more</a>\n      <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get access <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n   </div>\n</div>\n{{< /example >}}\n\n###### Top drawer\n\nUse this example to show the drawer on the top side of the page.\n\n{{< example id=\"drawer-placement-top-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"overflow-y-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-top-example\" data-drawer-show=\"drawer-top-example\" data-drawer-placement=\"top\" aria-controls=\"drawer-top-example\">\n   Show top drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-top-example\" class=\"fixed top-0 left-0 right-0 z-40 w-full p-4 transition-transform -translate-y-full bg-white dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-top-label\">\n    <h5 id=\"drawer-top-label\" class=\"inline-flex items-center mb-4 text-base font-semibold text-gray-500 dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>Top drawer</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-top-example\" aria-controls=\"drawer-top-example\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n    <p class=\"max-w-lg mb-6 text-sm text-gray-500 dark:text-gray-400\">Supercharge your hiring by taking advantage of our <a href=\"#\" class=\"text-blue-600 underline font-medium dark:text-blue-500 hover:no-underline\">limited-time sale</a> for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked candidates and the #1 design job board.</p>\n   <a href=\"#\" class=\"px-4 py-2 me-2 text-sm font-medium text-center text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Learn more</a>\n   <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get access <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n</div>\n{{< /example >}}\n\n###### Bottom drawer\n\nUse this example to show the drawer on the bottom side of the page.\n\n{{< example id=\"drawer-placement-bottom-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-bottom-example\" data-drawer-show=\"drawer-bottom-example\" data-drawer-placement=\"bottom\" aria-controls=\"drawer-bottom-example\">\n   Show bottom drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-bottom-example\" class=\"fixed bottom-0 left-0 right-0 z-40 w-full p-4 overflow-y-auto transition-transform bg-white dark:bg-gray-800 transform-none\" tabindex=\"-1\" aria-labelledby=\"drawer-bottom-label\">\n    <h5 id=\"drawer-bottom-label\" class=\"inline-flex items-center mb-4 text-base font-semibold text-gray-500 dark:text-gray-400\"><svg class=\"w-4 h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n  </svg>Bottom drawer</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-bottom-example\" aria-controls=\"drawer-bottom-example\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n    <p class=\"max-w-lg mb-6 text-sm text-gray-500 dark:text-gray-400\">Supercharge your hiring by taking advantage of our <a href=\"#\" class=\"text-blue-600 underline font-medium dark:text-blue-500 hover:no-underline\">limited-time sale</a> for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked candidates and the #1 design job board.</p>\n   <a href=\"#\" class=\"px-4 py-2 me-2 text-sm font-medium text-center text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Learn more</a>\n   <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Get access <svg class=\"rtl:rotate-180 w-3.5 h-3.5 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n</div>\n{{< /example >}}\n\n##### Body scrolling\n\nBy default, body scrolling is disabled when the drawer is visible, however, you can choose to enable it using the `data-drawer-body-scrolling=\"{true|false}\"` data attribute.\n\n###### Disabled (default)\n\nThis is an example where the body scrolling behaviour is disabled when the drawer is visible.\n\n{{< example id=\"drawer-disable-body-scrolling-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-disable-body-scrolling\" data-drawer-show=\"drawer-disable-body-scrolling\" data-drawer-body-scrolling=\"false\" aria-controls=\"drawer-disable-body-scrolling\">\n   Show body scrolling disabled\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-disable-body-scrolling\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-64 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-disable-body-scrolling-label\">\n    <h5 id=\"drawer-disable-body-scrolling-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-disable-body-scrolling\" aria-controls=\"drawer-disable-body-scrolling\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n###### Enabled\n\nGet started with this example in order to enable body scrolling even if the drawer component is visible by using the `data-drawer-body-scrolling=\"false\"` data attribute.\n\n{{< example id=\"drawer-body-scrolling-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-body-scrolling\" data-drawer-show=\"drawer-body-scrolling\" data-drawer-body-scrolling=\"true\" aria-controls=\"drawer-body-scrolling\">\n   Show body scrolling\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-body-scrolling\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-64 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-body-scrolling-label\">\n    <h5 id=\"drawer-body-scrolling-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-body-scrolling\" aria-controls=\"drawer-body-scrolling\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Backdrop\n\nThe backdrop element can be used to dim out the background elements when the drawer is visible and also automatically hide the component when clicking outside of it.\n\nUse the `data-drawer-backdrop=\"{true|false}\"` data attribute where you can disable or enable the backdrop element.\n\n###### Enabled (default)\n\nUse this example to enable the backdrop element by default.\n\n{{< example id=\"drawer-backdrop-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-backdrop\" data-drawer-show=\"drawer-backdrop\" data-drawer-backdrop=\"true\" aria-controls=\"drawer-backdrop\">\n   Show drawer with backdrop\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-backdrop\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-64 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-backdrop-label\">\n    <h5 id=\"drawer-backdrop-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-backdrop\" aria-controls=\"drawer-backdrop\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n###### Disabled\n\nUse the `data-drawer-backdrop=\"false\"` data attribute to disable the backdrop element when the drawer is shown.\n\n{{< example id=\"drawer-disabled-backdrop-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-disabled-backdrop\" data-drawer-show=\"drawer-disabled-backdrop\" data-drawer-backdrop=\"false\" aria-controls=\"drawer-disabled-backdrop\">\n   Show drawer without backdrop\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-disabled-backdrop\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-64 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-disabled-backdrop-label\">\n    <h5 id=\"drawer-disabled-backdrop-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-disabled-backdrop\" aria-controls=\"drawer-disabled-backdrop\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Swipeable edge\n\nThe drawer edge functionality allows you to show a small part of the drawer when it is not shown completely by applying the `data-drawer-edge=\"{true|false}\"` data attribute.\n\nIn this example we also use the `data-drawer-toggle=\"id\"` option to toggle the visibility of the drawer component by clicking on the \"edge\" part of the element.\n\nUse the `data-drawer-edge-offset=\"bottom-[*px]\"` data attribute where you can apply a class from Tailwind CSS to set the offset. Default value is `bottom-[60px]`.\n\n{{< example id=\"drawer-swipe-example\" github=\"components/drawer.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and toggle -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-swipe\" data-drawer-show=\"drawer-swipe\" data-drawer-placement=\"bottom\" data-drawer-edge=\"true\" data-drawer-edge-offset=\"bottom-[60px]\" aria-controls=\"drawer-swipe\">\n   Show swipeable drawer\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-swipe\" class=\"fixed z-40 w-full overflow-y-auto bg-white border-t border-gray-200 rounded-t-lg dark:border-gray-700 dark:bg-gray-800 transition-transform bottom-0 left-0 right-0 translate-y-full bottom-[60px]\" tabindex=\"-1\" aria-labelledby=\"drawer-swipe-label\">\n   <div class=\"p-4 cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-700\" data-drawer-toggle=\"drawer-swipe\">\n      <span class=\"absolute w-8 h-1 -translate-x-1/2 bg-gray-300 rounded-lg top-3 left-1/2 dark:bg-gray-600\"></span>\n      <h5 id=\"drawer-swipe-label\" class=\"inline-flex items-center text-base text-gray-500 dark:text-gray-400 font-medium\"><svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n    <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10ZM17 13h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2Z\"/>\n  </svg>Add widget</h5>\n   </div>\n   <div class=\"grid grid-cols-3 gap-4 p-4 lg:grid-cols-4\">\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n               <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n               <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Chart</div>\n      </div>\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n               <path d=\"M18 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM9 6v2H2V6h7Zm2 0h7v2h-7V6Zm-9 4h7v2H2v-2Zm9 2v-2h7v2h-7Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Table</div>\n      </div>\n      <div class=\"hidden p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700 lg:block\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n               <path d=\"M13.383.076a1 1 0 0 0-1.09.217L11 1.586 9.707.293a1 1 0 0 0-1.414 0L7 1.586 5.707.293a1 1 0 0 0-1.414 0L3 1.586 1.707.293A1 1 0 0 0 0 1v18a1 1 0 0 0 1.707.707L3 18.414l1.293 1.293a1 1 0 0 0 1.414 0L7 18.414l1.293 1.293a1 1 0 0 0 1.414 0L11 18.414l1.293 1.293A1 1 0 0 0 14 19V1a1 1 0 0 0-.617-.924ZM10 15H4a1 1 0 1 1 0-2h6a1 1 0 0 1 0 2Zm0-4H4a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Zm0-4H4a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2Z\"/>\n            </svg>\n         </div>\n         <div class=\"hidden font-medium text-center text-gray-500 dark:text-gray-400\">Ticket</div>\n      </div>\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n               <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">List</div>\n      </div>\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1M2 5h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Price</div>\n      </div>\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n               <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Users</div>\n      </div>\n      <div class=\"hidden p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700 lg:block\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n               <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Zm-1.391 7.361.707-3.535a3 3 0 0 1 .82-1.533L7.929 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h4.259a2.975 2.975 0 0 1-.15-1.639ZM8.05 17.95a1 1 0 0 1-.981-1.2l.708-3.536a1 1 0 0 1 .274-.511l6.363-6.364a3.007 3.007 0 0 1 4.243 0 3.007 3.007 0 0 1 0 4.243l-6.365 6.363a1 1 0 0 1-.511.274l-3.536.708a1.07 1.07 0 0 1-.195.023Z\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Task</div>\n      </div>\n      <div class=\"p-4 rounded-lg cursor-pointer bg-gray-50 hover:bg-gray-100 dark:hover:bg-gray-600 dark:bg-gray-700\">\n         <div class=\"flex justify-center items-center p-2 mx-auto mb-2 bg-gray-200 dark:bg-gray-600 rounded-full w-[48px] h-[48px] max-w-[48px] max-h-[48px]\">\n            <svg class=\"inline w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 12.25V1m0 11.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M4 19v-2.25m6-13.5V1m0 2.25a2.25 2.25 0 0 0 0 4.5m0-4.5a2.25 2.25 0 0 1 0 4.5M10 19V7.75m6 4.5V1m0 11.25a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM16 19v-2\"/>\n            </svg>\n         </div>\n         <div class=\"font-medium text-center text-gray-500 dark:text-gray-400\">Custom</div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### More examples\n\nFor more drawer component examples you can check out the following resources from Flowbite Blocks:\n\n-   [CRUD read drawers](https://flowbite.com/blocks/application/crud-read-drawers/)\n-   [CRUD create drawers](https://flowbite.com/blocks/application/crud-create-drawers/)\n-   [CRUD update drawers](https://flowbite.com/blocks/application/crud-update-drawers/)\n-   [Application shell layouts](https://flowbite.com/blocks/application/shells/)\n\n##### JavaScript behaviour\n\nThe Drawer API can be used to create an instance of the class, use methods to manipulate the component by showing or hiding it on demand and also set custom behaviour options for placement, enabling or disabling the backdrop element, enabling or disabling the body scroll, and more.\n\n###### Object parameters\n\nInitialize a Drawer object with parameters such as the target element and the options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the main drawer element as a JavaScript object.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the default state of the drawer, placement, and other options.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options for the Drawer object to set the placement, enable or disable the backdrop, enable or disable body scrolling, and more.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">placement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the drawer component relative to the document body by choosing one of the values from <code class=\"text-purple-600 dark:text-purple-400\">{top|right|bottom|left}</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">backdrop</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                  Enable or disable the backdrop element. Values can be <code class=\"text-purple-600 dark:text-purple-400\">true</code> or <code class=\"text-purple-600 dark:text-purple-400\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">bodyScrolling</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Enable or disable body scrolling behaviour when the drawer is active. Values can be <code class=\"text-purple-600 dark:text-purple-400\">true</code> or <code class=\"text-purple-600 dark:text-purple-400\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">edge</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Enable or disable the edge functionality by showing a small part of the drawer component even when inactive. Values can be <code class=\"text-purple-600 dark:text-purple-400\">true</code> or <code class=\"text-purple-600 dark:text-purple-400\">false</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">edgeOffset</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the offset height that should be shown when the drawer is inactive. Default value is <code class=\"text-purple-600 dark:text-purple-400\">bottom-[60px]</code>\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">backdropClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS utility classes to override the custom backdrop classes.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onHide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onToggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the following methods on the Drawer object to show, hide or check the visibility.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function to show the drawer element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the hide function to hide the drawer element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the toggle function to toggle the drawer element's visibility.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the isVisible function to check whether the element is visible or not.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the drawer visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Drawer object.\n\nFirst of all, create a new JavaScript element object for the first parameter of the Drawer object and another options object to set the placement, backdrop settings, and callback functions.\n\n```javascript\n// set the drawer menu element\nconst $targetEl = document.getElementById('drawer-js-example');\n\n// options with default values\nconst options = {\n    placement: 'right',\n    backdrop: true,\n    bodyScrolling: false,\n    edge: false,\n    edgeOffset: '',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30',\n    onHide: () => {\n        console.log('drawer is hidden');\n    },\n    onShow: () => {\n        console.log('drawer is shown');\n    },\n    onToggle: () => {\n        console.log('drawer has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'drawer-js-example',\n  override: true\n};\n```\n\nInitialize the Drawer positioning by creating a new object:\n\n```javascript\nimport { Drawer } from 'flowbite';\n\n/*\n * $targetEl (required)\n * options (optional)\n * instanceOptions (optional)\n */\nconst drawer = new Drawer($targetEl, options, instanceOptions);\n```\n\nUse the `show` and `hide` methods to show and hide the drawer component directly from JavaScript.\n\n```javascript\n// show the drawer\ndrawer.show();\n\n// hide the drawer\ndrawer.hide();\n```\n\nUse the `toggle` method to toggle the visibility of the drawer.\n\n```javascript\n// toggle the drawer\ndrawer.toggle();\n```\n\nUse the `isVisible` method to check the visibility of the drawer:\n\n```javascript\n// true or false\ndrawer.isVisible();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<div\n    id=\"drawer-js-example\"\n    class=\"fixed z-40 h-screen w-80 overflow-y-auto bg-white p-4 dark:bg-gray-800\"\n    tabindex=\"-1\"\n    aria-labelledby=\"drawer-js-label\"\n>\n    <h5\n        id=\"drawer-js-label\"\n        class=\"mb-4 inline-flex items-center text-base font-semibold text-gray-500 dark:text-gray-400\"\n    >\n        <svg\n            class=\"me-2 h-5 w-5\"\n            aria-hidden=\"true\"\n            fill=\"currentColor\"\n            viewBox=\"0 0 20 20\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n        >\n            <path\n                fill-rule=\"evenodd\"\n                d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z\"\n                clip-rule=\"evenodd\"\n            ></path></svg\n        >Info\n    </h5>\n    <button\n        id=\"drawer-hide-button\"\n        type=\"button\"\n        aria-controls=\"drawer-example\"\n        class=\"absolute right-2.5 top-2.5 inline-flex h-8 w-8 items-center justify-center rounded-lg bg-transparent text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white\"\n    >\n        <svg\n            class=\"h-3 w-3\"\n            aria-hidden=\"true\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            fill=\"none\"\n            viewBox=\"0 0 14 14\"\n        >\n            <path\n                stroke=\"currentColor\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                stroke-width=\"2\"\n                d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"\n            />\n        </svg>\n        <span class=\"sr-only\">Close menu</span>\n    </button>\n    <p class=\"mb-6 text-sm text-gray-500 dark:text-gray-400\">\n        Supercharge your hiring by taking advantage of our\n        <a\n            href=\"#\"\n            class=\"font-medium text-blue-600 underline hover:no-underline dark:text-blue-500\"\n            >limited-time sale</a\n        >\n        for Flowbite Docs + Job Board. Unlimited access to over 190K top-ranked\n        candidates and the #1 design job board.\n    </p>\n    <div class=\"grid grid-cols-2 gap-4\">\n        <a\n            href=\"#\"\n            class=\"rounded-lg border border-gray-200 bg-white px-4 py-2 text-center text-sm font-medium text-gray-900 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700\"\n            >Learn more</a\n        >\n        <a\n            href=\"#\"\n            class=\"inline-flex items-center rounded-lg bg-blue-700 px-4 py-2 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"\n            >Get access\n            <svg\n                class=\"ms-2 h-3.5 w-3.5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"none\"\n                viewBox=\"0 0 14 10\"\n            >\n                <path\n                    stroke=\"currentColor\"\n                    stroke-linecap=\"round\"\n                    stroke-linejoin=\"round\"\n                    stroke-width=\"2\"\n                    d=\"M1 5h12m0 0L9 1m4 4L9 9\"\n                /></svg\n        ></a>\n    </div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Drawer (off-canvas) class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Drawer } from 'flowbite';\nimport type { DrawerOptions, DrawerInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the drawer menu element\nconst $targetEl: HTMLElement = document.getElementById('drawer-js-example');\n\n// options with default values\nconst options: DrawerOptions = {\n    placement: 'right',\n    backdrop: true,\n    bodyScrolling: false,\n    edge: false,\n    edgeOffset: '',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30',\n    onHide: () => {\n        console.log('drawer is hidden');\n    },\n    onShow: () => {\n        console.log('drawer is shown');\n    },\n    onToggle: () => {\n        console.log('drawer has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'drawer-js-example',\n  override: true\n};\n\n/*\n * $targetEl (required)\n * options (optional)\n * instanceOptions (optional)\n */\nconst drawer: DrawerInterface = new Drawer($targetEl, options, instanceOptions);\n\n// show the drawer\ndrawer.show();\n```\n\n#### Dropdown\n\nThe dropdown component can be used to show a list of menu items when clicking on an element such as a button and hiding it when focusing outside of the triggering element.\n\nMake sure to include <a href=\"{{< ref \"getting-started/quickstart\" >}}\">Flowbite's JavaScript file</a> inside your project to enable dropdowns.\n\n##### Dropdown example\n\nIf you want to show a dropdown menu when clicking on an element make sure that you add the data attribute `data-dropdown-toggle=\"dropdownId\"` to the element (ie. a button) that will trigger the dropdown menu.\n\nThe `dropdownId` is the id of the dropdown menu element.\n\n{{< example id=\"default-dropdown-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownDefaultButton\" data-dropdown-toggle=\"dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown hover\n\nUse the `data-dropdown-trigger=\"{hover|click}\"` data attribute options to set whether the dropdown should be shown when hovering or clicking on the trigger element (ie. button).\n\nThere's a 300ms default delay when showing or hiding the dropdown due to UI/UX reasons and how it may affect the interaction with other components on the page. Generally, we recommend using the `click` method.\n\n{{< example id=\"dropdown-hover-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownHoverButton\" data-dropdown-toggle=\"dropdownHover\" data-dropdown-trigger=\"hover\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown hover <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHover\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownHoverButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Delay duration\n\nYou can use the `data-dropdown-delay={milliseconds}` data attribute to set they delay on when to show or hide the dropdown menu when using hover. You may want to use this depending on how the users interact with your interface. In this example we add 500 milliseconds instead of the default 300.\n\n{{< example id=\"dropdown-delay-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownDelayButton\" data-dropdown-toggle=\"dropdownDelay\" data-dropdown-delay=\"500\" data-dropdown-trigger=\"hover\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown hover <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDelay\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDelayButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown divider\n\nYou can use the `divide-y divide-gray-100` classes to add separate elements inside the dropdown menu.\n\n{{< example id=\"dropdown-divider-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"320\" >}}\n<button id=\"dropdownDividerButton\" data-dropdown-toggle=\"dropdownDivider\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown divider <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDivider\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDividerButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Separated link</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Dropdown header\n\nUse this example to show extra information outside of the list of menu items inside the dropdown.\n\n{{< example id=\"dropdown-header-example\" class=\"flex justify-center \" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownInformationButton\" data-dropdown-toggle=\"dropdownInformation\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown header <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownInformation\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div>Bonnie Green</div>\n      <div class=\"font-medium truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownInformationButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Multi-level dropdown\n\nUse this example to enable multi-level dropdown menus by adding stacked elements inside of each other.\n\n{{< example id=\"dropdown-multi-level-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"350\" >}}\n<button id=\"multiLevelDropdownButton\" data-dropdown-toggle=\"multi-dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"multi-dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"multiLevelDropdownButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <button id=\"doubleDropdownButton\" data-dropdown-toggle=\"doubleDropdown\" data-dropdown-placement=\"right-start\" type=\"button\" class=\"flex items-center justify-between w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dropdown<svg class=\"w-2.5 h-2.5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n  </svg></button>\n          <div id=\"doubleDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"doubleDropdownButton\">\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Overview</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">My downloads</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Billing</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Rewards</a>\n              </li>\n            </ul>\n        </div>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown with checkbox\n\nAdd multiple checkbox elements inside your dropdown menu to enable more advanced input interaction.\n\n{{< example id=\"dropdown-checkbox-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"290\" >}}\n<button id=\"dropdownCheckboxButton\" data-dropdown-toggle=\"dropdownDefaultCheckbox\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown checkbox <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDefaultCheckbox\" class=\"z-10 hidden w-48 bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-3 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownCheckboxButton\">\n      <li>\n        <div class=\"flex items-center\">\n          <input id=\"checkbox-item-1\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-1\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default checkbox</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n            <input checked id=\"checkbox-item-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"checkbox-item-2\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n          </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n          <input id=\"checkbox-item-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-3\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default checkbox</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Background hover\n\nUse this example to update the background color of a menu item when using a list of checkbox elements.\n\n{{< example id=\"dropdown-checkbox-bg-hover-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"300\" >}}\n<button id=\"dropdownBgHoverButton\" data-dropdown-toggle=\"dropdownBgHover\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown checkbox <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownBgHover\" class=\"z-10 hidden w-48 bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownBgHoverButton\">\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-4\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-4\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Default checkbox</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input checked id=\"checkbox-item-5\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"checkbox-item-5\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Checked state</label>\n          </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-6\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-6\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Default checkbox</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Helper text\n\nAdd an extra helper text to each checkbox element inside the dropdown menu list with this example.\n\n{{< example id=\"dropdown-checkbox-helper-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownHelperButton\" data-dropdown-toggle=\"dropdownHelper\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown checkbox <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHelper\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-60 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownHelperButton\">\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-checkbox-1\" aria-describedby=\"helper-checkbox-text-1\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-checkbox-1\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Enable notifications</div>\n                <p id=\"helper-checkbox-text-1\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-checkbox-2\" aria-describedby=\"helper-checkbox-text-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-checkbox-2\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Enable 2FA auth</div>\n                <p id=\"helper-checkbox-text-2\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-checkbox-3\" aria-describedby=\"helper-checkbox-text-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-checkbox-3\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Subscribe newsletter</div>\n                <p id=\"helper-checkbox-text-3\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown with radio\n\nEnable more advanced interaction with your users by adding radio input elements inside the dropdown menu.\n\n{{< example id=\"dropdown-radio-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"250\" >}}\n<button id=\"dropdownRadioButton\" data-dropdown-toggle=\"dropdownDefaultRadio\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown radio <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDefaultRadio\" class=\"z-10 hidden w-48 bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-3 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRadioButton\">\n      <li>\n        <div class=\"flex items-center\">\n            <input id=\"default-radio-1\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-1\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n            <input checked id=\"default-radio-2\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-2\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center\">\n            <input id=\"default-radio-3\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-3\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default radio</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Background hover\n\nUse this example to update the background color when hovering over a menu item when using radio elements.\n\n{{< example id=\"dropdown-radio-bg-hover-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"280\" >}}\n<button id=\"dropdownRadioBgHoverButton\" data-dropdown-toggle=\"dropdownRadioBgHover\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown radio <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRadioBgHover\" class=\"z-10 hidden w-48 bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRadioBgHoverButton\">\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input id=\"default-radio-4\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-4\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Default radio</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input checked id=\"default-radio-5\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-5\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Checked state</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input id=\"default-radio-6\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"default-radio-6\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Default radio</label>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Helper text\n\nThis example can be used to add an extra helper text inside of each radio element from the dropdown menu.\n\n{{< example id=\"dropdown-radio-helper-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownRadioHelperButton\" data-dropdown-toggle=\"dropdownRadioHelper\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown radio <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRadioHelper\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-60 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRadioHelperButton\">\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-4\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-4\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Individual</div>\n                <p id=\"helper-radio-text-4\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-5\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-5\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Company</div>\n                <p id=\"helper-radio-text-5\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-6\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-6\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Non profit</div>\n                <p id=\"helper-radio-text-6\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown with toggle switch\n\nShow a list of toggle switch elements inside the dropdown menu to enable a yes or no type of choice.\n\n{{< example id=\"dropdown-toggle-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"280\" >}}\n<button id=\"dropdownToggleButton\" data-dropdown-toggle=\"dropdownToggle\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown toggle <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownToggle\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-72 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownToggleButton\">\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <label class=\"inline-flex items-center w-full cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full rtl:peer-checked:after:translate-x-[-100%] peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-500 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n            <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Enable notifications</span>\n          </label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <label class=\"inline-flex items-center w-full cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full rtl:peer-checked:after:translate-x-[-100%] peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-500 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n            <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Enable 2FA authentication</span>\n          </label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <label class=\"inline-flex items-center w-full cursor-pointer\">\n            <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n            <div class=\"relative w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-600 peer-checked:after:translate-x-full rtl:peer-checked:after:translate-x-[-100%] peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-500 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n            <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Subscribe to newsletter</span>\n          </label>\n        </div>\n      </li>\n    </ul>\n</div>\n\n{{< /example >}}\n\n##### Dropdown with scrolling\n\nThis example can be used when you want to show a long list of items that won't affect the height of the dropdown menu by enabling a scrolling behaviour.\n\n{{< example id=\"dropdown-scroll-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownUsersButton\" data-dropdown-toggle=\"dropdownUsers\" data-dropdown-placement=\"bottom\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Project users <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownUsers\" class=\"z-10 hidden bg-white rounded-lg shadow-sm w-60 dark:bg-gray-700\">\n  <ul class=\"h-48 py-2 overflow-y-auto text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownUsersButton\">\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        Jese Leos\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n        Robert Gough\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n        Bonnie Green\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n        Leslie Livingston\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n        Michael Gough\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n        Joseph Mcfall\n      </a>\n    </li>\n          <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n        Roberta Casas\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">\n        <img class=\"w-6 h-6 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        Neil Sims\n      </a>\n    </li>\n  </ul>\n  <a href=\"#\" class=\"flex items-center p-3 text-sm font-medium text-blue-600 border-t border-gray-200 rounded-b-lg bg-gray-50 dark:border-gray-600 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:text-blue-500 hover:underline\">\n      <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n        <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Zm11-3h-2V5a1 1 0 0 0-2 0v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 0 0 2 0V9h2a1 1 0 1 0 0-2Z\"/>\n      </svg>\n      Add new user\n  </a>\n</div>\n{{< /example >}}\n\n##### Dropdown with search\n\nUse this example if you want to add a search bar inside the dropdown menu to be able to filter through a long list of menu items with scrolling behaviour.\n\n{{< example id=\"dropdown-search-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"440\" >}}\n<button id=\"dropdownSearchButton\" data-dropdown-toggle=\"dropdownSearch\" data-dropdown-placement=\"bottom\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown search <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSearch\" class=\"z-10 hidden bg-white rounded-lg shadow-sm w-60 dark:bg-gray-700\">\n    <div class=\"p-3\">\n      <label for=\"input-group-search\" class=\"sr-only\">Search</label>\n      <div class=\"relative\">\n        <div class=\"absolute inset-y-0 rtl:inset-r-0 start-0 flex items-center ps-3 pointer-events-none\">\n          <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n          </svg>\n        </div>\n        <input type=\"text\" id=\"input-group-search\" class=\"block w-full p-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search user\">\n      </div>\n    </div>\n    <ul class=\"h-48 px-3 pb-3 overflow-y-auto text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownSearchButton\">\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-11\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-11\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Bonnie Green</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input checked id=\"checkbox-item-12\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"checkbox-item-12\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Jese Leos</label>\n          </div>\n      </li>\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-13\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-13\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Michael Gough</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-14\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-14\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Robert Wall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-15\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-15\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Joseph Mcfall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-16\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-16\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Leslie Livingston</label>\n        </div>\n      </li>\n            <li>\n        <div class=\"flex items-center ps-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-17\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-17\" class=\"w-full py-2 ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Roberta Casas</label>\n        </div>\n      </li>\n    </ul>\n    <a href=\"#\" class=\"flex items-center p-3 text-sm font-medium text-red-600 border-t border-gray-200 rounded-b-lg bg-gray-50 dark:border-gray-600 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:text-red-500 hover:underline\">\n      <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n        <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Zm11-3h-6a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2Z\"/>\n      </svg>\n      Delete user\n  </a>\n</div>\n{{< /example >}}\n\n##### Menu icon\n\nUse the menu icon trigger element on components such as cards as an alternative element to the button.\n\n{{< example id=\"dropdown-menu-icon-example\" class=\"flex justify-center space-x-4 rtl:space-x-reverse\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"320\" >}}\n<button id=\"dropdownMenuIconButton\" data-dropdown-toggle=\"dropdownDots\" class=\"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" type=\"button\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 4 15\">\n<path d=\"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDots\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Separated link</a>\n    </div>\n</div>\n\n<button id=\"dropdownMenuIconHorizontalButton\" data-dropdown-toggle=\"dropdownDotsHorizontal\" class=\"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" type=\"button\"> \n  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n    <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n  </svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDotsHorizontal\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownMenuIconHorizontalButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Separated link</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Notification bell\n\nUse this example to show a list of notifications inside your application by providing more detailed information such as the user avatar, content and time of notification triggered by a notification bell icon.\n\n{{< example id=\"dropdown-notification-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"660\" >}}\n\n<button id=\"dropdownNotificationButton\" data-dropdown-toggle=\"dropdownNotification\" class=\"relative inline-flex items-center text-sm font-medium text-center text-gray-500 hover:text-gray-900 focus:outline-none dark:hover:text-white dark:text-gray-400\" type=\"button\">\n<svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n<path d=\"M12.133 10.632v-1.8A5.406 5.406 0 0 0 7.979 3.57.946.946 0 0 0 8 3.464V1.1a1 1 0 0 0-2 0v2.364a.946.946 0 0 0 .021.106 5.406 5.406 0 0 0-4.154 5.262v1.8C1.867 13.018 0 13.614 0 14.807 0 15.4 0 16 .538 16h12.924C14 16 14 15.4 14 14.807c0-1.193-1.867-1.789-1.867-4.175ZM3.823 17a3.453 3.453 0 0 0 6.354 0H3.823Z\"/>\n</svg>\n\n<div class=\"absolute block w-3 h-3 bg-red-500 border-2 border-white rounded-full -top-0.5 start-2.5 dark:border-gray-900\"></div>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownNotification\" class=\"z-20 hidden w-full max-w-sm bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-800 dark:divide-gray-700\" aria-labelledby=\"dropdownNotificationButton\">\n  <div class=\"block px-4 py-2 font-medium text-center text-gray-600 rounded-t-lg bg-gray-50 dark:bg-gray-800 dark:text-white\">\n      Notifications\n  </div>\n  <div class=\"divide-y divide-gray-100 dark:divide-gray-700\">\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-blue-600 border border-white rounded-full dark:border-gray-800\">\n          <svg class=\"w-2 h-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n            <path d=\"M1 18h16a1 1 0 0 0 1-1v-6h-4.439a.99.99 0 0 0-.908.6 3.978 3.978 0 0 1-7.306 0 .99.99 0 0 0-.908-.6H0v6a1 1 0 0 0 1 1Z\"/>\n            <path d=\"M4.439 9a2.99 2.99 0 0 1 2.742 1.8 1.977 1.977 0 0 0 3.638 0A2.99 2.99 0 0 1 13.561 9H17.8L15.977.783A1 1 0 0 0 15 0H3a1 1 0 0 0-.977.783L.2 9h4.239Z\"/>\n          </svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-gray-500 text-sm mb-1.5 dark:text-gray-400\">New message from <span class=\"font-semibold text-gray-900 dark:text-white\">Jese Leos</span>: \"Hey, what's up? All set for the presentation?\"</div>\n          <div class=\"text-xs text-blue-600 dark:text-blue-500\">a few moments ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Joseph image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-gray-900 border border-white rounded-full dark:border-gray-800\">\n          <svg class=\"w-2 h-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n            <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Zm11-3h-2V5a1 1 0 0 0-2 0v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 0 0 2 0V9h2a1 1 0 1 0 0-2Z\"/>\n          </svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-gray-500 text-sm mb-1.5 dark:text-gray-400\"><span class=\"font-semibold text-gray-900 dark:text-white\">Joseph Mcfall</span> and <span class=\"font-medium text-gray-900 dark:text-white\">5 others</span> started following you.</div>\n          <div class=\"text-xs text-blue-600 dark:text-blue-500\">10 minutes ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-red-600 border border-white rounded-full dark:border-gray-800\">\n          <svg class=\"w-2 h-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n            <path d=\"M17.947 2.053a5.209 5.209 0 0 0-3.793-1.53A6.414 6.414 0 0 0 10 2.311 6.482 6.482 0 0 0 5.824.5a5.2 5.2 0 0 0-3.8 1.521c-1.915 1.916-2.315 5.392.625 8.333l7 7a.5.5 0 0 0 .708 0l7-7a6.6 6.6 0 0 0 2.123-4.508 5.179 5.179 0 0 0-1.533-3.793Z\"/>\n          </svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-gray-500 text-sm mb-1.5 dark:text-gray-400\"><span class=\"font-semibold text-gray-900 dark:text-white\">Bonnie Green</span> and <span class=\"font-medium text-gray-900 dark:text-white\">141 others</span> love your story. See it and view more stories.</div>\n          <div class=\"text-xs text-blue-600 dark:text-blue-500\">44 minutes ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Leslie image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-green-400 border border-white rounded-full dark:border-gray-800\">\n          <svg class=\"w-2 h-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n            <path d=\"M18 0H2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2v4a1 1 0 0 0 1.707.707L10.414 13H18a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5 4h2a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2ZM5 4h5a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2Zm2 5H5a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Zm9 0h-6a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2Z\"/>\n          </svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-gray-500 text-sm mb-1.5 dark:text-gray-400\"><span class=\"font-semibold text-gray-900 dark:text-white\">Leslie Livingston</span> mentioned you in a comment: <span class=\"font-medium text-blue-500\" href=\"#\">@bonnie.green</span> what do you say?</div>\n          <div class=\"text-xs text-blue-600 dark:text-blue-500\">1 hour ago</div>\n      </div>\n    </a>\n    <a href=\"#\" class=\"flex px-4 py-3 hover:bg-gray-100 dark:hover:bg-gray-700\">\n      <div class=\"shrink-0\">\n        <img class=\"rounded-full w-11 h-11\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Robert image\">\n        <div class=\"absolute flex items-center justify-center w-5 h-5 ms-6 -mt-5 bg-purple-500 border border-white rounded-full dark:border-gray-800\">\n          <svg class=\"w-2 h-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n            <path d=\"M11 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm8.585 1.189a.994.994 0 0 0-.9-.138l-2.965.983a1 1 0 0 0-.685.949v8a1 1 0 0 0 .675.946l2.965 1.02a1.013 1.013 0 0 0 1.032-.242A1 1 0 0 0 20 12V2a1 1 0 0 0-.415-.811Z\"/>\n          </svg>\n        </div>\n      </div>\n      <div class=\"w-full ps-3\">\n          <div class=\"text-gray-500 text-sm mb-1.5 dark:text-gray-400\"><span class=\"font-semibold text-gray-900 dark:text-white\">Robert Brown</span> posted a new video: Glassmorphism - learn how to implement the new design trend.</div>\n          <div class=\"text-xs text-blue-600 dark:text-blue-500\">3 hours ago</div>\n      </div>\n    </a>\n  </div>\n  <a href=\"#\" class=\"block py-2 text-sm font-medium text-center text-gray-900 rounded-b-lg bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 dark:text-white\">\n    <div class=\"inline-flex items-center \">\n      <svg class=\"w-4 h-4 me-2 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n        <path d=\"M10 0C4.612 0 0 5.336 0 7c0 1.742 3.546 7 10 7 6.454 0 10-5.258 10-7 0-1.664-4.612-7-10-7Zm0 10a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n      </svg>\n        View all\n    </div>\n  </a>\n</div>\n{{< /example >}}\n\n##### User avatar\n\nThis example can be used to show a list of menu items and options when a user is logged into your application.\n\n{{< example id=\"dropdown-avatar-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"370\" >}}\n<button id=\"dropdownUserAvatarButton\" data-dropdown-toggle=\"dropdownAvatar\" class=\"flex text-sm bg-gray-800 rounded-full md:me-0 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600\" type=\"button\">\n<span class=\"sr-only\">Open user menu</span>\n<img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"user photo\">\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownAvatar\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div>Bonnie Green</div>\n      <div class=\"font-medium truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownUserAvatarButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n{{< /example >}}\n\n###### Avatar with name\n\nUse this example to also show the name or email of the user next to the avatar for the dropdown menu.\n\n{{< example id=\"dropdown-avatar-name-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"370\" >}}\n<button id=\"dropdownAvatarNameButton\" data-dropdown-toggle=\"dropdownAvatarName\" class=\"flex items-center text-sm pe-1 font-medium text-gray-900 rounded-full hover:text-blue-600 dark:hover:text-blue-500 md:me-0 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:text-white\" type=\"button\">\n<span class=\"sr-only\">Open user menu</span>\n<img class=\"w-8 h-8 me-2 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"user photo\">\nBonnie Green\n<svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownAvatarName\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div class=\"font-medium \">Pro User</div>\n      <div class=\"truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownInformdropdownAvatarNameButtonationButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Dropdown navbar\n\nYou can also use the dropdown element inside a navigation bar and add a second level of navigation hierarchy, but make sure to use a `button` element.\n\n{{< example id=\"dropdown-navbar-example\" bodyClass=\"!p-0\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"340\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900 dark:border-gray-700\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto px-4 py-2.5\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-dropdown\" type=\"button\" class=\"inline-flex items-center p-2 ms-3 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-dropdown\" aria-expanded=\"false\">\n      <span class=\"sr-only\">Open main menu</span>\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n      </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-dropdown\">\n      <ul class=\"flex flex-col font-medium p-4 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:mt-0 md:text-sm  md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700 md:space-x-8 md:rtl:space-x-reverse\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-white dark:bg-blue-600 md:dark:bg-transparent\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"dropdownNavbarLink\" data-dropdown-toggle=\"dropdownNavbar\" class=\"flex items-center justify-between w-full py-2 px-3 text-gray-600 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 md:w-auto dark:text-gray-400 dark:hover:text-white dark:focus:text-white dark:border-gray-700 dark:hover:bg-gray-700 md:dark:hover:bg-transparent\">Dropdown <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownNavbar\" class=\"z-10 hidden font-normal bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n                <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownLargeButton\">\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n                  </li>\n                </ul>\n                <div class=\"py-1\">\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n                </div>\n            </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-600 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-600 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-600 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Dropdown datepicker\n\nUse this example to show a date range picker inside a dropdown menu. Use the `data-dropdown-ignore-click-outside-class={class}` option to keep the dropdown menu open when interacting with the datepicker component by setting the element's parent class name.\n\n{{< example id=\"dropdown-datepicker-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"520\" >}}\n<button id=\"dateRangeButton\" data-dropdown-toggle=\"dateRangeDropdown\" data-dropdown-ignore-click-outside-class=\"datepicker\" type=\"button\" class=\"inline-flex items-center text-blue-700 dark:text-blue-600 font-medium hover:underline\">31 Nov <p class=\"ms-1\"> - 31 Dev </p> <svg class=\"w-3 h-3 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<div id=\"dateRangeDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-80 lg:w-96 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"p-3\" aria-labelledby=\"dateRangeButton\">\n      <div date-rangepicker datepicker-autohide class=\"flex items-center\">\n          <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <input name=\"start\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Start date\">\n          </div>\n          <span class=\"mx-2 text-gray-500 dark:text-gray-400\">to</span>\n          <div class=\"relative\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <input name=\"end\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"End date\">\n        </div>\n      </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nThe dropdown menus work with buttons of all sizes including smaller or larger ones.\n\n{{< example id=\"dropdown-sizes-example\" github=\"components/dropdowns.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"380\" >}}\n<button id=\"dropdownSmallButton\" data-dropdown-toggle=\"dropdownSmall\" class=\"inline-flex items-center px-3 py-2 mb-3 me-3 text-sm font-medium text-center text-white bg-blue-700 rounded-lg md:mb-0 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Small dropdown <svg class=\"w-2 h-2 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSmall\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div>Bonnie Green</div>\n      <div class=\"font-medium truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownSmallButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n\n<button id=\"dropdownLargeButton\" data-dropdown-toggle=\"dropdownLarge\" class=\"inline-flex items-center px-5 py-3 mb-3 font-medium text-center text-white bg-blue-700 rounded-lg md:mb-0 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Large dropdown <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLarge\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n    <div class=\"px-4 py-3 text-sm text-gray-900 dark:text-white\">\n      <div>Bonnie Green</div>\n      <div class=\"font-medium truncate\">name@flowbite.com</div>\n    </div>\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownLargeButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n    </ul>\n    <div class=\"py-2\">\n      <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n    </div>\n</div>\n{{< /example >}}\n\n##### Placement\n\nYou can also use the `data-dropdown-placement={top|right|bottom|left}` data attribute options to choose the placement of the dropdown menu. By default the positioning is set to the bottom side of the button.\n\n{{< example id=\"dropdown-placement-example\" class=\"flex flex-wrap justify-center py-48\" github=\"components/dropdowns.md\" show_dark=true >}}\n<button id=\"dropdownTopButton\" data-dropdown-toggle=\"dropdownTop\" data-dropdown-placement=\"top\" class=\"me-3 mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown top <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5 5 1 1 5\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownTop\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownTopButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownRightButton\" data-dropdown-toggle=\"dropdownRight\" data-dropdown-placement=\"right\" class=\"me-3 mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown right <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRight\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRightButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownBottomButton\" data-dropdown-toggle=\"dropdownBottom\" data-dropdown-placement=\"bottom\" class=\"me-3 mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown bottom <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownBottom\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownBottomButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownLeftButton\" data-dropdown-toggle=\"dropdownLeft\" data-dropdown-placement=\"left\" class=\"mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\"><svg class=\"w-2.5 h-2.5 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n</svg>Dropdown left</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLeft\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownLeftButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Double placement\n\nYou can combine the placement options by using the `top|right|bottom|left-{start|end}` values. For example, `left-end` will position the dropdown on the left bottom, whereas `right-end` will position it on the right bottom side.\n\n{{< example id=\"dropdown-2x-placement-example\" class=\"flex flex-wrap justify-center\" github=\"components/dropdowns.md\" iframeHeight=\"240\" show_dark=true >}}\n<button id=\"dropdownLeftEndButton\" data-dropdown-toggle=\"dropdownLeftEnd\" data-dropdown-placement=\"left-end\" class=\"me-3 mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\"><svg class=\"w-2.5 h-2.5 me-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n</svg>Dropdown left end\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownLeftEnd\" class=\"z-20 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownLeftEndButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n\n<button id=\"dropdownRightEndButton\" data-dropdown-toggle=\"dropdownRightEnd\" data-dropdown-placement=\"right-end\" class=\"mb-3 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown right end<svg class=\"w-2.5 h-2.5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownRightEnd\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRightEndButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Dropdown offset\n\nUse the offset options on the dropdown component to set the distance and skidding of the menu relative to the trigger element.\n\n###### Distance\n\nUse the `data-dropdown-offset-distance={pixels}` data attribute to set the number of pixels you want the dropdown menu to be offset from the trigger element.\n\n{{< example id=\"dropdown-offset-distance-example\" class=\"flex flex-wrap justify-center\" github=\"components/dropdowns.md\" iframeHeight=\"320\" show_dark=true >}}\n<button id=\"dropdownOffsetButton\" data-dropdown-toggle=\"dropdownDistance\" data-dropdown-offset-distance=\"35\" data-dropdown-offset-skidding=\"0\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownDistance\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefault\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n###### Skidding\n\nThe `data-dropdown-offset-skidding={pixels}` data attribute can be used to move up or down (or left and right) the dropdown menu along and relative to the trigger element.\n\n{{< example id=\"dropdown-offset-skidding-example\" class=\"flex flex-wrap justify-center\" github=\"components/dropdowns.md\" iframeHeight=\"320\" show_dark=true >}}\n<button id=\"dropdownOffsetButton\" data-dropdown-toggle=\"dropdownSkidding\" data-dropdown-offset-distance=\"10\" data-dropdown-offset-skidding=\"100\" data-dropdown-placement=\"right\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSkidding\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefault\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### More examples\n\nFor more dropdown examples you can check out the [dropdown filter](https://flowbite.com/blocks/application/filter/) components from Flowbite Blocks.\n\n##### JavaScript behaviour\n\nThe **Dropdown** class from Flowbite can be used to create an object that will show a dropdown menu relative to the main trigger element (eg. a button) based on the parameters, options, and methods that you provide.\n\n###### Object parameters\n\nInitialize a Dropdown object with the object parameters such as the main target dropdown menu, a trigger element (eg. a button) and options to set the placement relative to the trigger element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">targetElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Apply the main dropdown menu element as the first parameter of the Dropdown object.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">triggerElement</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Apply the trigger element, such as a button, which is required to position the dropdown menu and set a click event.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use the options parameter to set the positioning of the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse the following options as the third parameter for the Dropdown class to set the placement of the dropdown menu.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">placement</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the position of the dropdown menu relative to the trigger element choosing from <code class=\"text-purple-600 dark:text-purple-400\">top|right|bottom|left</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">triggerType</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the event type that will trigger the dropdown menu choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">offsetDistance</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the amount of pixels the dropdown menu should be offset relative to the trigger element on the X horizontal axis.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">offsetSkidding</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the number of pixels the dropdown menu should be offset relative to the trigger element on the Y horizontal axis.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">delay</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Number\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the milliseconds for which the showing or hiding of the dropdown will be delayed for when using the hover trigger type.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">ignoreClickOutsideClass</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  String\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a class for one or more elements that when they are clicked should ignore closing the dropdown (ie. offcanvas datepicker).\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown has been hidden.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n              </td>\n              <td class=\"px-6 py-4 font-medium\">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the dropdown visibility has been toggled.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the methods from the Dropdown object to programmatically show or hide the dropdown menu directly from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs font-medium uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to show the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to hide the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Dropdown object to toggle the visibility of the dropdown menu.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">isVisible()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Returns true or false based on the visibility of the dropdown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown has been shown.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown has been hidden.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 font-medium\">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the dropdown visibility has been changed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Dropdown object.\n\nFirst of all, you need to set the main target element which will be the dropdown menu and the trigger element which will can be a button or a text.\n\nAfter that, you can also optionally set an options object to set the placement of the dropdown menu and callback functions.\n\n```javascript\n// set the dropdown menu element\nconst $targetEl = document.getElementById('dropdownMenu');\n\n// set the element that trigger the dropdown menu on click\nconst $triggerEl = document.getElementById('dropdownButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'click',\n    offsetSkidding: 0,\n    offsetDistance: 10,\n    delay: 300,\n    ignoreClickOutsideClass: false,\n    onHide: () => {\n        console.log('dropdown has been hidden');\n    },\n    onShow: () => {\n        console.log('dropdown has been shown');\n    },\n    onToggle: () => {\n        console.log('dropdown has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'dropdownMenu',\n  override: true\n};\n```\n\nCreate a new Dropdown object based on the options above.\n\n```javascript\nimport { Dropdown } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dropdown = new Dropdown($targetEl, $triggerEl, options, instanceOptions);\n```\n\nUse the `show` and `hide` methods on the Dropdown object to programmatically show or hide the dropdown menu directly from JavaScript.\n\n```javascript\n// show the dropdown menu\ndropdown.show();\n\n// hide the dropdown menu\ndropdown.hide();\n\n// toggle the dropdown menu\ndropdown.toggle();\n\n// check if dropdown is visible/open\ndropdown.isVisible();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<button id=\"dropdownButton\" data-dropdown-toggle=\"dropdown\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown button <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownMenu\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownButton\">\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Sign out</a>\n      </li>\n    </ul>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Dropdown class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Dropdown } from 'flowbite';\nimport type { DropdownOptions, DropdownInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the dropdown menu element\nconst $targetEl: HTMLElement = document.getElementById('dropdownMenu');\n\n// set the element that trigger the dropdown menu on click\nconst $triggerEl: HTMLElement = document.getElementById('dropdownButton');\n\n// options with default values\nconst options: DropdownOptions = {\n    placement: 'bottom',\n    triggerType: 'click',\n    offsetSkidding: 0,\n    offsetDistance: 10,\n    delay: 300,\n    onHide: () => {\n        console.log('dropdown has been hidden');\n    },\n    onShow: () => {\n        console.log('dropdown has been shown');\n    },\n    onToggle: () => {\n        console.log('dropdown has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'dropdownMenu',\n  override: true\n};\n\n/*\n * targetEl: required\n * triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dropdown: DropdownInterface = new Dropdown(\n    $targetEl,\n    $triggerEl,\n    options,\n    instanceOptions\n);\n\n// show the dropdown\ndropdown.show();\n```\n\n#### Footer\n\nThe footer is one of the most underestimated sections of a website being located at the very bottom of every page, however, it can be used as a way to try to convince users to stay on your website if they haven't found the information they've been looking for inside the main content area.\n\nUse these footer sections coded with the utility classes from Tailwind CSS and components from Flowbite to offer valuable information to your users such as the brand's logo, sitemap links, copyright notice, social media profiles, and more.\n\n##### Default footer\n\nUse this footer component to show a copyright notice and some helpful website links.\n\n{{< example id=\"default-footer-example\" bodyClass=\"!p-0\" github=\"components/footer.md\" class=\"p-2\" show_dark=true >}}\n\n<footer class=\"bg-white rounded-lg shadow-sm m-4 dark:bg-gray-800\">\n    <div class=\"w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-between\">\n      <span class=\"text-sm text-gray-500 sm:text-center dark:text-gray-400\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n    </span>\n    <ul class=\"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0\">\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline\">Contact</a>\n        </li>\n    </ul>\n    </div>\n</footer>\n{{< /example >}}\n\n##### Footer with logo\n\nUse this component to show your brand's logo, a few website links and the copyright notice on a second row.\n\n{{< example id=\"footer-logo-example\" bodyClass=\"!p-0\" github=\"components/footer.md\" class=\"p-2\" show_dark=true >}}\n\n<footer class=\"bg-white rounded-lg shadow-sm dark:bg-gray-900 m-4\">\n    <div class=\"w-full max-w-screen-xl mx-auto p-4 md:py-8\">\n        <div class=\"sm:flex sm:items-center sm:justify-between\">\n            <a href=\"https://flowbite.com/\" class=\"flex items-center mb-4 sm:mb-0 space-x-3 rtl:space-x-reverse\">\n                <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n                <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n            </a>\n            <ul class=\"flex flex-wrap items-center mb-6 text-sm font-medium text-gray-500 sm:mb-0 dark:text-gray-400\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline\">Contact</a>\n                </li>\n            </ul>\n        </div>\n        <hr class=\"my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8\" />\n        <span class=\"block text-sm text-gray-500 sm:text-center dark:text-gray-400\">© 2023 <a href=\"https://flowbite.com/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.</span>\n    </div>\n</footer>\n\n{{< /example >}}\n\n##### Social media icons\n\nThis footer component can be used to show your brand's logo, multiple rows of website links, a copyright notice and social media profile icons including Twitter, Facebook, Instagram, and more.\n\n{{< example id=\"footer-social-media-example\" bodyClass=\"!p-0\" github=\"components/footer.md\" show_dark=true >}}\n\n<footer class=\"bg-white dark:bg-gray-900\">\n    <div class=\"mx-auto w-full max-w-screen-xl p-4 py-6 lg:py-8\">\n        <div class=\"md:flex md:justify-between\">\n          <div class=\"mb-6 md:mb-0\">\n              <a href=\"{{< param homepage >}}/\" class=\"flex items-center\">\n                  <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8 me-3\" alt=\"FlowBite Logo\" />\n                  <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n              </a>\n          </div>\n          <div class=\"grid grid-cols-2 gap-8 sm:gap-6 sm:grid-cols-3\">\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Resources</h2>\n                  <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite</a>\n                      </li>\n                      <li>\n                          <a href=\"https://tailwindcss.com/\" class=\"hover:underline\">Tailwind CSS</a>\n                      </li>\n                  </ul>\n              </div>\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Follow us</h2>\n                  <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"https://github.com/themesberg/flowbite\" class=\"hover:underline \">Github</a>\n                      </li>\n                      <li>\n                          <a href=\"https://discord.gg/4eeurUVvTy\" class=\"hover:underline\">Discord</a>\n                      </li>\n                  </ul>\n              </div>\n              <div>\n                  <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Legal</h2>\n                  <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                      <li class=\"mb-4\">\n                          <a href=\"#\" class=\"hover:underline\">Privacy Policy</a>\n                      </li>\n                      <li>\n                          <a href=\"#\" class=\"hover:underline\">Terms &amp; Conditions</a>\n                      </li>\n                  </ul>\n              </div>\n          </div>\n      </div>\n      <hr class=\"my-6 border-gray-200 sm:mx-auto dark:border-gray-700 lg:my-8\" />\n      <div class=\"sm:flex sm:items-center sm:justify-between\">\n          <span class=\"text-sm text-gray-500 sm:text-center dark:text-gray-400\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n          </span>\n          <div class=\"flex mt-4 sm:justify-center sm:mt-0\">\n              <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 8 19\">\n                        <path fill-rule=\"evenodd\" d=\"M6.135 3H8V0H6.135a4.147 4.147 0 0 0-4.142 4.142V6H0v3h2v9.938h3V9h2.021l.592-3H5V3.591A.6.6 0 0 1 5.592 3h.543Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                  <span class=\"sr-only\">Facebook page</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 21 16\">\n                        <path d=\"M16.942 1.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.585 11.585 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3A17.392 17.392 0 0 0 .182 13.218a15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.63 10.63 0 0 1-1.706-.83c.143-.106.283-.217.418-.33a11.664 11.664 0 0 0 10.118 0c.137.113.277.224.418.33-.544.328-1.116.606-1.71.832a12.52 12.52 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM6.678 10.813a1.941 1.941 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z\"/>\n                    </svg>\n                  <span class=\"sr-only\">Discord community</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 17\">\n                    <path fill-rule=\"evenodd\" d=\"M20 1.892a8.178 8.178 0 0 1-2.355.635 4.074 4.074 0 0 0 1.8-2.235 8.344 8.344 0 0 1-2.605.98A4.13 4.13 0 0 0 13.85 0a4.068 4.068 0 0 0-4.1 4.038 4 4 0 0 0 .105.919A11.705 11.705 0 0 1 1.4.734a4.006 4.006 0 0 0 1.268 5.392 4.165 4.165 0 0 1-1.859-.5v.05A4.057 4.057 0 0 0 4.1 9.635a4.19 4.19 0 0 1-1.856.07 4.108 4.108 0 0 0 3.831 2.807A8.36 8.36 0 0 1 0 14.184 11.732 11.732 0 0 0 6.291 16 11.502 11.502 0 0 0 17.964 4.5c0-.177 0-.35-.012-.523A8.143 8.143 0 0 0 20 1.892Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                  <span class=\"sr-only\">Twitter page</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path fill-rule=\"evenodd\" d=\"M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">GitHub account</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-500 hover:text-gray-900 dark:hover:text-white ms-5\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path fill-rule=\"evenodd\" d=\"M10 0a10 10 0 1 0 10 10A10.009 10.009 0 0 0 10 0Zm6.613 4.614a8.523 8.523 0 0 1 1.93 5.32 20.094 20.094 0 0 0-5.949-.274c-.059-.149-.122-.292-.184-.441a23.879 23.879 0 0 0-.566-1.239 11.41 11.41 0 0 0 4.769-3.366ZM8 1.707a8.821 8.821 0 0 1 2-.238 8.5 8.5 0 0 1 5.664 2.152 9.608 9.608 0 0 1-4.476 3.087A45.758 45.758 0 0 0 8 1.707ZM1.642 8.262a8.57 8.57 0 0 1 4.73-5.981A53.998 53.998 0 0 1 9.54 7.222a32.078 32.078 0 0 1-7.9 1.04h.002Zm2.01 7.46a8.51 8.51 0 0 1-2.2-5.707v-.262a31.64 31.64 0 0 0 8.777-1.219c.243.477.477.964.692 1.449-.114.032-.227.067-.336.1a13.569 13.569 0 0 0-6.942 5.636l.009.003ZM10 18.556a8.508 8.508 0 0 1-5.243-1.8 11.717 11.717 0 0 1 6.7-5.332.509.509 0 0 1 .055-.02 35.65 35.65 0 0 1 1.819 6.476 8.476 8.476 0 0 1-3.331.676Zm4.772-1.462A37.232 37.232 0 0 0 13.113 11a12.513 12.513 0 0 1 5.321.364 8.56 8.56 0 0 1-3.66 5.73h-.002Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                  <span class=\"sr-only\">Dribbble account</span>\n              </a>\n          </div>\n      </div>\n    </div>\n</footer>\n{{< /example >}}\n\n##### Sitemap links\n\nIf you have a website with many pages you can use this footer component to show a sitemap spanning the entire width of a row followed below by a copyright notice and social media icons.\n\n{{< example id=\"footer-sitemap-example\" bodyClass=\"!p-0\" github=\"components/footer.md\" show_dark=true >}}\n\n<footer class=\"bg-white dark:bg-gray-900\">\n    <div class=\"mx-auto w-full max-w-screen-xl\">\n      <div class=\"grid grid-cols-2 gap-8 px-4 py-6 lg:py-8 md:grid-cols-4\">\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Company</h2>\n            <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\" hover:underline\">About</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Careers</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Brand Center</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Blog</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Help center</h2>\n            <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Discord Server</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Twitter</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Facebook</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Contact Us</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Legal</h2>\n            <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Privacy Policy</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Licensing</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Terms &amp; Conditions</a>\n                </li>\n            </ul>\n        </div>\n        <div>\n            <h2 class=\"mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white\">Download</h2>\n            <ul class=\"text-gray-500 dark:text-gray-400 font-medium\">\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">iOS</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Android</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">Windows</a>\n                </li>\n                <li class=\"mb-4\">\n                    <a href=\"#\" class=\"hover:underline\">MacOS</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div class=\"px-4 py-6 bg-gray-100 dark:bg-gray-700 md:flex md:items-center md:justify-between\">\n        <span class=\"text-sm text-gray-500 dark:text-gray-300 sm:text-center\">© 2023 <a href=\"{{< param homepage >}}/\">Flowbite™</a>. All Rights Reserved.\n        </span>\n        <div class=\"flex mt-4 sm:justify-center md:mt-0 space-x-5 rtl:space-x-reverse\">\n            <a href=\"#\" class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 8 19\">\n                        <path fill-rule=\"evenodd\" d=\"M6.135 3H8V0H6.135a4.147 4.147 0 0 0-4.142 4.142V6H0v3h2v9.938h3V9h2.021l.592-3H5V3.591A.6.6 0 0 1 5.592 3h.543Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                  <span class=\"sr-only\">Facebook page</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 21 16\">\n                        <path d=\"M16.942 1.556a16.3 16.3 0 0 0-4.126-1.3 12.04 12.04 0 0 0-.529 1.1 15.175 15.175 0 0 0-4.573 0 11.585 11.585 0 0 0-.535-1.1 16.274 16.274 0 0 0-4.129 1.3A17.392 17.392 0 0 0 .182 13.218a15.785 15.785 0 0 0 4.963 2.521c.41-.564.773-1.16 1.084-1.785a10.63 10.63 0 0 1-1.706-.83c.143-.106.283-.217.418-.33a11.664 11.664 0 0 0 10.118 0c.137.113.277.224.418.33-.544.328-1.116.606-1.71.832a12.52 12.52 0 0 0 1.084 1.785 16.46 16.46 0 0 0 5.064-2.595 17.286 17.286 0 0 0-2.973-11.59ZM6.678 10.813a1.941 1.941 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.919 1.919 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Zm6.644 0a1.94 1.94 0 0 1-1.8-2.045 1.93 1.93 0 0 1 1.8-2.047 1.918 1.918 0 0 1 1.8 2.047 1.93 1.93 0 0 1-1.8 2.045Z\"/>\n                    </svg>\n                  <span class=\"sr-only\">Discord community</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 17\">\n                    <path fill-rule=\"evenodd\" d=\"M20 1.892a8.178 8.178 0 0 1-2.355.635 4.074 4.074 0 0 0 1.8-2.235 8.344 8.344 0 0 1-2.605.98A4.13 4.13 0 0 0 13.85 0a4.068 4.068 0 0 0-4.1 4.038 4 4 0 0 0 .105.919A11.705 11.705 0 0 1 1.4.734a4.006 4.006 0 0 0 1.268 5.392 4.165 4.165 0 0 1-1.859-.5v.05A4.057 4.057 0 0 0 4.1 9.635a4.19 4.19 0 0 1-1.856.07 4.108 4.108 0 0 0 3.831 2.807A8.36 8.36 0 0 1 0 14.184 11.732 11.732 0 0 0 6.291 16 11.502 11.502 0 0 0 17.964 4.5c0-.177 0-.35-.012-.523A8.143 8.143 0 0 0 20 1.892Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                  <span class=\"sr-only\">Twitter page</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path fill-rule=\"evenodd\" d=\"M10 .333A9.911 9.911 0 0 0 6.866 19.65c.5.092.678-.215.678-.477 0-.237-.01-1.017-.014-1.845-2.757.6-3.338-1.169-3.338-1.169a2.627 2.627 0 0 0-1.1-1.451c-.9-.615.07-.6.07-.6a2.084 2.084 0 0 1 1.518 1.021 2.11 2.11 0 0 0 2.884.823c.044-.503.268-.973.63-1.325-2.2-.25-4.516-1.1-4.516-4.9A3.832 3.832 0 0 1 4.7 7.068a3.56 3.56 0 0 1 .095-2.623s.832-.266 2.726 1.016a9.409 9.409 0 0 1 4.962 0c1.89-1.282 2.717-1.016 2.717-1.016.366.83.402 1.768.1 2.623a3.827 3.827 0 0 1 1.02 2.659c0 3.807-2.319 4.644-4.525 4.889a2.366 2.366 0 0 1 .673 1.834c0 1.326-.012 2.394-.012 2.72 0 .263.18.572.681.475A9.911 9.911 0 0 0 10 .333Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">GitHub account</span>\n              </a>\n              <a href=\"#\" class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white\">\n                  <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path fill-rule=\"evenodd\" d=\"M10 0a10 10 0 1 0 10 10A10.009 10.009 0 0 0 10 0Zm6.613 4.614a8.523 8.523 0 0 1 1.93 5.32 20.094 20.094 0 0 0-5.949-.274c-.059-.149-.122-.292-.184-.441a23.879 23.879 0 0 0-.566-1.239 11.41 11.41 0 0 0 4.769-3.366ZM8 1.707a8.821 8.821 0 0 1 2-.238 8.5 8.5 0 0 1 5.664 2.152 9.608 9.608 0 0 1-4.476 3.087A45.758 45.758 0 0 0 8 1.707ZM1.642 8.262a8.57 8.57 0 0 1 4.73-5.981A53.998 53.998 0 0 1 9.54 7.222a32.078 32.078 0 0 1-7.9 1.04h.002Zm2.01 7.46a8.51 8.51 0 0 1-2.2-5.707v-.262a31.64 31.64 0 0 0 8.777-1.219c.243.477.477.964.692 1.449-.114.032-.227.067-.336.1a13.569 13.569 0 0 0-6.942 5.636l.009.003ZM10 18.556a8.508 8.508 0 0 1-5.243-1.8 11.717 11.717 0 0 1 6.7-5.332.509.509 0 0 1 .055-.02 35.65 35.65 0 0 1 1.819 6.476 8.476 8.476 0 0 1-3.331.676Zm4.772-1.462A37.232 37.232 0 0 0 13.113 11a12.513 12.513 0 0 1 5.321.364 8.56 8.56 0 0 1-3.66 5.73h-.002Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                  <span class=\"sr-only\">Dribbble account</span>\n              </a>\n        </div>\n      </div>\n    </div>\n</footer>\n{{< /example >}}\n\n##### Sticky footer\n\nUse this example to set create a sticky footer by using a fixed position to the bottom of the document page as the user scrolls up or down the main content area.\n\n{{< example id=\"footer-sticky-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<footer class=\"fixed bottom-0 left-0 z-20 w-full p-4 bg-white border-t border-gray-200 shadow-sm md:flex md:items-center md:justify-between md:p-6 dark:bg-gray-800 dark:border-gray-600\">\n    <span class=\"text-sm text-gray-500 sm:text-center dark:text-gray-400\">© 2023 <a href=\"{{< param homepage >}}/\" class=\"hover:underline\">Flowbite™</a>. All Rights Reserved.\n    </span>\n    <ul class=\"flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0\">\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">About</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Privacy Policy</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline me-4 md:me-6\">Licensing</a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"hover:underline\">Contact</a>\n        </li>\n    </ul>\n</footer>\n{{< /example >}}\n\n##### More examples\n\nFor more footer examples you can check out the footer sections from Flowbite Blocks:\n\n-   [Footers for dashboard](https://flowbite.com/blocks/application/dashboard-footer/)\n-   [Footers for marketing](https://flowbite.com/blocks/marketing/footer/)\n\n#### Forms\n\nGet started with these custom Tailwind CSS form components to gather information from your users using input text elements, checkboxes, radios, textareas, selects, file uploads, toggle switches, and more.\n\n##### Default form\n\nThis is an example of a form component including an email, password, checkbox, and submit button that you can use as a starting point for any form element in your website using Flowbite and Tailwind CSS.\n\n{{< example id=\"default-form-example\" github=\"components/forms.md\" show_dark=true >}}\n\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n    <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n    <input type=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n    <input type=\"password\" id=\"password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required />\n  </div>\n  <div class=\"flex items-start mb-5\">\n    <div class=\"flex items-center h-5\">\n      <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n    </div>\n    <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Remember me</label>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Submit</button>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_tw3 >}}\n</div>\n\n##### Floating labels\n\nUse these form elements inspired by material design from Google to adjust the `label` tag as the visual placeholder for the input elements using the `peer-placeholder-shown` and `peer-focus` utility classes. These components require Tailwind CSS v3.x and above.\n\n{{< example id=\"form-floating-label-example\" github=\"components/forms.md\" show_dark=true >}}\n\n<form class=\"max-w-md mx-auto\">\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"email\" name=\"floating_email\" id=\"floating_email\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n      <label for=\"floating_email\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Email address</label>\n  </div>\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"password\" name=\"floating_password\" id=\"floating_password\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n      <label for=\"floating_password\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Password</label>\n  </div>\n  <div class=\"relative z-0 w-full mb-5 group\">\n      <input type=\"password\" name=\"repeat_password\" id=\"floating_repeat_password\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n      <label for=\"floating_repeat_password\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Confirm password</label>\n  </div>\n  <div class=\"grid md:grid-cols-2 md:gap-6\">\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_first_name\" id=\"floating_first_name\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n        <label for=\"floating_first_name\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">First name</label>\n    </div>\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_last_name\" id=\"floating_last_name\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n        <label for=\"floating_last_name\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Last name</label>\n    </div>\n  </div>\n  <div class=\"grid md:grid-cols-2 md:gap-6\">\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"tel\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" name=\"floating_phone\" id=\"floating_phone\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n        <label for=\"floating_phone\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Phone number (123-456-7890)</label>\n    </div>\n    <div class=\"relative z-0 w-full mb-5 group\">\n        <input type=\"text\" name=\"floating_company\" id=\"floating_company\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" required />\n        <label for=\"floating_company\" class=\"peer-focus:font-medium absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 rtl:peer-focus:translate-x-1/4 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6\">Company (Ex. Google)</label>\n    </div>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Submit</button>\n</form>\n{{< /example >}}\n\n##### Input Sizes\n\nUse the following utility classes to create three different sizing options (large, base, and small) for your form input elements.\n\n{{< example id=\"form-sizes-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n      <label for=\"large-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Large input</label>\n      <input type=\"text\" id=\"large-input\" class=\"block w-full p-4 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 text-base focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n  </div>\n  <div class=\"mb-5\">\n      <label for=\"base-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Base input</label>\n      <input type=\"text\" id=\"base-input\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n  </div>\n  <div>\n      <label for=\"small-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Small input</label>\n      <input type=\"text\" id=\"small-input\" class=\"block w-full p-2 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n  </div>\n</form>\n{{< /example >}}\n\n##### Disabled inputs\n\nUse the following utility classes to indicate a disabled form input item.\n\n{{< example id=\"form-disabled-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <input type=\"text\" id=\"disabled-input\" aria-label=\"disabled input\" class=\"mb-5 bg-gray-100 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 cursor-not-allowed dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"Disabled input\" disabled>\n  <input type=\"text\" id=\"disabled-input-2\" aria-label=\"disabled input 2\" class=\"bg-gray-100 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 cursor-not-allowed dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"Disabled readonly input\" disabled readonly>\n</form>\n{{< /example >}}\n\n##### Shadow inputs\n\nAlternatively, you can decide to apply a shadow styling using the `shadow-xs` class to any of your form input elements.\n\n{{< example id=\"form-shadow-example\" github=\"components/forms.md\" show_dark=true >}}\n\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n    <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n    <input type=\"email\" id=\"email\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 dark:shadow-xs-light\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n    <input type=\"password\" id=\"password\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 dark:shadow-xs-light\" required />\n  </div>\n  <div class=\"mb-5\">\n    <label for=\"repeat-password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Repeat password</label>\n    <input type=\"password\" id=\"repeat-password\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500 dark:shadow-xs-light\" required />\n  </div>\n  <div class=\"flex items-start mb-5\">\n    <div class=\"flex items-center h-5\">\n      <input id=\"terms\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n    </div>\n    <label for=\"terms\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I agree with the <a href=\"#\" class=\"text-blue-600 hover:underline dark:text-blue-500\">terms and conditions</a></label>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Register new account</button>\n</form>\n{{< /example >}}\n\n##### Helper text\n\nUse the following markup to also add a helper text below your form input item. Usually used for newsletter signup elements.\n\n{{< example id=\"form-helper-text-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\"> \n  <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n  <input type=\"email\" id=\"email\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\">\n\n  <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">We’ll never share your details. Read our <a href=\"#\" class=\"font-medium text-blue-600 hover:underline dark:text-blue-500\">Privacy Policy</a>.</p>\n</form>\n{{< /example >}}\n\n##### Input element with icon\n\nUse the following Tailwind utility classes and [SVG icon](https://flowbite.com/icons/) to add an icon inside input form elements.\n\n{{< example id=\"form-input-icon-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"email-address-icon\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your Email</label>\n  <div class=\"relative\">\n    <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n        <path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n        <path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n      </svg>\n    </div>\n    <input type=\"text\" id=\"email-address-icon\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\">\n  </div>\n</form>\n{{< /example >}}\n\n##### Input element with addon\n\nUse this example to add a SVG icon or special character with an addon style to the input element.\n\n{{< example id=\"form-input-addon-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"website-admin\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Username</label>\n  <div class=\"flex\">\n    <span class=\"inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-e-0 border-gray-300 rounded-s-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600\">\n      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n      </svg>\n    </span>\n    <input type=\"text\" id=\"website-admin\" class=\"rounded-none rounded-e-lg bg-gray-50 border border-gray-300 text-gray-900 focus:ring-blue-500 focus:border-blue-500 block flex-1 min-w-0 w-full text-sm p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Bonnie Green\">\n  </div>\n</form>\n{{< /example >}}\n\n##### Form validation\n\nUse the following two success and error styles when validation your forms.\n\n{{< example id=\"form-validation-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"mb-5\">\n    <label for=\"username-success\" class=\"block mb-2 text-sm font-medium text-green-700 dark:text-green-500\">Your name</label>\n    <input type=\"text\" id=\"username-success\" class=\"bg-green-50 border border-green-500 text-green-900 dark:text-green-400 placeholder-green-700 dark:placeholder-green-500 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-green-500\" placeholder=\"Bonnie Green\">\n    <p class=\"mt-2 text-sm text-green-600 dark:text-green-500\"><span class=\"font-medium\">Alright!</span> Username available!</p>\n  </div>\n  <div>\n    <label for=\"username-error\" class=\"block mb-2 text-sm font-medium text-red-700 dark:text-red-500\">Your name</label>\n    <input type=\"text\" id=\"username-error\" class=\"bg-red-50 border border-red-500 text-red-900 placeholder-red-700 text-sm rounded-lg focus:ring-red-500 dark:bg-gray-700 focus:border-red-500 block w-full p-2.5 dark:text-red-500 dark:placeholder-red-500 dark:border-red-500\" placeholder=\"Bonnie Green\">\n    <p class=\"mt-2 text-sm text-red-600 dark:text-red-500\"><span class=\"font-medium\">Oops!</span> Username already taken!</p>\n  </div>\n</form>\n{{< /example >}}\n\n##### Textarea\n\nUse the following code to create a textarea form element.\n\n{{< example id=\"form-textarea-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"message\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your message</label>\n  <textarea id=\"message\" rows=\"4\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Leave a comment...\"></textarea>\n</form>\n{{< /example >}}\n\n##### Select input\n\nUse the following select input element to show selectable list of items.\n\n{{< example id=\"form-select-input-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select your country</label>\n  <select id=\"countries\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n\n    <option>United States</option>\n    <option>Canada</option>\n    <option>France</option>\n    <option>Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n##### Checkbox\n\nThe code below can be used to create a fieldset of checkbox elements inside a form. We also created a checkbox variant with extra description and one in a disabled form.\n\n{{< example id=\"form-checkbox-example\" github=\"components/forms.md\" show_dark=true >}}\n\n<fieldset>\n  <legend class=\"sr-only\">Checkbox variants</legend>\n\n  <div class=\"flex items-center mb-4\">\n      <input checked id=\"checkbox-1\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\" >\n      <label for=\"checkbox-1\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I agree to the <a href=\"#\" class=\"text-blue-600 hover:underline dark:text-blue-500\">terms and conditions</a>.</label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n      <input id=\"checkbox-2\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n      <label for=\"checkbox-2\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I want to get promotional offers</label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n      <input id=\"checkbox-3\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n      <label for=\"checkbox-3\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I am 18 years or older</label>\n  </div>\n  \n  <div class=\"flex mb-4\">\n      <div class=\"flex items-center h-5\">\n          <input id=\"helper-checkbox\" aria-describedby=\"helper-checkbox-text\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n      </div>\n      <div class=\"ms-2 text-sm\">\n          <label for=\"helper-checkbox\" class=\"font-medium text-gray-900 dark:text-gray-300\">Free shipping via Flowbite</label>\n          <p id=\"helper-checkbox-text\" class=\"text-xs font-normal text-gray-500 dark:text-gray-400\">For orders shipped from $25 in books or $29 in other categories</p>\n      </div>\n  </div>\n\n  <div class=\"flex items-center\">\n      <input id=\"international-shipping-disabled\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" disabled>\n      <label for=\"international-shipping-disabled\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Eligible for international shipping (disabled)</label>\n  </div>\n</fieldset>\n{{< /example >}}\n\n##### Radio buttons\n\nGroup a series of buttons together on a single line or stack them in a vertical column.\n\n{{< example id=\"form-radio-example\" github=\"components/forms.md\" show_dark=true >}}\n\n<fieldset>\n  <legend class=\"sr-only\">Countries</legend>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-1\" type=\"radio\" name=\"countries\" value=\"USA\" class=\"w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600\" checked>\n    <label for=\"country-option-1\" class=\"block ms-2  text-sm font-medium text-gray-900 dark:text-gray-300\">\n      United States\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-2\" type=\"radio\" name=\"countries\" value=\"Germany\" class=\"w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"country-option-2\" class=\"block ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">\n      Germany\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-3\" type=\"radio\" name=\"countries\" value=\"Spain\" class=\"w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"country-option-3\" class=\"block ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">\n      Spain\n    </label>\n  </div>\n\n  <div class=\"flex items-center mb-4\">\n    <input id=\"country-option-4\" type=\"radio\" name=\"countries\" value=\"United Kingdom\" class=\"w-4 h-4 border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus-ring-blue-600 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"country-option-4\" class=\"block ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">\n      United Kingdom\n    </label>\n  </div>\n\n  <div class=\"flex items-center\">\n    <input id=\"option-disabled\" type=\"radio\" name=\"countries\" value=\"China\" class=\"w-4 h-4 border-gray-200 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:bg-gray-700 dark:border-gray-600\" disabled>\n    <label for=\"option-disabled\" class=\"block ms-2 text-sm font-medium text-gray-300 dark:text-gray-600\">\n      China (disabled)\n    </label>\n  </div>\n</fieldset>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### File upload\n\nUse the following Tailwind CSS file upload element to receive any type of file from users.\n\n{{< example id=\"form-file-input-example\" github=\"components/forms.md\" show_dark=true >}}\n<form class=\"max-w-lg mx-auto\">\n  <label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"user_avatar\">Upload file</label>\n  <input class=\"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" aria-describedby=\"user_avatar_help\" id=\"user_avatar\" type=\"file\">\n  <div class=\"mt-1 text-sm text-gray-500 dark:text-gray-300\" id=\"user_avatar_help\">A profile picture is useful to confirm your are logged into your account</div>\n</form>\n{{< /example >}}\n\n##### Toggle Switch\n\nUse the following toggle switch component to ask for a yes or no type of input from your users without the use of JavaScript.\n\n{{< example id=\"form-toggle-example\" class=\"flex flex-col flex-wrap\" github=\"components/forms.md\" show_dark=true >}}\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:w-5 after:h-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Toggle me</span>\n</label>\n\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:w-5 after:h-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked toggle</span>\n</label>\n\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" disabled>\n  <div class=\"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:w-5 after:h-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Disabled toggle</span>\n</label>\n{{< /example >}}\n\n##### More examples\n\nYou can check out the following resources for more form components from Flowbite Blocks:\n\n-   [Register forms](https://flowbite.com/blocks/marketing/register/)\n-   [Login forms](https://flowbite.com/blocks/marketing/login/)\n-   [Reset password forms](https://flowbite.com/blocks/marketing/reset-password/)\n-   [Account recovery forms](https://flowbite.com/blocks/marketing/account-recovery/)\n-   [Contact forms](https://flowbite.com/blocks/marketing/contact/)\n-   [CRUD create forms](https://flowbite.com/blocks/application/crud-create-forms/)\n-   [CRUD update forms](https://flowbite.com/blocks/application/crud-update-forms/)\n-   [User onboarding forms](https://flowbite.com/blocks/marketing/user-onboarding/)\n\n#### Gallery\n\nThe gallery component can be used to show multiple images inside a masonry grid layout styles with the utility-first classes from Tailwind CSS to show a collection of pictures to your users based on various layouts, styles, sizes, and colors.\n\nThis component is recommended for usage within marketing UI interfaces and website sections when you want to show pictures of your team members, office pictures, or even case study images.\n\n##### Default gallery\n\nUse this component to show a collection of images inside a gallery with three pictures on a row.\n\n{{< example id=\"default-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 md:grid-cols-3 gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-9.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-10.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-11.jpg\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n##### Masonry grid\n\nThis example can be used to show the images inside a masonry grid layouts with four columns.\n\n{{< example id=\"masonry-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 md:grid-cols-4 gap-4\">\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-2.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-4.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-5.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-6.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-7.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-8.jpg\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"grid gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-9.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-10.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/masonry/image-11.jpg\" alt=\"\">\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Featured image\n\nThis example can be used to feature the most important image and show a row of five pictures below.\n\n{{< example id=\"featured-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/featured/image.jpg\" alt=\"\">\n    </div>\n    <div class=\"grid grid-cols-5 gap-4\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Quad gallery\n\nUse this example to show four larger images with two items on a row.\n\n{{< example id=\"quad-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"grid grid-cols-2 gap-2\">\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n        </div>\n        <div>\n            <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n        </div>\n    </div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Gallery with slider\n\nThis example uses the [carousel slider](https://flowbite.com/docs/components/carousel/) functionality to show multiple images inside a slider gallery.\n\n{{< example id=\"slider-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div id=\"gallery\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n    </div>\n    <!-- Slider controls -->\n    <button type=\"button\" class=\"absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-prev>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n            </svg>\n            <span class=\"sr-only\">Previous</span>\n        </span>\n    </button>\n    <button type=\"button\" class=\"absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none\" data-carousel-next>\n        <span class=\"inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none\">\n            <svg class=\"w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n            <span class=\"sr-only\">Next</span>\n        </span>\n    </button>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Custom slider controls\n\nThis example uses an alternative style for the control button for the carousel slider component.\n\n{{< example id=\"slider-controls-gallery-example\" class=\"flex justify-center\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div id=\"custom-controls-gallery\" class=\"relative w-full\" data-carousel=\"slide\">\n    <!-- Carousel wrapper -->\n    <div class=\"relative h-56 overflow-hidden rounded-lg md:h-96\">\n         <!-- Item 1 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 2 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item=\"active\">\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 3 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 4 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n        <!-- Item 5 -->\n        <div class=\"hidden duration-700 ease-in-out\" data-carousel-item>\n            <img src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" class=\"absolute block max-w-full h-auto -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2\" alt=\"\">\n        </div>\n    </div>\n    <div class=\"flex justify-center items-center pt-4\">\n        <button type=\"button\" class=\"flex justify-center items-center me-4 h-full cursor-pointer group focus:outline-none\" data-carousel-prev>\n            <span class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white group-focus:text-gray-900 dark:group-focus:text-white\">\n                <svg class=\"rtl:rotate-180 w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n                </svg>\n                <span class=\"sr-only\">Previous</span>\n            </span>\n        </button>\n        <button type=\"button\" class=\"flex justify-center items-center h-full cursor-pointer group focus:outline-none\" data-carousel-next>\n            <span class=\"text-gray-400 hover:text-gray-900 dark:hover:text-white group-focus:text-gray-900 dark:group-focus:text-white\">\n                <svg class=\"rtl:rotate-180 w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n                <span class=\"sr-only\">Next</span>\n            </span>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Gallery with tag filters\n\nUse this example to show a list of tags and filter the images below based on the activately selected tag.\n\n{{< example id=\"tags-gallery-example\" bodyClass=\"mt-0\" github=\"components/gallery.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center py-4 md:py-8 flex-wrap\">\n    <button type=\"button\" class=\"text-blue-700 hover:text-white border border-blue-600 bg-white hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-full text-base font-medium px-5 py-2.5 text-center me-3 mb-3 dark:border-blue-500 dark:text-blue-500 dark:hover:text-white dark:hover:bg-blue-500 dark:bg-gray-900 dark:focus:ring-blue-800\">All categories</button>\n    <button type=\"button\" class=\"text-gray-900 border border-white hover:border-gray-200 dark:border-gray-900 dark:bg-gray-900 dark:hover:border-gray-700 bg-white focus:ring-4 focus:outline-none focus:ring-gray-300 rounded-full text-base font-medium px-5 py-2.5 text-center me-3 mb-3 dark:text-white dark:focus:ring-gray-800\">Shoes</button>\n    <button type=\"button\" class=\"text-gray-900 border border-white hover:border-gray-200 dark:border-gray-900 dark:bg-gray-900 dark:hover:border-gray-700 bg-white focus:ring-4 focus:outline-none focus:ring-gray-300 rounded-full text-base font-medium px-5 py-2.5 text-center me-3 mb-3 dark:text-white dark:focus:ring-gray-800\">Bags</button>\n    <button type=\"button\" class=\"text-gray-900 border border-white hover:border-gray-200 dark:border-gray-900 dark:bg-gray-900 dark:hover:border-gray-700 bg-white focus:ring-4 focus:outline-none focus:ring-gray-300 rounded-full text-base font-medium px-5 py-2.5 text-center me-3 mb-3 dark:text-white dark:focus:ring-gray-800\">Electronics</button>\n    <button type=\"button\" class=\"text-gray-900 border border-white hover:border-gray-200 dark:border-gray-900 dark:bg-gray-900 dark:hover:border-gray-700 bg-white focus:ring-4 focus:outline-none focus:ring-gray-300 rounded-full text-base font-medium px-5 py-2.5 text-center me-3 mb-3 dark:text-white dark:focus:ring-gray-800\">Gaming</button>\n</div>\n<div class=\"grid grid-cols-2 md:grid-cols-3 gap-4\">\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-9.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-10.jpg\" alt=\"\">\n    </div>\n    <div>\n        <img class=\"h-auto max-w-full rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-11.jpg\" alt=\"\">\n    </div>\n</div>\n{{< /example >}}\n\n#### Indicators\n\nThe indicator component can be used as a small element positioned absolutely relative to another component such as a button or card and show a number count, account status (red for offline, green for online) and other useful information.\n\nCheck out the following examples for multiple sizes, colors, positionings, styles, and more all coded with Tailwind CSS and Flowbite.\n\n##### Default indicator\n\nUse this example to create a simple indicator with multiple colors and position it anywhere on the website.\n\n{{< example id=\"default-indicator-example\" class=\"flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n<span class=\"flex w-3 h-3 me-3 bg-gray-200 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-gray-900 rounded-full dark:bg-gray-700\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-blue-600 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-green-500 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-red-500 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-purple-500 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-indigo-500 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-yellow-300 rounded-full\"></span>\n<span class=\"flex w-3 h-3 me-3 bg-teal-500 rounded-full\"></span>\n{{< /example >}}\n\n##### Legend indicator\n\nThis example can be used as a legend indicator for charts to also add a text next to the bullet point.\n\n{{< example id=\"legend-indicator-example\" class=\"flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n<span class=\"flex items-center text-sm font-medium text-gray-900 dark:text-white me-3\"><span class=\"flex w-2.5 h-2.5 bg-blue-600 rounded-full me-1.5 shrink-0\"></span>Visitors</span>\n<span class=\"flex items-center text-sm font-medium text-gray-900 dark:text-white me-3\"><span class=\"flex w-2.5 h-2.5 bg-purple-500 rounded-full me-1.5 shrink-0\"></span>Sessions</span>\n<span class=\"flex items-center text-sm font-medium text-gray-900 dark:text-white me-3\"><span class=\"flex w-2.5 h-2.5 bg-indigo-500 rounded-full me-1.5 shrink-0\"></span>Customers</span>\n<span class=\"flex items-center text-sm font-medium text-gray-900 dark:text-white me-3\"><span class=\"flex w-2.5 h-2.5 bg-teal-500 rounded-full me-1.5 shrink-0\"></span>Revenue</span>\n{{< /example >}}\n\n##### Indicator count\n\nThis example can be used to show a number count inside the indicator and position it relative to a button component.\n\n{{< example id=\"indicator-count-example\" github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n<button type=\"button\" class=\"relative inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n<svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n<path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n<path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n</svg>\n<span class=\"sr-only\">Notifications</span>\nMessages\n  <div class=\"absolute inline-flex items-center justify-center w-6 h-6 text-xs font-bold text-white bg-red-500 border-2 border-white rounded-full -top-2 -end-2 dark:border-gray-900\">8</div>\n</button>\n{{< /example >}}\n\n##### Status indicator\n\nUse this example to show a status indicator for the currently logged in user by showing red for offline and green for online.\n\n{{< example id=\"status-indicator-example\" github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n\n<div class=\"relative me-4\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"profile image\">\n    <span class=\"top-0 start-7 absolute w-3.5 h-3.5 bg-green-500 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n<div class=\"relative\">\n    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"profile image\">\n    <span class=\"top-0 start-7 absolute w-3.5 h-3.5 bg-red-500 border-2 border-white dark:border-gray-800 rounded-full\"></span>\n</div>\n{{< /example >}}\n\n##### Badge indicator\n\nThis example can be used to add an indicator inside of a badge component.\n\n{{< example id=\"badge-indicator-example\" github=\"components/indicators.md\" class=\"flex items-center justify-center\" show_dark=true >}}\n\n<ul role=\"list\" class=\"max-w-sm divide-y divide-gray-200 dark:divide-gray-700\">\n    <li class=\"py-3 sm:py-4\">\n        <div class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <div class=\"shrink-0\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Neil image\">\n            </div>\n            <div class=\"flex-1 min-w-0\">\n                <p class=\"text-sm font-semibold text-gray-900 truncate dark:text-white\">\n                    Neil Sims\n                </p>\n                <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                    email@flowbite.com\n                </p>\n            </div>\n            <span class=\"inline-flex items-center bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-green-900 dark:text-green-300\">\n                <span class=\"w-2 h-2 me-1 bg-green-500 rounded-full\"></span>\n                Available\n            </span>\n        </div>\n    </li>\n    <li class=\"py-3 sm:py-4\">\n        <div class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <div class=\"shrink-0\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Neil image\">\n            </div>\n            <div class=\"flex-1 min-w-0\">\n                <p class=\"text-sm font-semibold text-gray-900 truncate dark:text-white\">\n                    Bonnie Green\n                </p>\n                <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n                    email@flowbite.com\n                </p>\n            </div>\n            <span class=\"inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300\">\n                <span class=\"w-2 h-2 me-1 bg-red-500 rounded-full\"></span>\n                Unavailable\n            </span>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Stepper indicator\n\nYou can also use the indicators inside of a stepper component when completing a form element.\n\n{{< example id=\"stepper-indicator-example\" class=\"space-y-8\" github=\"components/indicators.md\" show_dark=true >}}\n\n<ol class=\"flex items-center\">\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-600 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-100 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 1</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-600 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-100 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-600 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-100 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-gray-200 rounded-full ring-0 ring-white dark:bg-gray-700 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 3</h3>\n        </div>\n    </li>\n</ol>\n<ol class=\"flex items-center\">\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-200 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-blue-600 rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 1</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-200 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-blue-600 rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-200 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-blue-600 rounded-full\"></span>\n            </div>\n            <div class=\"flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 2</h3>\n        </div>\n    </li>\n    <li class=\"relative w-full mb-6\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-gray-200 rounded-full ring-0 ring-white dark:bg-gray-700 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <span class=\"flex w-3 h-3 bg-gray-900 rounded-full dark:bg-gray-300\"></span>\n            </div>\n        </div>\n        <div class=\"mt-3\">\n            <h3 class=\"font-medium text-gray-900 dark:text-white\">Step 3</h3>\n        </div>\n    </li>\n</ol>\n{{< /example >}}\n\n##### Loading indicator\n\nUse this animated loading indicator when content inside of a card is still loading.\n\n{{< example id=\"loading-indicator-example\" class=\"space-y-8 flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center w-56 h-56 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n    <div class=\"px-3 py-1 text-xs font-medium leading-none text-center text-blue-800 bg-blue-200 rounded-full animate-pulse dark:bg-blue-900 dark:text-blue-200\">loading...</div>\n</div>\n{{< /example >}}\n\n##### Spinner indicator\n\nUse this animated spinner component inside of a card component that hasn't loaded yet.\n\n{{< example id=\"spinner-indicator-example\" class=\"space-y-8 flex items-center justify-center\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"flex items-center justify-center w-56 h-56 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n##### Indicator position\n\nUse these examples to position the indicator component anywhere relative to the parent element.\n\n{{< example id=\"position-indicator\" class=\"flex items-center justify-center space-y-8\" github=\"components/indicators.md\" show_dark=true >}}\n\n<div class=\"relative w-56 h-56 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-800 dark:border-gray-700\">\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 translate-x-1/2 right-1/2\">top-center</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 -translate-x-1/2 right-auto top-0 left-0\">top-left</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 translate-x-1/2 left-auto top-0 right-0\">top-right</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 -translate-x-1/2 top-2/4 left-1/2\">middle-center</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 -translate-x-1/2 right-auto left-0 top-2/4\">middle-left</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute -translate-y-1/2 translate-x-1/2 left-auto right-0 top-2/4\">middle-right</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute translate-y-1/2 translate-x-1/2 bottom-0 right-1/2\">bottom-center</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute translate-y-1/2 -translate-x-1/2 right-auto bottom-0 left-0\">bottom-left</span>\n    <span class=\"bg-blue-200 text-xs font-medium text-blue-800 text-center p-0.5 leading-none rounded-full px-2 dark:bg-blue-900 dark:text-blue-200 absolute translate-y-1/2 translate-x-1/2 left-auto bottom-0 right-0\">bottom-right</span>\n</div>\n{{< /example >}}\n\n#### Jumbotron\n\nThe Jumbotron (hero) component can be used as the first section of your website with a focus on a marketing message to increase the likelihood of the user to continue browsing your website.\n\nThis UI component features a heading title, a short description, an optional CTA button, background image, gradient or solid background color and it's generally inside of a card element.\n\nThe jumbotron component from Flowbite is responsive on all devices, natively supports dark mode and is coded with the utility classes from Tailwind CSS.\n\n##### Default jumbotron\n\nUse this default example to show a title, description, and two CTA buttons for the jumbotron component.\n\n{{< example id=\"default-jumbotron-example\" bodyClass=\"p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16\">\n        <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 lg:px-48 dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0\">\n            <a href=\"#\" class=\"inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                Get started\n                <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n            </a>\n            <a href=\"#\" class=\"py-3 px-5 sm:ms-4 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n                Learn more\n            </a>  \n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n##### Background image\n\nUse this jumbotron to apply a background image with a darkening opacity effect to improve readability.\n\n{{< example id=\"background-jumbotron-example\" bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-center bg-no-repeat bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/conference.jpg')] bg-gray-700 bg-blend-multiply\">\n    <div class=\"px-4 mx-auto max-w-screen-xl text-center py-24 lg:py-56\">\n        <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-white md:text-5xl lg:text-6xl\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-lg font-normal text-gray-300 lg:text-xl sm:px-16 lg:px-48\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <div class=\"flex flex-col space-y-4 sm:flex-row sm:justify-center sm:space-y-0\">\n            <a href=\"#\" class=\"inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                Get started\n                <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n            </a>\n            <a href=\"#\" class=\"inline-flex justify-center hover:text-gray-900 items-center py-3 px-5 sm:ms-4 text-base font-medium text-center text-white rounded-lg border border-white hover:bg-gray-100 focus:ring-4 focus:ring-gray-400\">\n                Learn more\n            </a>  \n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n##### Featured video\n\nThis component can be used to feature a video together with a heading title, description, and CTA buttons.\n\n{{< example id=\"video-jumbotron-example\" bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16 grid lg:grid-cols-2 gap-8 lg:gap-16\">\n        <div class=\"flex flex-col justify-center\">\n            <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n            <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <div class=\"flex flex-col space-y-4 sm:flex-row sm:space-y-0\">\n                <a href=\"#\" class=\"inline-flex justify-center items-center py-3 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                    Get started\n                    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                    </svg>\n                </a>\n                <a href=\"#\" class=\"py-3 px-5 sm:ms-4 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n                    Learn more\n                </a>  \n            </div>\n        </div>\n        <div>\n            <iframe class=\"mx-auto w-full lg:max-w-xl h-64 rounded-lg sm:h-96 shadow-xl\" src=\"https://www.youtube.com/embed/KaLxCiilHns\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n##### Authentication form\n\nUse this component to show a sign in or register form as the first section of your website.\n\n{{< example id=\"form-jumbotron-example\" bodyClass=\"!p-0 bg-gray-50 dark:bg-gray-900\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-gray-50 dark:bg-gray-900\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16 grid lg:grid-cols-2 gap-8 lg:gap-16\">\n        <div class=\"flex flex-col justify-center\">\n            <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n            <p class=\"mb-6 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n            <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline font-medium text-lg inline-flex items-center\">Read more about our app \n                <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n            </a>\n        </div>\n        <div>\n            <div class=\"w-full lg:max-w-xl p-6 space-y-8 sm:p-8 bg-white rounded-lg shadow-xl dark:bg-gray-800\">\n                <h2 class=\"text-2xl font-bold text-gray-900 dark:text-white\">\n                    Sign in to Flowbite\n                </h2>\n                <form class=\"mt-8 space-y-6\" action=\"#\">\n                    <div>\n                        <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n                        <input type=\"email\" name=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@company.com\" required />\n                    </div>\n                    <div>\n                        <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n                        <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required />\n                    </div>\n                    <div class=\"flex items-start\">\n                        <div class=\"flex items-center h-5\">\n                            <input id=\"remember\" aria-describedby=\"remember\" name=\"remember\" type=\"checkbox\" class=\"w-4 h-4 border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:bg-gray-700 dark:border-gray-600\" required />\n                        </div>\n                        <div class=\"ms-3 text-sm\">\n                        <label for=\"remember\" class=\"font-medium text-gray-500 dark:text-gray-400\">Remember this device</label>\n                        </div>\n                        <a href=\"#\" class=\"ms-auto text-sm font-medium text-blue-600 hover:underline dark:text-blue-500\">Lost Password?</a>\n                    </div>\n                    <button type=\"submit\" class=\"w-full px-5 py-3 text-base font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 sm:w-auto dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Login to your account</button>\n                    <div class=\"text-sm font-medium text-gray-900 dark:text-white\">\n                        Not registered yet? <a class=\"text-blue-600 hover:underline dark:text-blue-500\">Create account</a>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n##### Gradient background\n\nUse this component to show a hero pattern with a linear gradient layout as an overlay for added effects.\n\n{{< example id=\"gradient-jumbotron-example\" bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-white dark:bg-gray-900 bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/hero-pattern.svg')] dark:bg-[url('https://flowbite.s3.amazonaws.com/docs/jumbotron/hero-pattern-dark.svg')]\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl text-center lg:py-16 z-10 relative\">\n        <a href=\"#\" class=\"inline-flex justify-between items-center py-1 px-1 pe-4 mb-7 text-sm text-blue-700 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300 hover:bg-blue-200 dark:hover:bg-blue-800\">\n            <span class=\"text-xs bg-blue-600 rounded-full text-white px-4 py-1.5 me-3\">New</span> <span class=\"text-sm font-medium\">Jumbotron component was launched! See what's new</span> \n            <svg class=\"w-2.5 h-2.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg>\n        </a>\n        <h1 class=\"mb-4 text-4xl font-extrabold tracking-tight leading-none text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n        <p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 lg:px-48 dark:text-gray-200\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n        <form class=\"w-full max-w-md mx-auto\">   \n            <label for=\"default-email\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Email sign-up</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 rtl:inset-x-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n                        <path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n                        <path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n                    </svg>\n                </div>\n                <input type=\"email\" id=\"default-email\" class=\"block w-full p-4 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-white focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-800 dark:border-gray-700 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Enter your email here...\" required />\n                <button type=\"submit\" class=\"text-white absolute end-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Sign up</button>\n            </div>\n        </form>\n    </div>\n    <div class=\"bg-gradient-to-b from-blue-50 to-transparent dark:from-blue-900 w-full h-full absolute top-0 left-0 z-0\"></div>\n</section>\n{{< /example >}}\n\n##### Jumbotron with cards\n\nThis example can be used to show cards with headings, descriptions, and CTA buttons inside a grid layout.\n\n{{< example id=\"cards-jumbotron-example\" bodyClass=\"!p-0\" github=\"components/jumbotron.md\" show_dark=true >}}\n\n<section class=\"bg-white dark:bg-gray-900\">\n    <div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">\n        <div class=\"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg p-8 md:p-12 mb-8\">\n            <a href=\"#\" class=\"bg-blue-100 text-blue-800 text-xs font-medium inline-flex items-center px-2.5 py-0.5 rounded-md dark:bg-gray-700 dark:text-blue-400 mb-2\">\n                <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n                    <path d=\"M11 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm8.585 1.189a.994.994 0 0 0-.9-.138l-2.965.983a1 1 0 0 0-.685.949v8a1 1 0 0 0 .675.946l2.965 1.02a1.013 1.013 0 0 0 1.032-.242A1 1 0 0 0 20 12V2a1 1 0 0 0-.415-.811Z\"/>\n                </svg>\n                Tutorial\n            </a>\n            <h1 class=\"text-gray-900 dark:text-white text-3xl md:text-5xl font-extrabold mb-2\">How to quickly deploy a static website</h1>\n            <p class=\"text-lg font-normal text-gray-500 dark:text-gray-400 mb-6\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence both web designers and developers.</p>\n            <a href=\"#\" class=\"inline-flex justify-center items-center py-2.5 px-5 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n                Read more\n                <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n            </a>\n        </div>\n        <div class=\"grid md:grid-cols-2 gap-8\">\n            <div class=\"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg p-8 md:p-12\">\n                <a href=\"#\" class=\"bg-green-100 text-green-800 text-xs font-medium inline-flex items-center px-2.5 py-0.5 rounded-md dark:bg-gray-700 dark:text-green-400 mb-2\">\n                    <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                        <path d=\"M17 11h-2.722L8 17.278a5.512 5.512 0 0 1-.9.722H17a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1ZM6 0H1a1 1 0 0 0-1 1v13.5a3.5 3.5 0 1 0 7 0V1a1 1 0 0 0-1-1ZM3.5 15.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2ZM16.132 4.9 12.6 1.368a1 1 0 0 0-1.414 0L9 3.55v9.9l7.132-7.132a1 1 0 0 0 0-1.418Z\"/>\n                    </svg>\n                    Design\n                </a>\n                <h2 class=\"text-gray-900 dark:text-white text-3xl font-extrabold mb-2\">Start with Flowbite Design System</h2>\n                <p class=\"text-lg font-normal text-gray-500 dark:text-gray-400 mb-4\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence both web designers and developers.</p>\n                <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline font-medium text-lg inline-flex items-center\">Read more\n                    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n                </a>\n            </div>\n            <div class=\"bg-gray-50 dark:bg-gray-800 border border-gray-200 dark:border-gray-700 rounded-lg p-8 md:p-12\">\n                <a href=\"#\" class=\"bg-purple-100 text-purple-800 text-xs font-medium inline-flex items-center px-2.5 py-0.5 rounded-md dark:bg-gray-700 dark:text-purple-400 mb-2\">\n                    <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 4 1 8l4 4m10-8 4 4-4 4M11 1 9 15\"/>\n                    </svg>\n                    Code\n                </a>\n                <h2 class=\"text-gray-900 dark:text-white text-3xl font-extrabold mb-2\">Best react libraries around the web</h2>\n                <p class=\"text-lg font-normal text-gray-500 dark:text-gray-400 mb-4\">Static websites are now used to bootstrap lots of websites and are becoming the basis for a variety of tools that even influence both web designers and developers.</p>\n                <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline font-medium text-lg inline-flex items-center\">Read more\n                    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                    </svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</section>\n{{< /example >}}\n\n##### More examples\n\nFor more jumbotron examples you can check out the [hero sections](https://flowbite.com/blocks/marketing/hero/) from Flowbite Blocks.\n\n#### KBD\n\nThe KBD (Keyboard) component can be used to indicate a textual user input from the keyboard inside other elements such as in text, tables, cards, and more.\n\nUse the semantic `<kbd>` keyboard input tag to use the default monospace font which is best suited for representing input keys.\n\n##### Default KBD\n\nHere's a list of KBD components that you can use inside any other element.\n\n{{< example id=\"default-kbd-example\" github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Shift</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Ctrl</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Tab</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Caps Lock</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Esc</kbd>\n<kbd class=\"px-4 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Spacebar</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Enter</kbd>\n{{< /example >}}\n\n##### KBD inside text\n\nUse this example by nesting an inline KBD component inside a paragraph.\n\n{{< example id=\"kbd-text-example\" github=\"components/kbd.md\" show_dark=true >}}\n\n<p class=\"text-gray-500 dark:text-gray-400\">\n    Please press <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Ctrl</kbd> + <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Shift</kbd> + <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">R</kbd> to re-render an MDN page.\n</p>\n{{< /example >}}\n\n##### KBD inside table\n\nThe KBD component can also be used inside table components to denote what type of key can be pressed for certain descriptions.\n\n{{< example id=\"kbd-table-example\" github=\"components/kbd.md\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-800 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Key\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-900 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-500 whitespace-nowrap dark:text-gray-400\">\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Shift</kbd>\n                        <span class=\"mx-2\">or</span>\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Tab</kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Navigate to interactive elements\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-900 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-500 whitespace-nowrap dark:text-gray-400\">\n                    <kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Enter</kbd>\n                    <span class=\"mx-2\">or</span>\n                    <kbd class=\"px-4 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Spacebar</kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Ensure elements with ARIA role=\"button\" can be activated with both key commands.\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-900\">\n                <th scope=\"row\" class=\"inline-flex items-center px-6 py-4 font-medium text-gray-500 dark:text-gray-400 whitespace-nowrap\">\n                    <kbd class=\"inline-flex items-center me-1 px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n                            <path d=\"M9.207 1A2 2 0 0 0 6.38 1L.793 6.586A2 2 0 0 0 2.207 10H13.38a2 2 0 0 0 1.414-3.414L9.207 1Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key up</span>\n                    </kbd>\n                    <kbd class=\"inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n                            <path d=\"M15.434 1.235A2 2 0 0 0 13.586 0H2.414A2 2 0 0 0 1 3.414L6.586 9a2 2 0 0 0 2.828 0L15 3.414a2 2 0 0 0 .434-2.179Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key down</span>\n                    </kbd>\n                    <span class=\"mx-2\">or</span>\n                    <kbd class=\"rtl:rotate-180 inline-flex items-center me-1  px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n                            <path d=\"M8.766.566A2 2 0 0 0 6.586 1L1 6.586a2 2 0 0 0 0 2.828L6.586 15A2 2 0 0 0 10 13.586V2.414A2 2 0 0 0 8.766.566Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key left</span>\n                    </kbd>\n                    <kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n                        <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n                            <path d=\"M3.414 1A2 2 0 0 0 0 2.414v11.172A2 2 0 0 0 3.414 15L9 9.414a2 2 0 0 0 0-2.828L3.414 1Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Arrow key right</span>\n                    </kbd>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Choose and activate previous/next tab.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Arrow keys\n\nUse this example to show arrow keys inside the KBD styled element.\n\n{{< example id=\"kbd-arrow-example\" github=\"components/list-group.md\" show_dark=true >}}\n<kbd class=\"inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n<path d=\"M9.207 1A2 2 0 0 0 6.38 1L.793 6.586A2 2 0 0 0 2.207 10H13.38a2 2 0 0 0 1.414-3.414L9.207 1Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key up</span>\n</kbd>\n<kbd class=\"inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 10\">\n<path d=\"M15.434 1.235A2 2 0 0 0 13.586 0H2.414A2 2 0 0 0 1 3.414L6.586 9a2 2 0 0 0 2.828 0L15 3.414a2 2 0 0 0 .434-2.179Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key down</span>\n</kbd>\n<kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n<path d=\"M8.766.566A2 2 0 0 0 6.586 1L1 6.586a2 2 0 0 0 0 2.828L6.586 15A2 2 0 0 0 10 13.586V2.414A2 2 0 0 0 8.766.566Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key left</span>\n</kbd>\n<kbd class=\"rtl:rotate-180 inline-flex items-center px-2 py-1.5 text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">\n<svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 10 16\">\n<path d=\"M3.414 1A2 2 0 0 0 0 2.414v11.172A2 2 0 0 0 3.414 15L9 9.414a2 2 0 0 0 0-2.828L3.414 1Z\"/>\n</svg>\n<span class=\"sr-only\">Arrow key right</span>\n</kbd>\n{{< /example >}}\n\n##### Letter keys\n\nUse this example if you need to show a key from the latin alphabet\n\n{{< example id=\"kbd-letter-example\" github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Q</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">W</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">E</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">R</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">T</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Y</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">U</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">I</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">O</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">P</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">A</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">S</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">D</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">G</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">H</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">J</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">K</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">L</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">Z</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">X</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">C</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">V</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">B</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">N</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">M</kbd>\n{{< /example >}}\n\n##### Number keys\n\nUse this example to show a key inside a KBD component from the english numeral system.\n\n{{< example id=\"kbd-number-example\" github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">1</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">2</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">3</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">4</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">5</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">6</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">7</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">8</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">9</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">0</kbd>\n{{< /example >}}\n\n##### Function keys\n\nThis example can be used to denote function keys inside the KBD component.\n\n{{< example id=\"kbd-function-example\" github=\"components/kbd.md\" show_dark=true >}}\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F1</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F2</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F3</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F4</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F5</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F6</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F7</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F8</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F9</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F10</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F11</kbd>\n<kbd class=\"px-2 py-1.5 text-xs font-semibold text-gray-800 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-100 dark:border-gray-500\">F12</kbd>\n{{< /example >}}\n\n#### List group\n\nThe list group component can be used to display a series of elements, buttons or links inside a single card component similar to a sidebar.\n\n##### Default list group\n\nHere's an example of a list group that you can use right away.\n\n{{< example id=\"default-list-group-example\" class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<ul class=\"w-48 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <li class=\"w-full px-4 py-2 border-b border-gray-200 rounded-t-lg dark:border-gray-600\">Profile</li>\n    <li class=\"w-full px-4 py-2 border-b border-gray-200 dark:border-gray-600\">Settings</li>\n    <li class=\"w-full px-4 py-2 border-b border-gray-200 dark:border-gray-600\">Messages</li>\n    <li class=\"w-full px-4 py-2 rounded-b-lg\">Download</li>\n</ul>\n{{< /example >}}\n\n##### List group with links\n\nYou can also display a series of links inside the list group element.\n\n{{< example id=\"list-group-links-example\" class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <a href=\"#\" aria-current=\"true\" class=\"block w-full px-4 py-2 text-white bg-blue-700 border-b border-gray-200 rounded-t-lg cursor-pointer dark:bg-gray-800 dark:border-gray-600\">\n        Profile\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        Settings\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        Messages\n    </a>\n    <a href=\"#\" class=\"block w-full px-4 py-2 rounded-b-lg cursor-pointer hover:bg-gray-100 hover:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        Download\n    </a>\n</div>\n{{< /example >}}\n\n##### List group with buttons\n\nIt is also possible to display a list of button element inside the list group component. The following example includes an active and disabled item as well.\n\n{{< example id=\"list-group-buttons-example\" class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <button aria-current=\"true\" type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right text-white bg-blue-700 border-b border-gray-200 rounded-t-lg cursor-pointer focus:outline-none dark:bg-gray-800 dark:border-gray-600\">\n        Profile\n    </button>\n    <button type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        Settings\n    </button>\n    <button type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right border-b border-gray-200 cursor-pointer hover:bg-gray-100 hover:text-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        Messages\n    </button>\n    <button disabled type=\"button\" class=\"w-full px-4 py-2 font-medium text-left rtl:text-right bg-gray-100 rounded-b-lg cursor-not-allowed dark:bg-gray-600 dark:text-gray-400\">\n        Download\n    </button>\n</div>\n{{< /example >}}\n\n##### List group with icons\n\nUse the following example to create a list of buttons as a menu together with [SVG icons](https://flowbite.com/icons/).\n\n{{< example id=\"list-group-icons-example\" class=\"flex justify-center\" github=\"components/list-group.md\" show_dark=true >}}\n\n<div class=\"w-48 text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <button type=\"button\" class=\"relative inline-flex items-center w-full px-4 py-2 text-sm font-medium border-b border-gray-200 rounded-t-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n        </svg>\n        Profile\n    </button>\n    <button type=\"button\" class=\"relative inline-flex items-center w-full px-4 py-2 text-sm font-medium border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.75 4H19M7.75 4a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 4h2.25m13.5 6H19m-2.25 0a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 10h11.25m-4.5 6H19M7.75 16a2.25 2.25 0 0 1-4.5 0m4.5 0a2.25 2.25 0 0 0-4.5 0M1 16h2.25\"/>\n        </svg>\n        Settings\n    </button>\n    <button type=\"button\" class=\"relative inline-flex items-center w-full px-4 py-2 text-sm font-medium border-b border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 18\" fill=\"currentColor\">\n            <path d=\"M18 4H16V9C16 10.0609 15.5786 11.0783 14.8284 11.8284C14.0783 12.5786 13.0609 13 12 13H9L6.846 14.615C7.17993 14.8628 7.58418 14.9977 8 15H11.667L15.4 17.8C15.5731 17.9298 15.7836 18 16 18C16.2652 18 16.5196 17.8946 16.7071 17.7071C16.8946 17.5196 17 17.2652 17 17V15H18C18.5304 15 19.0391 14.7893 19.4142 14.4142C19.7893 14.0391 20 13.5304 20 13V6C20 5.46957 19.7893 4.96086 19.4142 4.58579C19.0391 4.21071 18.5304 4 18 4Z\" fill=\"currentColor\"/>\n            <path d=\"M12 0H2C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2V9C0 9.53043 0.210714 10.0391 0.585786 10.4142C0.960859 10.7893 1.46957 11 2 11H3V13C3 13.1857 3.05171 13.3678 3.14935 13.5257C3.24698 13.6837 3.38668 13.8114 3.55279 13.8944C3.71889 13.9775 3.90484 14.0126 4.08981 13.996C4.27477 13.9793 4.45143 13.9114 4.6 13.8L8.333 11H12C12.5304 11 13.0391 10.7893 13.4142 10.4142C13.7893 10.0391 14 9.53043 14 9V2C14 1.46957 13.7893 0.960859 13.4142 0.585786C13.0391 0.210714 12.5304 0 12 0Z\" fill=\"currentColor\"/>\n        </svg>\n        Messages\n    </button>\n    <button type=\"button\" class=\"relative inline-flex items-center w-full px-4 py-2 text-sm font-medium rounded-b-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-500 dark:focus:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n            <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n        </svg>\n        Download\n    </button>\n</div>\n{{< /example >}}\n\n#### Mega menu\n\nThe mega menu component is a full-width dropdown that can be triggered by clicking on the menu item and it shows a list of links that you can use to navigate through the pages on a website.\n\nMake sure that you have included the Flowbite JavaScript file inside your project to enable the interactivity of the hamburger icon on mobile devices and the dropdown functionality.\n\n##### Default mega menu\n\nUse this example to show a list of links aligned on three columns inside the mega menu dropdown.\n\n{{< example id=\"default-mega-menu-example\" bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <div class=\"flex items-center md:order-2 space-x-1 md:space-x-2 rtl:space-x-reverse\">\n            <a href=\"#\" class=\"text-gray-800 dark:text-white hover:bg-gray-50 focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-4 py-2 md:px-5 md:py-2.5 dark:hover:bg-gray-700 focus:outline-none dark:focus:ring-gray-800\">Login</a>\n            <a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 md:px-5 md:py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Sign up</a>\n            <button data-collapse-toggle=\"mega-menu\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu\" aria-expanded=\"false\">\n                <span class=\"sr-only\">Open main menu</span>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n                </svg>\n            </button>\n        </div>\n        <div id=\"mega-menu\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-blue-600 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-blue-500 md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-dropdown-button\" data-dropdown-toggle=\"mega-menu-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-gray-900 border-b border-gray-100 md:w-auto hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">\n                        Company <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg>\n                    </button>\n                    <div id=\"mega-menu-dropdown\" class=\"absolute z-10 grid hidden w-auto grid-cols-2 text-sm bg-white border border-gray-100 rounded-lg shadow-md dark:border-gray-700 md:grid-cols-3 dark:bg-gray-700\">\n                        <div class=\"p-4 pb-0 text-gray-900 md:pb-4 dark:text-white\">\n                            <ul class=\"space-y-4\" aria-labelledby=\"mega-menu-dropdown-button\">\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        About Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Library\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Resources\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Pro Version\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4 pb-0 text-gray-900 md:pb-4 dark:text-white\">\n                            <ul class=\"space-y-4\">\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Blog\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Newsletter\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Playground\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        License\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4\">\n                            <ul class=\"space-y-4\">\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Contact Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Support Center\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500\">\n                                        Terms\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                    </div>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Team</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Mega menu with icons\n\nThis example of a mega menu dropdown can be used to also show an icon near the text of the link.\n\n{{< example id=\"mega-menu-icons-example\" bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap items-center justify-between max-w-screen-xl mx-auto p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <div class=\"flex items-center md:order-2 space-x-1 md:space-x-2 rtl:space-x-reverse\">\n            <a href=\"#\" class=\"text-gray-800 dark:text-white hover:bg-gray-50 focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-4 py-2 md:px-5 md:py-2.5 dark:hover:bg-gray-700 focus:outline-none dark:focus:ring-gray-800\">Login</a>\n            <a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 md:px-5 md:py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Sign up</a>\n            <button data-collapse-toggle=\"mega-menu-icons\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu-icons\" aria-expanded=\"false\">\n                <span class=\"sr-only\">Open main menu</span>\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n                </svg>\n            </button>\n        </div>\n        <div id=\"mega-menu-icons\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-blue-600 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-blue-500 md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-icons-dropdown-button\" data-dropdown-toggle=\"mega-menu-icons-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-gray-900 border-b border-gray-100 md:w-auto hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">\n                        Company \n                        <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg>\n                    </button>\n                    <div id=\"mega-menu-icons-dropdown\" class=\"absolute z-10 grid hidden w-auto grid-cols-2 text-sm bg-white border border-gray-100 rounded-lg shadow-md dark:border-gray-700 md:grid-cols-3 dark:bg-gray-700\">\n                        <div class=\"p-4 pb-0 text-gray-900 md:pb-4 dark:text-white\">\n                            <ul class=\"space-y-4\" aria-labelledby=\"mega-menu-icons-dropdown-button\">\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">About us</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                                            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n                                        </svg>\n                                        About Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Library</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                                            <path d=\"m1.56 6.245 8 3.924a1 1 0 0 0 .88 0l8-3.924a1 1 0 0 0 0-1.8l-8-3.925a1 1 0 0 0-.88 0l-8 3.925a1 1 0 0 0 0 1.8Z\"/>\n                                            <path d=\"M18 8.376a1 1 0 0 0-1 1v.163l-7 3.434-7-3.434v-.163a1 1 0 0 0-2 0v.786a1 1 0 0 0 .56.9l8 3.925a1 1 0 0 0 .88 0l8-3.925a1 1 0 0 0 .56-.9v-.786a1 1 0 0 0-1-1Z\"/>\n                                            <path d=\"M17.993 13.191a1 1 0 0 0-1 1v.163l-7 3.435-7-3.435v-.163a1 1 0 1 0-2 0v.787a1 1 0 0 0 .56.9l8 3.925a1 1 0 0 0 .88 0l8-3.925a1 1 0 0 0 .56-.9v-.787a1 1 0 0 0-1-1Z\"/>\n                                        </svg>\n                                        Library\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Resources</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                                            <path d=\"M15.977.783A1 1 0 0 0 15 0H3a1 1 0 0 0-.977.783L.2 9h4.239a2.99 2.99 0 0 1 2.742 1.8 1.977 1.977 0 0 0 3.638 0A2.99 2.99 0 0 1 13.561 9H17.8L15.977.783ZM6 2h6a1 1 0 1 1 0 2H6a1 1 0 0 1 0-2Zm7 5H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Z\"/>\n                                            <path d=\"M1 18h16a1 1 0 0 0 1-1v-6h-4.439a.99.99 0 0 0-.908.6 3.978 3.978 0 0 1-7.306 0 .99.99 0 0 0-.908-.6H0v6a1 1 0 0 0 1 1Z\"/>\n                                        </svg>\n                                        Resources\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Pro Version</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                                            <path d=\"m7.164 3.805-4.475.38L.327 6.546a1.114 1.114 0 0 0 .63 1.89l3.2.375 3.007-5.006ZM11.092 15.9l.472 3.14a1.114 1.114 0 0 0 1.89.63l2.36-2.362.38-4.475-5.102 3.067Zm8.617-14.283A1.613 1.613 0 0 0 18.383.291c-1.913-.33-5.811-.736-7.556 1.01-1.98 1.98-6.172 9.491-7.477 11.869a1.1 1.1 0 0 0 .193 1.316l.986.985.985.986a1.1 1.1 0 0 0 1.316.193c2.378-1.3 9.889-5.5 11.869-7.477 1.746-1.745 1.34-5.643 1.01-7.556Zm-3.873 6.268a2.63 2.63 0 1 1-3.72-3.72 2.63 2.63 0 0 1 3.72 3.72Z\"/>\n                                        </svg>\n                                        Pro Version\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4 pb-0 text-gray-900 md:pb-4 dark:text-white\">\n                            <ul class=\"space-y-4\">\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Blog</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                                            <path d=\"M19 4h-1a1 1 0 1 0 0 2v11a1 1 0 0 1-2 0V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v15a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a1 1 0 0 0-1-1ZM3 4a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm9 13H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Z\"/>\n                                            <path d=\"M6 5H5v1h1V5Z\"/>\n                                        </svg>\n                                        Blog\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Newsletter</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                                            <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n                                        </svg>\n                                        Newsletter\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Playground</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                                            <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10ZM17 13h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2Z\"/>\n                                        </svg>\n                                        Playground\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">License</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n                                            <path d=\"M13.383.076a1 1 0 0 0-1.09.217L11 1.586 9.707.293a1 1 0 0 0-1.414 0L7 1.586 5.707.293a1 1 0 0 0-1.414 0L3 1.586 1.707.293A1 1 0 0 0 0 1v18a1 1 0 0 0 1.707.707L3 18.414l1.293 1.293a1 1 0 0 0 1.414 0L7 18.414l1.293 1.293a1 1 0 0 0 1.414 0L11 18.414l1.293 1.293A1 1 0 0 0 14 19V1a1 1 0 0 0-.617-.924ZM10 15H4a1 1 0 1 1 0-2h6a1 1 0 0 1 0 2Zm0-4H4a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2Zm0-4H4a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2Z\"/>\n                                        </svg>\n                                        License\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                        <div class=\"p-4 text-gray-900 dark:text-white\">\n                            <ul class=\"space-y-4\">\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Contact Us</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 14 20\">\n                                            <path d=\"M12 0H2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM7.5 17.5h-1a1 1 0 0 1 0-2h1a1 1 0 0 1 0 2ZM12 13H2V4h10v9Z\"/>\n                                        </svg>\n                                        Contact Us\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Support Center</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 21 21\">\n                                            <path d=\"m5.4 2.736 3.429 3.429A5.046 5.046 0 0 1 10.134 6c.356.01.71.06 1.056.147l3.41-3.412c.136-.133.287-.248.45-.344A9.889 9.889 0 0 0 10.269 1c-1.87-.041-3.713.44-5.322 1.392a2.3 2.3 0 0 1 .454.344Zm11.45 1.54-.126-.127a.5.5 0 0 0-.706 0l-2.932 2.932c.029.023.049.054.078.077.236.194.454.41.65.645.034.038.078.067.11.107l2.927-2.927a.5.5 0 0 0 0-.707Zm-2.931 9.81c-.024.03-.057.052-.081.082a4.963 4.963 0 0 1-.633.639c-.041.036-.072.083-.115.117l2.927 2.927a.5.5 0 0 0 .707 0l.127-.127a.5.5 0 0 0 0-.707l-2.932-2.931Zm-1.442-4.763a3.036 3.036 0 0 0-1.383-1.1l-.012-.007a2.955 2.955 0 0 0-1-.213H10a2.964 2.964 0 0 0-2.122.893c-.285.29-.509.634-.657 1.013l-.01.016a2.96 2.96 0 0 0-.21 1 2.99 2.99 0 0 0 .489 1.716c.009.014.022.026.032.04a3.04 3.04 0 0 0 1.384 1.1l.012.007c.318.129.657.2 1 .213.392.015.784-.05 1.15-.192.012-.005.02-.013.033-.018a3.011 3.011 0 0 0 1.676-1.7v-.007a2.89 2.89 0 0 0 0-2.207 2.868 2.868 0 0 0-.27-.515c-.007-.012-.02-.025-.03-.039Zm6.137-3.373a2.53 2.53 0 0 1-.35.447L14.84 9.823c.112.428.166.869.16 1.311-.01.356-.06.709-.147 1.054l3.413 3.412c.132.134.249.283.347.444A9.88 9.88 0 0 0 20 11.269a9.912 9.912 0 0 0-1.386-5.319ZM14.6 19.264l-3.421-3.421c-.385.1-.781.152-1.18.157h-.134c-.356-.01-.71-.06-1.056-.147l-3.41 3.412a2.503 2.503 0 0 1-.443.347A9.884 9.884 0 0 0 9.732 21H10a9.9 9.9 0 0 0 5.044-1.388 2.519 2.519 0 0 1-.444-.348ZM1.735 15.6l3.426-3.426a4.608 4.608 0 0 1-.013-2.367L1.735 6.4a2.507 2.507 0 0 1-.35-.447 9.889 9.889 0 0 0 0 10.1c.1-.164.217-.316.35-.453Zm5.101-.758a4.957 4.957 0 0 1-.651-.645c-.033-.038-.077-.067-.11-.107L3.15 17.017a.5.5 0 0 0 0 .707l.127.127a.5.5 0 0 0 .706 0l2.932-2.933c-.03-.018-.05-.053-.078-.076ZM6.08 7.914c.03-.037.07-.063.1-.1.183-.22.384-.423.6-.609.047-.04.082-.092.129-.13L3.983 4.149a.5.5 0 0 0-.707 0l-.127.127a.5.5 0 0 0 0 .707L6.08 7.914Z\"/>\n                                        </svg>\n                                        Support Center\n                                    </a>\n                                </li>\n                                <li>\n                                    <a href=\"#\" class=\"flex items-center text-gray-500 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-500 group\">\n                                        <span class=\"sr-only\">Terms</span>\n                                        <svg class=\"w-3 h-3 me-2 text-gray-400 dark:text-gray-500 group-hover:text-blue-600 dark:group-hover:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                                            <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                                        </svg>\n                                        Terms\n                                    </a>\n                                </li>\n                            </ul>\n                        </div>\n                    </div>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Team</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Full width dropdown\n\nUse this example to show a mega menu dropdown that spans the entire width of the document page.\n\n{{< example id=\"mega-menu-full-width-example\" bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"440\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:border-gray-600 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu-full\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n            </svg>\n        </button>\n        <div id=\"mega-menu-full\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-dropdown-button\" data-collapse-toggle=\"mega-menu-full-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-gray-900 border-b border-gray-100 md:w-auto hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Company <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-dropdown\" class=\"mt-1 bg-white border-gray-200 shadow-xs border-y dark:bg-gray-800 dark:border-gray-600\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-gray-900 dark:text-white sm:grid-cols-2 md:grid-cols-3 md:px-6\">\n            <ul aria-labelledby=\"mega-menu-full-dropdown-button\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"hidden md:block\">\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Audience Management</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Creative Tools</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Marketing Automation</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Full width with CTA\n\nThis example can be used to also show a CTA button or link next to the menu items inside the dropdown.\n\n{{< example id=\"mega-menu-full-width-cta-example\" bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"360\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:border-gray-600 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full-cta\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu-full-cta\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n            </svg>\n        </button>\n        <div id=\"mega-menu-full-cta\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-cta-dropdown-button\" data-collapse-toggle=\"mega-menu-full-cta-dropdown\" data-dropdown-placement=\"bottom\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-gray-900 border-b border-gray-100 md:w-auto hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Company <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-cta-dropdown\" class=\"mt-1 bg-white border-gray-200 shadow-xs border-y dark:bg-gray-800 dark:border-gray-600\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-sm text-gray-500 dark:text-gray-400 md:grid-cols-3 md:px-6\">\n            <ul class=\"space-y-4 sm:mb-4 md:mb-0\" aria-labelledby=\"mega-menu-full-cta-button\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Online Stores\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Segmentation\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Marketing CRM\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Online Stores\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"hidden mb-4 space-y-4 md:mb-0 sm:block\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Our Blog\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Terms & Conditions\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        License\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Resources\n                    </a>\n                </li>\n            </ul>\n            <div class=\"mt-4 md:mt-0\">\n                <h2 class=\"mb-2 font-semibold text-gray-900 dark:text-white\">Our brands</h2>\n                <p class=\"mb-2 text-gray-500 dark:text-gray-400\">At Flowbite, we have a portfolio of brands that cater to a variety of preferences.</p>\n                <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-blue-600 hover:underline hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-700\">\n                    Explore our brands \n                    <span class=\"sr-only\">Explore our brands </span>\n                    <svg class=\"w-3 h-3 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                    </svg>\n                </a>\n            </div>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Full width with image\n\nThis example can be used to also show a CTA with a backdround image inside the dropdown next to the other menu items and links.\n\n{{< example id=\"mega-menu-full-width-image-example\" bodyClass=\"!p-0\" github=\"components/mega-menu.md\" show_dark=true iframeHeight=\"360\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:border-gray-600 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full-image\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu-full-image\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n            </svg>\n        </button>\n        <div id=\"mega-menu-full-image\" class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col mt-4 font-medium md:flex-row md:mt-0 md:space-x-8 rtl:space-x-reverse\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-cta-image-button\" data-collapse-toggle=\"mega-menu-full-image-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 font-medium text-gray-900 border-b border-gray-100 md:w-auto hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Company <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 border-b border-gray-100 hover:bg-gray-50 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-image-dropdown\" class=\"mt-1 bg-white border-gray-200 shadow-xs border-y dark:bg-gray-800 dark:border-gray-600\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-sm text-gray-500 dark:text-gray-400 md:grid-cols-3 md:px-6\">\n            <ul class=\"hidden mb-4 space-y-4 md:mb-0 md:block\" aria-labelledby=\"mega-menu-full-image-button\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Online Stores\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Segmentation\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Marketing CRM\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Online Stores\n                    </a>\n                </li>\n            </ul>\n            <ul class=\"mb-4 space-y-4 md:mb-0\">\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Our Blog\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Terms & Conditions\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        License\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"hover:underline hover:text-blue-600 dark:hover:text-blue-500\">\n                        Resources\n                    </a>\n                </li>\n            </ul>\n            <a href=\"#\" class=\"p-8 bg-local bg-gray-500 bg-center bg-no-repeat bg-cover rounded-lg bg-blend-multiply hover:bg-blend-soft-light dark:hover:bg-blend-darken\" style=\"background-image: url(/docs/images/dashboard-overview.png)\">\n                <p class=\"max-w-xl mb-5 font-extrabold leading-tight tracking-tight text-white\">Preview the new Flowbite dashboard navigation.</p>\n                <button type=\"button\" class=\"inline-flex items-center px-2.5 py-1.5 text-xs font-medium text-center text-white border border-white rounded-lg hover:bg-white hover:text-gray-900 focus:ring-4 focus:outline-none focus:ring-gray-700\">\n                    Get started\n                    <svg class=\"w-3 h-3 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                    </svg>\n                </button>\n            </a>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### More examples\n\nYou can check out more mega menu examples on the [header components](https://flowbite.com/blocks/marketing/header/) page from Flowbite Blocks.\n\n#### Modal\n\nThe modal component can be used as an interactive dialog on top of the main content area of the website to show notifications and gather information using form elements from your website users.\n\nGet started with multiple sizes, colors, and styles built with the utility classes from Tailwind CSS and the components from Flowbite.\n\n##### Default modal\n\nIn order to create a modal with Tailwind CSS you only have to add `data-modal-target=\"modalId\"` data attribute where `modalId` is the ID of the modal that you are targeting.\n\nIf you want to toggle the visibility, show, or hide the modal you can use the following data attributes where the value is the unique ID of the modal component:\n\n-   `data-modal-toggle=\"modalID\"` - toggle the modal\n-   `data-modal-show=\"modalID\"` - show the modal\n-   `data-modal-hide=\"modalID\"` - close the modal\n\n{{< example id=\"default-modal-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"default-modal\" data-modal-toggle=\"default-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"default-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Terms of Service\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"default-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"default-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Static modal\n\nUse the `data-modal-backdrop=\"static\"` data attribute to prevent the modal from closing when clicking outside of it. This can be used with situations where you want to force the user to choose an option such as a cookie notice or when taking a survey.\n\n{{< example class=\"dark:bg-gray-900\" github=\"components/modal.md\" class=\"flex justify-center\" iframeHeight=\"600\" show_dark=true >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"static-modal\" data-modal-toggle=\"static-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"static-modal\" data-modal-backdrop=\"static\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Static modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"static-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"static-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"static-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Pop-up modal\n\nYou can use this modal example to show a pop-up decision dialog to your users especially when deleting an item and making sure if the user really wants to do that by double confirming.\n\n{{< example id=\"modal-popup-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"500\" >}}\n<button data-modal-target=\"popup-modal\" data-modal-toggle=\"popup-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\nToggle modal\n</button>\n\n<div id=\"popup-modal\" tabindex=\"-1\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <button type=\"button\" class=\"absolute top-3 end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"popup-modal\">\n                <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n                <span class=\"sr-only\">Close modal</span>\n            </button>\n            <div class=\"p-4 md:p-5 text-center\">\n                <svg class=\"mx-auto mb-4 text-gray-400 w-12 h-12 dark:text-gray-200\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 11V6m0 8h.01M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n                </svg>\n                <h3 class=\"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400\">Are you sure you want to delete this product?</h3>\n                <button data-modal-hide=\"popup-modal\" type=\"button\" class=\"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center\">\n                    Yes, I'm sure\n                </button>\n                <button data-modal-hide=\"popup-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">No, cancel</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Form element\n\nUse this modal example with form input element to receive information from your users with the advantage of not having to link to another page but keeping the user on the currently active page. A great example would be a login or a register form.\n\n{{< example id=\"modal-form-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"authentication-modal\" data-modal-toggle=\"authentication-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"authentication-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Sign in to our platform\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"authentication-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <form class=\"space-y-4\" action=\"#\">\n                    <div>\n                        <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n                        <input type=\"email\" name=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" placeholder=\"name@company.com\" required />\n                    </div>\n                    <div>\n                        <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n                        <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" required />\n                    </div>\n                    <div class=\"flex justify-between\">\n                        <div class=\"flex items-start\">\n                            <div class=\"flex items-center h-5\">\n                                <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-600 dark:border-gray-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n                            </div>\n                            <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Remember me</label>\n                        </div>\n                        <a href=\"#\" class=\"text-sm text-blue-700 hover:underline dark:text-blue-500\">Lost Password?</a>\n                    </div>\n                    <button type=\"submit\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Login to your account</button>\n                    <div class=\"text-sm font-medium text-gray-500 dark:text-gray-300\">\n                        Not registered? <a href=\"#\" class=\"text-blue-700 hover:underline dark:text-blue-500\">Create account</a>\n                    </div>\n                </form>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n##### Modal with CRUD\n\nUse this example of a modal to use within CRUD (Create, Read, Update, Delete) operations to create new items, update existing ones, or delete them with a form inside of the modal.\n\n{{< example id=\"modal-crud-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"crud-modal\" data-modal-toggle=\"crud-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"crud-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">\n                    Create New Product\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-toggle=\"crud-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <form class=\"p-4 md:p-5\">\n                <div class=\"grid gap-4 mb-4 grid-cols-2\">\n                    <div class=\"col-span-2\">\n                        <label for=\"name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Name</label>\n                        <input type=\"text\" name=\"name\" id=\"name\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" placeholder=\"Type product name\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"price\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Price</label>\n                        <input type=\"number\" name=\"price\" id=\"price\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-600 focus:border-primary-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" placeholder=\"$2999\" required=\"\">\n                    </div>\n                    <div class=\"col-span-2 sm:col-span-1\">\n                        <label for=\"category\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Category</label>\n                        <select id=\"category\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\">\n                            <option selected=\"\">Select category</option>\n                            <option value=\"TV\">TV/Monitors</option>\n                            <option value=\"PC\">PC</option>\n                            <option value=\"GA\">Gaming/Console</option>\n                            <option value=\"PH\">Phones</option>\n                        </select>\n                    </div>\n                    <div class=\"col-span-2\">\n                        <label for=\"description\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Product Description</label>\n                        <textarea id=\"description\" rows=\"4\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Write product description here\"></textarea>                    \n                    </div>\n                </div>\n                <button type=\"submit\" class=\"text-white inline-flex items-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n                    <svg class=\"me-1 -ms-1 w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z\" clip-rule=\"evenodd\"></path></svg>\n                    Add new product\n                </button>\n            </form>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n##### Modal with radio inputs\n\nThis example can be used to show a list of options to your users by using advanced radio inputs with a custom design.\n\n{{< example id=\"modal-radio-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"select-modal\" data-modal-toggle=\"select-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"select-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">\n                    Open positions\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm h-8 w-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-toggle=\"select-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <p class=\"text-gray-500 dark:text-gray-400 mb-4\">Select your desired position:</p>\n                <ul class=\"space-y-4 mb-4\">\n                    <li>\n                        <input type=\"radio\" id=\"job-1\" name=\"job\" value=\"job-1\" class=\"hidden peer\" required />\n                        <label for=\"job-1\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-900 bg-white border border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-500 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-900 hover:bg-gray-100 dark:text-white dark:bg-gray-600 dark:hover:bg-gray-500\">                           \n                            <div class=\"block\">\n                                <div class=\"w-full text-lg font-semibold\">UI/UX Engineer</div>\n                                <div class=\"w-full text-gray-500 dark:text-gray-400\">Flowbite</div>\n                            </div>\n                            <svg class=\"w-4 h-4 ms-3 rtl:rotate-180 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/></svg>\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"job-2\" name=\"job\" value=\"job-2\" class=\"hidden peer\">\n                        <label for=\"job-2\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-900 bg-white border border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-500 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-900 hover:bg-gray-100 dark:text-white dark:bg-gray-600 dark:hover:bg-gray-500\">\n                            <div class=\"block\">\n                                <div class=\"w-full text-lg font-semibold\">React Developer</div>\n                                <div class=\"w-full text-gray-500 dark:text-gray-400\">Alphabet</div>\n                            </div>\n                            <svg class=\"w-4 h-4 ms-3 rtl:rotate-180 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/></svg>\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"job-3\" name=\"job\" value=\"job-3\" class=\"hidden peer\">\n                        <label for=\"job-3\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-900 bg-white border border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-500 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-900 hover:bg-gray-100 dark:text-white dark:bg-gray-600 dark:hover:bg-gray-500\">\n                            <div class=\"block\">\n                                <div class=\"w-full text-lg font-semibold\">Full Stack Engineer</div>\n                                <div class=\"w-full text-gray-500 dark:text-gray-400\">Apple</div>\n                            </div>\n                            <svg class=\"w-4 h-4 ms-3 rtl:rotate-180 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/></svg>\n                        </label>\n                    </li>\n                </ul>\n                <button class=\"text-white inline-flex w-full justify-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n                    Next step\n                </button>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n##### Modal with timeline\n\nUse this example to show a timeline of events to your users with a modal. This can be used to show a changelog of your product or a timeline of events.\n\n{{< example id=\"modal-timeline-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"timeline-modal\" data-modal-toggle=\"timeline-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"timeline-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                <!-- Modal header -->\n                <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                    <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">\n                        Changelog\n                    </h3>\n                    <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm h-8 w-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-toggle=\"timeline-modal\">\n                        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                        </svg>\n                        <span class=\"sr-only\">Close modal</span>\n                    </button>\n                </div>\n                <!-- Modal body -->\n                <div class=\"p-4 md:p-5\">\n                    <ol class=\"relative border-s border-gray-200 dark:border-gray-600 ms-3.5 mb-4 md:mb-5\">                  \n                        <li class=\"mb-10 ms-8\">            \n                            <span class=\"absolute flex items-center justify-center w-6 h-6 bg-gray-100 rounded-full -start-3.5 ring-8 ring-white dark:ring-gray-700 dark:bg-gray-600\">\n                                <svg class=\"w-2.5 h-2.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M6 1a1 1 0 0 0-2 0h2ZM4 4a1 1 0 0 0 2 0H4Zm7-3a1 1 0 1 0-2 0h2ZM9 4a1 1 0 1 0 2 0H9Zm7-3a1 1 0 1 0-2 0h2Zm-2 3a1 1 0 1 0 2 0h-2ZM1 6a1 1 0 0 0 0 2V6Zm18 2a1 1 0 1 0 0-2v2ZM5 11v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 11v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 15v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 15v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 11v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM5 15v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM2 4h16V2H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v14h2V4h-2Zm0 14v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V4H0v14h2ZM2 4V2a2 2 0 0 0-2 2h2Zm2-3v3h2V1H4Zm5 0v3h2V1H9Zm5 0v3h2V1h-2ZM1 8h18V6H1v2Zm3 3v.01h2V11H4Zm1 1.01h.01v-2H5v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H5v2h.01v-2ZM9 11v.01h2V11H9Zm1 1.01h.01v-2H10v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM9 15v.01h2V15H9Zm1 1.01h.01v-2H10v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM14 15v.01h2V15h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM14 11v.01h2V11h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM4 15v.01h2V15H4Zm1 1.01h.01v-2H5v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H5v2h.01v-2Z\"/></svg>\n                            </span>\n                            <h3 class=\"flex items-start mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Application UI v2.0.0 <span class=\"bg-blue-100 text-blue-800 text-sm font-medium mr-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300 ms-3\">Latest</span></h3>\n                            <time class=\"block mb-3 text-sm font-normal leading-none text-gray-500 dark:text-gray-400\">Released on Nov 10th, 2023</time>\n                            <button type=\"button\" class=\"py-2 px-3 inline-flex items-center text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n                                <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\"><path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/><path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/></svg>\n                                Download\n                            </button>\n                        </li>\n                        <li class=\"mb-10 ms-8\">\n                            <span class=\"absolute flex items-center justify-center w-6 h-6 bg-gray-100 rounded-full -start-3.5 ring-8 ring-white dark:ring-gray-700 dark:bg-gray-600\">\n                                <svg class=\"w-2.5 h-2.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M6 1a1 1 0 0 0-2 0h2ZM4 4a1 1 0 0 0 2 0H4Zm7-3a1 1 0 1 0-2 0h2ZM9 4a1 1 0 1 0 2 0H9Zm7-3a1 1 0 1 0-2 0h2Zm-2 3a1 1 0 1 0 2 0h-2ZM1 6a1 1 0 0 0 0 2V6Zm18 2a1 1 0 1 0 0-2v2ZM5 11v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 11v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 15v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 15v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 11v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM5 15v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM2 4h16V2H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v14h2V4h-2Zm0 14v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V4H0v14h2ZM2 4V2a2 2 0 0 0-2 2h2Zm2-3v3h2V1H4Zm5 0v3h2V1H9Zm5 0v3h2V1h-2ZM1 8h18V6H1v2Zm3 3v.01h2V11H4Zm1 1.01h.01v-2H5v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H5v2h.01v-2ZM9 11v.01h2V11H9Zm1 1.01h.01v-2H10v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM9 15v.01h2V15H9Zm1 1.01h.01v-2H10v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM14 15v.01h2V15h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM14 11v.01h2V11h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM4 15v.01h2V15H4Zm1 1.01h.01v-2H5v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H5v2h.01v-2Z\"/></svg>\n                            </span>\n                            <h3 class=\"mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Figma v2.8.0</h3>\n                            <time class=\"block mb-3 text-sm font-normal leading-none text-gray-500 dark:text-gray-400\">Released on Oct 7th, 2023</time>\n                            <button type=\"button\" class=\"py-2 px-3 inline-flex items-center text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n                                <svg class=\"w-3 h-3 me-1.5\" aria-hidden=\"true\" viewBox=\"0 0 30 45\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.50012 45C11.6401 45 15.0002 41.6399 15.0002 37.4999V29.9999H7.50012C3.36009 29.9999 0 33.3599 0 37.4999C0 41.6399 3.36009 45 7.50012 45Z\" fill=\"#0ACF83\"/><path d=\"M0 22.5C0 18.36 3.36009 14.9999 7.50012 14.9999H15.0002V29.9999H7.50012C3.36009 30.0001 0 26.64 0 22.5Z\" fill=\"#A259FF\"/><path d=\"M0 7.50006C0 3.36006 3.36009 0 7.50012 0H15.0002V14.9999H7.50012C3.36009 14.9999 0 11.6401 0 7.50006Z\" fill=\"#F24E1E\"/><path d=\"M15.0002 0H22.4999C26.6399 0 30 3.36006 30 7.50006C30 11.6401 26.6399 14.9999 22.4999 14.9999L15.0002 14.9999V0Z\" fill=\"#FF7262\"/><path d=\"M30 22.5C30 26.64 26.6399 30 22.4999 30C18.3599 30 14.9998 26.64 14.9998 22.5C14.9998 18.36 18.3599 14.9999 22.4999 14.9999C26.6399 14.9999 30 18.36 30 22.5Z\" fill=\"#1ABCFE\"/></svg>\n                                Duplicate in Figma\n                            </button>\n                        </li>\n                        <li class=\"ms-8\">\n                            <span class=\"absolute flex items-center justify-center w-6 h-6 bg-gray-100 rounded-full -start-3.5 ring-8 ring-white dark:ring-gray-700 dark:bg-gray-600\">\n                                <svg class=\"w-2.5 h-2.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\"><path fill=\"currentColor\" d=\"M6 1a1 1 0 0 0-2 0h2ZM4 4a1 1 0 0 0 2 0H4Zm7-3a1 1 0 1 0-2 0h2ZM9 4a1 1 0 1 0 2 0H9Zm7-3a1 1 0 1 0-2 0h2Zm-2 3a1 1 0 1 0 2 0h-2ZM1 6a1 1 0 0 0 0 2V6Zm18 2a1 1 0 1 0 0-2v2ZM5 11v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 11v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 15v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 15v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 11v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM5 15v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM2 4h16V2H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v14h2V4h-2Zm0 14v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V4H0v14h2ZM2 4V2a2 2 0 0 0-2 2h2Zm2-3v3h2V1H4Zm5 0v3h2V1H9Zm5 0v3h2V1h-2ZM1 8h18V6H1v2Zm3 3v.01h2V11H4Zm1 1.01h.01v-2H5v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H5v2h.01v-2ZM9 11v.01h2V11H9Zm1 1.01h.01v-2H10v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM9 15v.01h2V15H9Zm1 1.01h.01v-2H10v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM14 15v.01h2V15h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM14 11v.01h2V11h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM4 15v.01h2V15H4Zm1 1.01h.01v-2H5v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H5v2h.01v-2Z\"/></svg>\n                            </span>\n                            <h3 class=\"mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Library v1.2.2</h3>\n                            <time class=\"block mb-3 text-sm font-normal leading-none text-gray-500 dark:text-gray-400\">Released on December 2nd, 2021</time>\n                        </li>\n                    </ol>\n                    <button class=\"text-white inline-flex w-full justify-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n                    My Downloads\n                    </button>\n                </div>\n            </div>\n    </div>\n</div> \n{{< /example >}}\n\n##### Modal with progress bar\n\nThis modal can be used to show the progress of a task to your users. It can be used to show the progress of a file upload or a task that is being processed.\n\n{{< example id=\"modal-progress-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"600\" >}}\n\n<!-- Modal toggle -->\n<button data-modal-target=\"progress-modal\" data-modal-toggle=\"progress-modal\" class=\"block text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n  Toggle modal\n</button>\n\n<!-- Main modal -->\n<div id=\"progress-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <button type=\"button\" class=\"absolute top-3 end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"progress-modal\">\n                <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n                <span class=\"sr-only\">Close modal</span>\n            </button>\n            <div class=\"p-4 md:p-5\">\n                <svg class=\"w-10 h-10 text-gray-400 dark:text-gray-500 mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                    <path d=\"M8 5.625c4.418 0 8-1.063 8-2.375S12.418.875 8 .875 0 1.938 0 3.25s3.582 2.375 8 2.375Zm0 13.5c4.963 0 8-1.538 8-2.375v-4.019c-.052.029-.112.054-.165.082a8.08 8.08 0 0 1-.745.353c-.193.081-.394.158-.6.231l-.189.067c-2.04.628-4.165.936-6.3.911a20.601 20.601 0 0 1-6.3-.911l-.189-.067a10.719 10.719 0 0 1-.852-.34 8.08 8.08 0 0 1-.493-.244c-.053-.028-.113-.053-.165-.082v4.019C0 17.587 3.037 19.125 8 19.125Zm7.09-12.709c-.193.081-.394.158-.6.231l-.189.067a20.6 20.6 0 0 1-6.3.911 20.6 20.6 0 0 1-6.3-.911l-.189-.067a10.719 10.719 0 0 1-.852-.34 8.08 8.08 0 0 1-.493-.244C.112 6.035.052 6.01 0 5.981V10c0 .837 3.037 2.375 8 2.375s8-1.538 8-2.375V5.981c-.052.029-.112.054-.165.082a8.08 8.08 0 0 1-.745.353Z\"/>\n                </svg>\n                <h3 class=\"mb-1 text-xl font-bold text-gray-900 dark:text-white\">Approaching Full Capacity</h3>\n                <p class=\"text-gray-500 dark:text-gray-400 mb-6\">Choosing the right server storage solution is essential for maintaining data integrity.<p>\n                <div class=\"flex justify-between mb-1 text-gray-500 dark:text-gray-400\">\n                    <span class=\"text-base font-normal\">My storage</span>\n                    <span class=\"text-sm font-semibold text-gray-900 dark:text-white\">376,3 of 500 GB used</span>\n                </div>\n                <div class=\"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-600\">\n                    <div class=\"bg-orange-500 h-2.5 rounded-full\" style=\"width: 85%\"></div>\n                </div>\n                <!-- Modal footer -->\n                <div class=\"flex items-center mt-6 space-x-4 rtl:space-x-reverse\">\n                    <button data-modal-hide=\"progress-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Upgrade to PRO</button>\n                    <button data-modal-hide=\"progress-modal\" type=\"button\" class=\"py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Cancel</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n\n##### Crypto wallet\n\nUse this web3 modal component to show crypto wallet connection options like MetaMask or WalletConnect when building a website based on NFT authentication and collectibles.\n\n{{< example id=\"modal-crypto-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"700\" >}}\n<button type=\"button\" data-modal-target=\"crypto-modal\" data-modal-toggle=\"crypto-modal\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700\">\n<svg aria-hidden=\"true\" class=\"w-4 h-4 me-2\" fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1\"></path></svg>\nConnect wallet\n</button>\n\n<!-- Main modal -->\n<div id=\"crypto-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">\n                    Connect wallet\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm h-8 w-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-toggle=\"crypto-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <p class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Connect with one of our available wallet providers or create a new one.</p>\n                <ul class=\"my-4 space-y-3\">\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n                            <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 40 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M39.0728 0L21.9092 12.6999L25.1009 5.21543L39.0728 0Z\" fill=\"#E17726\"/><path d=\"M0.966797 0.0151367L14.9013 5.21656L17.932 12.7992L0.966797 0.0151367Z\" fill=\"#E27625\"/><path d=\"M32.1656 27.0093L39.7516 27.1537L37.1004 36.1603L27.8438 33.6116L32.1656 27.0093Z\" fill=\"#E27625\"/><path d=\"M7.83409 27.0093L12.1399 33.6116L2.89876 36.1604L0.263672 27.1537L7.83409 27.0093Z\" fill=\"#E27625\"/><path d=\"M17.5203 10.8677L17.8304 20.8807L8.55371 20.4587L11.1924 16.4778L11.2258 16.4394L17.5203 10.8677Z\" fill=\"#E27625\"/><path d=\"M22.3831 10.7559L28.7737 16.4397L28.8067 16.4778L31.4455 20.4586L22.1709 20.8806L22.3831 10.7559Z\" fill=\"#E27625\"/><path d=\"M12.4115 27.0381L17.4768 30.9848L11.5928 33.8257L12.4115 27.0381Z\" fill=\"#E27625\"/><path d=\"M27.5893 27.0376L28.391 33.8258L22.5234 30.9847L27.5893 27.0376Z\" fill=\"#E27625\"/><path d=\"M22.6523 30.6128L28.6066 33.4959L23.0679 36.1282L23.1255 34.3884L22.6523 30.6128Z\" fill=\"#D5BFB2\"/><path d=\"M17.3458 30.6143L16.8913 34.3601L16.9286 36.1263L11.377 33.4961L17.3458 30.6143Z\" fill=\"#D5BFB2\"/><path d=\"M15.6263 22.1875L17.1822 25.4575L11.8848 23.9057L15.6263 22.1875Z\" fill=\"#233447\"/><path d=\"M24.3739 22.1875L28.133 23.9053L22.8184 25.4567L24.3739 22.1875Z\" fill=\"#233447\"/><path d=\"M12.8169 27.0049L11.9606 34.0423L7.37109 27.1587L12.8169 27.0049Z\" fill=\"#CC6228\"/><path d=\"M27.1836 27.0049L32.6296 27.1587L28.0228 34.0425L27.1836 27.0049Z\" fill=\"#CC6228\"/><path d=\"M31.5799 20.0605L27.6165 24.0998L24.5608 22.7034L23.0978 25.779L22.1387 20.4901L31.5799 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.41797 20.0605L17.8608 20.4902L16.9017 25.779L15.4384 22.7038L12.3988 24.0999L8.41797 20.0605Z\" fill=\"#CC6228\"/><path d=\"M8.15039 19.2314L12.6345 23.7816L12.7899 28.2736L8.15039 19.2314Z\" fill=\"#E27525\"/><path d=\"M31.8538 19.2236L27.2061 28.2819L27.381 23.7819L31.8538 19.2236Z\" fill=\"#E27525\"/><path d=\"M17.6412 19.5088L17.8217 20.6447L18.2676 23.4745L17.9809 32.166L16.6254 25.1841L16.625 25.1119L17.6412 19.5088Z\" fill=\"#E27525\"/><path d=\"M22.3562 19.4932L23.3751 25.1119L23.3747 25.1841L22.0158 32.1835L21.962 30.4328L21.75 23.4231L22.3562 19.4932Z\" fill=\"#E27525\"/><path d=\"M27.7797 23.6011L27.628 27.5039L22.8977 31.1894L21.9414 30.5138L23.0133 24.9926L27.7797 23.6011Z\" fill=\"#F5841F\"/><path d=\"M12.2373 23.6011L16.9873 24.9926L18.0591 30.5137L17.1029 31.1893L12.3723 27.5035L12.2373 23.6011Z\" fill=\"#F5841F\"/><path d=\"M10.4717 32.6338L16.5236 35.5013L16.4979 34.2768L17.0043 33.8323H22.994L23.5187 34.2753L23.48 35.4989L29.4935 32.641L26.5673 35.0591L23.0289 37.4894H16.9558L13.4197 35.0492L10.4717 32.6338Z\" fill=\"#C0AC9D\"/><path d=\"M22.2191 30.231L23.0748 30.8354L23.5763 34.8361L22.8506 34.2234H17.1513L16.4395 34.8485L16.9244 30.8357L17.7804 30.231H22.2191Z\" fill=\"#161616\"/><path d=\"M37.9395 0.351562L39.9998 6.53242L38.7131 12.7819L39.6293 13.4887L38.3895 14.4346L39.3213 15.1542L38.0875 16.2779L38.8449 16.8264L36.8347 19.1742L28.5894 16.7735L28.5179 16.7352L22.5762 11.723L37.9395 0.351562Z\" fill=\"#763E1A\"/><path d=\"M2.06031 0.351562L17.4237 11.723L11.4819 16.7352L11.4105 16.7735L3.16512 19.1742L1.15488 16.8264L1.91176 16.2783L0.678517 15.1542L1.60852 14.4354L0.350209 13.4868L1.30098 12.7795L0 6.53265L2.06031 0.351562Z\" fill=\"#763E1A\"/><path d=\"M28.1861 16.2485L36.9226 18.7921L39.7609 27.5398L32.2728 27.5398L27.1133 27.6049L30.8655 20.2912L28.1861 16.2485Z\" fill=\"#F5841F\"/><path d=\"M11.8139 16.2485L9.13399 20.2912L12.8867 27.6049L7.72971 27.5398H0.254883L3.07728 18.7922L11.8139 16.2485Z\" fill=\"#F5841F\"/><path d=\"M25.5283 5.17383L23.0847 11.7736L22.5661 20.6894L22.3677 23.4839L22.352 30.6225H17.6471L17.6318 23.4973L17.4327 20.6869L16.9139 11.7736L14.4707 5.17383H25.5283Z\" fill=\"#F5841F\"/></svg>\n                            <span class=\"flex-1 ms-3 whitespace-nowrap\">MetaMask</span>\n                            <span class=\"inline-flex items-center justify-center px-2 py-0.5 ms-3 text-xs font-medium text-gray-500 bg-gray-200 rounded-sm dark:bg-gray-700 dark:text-gray-400\">Popular</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n                            <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 292 292\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M145.7 291.66C226.146 291.66 291.36 226.446 291.36 146C291.36 65.5541 226.146 0.339844 145.7 0.339844C65.2542 0.339844 0.0400391 65.5541 0.0400391 146C0.0400391 226.446 65.2542 291.66 145.7 291.66Z\" fill=\"#3259A5\"/><path d=\"M195.94 155.5C191.49 179.08 170.8 196.91 145.93 196.91C117.81 196.91 95.0204 174.12 95.0204 146C95.0204 117.88 117.81 95.0897 145.93 95.0897C170.8 95.0897 191.49 112.93 195.94 136.5H247.31C242.52 84.7197 198.96 44.1797 145.93 44.1797C89.6904 44.1797 44.1104 89.7697 44.1104 146C44.1104 202.24 89.7004 247.82 145.93 247.82C198.96 247.82 242.52 207.28 247.31 155.5H195.94Z\" fill=\"white\"/></svg>\n                            <span class=\"flex-1 ms-3 whitespace-nowrap\">Coinbase Wallet</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n                            <svg aria-hidden=\"true\" svg class=\"h-5\"viewBox=\"0 0 75.591 75.591\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><linearGradient id=\"a\" gradientTransform=\"matrix(0 -54.944 -54.944 0 23.62 79.474)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#ff1b2d\"/><stop offset=\".3\" stop-color=\"#ff1b2d\"/><stop offset=\".614\" stop-color=\"#ff1b2d\"/><stop offset=\"1\" stop-color=\"#a70014\"/></linearGradient><linearGradient id=\"b\" gradientTransform=\"matrix(0 -48.595 -48.595 0 37.854 76.235)\" gradientUnits=\"userSpaceOnUse\" x2=\"1\"><stop offset=\"0\" stop-color=\"#9c0000\"/><stop offset=\".7\" stop-color=\"#ff4b4b\"/><stop offset=\"1\" stop-color=\"#ff4b4b\"/></linearGradient><g transform=\"matrix(1.3333 0 0 -1.3333 0 107.2)\"><path d=\"m28.346 80.398c-15.655 0-28.346-12.691-28.346-28.346 0-15.202 11.968-27.609 26.996-28.313.44848-.02115.89766-.03314 1.3504-.03314 7.2574 0 13.876 2.7289 18.891 7.2137-3.3227-2.2036-7.2074-3.4715-11.359-3.4715-6.7504 0-12.796 3.3488-16.862 8.6297-3.1344 3.6999-5.1645 9.1691-5.3028 15.307v1.3349c.13821 6.1377 2.1683 11.608 5.302 15.307 4.0666 5.2809 10.112 8.6297 16.862 8.6297 4.1526 0 8.038-1.2679 11.361-3.4729-4.9904 4.4643-11.569 7.1876-18.786 7.2144-.03596 0-.07122.0014-.10718.0014z\" fill=\"url(#a)\"/><path d=\"m19.016 68.025c2.6013 3.0709 5.9607 4.9227 9.631 4.9227 8.2524 0 14.941-9.356 14.941-20.897s-6.6891-20.897-14.941-20.897c-3.6703 0-7.0297 1.851-9.6303 4.922 4.0659-5.2809 10.111-8.6297 16.862-8.6297 4.1519 0 8.0366 1.2679 11.359 3.4715 5.802 5.1906 9.4554 12.735 9.4554 21.133 0 8.397-3.6527 15.941-9.4533 21.131-3.3234 2.205-7.2088 3.4729-11.361 3.4729-6.7504 0-12.796-3.3488-16.862-8.6297\" fill=\"url(#b)\"/></g></svg>\n                            <span class=\"flex-1 ms-3 whitespace-nowrap\">Opera Wallet</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n                            <svg aria-hidden=\"true\" class=\"h-5\" viewBox=\"0 0 512 512\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"><defs><radialGradient cx=\"0%\" cy=\"50%\" fx=\"0%\" fy=\"50%\" r=\"100%\" id=\"radialGradient-1\"><stop stop-color=\"#5D9DF6\" offset=\"0%\"></stop><stop stop-color=\"#006FFF\" offset=\"100%\"></stop></radialGradient></defs><g id=\"Page-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"logo\"><rect id=\"base\" fill=\"url(#radialGradient-1)\" x=\"0\" y=\"0\" width=\"512\" height=\"512\" rx=\"256\"></rect><path d=\"M169.209772,184.531136 C217.142772,137.600733 294.857519,137.600733 342.790517,184.531136 L348.559331,190.179285 C350.955981,192.525805 350.955981,196.330266 348.559331,198.676787 L328.82537,217.99798 C327.627045,219.171241 325.684176,219.171241 324.485851,217.99798 L316.547278,210.225455 C283.10802,177.485633 228.89227,177.485633 195.453011,210.225455 L186.951456,218.549188 C185.75313,219.722448 183.810261,219.722448 182.611937,218.549188 L162.877976,199.227995 C160.481326,196.881474 160.481326,193.077013 162.877976,190.730493 L169.209772,184.531136 Z M383.602212,224.489406 L401.165475,241.685365 C403.562113,244.031874 403.562127,247.836312 401.165506,250.182837 L321.971538,327.721548 C319.574905,330.068086 315.689168,330.068112 313.292501,327.721609 C313.292491,327.721599 313.29248,327.721588 313.29247,327.721578 L257.08541,272.690097 C256.486248,272.103467 255.514813,272.103467 254.915651,272.690097 C254.915647,272.690101 254.915644,272.690105 254.91564,272.690108 L198.709777,327.721548 C196.313151,330.068092 192.427413,330.068131 190.030739,327.721634 C190.030725,327.72162 190.03071,327.721606 190.030695,327.721591 L110.834524,250.181849 C108.437875,247.835329 108.437875,244.030868 110.834524,241.684348 L128.397819,224.488418 C130.794468,222.141898 134.680206,222.141898 137.076856,224.488418 L193.284734,279.520668 C193.883897,280.107298 194.85533,280.107298 195.454493,279.520668 C195.454502,279.520659 195.45451,279.520651 195.454519,279.520644 L251.65958,224.488418 C254.056175,222.141844 257.941913,222.141756 260.338618,224.488222 C260.338651,224.488255 260.338684,224.488288 260.338717,224.488321 L316.546521,279.520644 C317.145683,280.107273 318.117118,280.107273 318.71628,279.520644 L374.923175,224.489406 C377.319825,222.142885 381.205562,222.142885 383.602212,224.489406 Z\" id=\"WalletConnect\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path></g></g></svg>\n                            <span class=\"flex-1 ms-3 whitespace-nowrap\">WalletConnect</span>\n                        </a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"flex items-center p-3 text-base font-bold text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 group hover:shadow dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white\">\n                            <svg aria-hidden=\"true\" class=\"h-4\" viewBox=\"0 0 96 96\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M72.0998 0.600098H48.3998H24.5998H0.799805V24.4001V48.2001V49.7001V71.8001V71.9001V95.5001H24.5998V72.0001V71.9001V49.8001V48.3001V24.5001H48.3998H72.1998H95.9998V0.700104H72.0998V0.600098Z\" fill=\"#617BFF\"/><path d=\"M48.5 71.8002H72.1V95.6002H73C79.1 95.6002 84.9 93.2002 89.2 88.9002C93.5 84.6002 95.9 78.8002 95.9 72.7002V48.2002H48.5V71.8002Z\" fill=\"#617BFF\"/></svg>\n                            <span class=\"flex-1 ms-3 whitespace-nowrap\">Fortmatic</span>\n                        </a>\n                    </li>\n                </ul>\n                <div>\n                    <a href=\"#\" class=\"inline-flex items-center text-xs font-normal text-gray-500 hover:underline dark:text-gray-400\">\n                        <svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.529 7.988a2.502 2.502 0 0 1 5 .191A2.441 2.441 0 0 1 10 10.582V12m-.01 3.008H10M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n                        </svg>\n                        Why do I need to connect with my wallet?</a>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nYou can use four different modal sizing options starting from small to extra large, but keep in mind that the width of these modals will remain the same when browsing on smaller devices.\n\n{{< example id=\"modal-sizes-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"900\" >}}\n\n<div class=\"block space-y-4 md:flex md:space-y-0 md:space-x-4 rtl:space-x-reverse\">\n    <!-- Modal toggle -->\n    <button data-modal-target=\"small-modal\" data-modal-toggle=\"small-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Small modal\n    </button>\n    <button data-modal-target=\"medium-modal\" data-modal-toggle=\"medium-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\" >\n    Default modal\n    </button>\n    <button data-modal-target=\"large-modal\" data-modal-toggle=\"large-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Large modal\n    </button>\n    <button data-modal-target=\"extralarge-modal\" data-modal-toggle=\"extralarge-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Extra large modal\n    </button>\n</div>\n\n<!-- Small Modal -->\n<div id=\"small-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Small modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"small-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"small-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"small-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Default Modal -->\n<div id=\"medium-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-lg max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Default modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"medium-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"medium-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"medium-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Large Modal -->\n<div id=\"large-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-4xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Large modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"large-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"large-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"large-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Extra Large Modal -->\n<div id=\"extralarge-modal\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-7xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Extra Large modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"extralarge-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"extralarge-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"extralarge-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Placement\n\nUse the `data-modal-placement` data attribute on the modal element to set the position relative to the document body based on the available values from `{top|center|bottom}-{left|center|right}` (eg. `top-left` or `bottom-right`).\n\nThe default position is the center of the page.\n\n{{< example id=\"modal-placement-example\" github=\"components/modal.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"800\">}}\n\n<div class=\"block space-y-4 md:flex md:space-y-0 md:space-x-4 md:rtl:space-x-reverse\">\n    <!-- Modal toggle -->\n    <button data-modal-target=\"top-left-modal\" data-modal-toggle=\"top-left-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Top left\n    </button>\n    <button data-modal-target=\"top-right-modal\" data-modal-toggle=\"top-right-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Top right\n    </button>\n    <button data-modal-target=\"bottom-left-modal\" data-modal-toggle=\"bottom-left-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Bottom left\n    </button>\n    <button data-modal-target=\"bottom-right-modal\" data-modal-toggle=\"bottom-right-modal\" class=\"block w-full md:w-auto text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">\n    Bottom right\n    </button>\n</div>\n\n<!-- Top Left Modal -->\n<div id=\"top-left-modal\" data-modal-placement=\"top-left\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Top left modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"top-left-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"top-left-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"top-left-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Top Right Modal -->\n<div id=\"top-right-modal\" data-modal-placement=\"top-right\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Top right modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"top-right-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"top-right-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"top-right-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Bottom Left Modal -->\n<div id=\"bottom-left-modal\" data-modal-placement=\"bottom-left\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Bottom left modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"bottom-left-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"bottom-left-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"bottom-left-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n\n<!-- Bottom Right Modal -->\n<div id=\"bottom-right-modal\" data-modal-placement=\"bottom-right\" tabindex=\"-1\" class=\"fixed top-0 left-0 right-0 z-50 hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative w-full max-w-2xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-medium text-gray-900 dark:text-white\">\n                    Bottom right modal\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"bottom-right-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 space-y-4\">\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    With less than a month to go before the European Union enacts new consumer privacy laws for its citizens, companies around the world are updating their terms of service agreements to comply.\n                </p>\n                <p class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\">\n                    The European Union’s General Data Protection Regulation (G.D.P.R.) goes into effect on May 25 and is meant to ensure a common set of data rights in the European Union. It requires organizations to notify users as soon as possible of high-risk data breaches that could personally affect them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div class=\"flex items-center p-4 md:p-5 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                <button data-modal-hide=\"bottom-right-modal\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">I accept</button>\n                <button data-modal-hide=\"bottom-right-modal\" type=\"button\" class=\"py-2.5 px-5 ms-3 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Decline</button>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### More examples\n\nYou can check out more modal component examples from the following resources from Flowbite Blocks:\n\n-   [CRUD read modals](https://flowbite.com/blocks/application/crud-read-modals/)\n-   [CRUD create modals](https://flowbite.com/blocks/application/crud-create-modals/)\n-   [CRUD update modals](https://flowbite.com/blocks/application/crud-update-modals/)\n-   [Faceted search modals](https://flowbite.com/blocks/application/faceted-search-modals/)\n\n##### JavaScript behaviour\n\nThe **Modal** class from Flowbite can be used to create an object that will launch an interactive modal based on the object parameters, options, and methods that you choose to apply.\n\n###### Object parameters\n\nInitialize a Modal object with parameters such as the modal element and the optional options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the main modal element as a JavaScript object.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the default state of the modal, placement, and animations.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the second parameter for the Modal object to set the position of the modal, custom classes for the backdrop element and the callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">placement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the modal element relative to the document body by choosing one of the values from <code class=\"text-purple-600 dark:text-purple-400\">{top|center|right}-{left|center|right}</code>. (eg. top-left or bottom-right)\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">backdrop</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Choose between <code class=\"text-purple-600 dark:text-purple-400\">static</code> or <code class=\"text-purple-600 dark:text-purple-400\">dynamic</code> to prevent closing the modal when clicking outside.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">backdropClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS classes for the backdrop element (eg. <code class=\"text-purple-600 dark:text-purple-400\">'bg-blue-500 dark:bg-blue-400'</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">closable</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Boolean\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set to <code class=\"text-purple-600 dark:text-purple-400\">false</code> to disable closing the modal on hitting ESC or clicking on the backdrop.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the modal visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the methods from the Modal object to show, hide, and toggle the visibility directly from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the toggle function on the Modal object to toggle the modal element's visibility.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function on the Modal object to show the modal element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the hide function on the Modal object to hide the modal element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">isHidden()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the modal is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the modal is visible.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal has been closed.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the modal visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Modal object.\n\nFirst of all, create a new JavaScript element object for the first parameter of the Modal object and another options object to set the placement, backdrop styles, and callback functions.\n\n```javascript\n// set the modal menu element\nconst $targetEl = document.getElementById('modalEl');\n\n// options with default values\nconst options = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    closable: true,\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'modalEl',\n  override: true\n};\n```\n\nCreate a new Modal object based on the options above.\n\n```javascript\nimport { Modal } from 'flowbite';\n\n/*\n * $targetEl: required\n * options: optional\n */\nconst modal = new Modal($targetEl, options, instanceOptions);\n```\n\nUse the `show` and `hide` methods to show and hide the modal component directly from JavaScript.\n\n```javascript\n// show the modal\nmodal.show();\n\n// hide the modal\nmodal.hide();\n```\n\nUse the `toggle` method to toggle the visibility of the modal.\n\n```javascript\n// toggle the modal\nmodal.toggle();\n```\n\nUse the `isHidden` or `isVisible` method to check if the modal is visible or not.\n\n```javascript\n// true if hidden\nmodal.isHidden();\n\n// true if visible\nmodal.isVisible();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<div\n    id=\"modalEl\"\n    tabindex=\"-1\"\n    aria-hidden=\"true\"\n    class=\"fixed left-0 right-0 top-0 z-50 hidden h-[calc(100%-1rem)] max-h-full w-full overflow-y-auto overflow-x-hidden p-4 md:inset-0\"\n>\n    <div class=\"relative max-h-full w-full max-w-2xl\">\n        <!-- Modal content -->\n        <div class=\"relative rounded-lg bg-white shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div\n                class=\"flex items-start justify-between rounded-t border-b p-5 dark:border-gray-600\"\n            >\n                <h3\n                    class=\"text-xl font-semibold text-gray-900 dark:text-white lg:text-2xl\"\n                >\n                    Terms of Service\n                </h3>\n                <button\n                    type=\"button\"\n                    class=\"ms-auto inline-flex h-8 w-8 items-center justify-center rounded-lg bg-transparent text-sm text-gray-400 hover:bg-gray-200 hover:text-gray-900 dark:hover:bg-gray-600 dark:hover:text-white\"\n                >\n                    <svg\n                        class=\"h-3 w-3\"\n                        aria-hidden=\"true\"\n                        xmlns=\"http://www.w3.org/2000/svg\"\n                        fill=\"none\"\n                        viewBox=\"0 0 14 14\"\n                    >\n                        <path\n                            stroke=\"currentColor\"\n                            stroke-linecap=\"round\"\n                            stroke-linejoin=\"round\"\n                            stroke-width=\"2\"\n                            d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"\n                        />\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"space-y-6 p-6\">\n                <p\n                    class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\"\n                >\n                    With less than a month to go before the European Union\n                    enacts new consumer privacy laws for its citizens, companies\n                    around the world are updating their terms of service\n                    agreements to comply.\n                </p>\n                <p\n                    class=\"text-base leading-relaxed text-gray-500 dark:text-gray-400\"\n                >\n                    The European Union’s General Data Protection Regulation\n                    (G.D.P.R.) goes into effect on May 25 and is meant to ensure\n                    a common set of data rights in the European Union. It\n                    requires organizations to notify users as soon as possible\n                    of high-risk data breaches that could personally affect\n                    them.\n                </p>\n            </div>\n            <!-- Modal footer -->\n            <div\n                class=\"flex items-center space-x-2 rtl:space-x-reverse rounded-b border-t border-gray-200 p-6 dark:border-gray-600\"\n            >\n                <button\n                    type=\"button\"\n                    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"\n                >\n                    I accept\n                </button>\n                <button\n                    type=\"button\"\n                    class=\"rounded-lg border border-gray-200 bg-white px-5 py-2.5 text-sm font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-900 focus:z-10 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:border-gray-500 dark:bg-gray-700 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\"\n                >\n                    Decline\n                </button>\n            </div>\n        </div>\n    </div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Modal class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Modal } from 'flowbite';\nimport type { ModalOptions, ModalInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst $modalElement: HTMLElement = document.querySelector('#modalEl');\n\nconst modalOptions: ModalOptions = {\n    placement: 'bottom-right',\n    backdrop: 'dynamic',\n    backdropClasses:\n        'bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40',\n    closable: true,\n    onHide: () => {\n        console.log('modal is hidden');\n    },\n    onShow: () => {\n        console.log('modal is shown');\n    },\n    onToggle: () => {\n        console.log('modal has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'modalEl',\n  override: true\n};\n\nconst modal: ModalInterface = new Modal($modalElement, modalOptions, instanceOptions);\n\nmodal.show();\n```\n\n#### Navbar\n\nGet started with the responsive navbar component from Flowbite to quickly set up a navigation menu for your website and set up the logo, list of pages, CTA button, search input, user profile options with a dropdown, and more.\n\n##### Default navbar\n\nUse this example of a navigation bar built with the utility classes from Tailwind CSS to enable users to navigate across the pages of your website.\n\n{{< example id=\"default-navbar-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-default\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-default\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-default\">\n      <ul class=\"font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Navbar with dropdown\n\nThis example can be used to show a secondary dropdown menu when clicking on one of the navigation links.\n\n{{< example id=\"navbar-dropdown-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900 dark:border-gray-700\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-dropdown\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-dropdown\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-dropdown\">\n      <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500 dark:bg-blue-600 md:dark:bg-transparent\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"dropdownNavbarLink\" data-dropdown-toggle=\"dropdownNavbar\" class=\"flex items-center justify-between w-full py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 md:w-auto dark:text-white md:dark:hover:text-blue-500 dark:focus:text-white dark:border-gray-700 dark:hover:bg-gray-700 md:dark:hover:bg-transparent\">Dropdown <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownNavbar\" class=\"z-10 hidden font-normal bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n                <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-400\" aria-labelledby=\"dropdownLargeButton\">\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Settings</a>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n                  </li>\n                </ul>\n                <div class=\"py-1\">\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n                </div>\n            </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Multi-level dropdown\n\nUse this example to show multiple layers of dropdown menu by stacking them inside of each other.\n\n{{< example id=\"navbar-multi-dropdown-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900 dark:border-gray-700\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-multi-level\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-multi-level\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-multi-level\">\n      <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500 dark:bg-blue-600 md:dark:bg-transparent\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n            <button id=\"dropdownNavbarLink\" data-dropdown-toggle=\"dropdownNavbar\" class=\"flex items-center justify-between w-full py-2 px-3 text-gray-900 hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 md:w-auto dark:text-white md:dark:hover:text-blue-500 dark:focus:text-white dark:hover:bg-gray-700 md:dark:hover:bg-transparent\">Dropdown <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownNavbar\" class=\"z-10 hidden font-normal bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n                <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownLargeButton\">\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dashboard</a>\n                  </li>\n                  <li aria-labelledby=\"dropdownNavbarLink\">\n                    <button id=\"doubleDropdownButton\" data-dropdown-toggle=\"doubleDropdown\" data-dropdown-placement=\"right-start\" type=\"button\" class=\"flex items-center justify-between w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Dropdown<svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n                    <div id=\"doubleDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n                        <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"doubleDropdownButton\">\n                          <li>\n                            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Overview</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">My downloads</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Billing</a>\n                          </li>\n                          <li>\n                            <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Rewards</a>\n                          </li>\n                        </ul>\n                    </div>\n                  </li>\n                  <li>\n                    <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Earnings</a>\n                  </li>\n                </ul>\n                <div class=\"py-1\">\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n                </div>\n            </div>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Sticky navbar\n\nUse this example to keep the navbar positioned fixed to the top side as you scroll down the document page.\n\n{{< example id=\"navbar-sticky-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"480\" iframeMaxHeight=\"480\" skeletonPlaceholders=true >}}\n\n<nav class=\"bg-white dark:bg-gray-900 fixed w-full z-20 top-0 start-0 border-b border-gray-200 dark:border-gray-600\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"https://flowbite.com/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\">\n      <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n  </a>\n  <div class=\"flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Get started</button>\n      <button data-collapse-toggle=\"navbar-sticky\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-sticky\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-sticky\">\n    <ul class=\"flex flex-col p-4 md:p-0 mt-4 font-medium border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Navbar with submenu\n\nUse this example to show another subnav below the main navbar element.\n\n{{< example id=\"navbar-submenu-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <div class=\"flex items-center space-x-6 rtl:space-x-reverse\">\n            <a href=\"tel:5541251234\" class=\"text-sm  text-gray-500 dark:text-white hover:underline\">(555) 412-1234</a>\n            <a href=\"#\" class=\"text-sm  text-blue-600 dark:text-blue-500 hover:underline\">Login</a>\n        </div>\n    </div>\n</nav>\n<nav class=\"bg-gray-50 dark:bg-gray-700\">\n    <div class=\"max-w-screen-xl px-4 py-3 mx-auto\">\n        <div class=\"flex items-center\">\n            <ul class=\"flex flex-row font-medium mt-0 space-x-8 rtl:space-x-reverse text-sm\">\n                <li>\n                    <a href=\"#\" class=\"text-gray-900 dark:text-white hover:underline\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"text-gray-900 dark:text-white hover:underline\">Company</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"text-gray-900 dark:text-white hover:underline\">Team</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"text-gray-900 dark:text-white hover:underline\">Features</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Navbar with search\n\nUse this example of a navbar element to also show a search input element that you can integrate for a site-wide search.\n\n{{< example id=\"navbar-search-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n  </a>\n  <div class=\"flex md:order-2\">\n    <button type=\"button\" data-collapse-toggle=\"navbar-search\" aria-controls=\"navbar-search\" aria-expanded=\"false\" class=\"md:hidden text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-2.5 me-1\">\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n      </svg>\n      <span class=\"sr-only\">Search</span>\n    </button>\n    <div class=\"relative hidden md:block\">\n      <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n        <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n        </svg>\n        <span class=\"sr-only\">Search icon</span>\n      </div>\n      <input type=\"text\" id=\"search-navbar\" class=\"block w-full p-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search...\">\n    </div>\n    <button data-collapse-toggle=\"navbar-search\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-search\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n  </div>\n    <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-search\">\n      <div class=\"relative mt-3 md:hidden\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n          <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n          </svg>\n        </div>\n        <input type=\"text\" id=\"search-navbar\" class=\"block w-full p-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search...\">\n      </div>\n      <ul class=\"flex flex-col p-4 md:p-0 mt-4 font-medium border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Navbar with CTA button\n\nUse the following navbar element to show a call to action button alongside the logo and page links.\n\n{{< example id=\"navbar-cta-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"300\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n  </a>\n  <div class=\"flex md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Get started</button>\n      <button data-collapse-toggle=\"navbar-cta\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-cta\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-cta\">\n    <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Language dropdown\n\nGet started with this example to show a language dropdown selector in the navbar component.\n\n{{< example id=\"navbar-language-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n  </a>\n  <div class=\"flex items-center md:order-2 space-x-1 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" data-dropdown-toggle=\"language-dropdown-menu\" class=\"inline-flex items-center font-medium justify-center px-4 py-2 text-sm text-gray-900 dark:text-white rounded-lg cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <svg class=\"w-5 h-5 rounded-full me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 3900 3900\"><path fill=\"#b22234\" d=\"M0 0h7410v3900H0z\"/><path d=\"M0 450h7410m0 600H0m0 600h7410m0 600H0m0 600h7410m0 600H0\" stroke=\"#fff\" stroke-width=\"300\"/><path fill=\"#3c3b6e\" d=\"M0 0h2964v2100H0z\"/><g fill=\"#fff\"><g id=\"d\"><g id=\"c\"><g id=\"e\"><g id=\"b\"><path id=\"a\" d=\"M247 90l70.534 217.082-184.66-134.164h228.253L176.466 307.082z\"/><use xlink:href=\"#a\" y=\"420\"/><use xlink:href=\"#a\" y=\"840\"/><use xlink:href=\"#a\" y=\"1260\"/></g><use xlink:href=\"#a\" y=\"1680\"/></g><use xlink:href=\"#b\" x=\"247\" y=\"210\"/></g><use xlink:href=\"#c\" x=\"494\"/></g><use xlink:href=\"#d\" x=\"988\"/><use xlink:href=\"#c\" x=\"1976\"/><use xlink:href=\"#e\" x=\"2470\"/></g></svg>\n        English (US)\n      </button>\n      <!-- Dropdown -->\n      <div class=\"z-50 hidden my-4 text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700\" id=\"language-dropdown-menu\">\n        <ul class=\"py-2 font-medium\" role=\"none\">\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-us\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\"><g stroke-width=\"1pt\"><path fill=\"#bd3d44\" d=\"M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/></g><path fill=\"#192f5d\" d=\"M0 0h98.8v70H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 21.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 38.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 35.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 52.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 49.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 66.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z\" transform=\"scale(3.9385)\"/></g></svg>              \n                English (US)\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-3.5 w-3.5 rounded-full me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-de\" viewBox=\"0 0 512 512\"><path fill=\"#ffce00\" d=\"M0 341.3h512V512H0z\"/><path d=\"M0 0h512v170.7H0z\"/><path fill=\"#d00\" d=\"M0 170.7h512v170.6H0z\"/></svg>\n                Deutsch\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-3.5 w-3.5 rounded-full me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-it\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\" stroke-width=\"1pt\"><path fill=\"#fff\" d=\"M0 0h512v512H0z\"/><path fill=\"#009246\" d=\"M0 0h170.7v512H0z\"/><path fill=\"#ce2b37\" d=\"M341.3 0H512v512H341.3z\"/></g></svg>              \n                Italiano\n              </div>\n            </a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n              <div class=\"inline-flex items-center\">\n                <svg class=\"h-3.5 w-3.5 rounded-full me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag-icon-css-cn\" viewBox=\"0 0 512 512\"><defs><path id=\"a\" fill=\"#ffde00\" d=\"M1-.3L-.7.8 0-1 .6.8-1-.3z\"/></defs><path fill=\"#de2910\" d=\"M0 0h512v512H0z\"/><use width=\"30\" height=\"20\" transform=\"matrix(76.8 0 0 76.8 128 128)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-121 142.6 -47) scale(25.5827)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-98.1 198 -82) scale(25.6)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-74 272.4 -114) scale(25.6137)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"matrix(16 -19.968 19.968 16 256 230.4)\" xlink:href=\"#a\"/></svg>\n                中文 (繁體)\n              </div>\n            </a>\n          </li>\n        </ul>\n      </div>\n      <button data-collapse-toggle=\"navbar-language\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-language\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-language\">\n    <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Pricing</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### User menu dropdown\n\nUse this example to create a navigation bar with a user profile or button to toggle a dropdown menu.\n\n{{< example id=\"navbar-user-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"380\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:bg-gray-900\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n  <a href=\"{{< param homepage >}}/\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n      <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n      <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n  </a>\n  <div class=\"flex items-center md:order-2 space-x-3 md:space-x-0 rtl:space-x-reverse\">\n      <button type=\"button\" class=\"flex text-sm bg-gray-800 rounded-full md:me-0 focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600\" id=\"user-menu-button\" aria-expanded=\"false\" data-dropdown-toggle=\"user-dropdown\" data-dropdown-placement=\"bottom\">\n        <span class=\"sr-only\">Open user menu</span>\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"user photo\">\n      </button>\n      <!-- Dropdown menu -->\n      <div class=\"z-50 hidden my-4 text-base list-none bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700 dark:divide-gray-600\" id=\"user-dropdown\">\n        <div class=\"px-4 py-3\">\n          <span class=\"block text-sm text-gray-900 dark:text-white\">Bonnie Green</span>\n          <span class=\"block text-sm  text-gray-500 truncate dark:text-gray-400\">name@flowbite.com</span>\n        </div>\n        <ul class=\"py-2\" aria-labelledby=\"user-menu-button\">\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Dashboard</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Settings</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Earnings</a>\n          </li>\n          <li>\n            <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Sign out</a>\n          </li>\n        </ul>\n      </div>\n      <button data-collapse-toggle=\"navbar-user\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-user\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n  </div>\n  <div class=\"items-center justify-between hidden w-full md:flex md:w-auto md:order-1\" id=\"navbar-user\">\n    <ul class=\"flex flex-col font-medium p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500\" aria-current=\"page\">Home</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">About</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Services</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Pricing</a>\n      </li>\n      <li>\n        <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n      </li>\n    </ul>\n  </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Mega menu navbar\n\nYou can also use the dropdown element inside a navigation bar and add a second level of navigation hierarchy, but make sure to use a `button` element.\n\n{{< example id=\"navbar-mega-menu\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"340\" >}}\n\n<nav class=\"bg-white border-gray-200 dark:border-gray-600 dark:bg-gray-900\">\n    <div class=\"flex flex-wrap justify-between items-center mx-auto max-w-screen-xl p-4\">\n        <a href=\"https://flowbite.com\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n            <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n            <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n        <button data-collapse-toggle=\"mega-menu-full\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"mega-menu-full\" aria-expanded=\"false\">\n            <span class=\"sr-only\">Open main menu</span>\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n            </svg>\n        </button>\n        <div id=\"mega-menu-full\" class=\"items-center justify-between font-medium hidden w-full md:flex md:w-auto md:order-1\">\n            <ul class=\"flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700\">\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\" aria-current=\"page\">Home</a>\n                </li>\n                <li>\n                    <button id=\"mega-menu-full-dropdown-button\" data-collapse-toggle=\"mega-menu-full-dropdown\" class=\"flex items-center justify-between w-full py-2 px-3 text-gray-900 rounded-sm md:w-auto hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-600 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Company <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Marketplace</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Resources</a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-blue-500 md:dark:hover:bg-transparent dark:border-gray-700\">Contact</a>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <div id=\"mega-menu-full-dropdown\" class=\"mt-1 border-gray-200 shadow-xs bg-gray-50 md:bg-white border-y dark:bg-gray-800 dark:border-gray-600\">\n        <div class=\"grid max-w-screen-xl px-4 py-5 mx-auto text-gray-900 dark:text-white sm:grid-cols-2 md:px-6\">\n            <ul>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n            <ul>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Online Stores</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Segmentation</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n                <li>\n                    <a href=\"#\" class=\"block p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700\">\n                        <div class=\"font-semibold\">Marketing CRM</div>\n                        <span class=\"text-sm text-gray-500 dark:text-gray-400\">Connect with third-party tools that you're already using.</span>\n                    </a>\n                </li>\n            </ul>\n        </div>\n    </div>\n</nav>\n{{< /example >}}\n\n##### Solid background\n\nUse this example to show a solid background for the navbar component instead of being transparent.\n\n{{< example id=\"navbar-solid-bg-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" >}}\n\n<nav class=\"border-gray-200 bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-solid-bg\" type=\"button\" class=\"inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-solid-bg\" aria-expanded=\"false\">\n        <span class=\"sr-only\">Open main menu</span>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n        </svg>\n    </button>\n    <div class=\"hidden w-full md:block md:w-auto\" id=\"navbar-solid-bg\">\n      <ul class=\"flex flex-col font-medium mt-4 rounded-lg bg-gray-50 md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 md:bg-transparent dark:bg-gray-800 md:dark:bg-transparent dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-white bg-blue-700 rounded-sm md:bg-transparent md:text-blue-700 md:dark:text-blue-500 dark:bg-blue-600 md:dark:bg-transparent\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 md:p-0 text-gray-900 rounded-sm hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### Hamburger menu\n\nAll of the navbar components from this page have a responsive hamburger menu included which by default appears when the screen goes below 768px in width based on the `md` utility class from Tailwind CSS.\n\nHere's an example where you can show the hamburger icon and the menu on all screen sizes.\n\n{{< example id=\"navbar-hamburger-example\" bodyClass=\"!p-0\" github=\"components/navbar.md\" show_dark=true iframeHeight=\"320\" >}}\n\n<nav class=\"border-gray-200 bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n  <div class=\"max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4\">\n    <a href=\"#\" class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8\" alt=\"Flowbite Logo\" />\n        <span class=\"self-center text-2xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n    </a>\n    <button data-collapse-toggle=\"navbar-hamburger\" type=\"button\" class=\"inline-flex items-center justify-center p-2 w-10 h-10 text-sm text-gray-500 rounded-lg hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\" aria-controls=\"navbar-hamburger\" aria-expanded=\"false\">\n      <span class=\"sr-only\">Open main menu</span>\n      <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 17 14\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h15M1 7h15M1 13h15\"/>\n      </svg>\n    </button>\n    <div class=\"hidden w-full\" id=\"navbar-hamburger\">\n      <ul class=\"flex flex-col font-medium mt-4 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-white bg-blue-700 rounded-sm dark:bg-blue-600\" aria-current=\"page\">Home</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Services</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 dark:text-gray-400 md:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white\">Pricing</a>\n        </li>\n        <li>\n          <a href=\"#\" class=\"block py-2 px-3 text-gray-900 rounded-sm hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Contact</a>\n        </li>\n      </ul>\n    </div>\n  </div>\n</nav>\n{{< /example >}}\n\n##### More examples\n\nYou can check out more navbar component examples from the following resources from Flowbite Blocks:\n\n-   [Headers for marketing](https://flowbite.com/blocks/marketing/header/)\n-   [Navbars for dashboard](https://flowbite.com/blocks/application/navbar/)\n-   [Application shell layouts](https://flowbite.com/blocks/application/shells/)\n\n##### JavaScript behaviour\n\nUse the **Collapse** class to create an object with a trigger and target element, where the target element will be collapsed or expanded based on the events dispatched on the trigger element. This can be used to toggle another element such as a dropdown menu or a hamburger navbar.\n\n###### Object parameters\n\nUse the object parameters from the Collapse object to set the trigger element, target element, and the options including callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the target element object that will be expanded or collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the trigger element that will expand or collapse the target element based on click event. \n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to override the default transition, duration, and timing function of the collapse animation.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these optional options for the Collapse object to set the transition, duration, and timing function types based on the utility classes from Tailwind CSS.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onCollapse</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onExpand</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been expanded.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has either been expanded or collapsed.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods on the Dismiss object to programmatically manipulate the behaviour.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">collapse()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object to hide the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">expand()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object to show the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the Collapse object toggle the current visibility of the target element.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnCollapse(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been collapsed.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnExpand(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been expanded.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function when the item has been toggled.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following example to learn how to initialize and use the methods of the **Collapse** object to manually expand and collapse elements on the page.\n\nFirst of all, you need to set the object parameters where the target element is required and the other two are optional.\n\n```javascript\n// set the target element that will be collapsed or expanded (eg. navbar menu)\nconst $targetEl = document.getElementById('targetEl');\n\n// optionally set a trigger element (eg. a button, hamburger icon)\nconst $triggerEl = document.getElementById('triggerEl');\n\n// optional options with default values and callback functions\nconst options = {\n    onCollapse: () => {\n        console.log('element has been collapsed');\n    },\n    onExpand: () => {\n        console.log('element has been expanded');\n    },\n    onToggle: () => {\n        console.log('element has been toggled');\n    },\n};\n\nconst instanceOptions = {\n  id: 'targetEl',\n  override: true\n};\n\n```\n\nNext step is to create a new instance of a Collapse object using the parameters we have set above.\n\n```javascript\nimport { Collapse } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: optional\n * options: optional\n */\nconst collapse = new Collapse($targetEl, $triggerEl, options, instanceOptions);\n```\n\nNow you can programmatically expand or collapse the target element using the methods of the Collapse object.\n\n```javascript\n// show the target element\ncollapse.expand();\n\n// hide the target element\ncollapse.collapse();\n\n// toggle the visibility of the target element\ncollapse.toggle();\n```\n\n###### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above. Please note that you should use the `hidden` class from Tailwind CSS to hide the target element by default.\n\n```html\n<button type=\"button\" id=\"triggerEl\" aria-expanded=\"false\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Trigger collapse</button>\n\n<!-- Target element -->\n<div id=\"targetEl\" class=\"hidden\">\n    <ul\n        class=\"w-48 rounded-lg  border border-gray-200 bg-white text-sm text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white\"\n    >\n        <li\n            class=\"w-full rounded-t-lg border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Profile\n        </li>\n        <li\n            class=\"w-full border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Settings\n        </li>\n        <li\n            class=\"w-full border-b border-gray-200 px-4 py-2 dark:border-gray-600\"\n        >\n            Messages\n        </li>\n        <li class=\"w-full rounded-b-lg px-4 py-2\">Download</li>\n    </ul>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Collapse object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Collapse } from 'flowbite';\nimport type { CollapseOptions, CollapseInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element that will be collapsed or expanded (eg. navbar menu)\nconst $targetEl: HTMLElement = document.getElementById('targetEl');\n\n// optionally set a trigger element (eg. a button, hamburger icon)\nconst $triggerEl: HTMLElement = document.getElementById('triggerEl');\n\n// optional options with default values and callback functions\nconst options: CollapseOptions = {\n    onCollapse: () => {\n        console.log('element has been collapsed');\n    },\n    onExpand: () => {\n        console.log('element has been expanded');\n    },\n    onToggle: () => {\n        console.log('element has been toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'targetEl',\n  override: true\n};\n\n/*\n * $targetEl: required\n * $triggerEl: optional\n * options: optional\n * instanceOptions: optional\n */\nconst collapse: CollapseInterface = new Collapse(\n    $targetEl,\n    $triggerEl,\n    options,\n    instanceOptions\n);\n\n// show the target element\ncollapse.expand();\n```\n\n#### Pagination\n\nThe pagination component can be used to navigate across a series of content and data sets for various pages such as blog posts, products, and more. You can use multiple variants of this component with or without icons and even for paginating table data entries.\n\n##### Default pagination\n\nUse the following list of pagination items based on two sizes powered by Tailwind CSS utility classes to indicate a series of content for your website.\n\n{{< example id=\"default-pagination-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"inline-flex -space-x-px text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 ms-0 leading-tight text-gray-500 bg-white border border-e-0 border-gray-300 rounded-s-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center px-3 h-8 text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Next</a>\n    </li>\n  </ul>\n</nav>\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"inline-flex -space-x-px text-base h-10\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 ms-0 leading-tight text-gray-500 bg-white border border-e-0 border-gray-300 rounded-s-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Previous</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center px-4 h-10 text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Next</a>\n    </li>\n  </ul>\n</nav>\n{{< /example >}}\n\n##### Pagination with icons\n\nThe following pagination component example shows how you can use [SVG icons](https://flowbite.com/icons/) instead of text to show the previous and next pages.\n\n{{< example id=\"pagination-icons-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex items-center -space-x-px h-8 text-sm\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 ms-0 leading-tight text-gray-500 bg-white border border-e-0 border-gray-300 rounded-s-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <span class=\"sr-only\">Previous</span>\n        <svg class=\"w-2.5 h-2.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n        </svg>\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <span class=\"sr-only\">Next</span>\n        <svg class=\"w-2.5 h-2.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </li>\n  </ul>\n</nav>\n<nav aria-label=\"Page navigation example\">\n  <ul class=\"flex items-center -space-x-px h-10 text-base\">\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 ms-0 leading-tight text-gray-500 bg-white border border-e-0 border-gray-300 rounded-s-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <span class=\"sr-only\">Previous</span>\n        <svg class=\"w-3 h-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 1 1 5l4 4\"/>\n        </svg>\n      </a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">1</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">2</a>\n    </li>\n    <li>\n      <a href=\"#\" aria-current=\"page\" class=\"z-10 flex items-center justify-center px-4 h-10 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white\">3</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">4</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">5</a>\n    </li>\n    <li>\n      <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <span class=\"sr-only\">Next</span>\n        <svg class=\"w-3 h-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </li>\n  </ul>\n</nav>\n{{< /example >}}\n\n##### Previous and next\n\nUse the following markup to show simple previous and next elements.\n\n{{< example id=\"pagination-prev-next-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 ms-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Next\n  </a>\n</div>\n\n<div class=\"flex\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Previous\n  </a>\n\n  <!-- Next Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 ms-3 text-base font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Next\n  </a>\n</div>\n{{< /example >}}\n\n##### Previous and next with icons\n\nUse the following code to show simple previous and next elements with icons.\n\n{{< example id=\"pagination-prev-next-icons-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 me-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    <svg class=\"w-3.5 h-3.5 me-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n    </svg>\n    Previous\n  </a>\n  <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Next\n    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n    </svg>\n  </a>\n</div>\n<div class=\"flex\">\n  <!-- Previous Button -->\n  <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 me-3 text-base font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    <svg class=\"w-3.5 h-3.5 me-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n    </svg>\n    Previous\n  </a>\n  <a href=\"#\" class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-gray-500 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n    Next\n    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n    </svg>\n  </a>\n</div>\n{{< /example >}}\n\n##### Table data pagination\n\nYou can use the following markup to show the number of data shown inside a table element and also the previous and next action buttons.\n\n{{< example id=\"pagination-table-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-gray-600 dark:text-gray-400\">\n      Showing <span class=\"font-semibold text-gray-900 dark:text-white\">1</span> to <span class=\"font-semibold text-gray-900 dark:text-white\">10</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-2 xs:mt-0\">\n      <button class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-white bg-gray-800 rounded-s hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n          Prev\n      </button>\n      <button class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n          Next\n      </button>\n  </div>\n</div>\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-gray-600 dark:text-gray-400\">\n      Showing <span class=\"font-semibold text-gray-900 dark:text-white\">1</span> to <span class=\"font-semibold text-gray-900 dark:text-white\">10</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">100</span> Entries\n  </span>\n  <!-- Buttons -->\n  <div class=\"inline-flex mt-2 xs:mt-0\">\n      <button class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-white bg-gray-800 rounded-s hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n          Prev\n      </button>\n      <button class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n          Next\n      </button>\n  </div>\n</div>\n{{< /example >}}\n\n##### Table data pagination with icons\n\nYou can use the following code to show the number of data shown inside a table element and also the previous and next action buttons coupled with icons.\n\n{{< example id=\"pagination-table-icons-example\" class=\"flex flex-col space-y-4 items-center justify-center\" github=\"components/pagination.md\" show_dark=true >}}\n\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-gray-600 dark:text-gray-400\">\n      Showing <span class=\"font-semibold text-gray-900 dark:text-white\">1</span> to <span class=\"font-semibold text-gray-900 dark:text-white\">10</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">100</span> Entries\n  </span>\n  <div class=\"inline-flex mt-2 xs:mt-0\">\n    <!-- Buttons -->\n    <button class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-white bg-gray-800 rounded-s hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <svg class=\"w-3.5 h-3.5 me-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n        </svg>\n        Prev\n    </button>\n    <button class=\"flex items-center justify-center px-3 h-8 text-sm font-medium text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        Next\n        <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n      </svg>\n    </button>\n  </div>\n</div>\n<div class=\"flex flex-col items-center\">\n  <!-- Help text -->\n  <span class=\"text-sm text-gray-600 dark:text-gray-400\">\n      Showing <span class=\"font-semibold text-gray-900 dark:text-white\">1</span> to <span class=\"font-semibold text-gray-900 dark:text-white\">10</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">100</span> Entries\n  </span>\n  <div class=\"inline-flex mt-2 xs:mt-0\">\n    <!-- Buttons -->\n    <button class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-white bg-gray-800 rounded-s hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        <svg class=\"w-3.5 h-3.5 me-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5H1m0 0 4 4M1 5l4-4\"/>\n        </svg>\n        Prev\n    </button>\n    <button class=\"flex items-center justify-center px-4 h-10 text-base font-medium text-white bg-gray-800 border-0 border-s border-gray-700 rounded-e hover:bg-gray-900 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">\n        Next\n        <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n      </svg>\n    </button>\n  </div>\n</div>\n{{< /example >}}\n\n#### Popover\n\nGet started with the popover component to show any type of content inside a pop-up box when hovering or clicking over a trigger element. There are multiple examples that you can choose from, such as showing more information about a user profile, company profile, password strength, and more.\n\nMake sure that you have the Flowbite JavaScript included in your project to enable the popover interactivity by following the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a>.\n\n##### Default popover\n\nInitialize a new popover by adding the `data-popover-target=\"{elementId}\"` data attribute to the trigger element where `elementId` is the id of the popover component.\n\n{{< example id=\"default-popover-example\" class=\"flex justify-center pt-24\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-default\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default popover</button>\n\n<div data-popover id=\"popover-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover title</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### User profile\n\nUse this example to show more information about a user profile when hovering over the trigger component.\n\n{{< example id=\"popover-user-profile-example\" class=\"flex justify-center pt-52\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-user-profile\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">User profile</button>\n\n<div data-popover id=\"popover-user-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:bg-gray-800 dark:border-gray-600\">\n    <div class=\"p-3\">\n        <div class=\"flex items-center justify-between mb-2\">\n            <a href=\"#\">\n                <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos\">\n            </a>\n            <div>\n                <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-xs px-3 py-1.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Follow</button>\n            </div>\n        </div>\n        <p class=\"text-base font-semibold leading-none text-gray-900 dark:text-white\">\n            <a href=\"#\">Jese Leos</a>\n        </p>\n        <p class=\"mb-3 text-sm font-normal\">\n            <a href=\"#\" class=\"hover:underline\">@jeseleos</a>\n        </p>\n        <p class=\"mb-4 text-sm\">Open-source contributor. Building <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">flowbite.com</a>.</p>\n        <ul class=\"flex text-sm\">\n            <li class=\"me-2\">\n                <a href=\"#\" class=\"hover:underline\">\n                    <span class=\"font-semibold text-gray-900 dark:text-white\">799</span>\n                    <span>Following</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"hover:underline\">\n                    <span class=\"font-semibold text-gray-900 dark:text-white\">3,758</span>\n                    <span>Followers</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Company profile\n\nThis example can be used to show more information about a company profile.\n\n{{< example id=\"popover-company-profile-example\" class=\"flex justify-center pt-80\" github=\"components/popover.md\" disable_init_js=true show_dark=true >}}\n<button data-popover-target=\"popover-company-profile\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Company profile</button>\n\n<div data-popover id=\"popover-company-profile\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-80 dark:text-gray-400 dark:bg-gray-800 dark:border-gray-600\">\n    <div class=\"p-3\">\n        <div class=\"flex\">\n            <div class=\"me-3 shrink-0\">\n                <a href=\"#\" class=\"block p-2 bg-gray-100 rounded-lg dark:bg-gray-700\">\n                <img class=\"w-8 h-8 rounded-full\" src=\"https://flowbite.com/docs/images/logo.svg\" alt=\"Flowbite logo\">\n            </a>\n            </div>\n            <div>\n                <p class=\"mb-1 text-base font-semibold leading-none text-gray-900 dark:text-white\">\n                    <a href=\"#\" class=\"hover:underline\">Flowbite</a>\n                </p>\n                <p class=\"mb-3 text-sm font-normal\">\n                    Tech company\n                </p>\n                <p class=\"mb-4 text-sm\">Open-source library of Tailwind CSS components and Figma design system.</p>\n                <ul class=\"text-sm\">\n                    <li class=\"flex items-center mb-2\">\n                        <span class=\"me-2 font-semibold text-gray-400\">\n                            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 21 20\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6.487 1.746c0 4.192 3.592 1.66 4.592 5.754 0 .828 1 1.5 2 1.5s2-.672 2-1.5a1.5 1.5 0 0 1 1.5-1.5h1.5m-16.02.471c4.02 2.248 1.776 4.216 4.878 5.645C10.18 13.61 9 19 9 19m9.366-6h-2.287a3 3 0 0 0-3 3v2m6-8a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z\"/>\n                            </svg>\n                        </span>\n                        <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">https://flowbite.com/</a>\n                    </li>\n                    <li class=\"flex items-start mb-2\">\n                        <span class=\"me-2 font-semibold text-gray-400\">\n                            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                                <path d=\"M17.947 2.053a5.209 5.209 0 0 0-3.793-1.53A6.414 6.414 0 0 0 10 2.311 6.482 6.482 0 0 0 5.824.5a5.2 5.2 0 0 0-3.8 1.521c-1.915 1.916-2.315 5.392.625 8.333l7 7a.5.5 0 0 0 .708 0l7-7a6.6 6.6 0 0 0 2.123-4.508 5.179 5.179 0 0 0-1.533-3.793Z\"/>\n                            </svg>\n                        </span>\n                        <span class=\"-mt-1\">4,567,346 people like this including 5 of your friends</span>\n                    </li>\n                </ul>\n                <div class=\"flex mb-3 -space-x-3 rtl:space-x-reverse\">\n                    <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n                    <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n                    <img class=\"w-8 h-8 border-2 border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n                    <a class=\"flex items-center justify-center w-8 h-8 text-xs font-medium text-white bg-gray-400 border-2 border-white rounded-full hover:bg-gray-500 dark:border-gray-800\" href=\"#\">+3</a>\n                </div>\n                <div class=\"flex\">\n                    <button type=\"button\" class=\"inline-flex items-center justify-center w-full px-5 py-2 me-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\"><svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n    <path d=\"M3 7H1a1 1 0 0 0-1 1v8a2 2 0 0 0 4 0V8a1 1 0 0 0-1-1Zm12.954 0H12l1.558-4.5a1.778 1.778 0 0 0-3.331-1.06A24.859 24.859 0 0 1 6 6.8v9.586h.114C8.223 16.969 11.015 18 13.6 18c1.4 0 1.592-.526 1.88-1.317l2.354-7A2 2 0 0 0 15.954 7Z\"/>\n  </svg>Like page</button>\n                    <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown-menu\" data-dropdown-placement=\"right\" class=\"inline-flex items-center px-3 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg shrink-0 focus:outline-none hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\" type=\"button\"> \n                        <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n                            <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n                        </svg>\n                    </button>\n                </div>\n                <div id=\"dropdown-menu\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n                    <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-button\">\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Report this page</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Add to favorites</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Block this page</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Invite users</a>\n                    </li>\n                    </ul>\n                </div>\n            </div>\n        </div>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Image popover\n\nUse this example to trigger a popover component with detailed information and an image when hovering over a portion of highlighted text inspired by Wikipedia and other large news outlets.\n\n{{< example id=\"popover-image-example\" class=\"flex justify-center pt-64\" github=\"components/popover.md\" show_dark=true >}}\n\n<p class=\"text-gray-500 dark:text-gray-400\">Due to its central geographic location in Southern Europe, <a href=\"#\" class=\"text-blue-600 underline dark:text-blue-500 hover:no-underline\" data-popover-target=\"popover-image\">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>\n<div data-popover id=\"popover-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-96 dark:text-gray-400 dark:bg-gray-800 dark:border-gray-600\">\n    <div class=\"grid grid-cols-5\">\n        <div class=\"col-span-3 p-3\">\n            <div class=\"space-y-2\">\n                <h3 class=\"font-semibold text-gray-900 dark:text-white\">About Italy</h3>\n                <p>Italy is located in the middle of the Mediterranean Sea, in Southern Europe it is also considered part of Western Europe. A unitary parliamentary republic with Rome as its capital and largest city.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n  </svg></a>\n            </div>\n        </div>\n        <img src=\"/docs/images/popovers/italy.png\" class=\"h-full col-span-2\" alt=\"Italy map\" />\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Description popover\n\nShow helpful information inside a popover when hovering over a question mark button.\n\n{{< example id=\"popover-description-example\" class=\"pb-96\" github=\"components/popover.md\" show_dark=true >}}\n\n<p class=\"flex items-center text-sm text-gray-500 dark:text-gray-400\">This is just some informational text <button data-popover-target=\"popover-description\" data-popover-placement=\"bottom-end\" type=\"button\"><svg class=\"w-4 h-4 ms-2 text-gray-400 hover:text-gray-500\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg><span class=\"sr-only\">Show information</span></button></p>\n<div data-popover id=\"popover-description\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n    <div class=\"p-3 space-y-2\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Activity growth - Incremental</h3>\n        <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n        <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n        <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n  </svg></a>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Progress popover\n\nShow a progress bar with details inside a popover when hovering over a settings button.\n\n{{< example id=\"popover-description-example\" class=\"flex justify-center pt-36\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-description\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 inline-flex items-center focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-2.5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"><svg class=\"w-4 h-4 me-2\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3 12v3c0 1.657 3.134 3 7 3s7-1.343 7-3v-3c0 1.657-3.134 3-7 3s-7-1.343-7-3z\"></path><path d=\"M3 7v3c0 1.657 3.134 3 7 3s7-1.343 7-3V7c0 1.657-3.134 3-7 3S3 8.657 3 7z\"></path><path d=\"M17 5c0 1.657-3.134 3-7 3S3 6.657 3 5s3.134-3 7-3 7 1.343 7 3z\"></path></svg> Storage status</button>\n\n<div data-popover id=\"popover-description\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n    <div class=\"p-3 space-y-2\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Available storage</h3>\n        <p>This server has <span class=\"font-semibold text-gray-900 dark:text-white\">30</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">150 GB</span> of block storage remaining.</p>\n        <div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n            <div class=\"bg-red-600 h-2.5 rounded-full\" style=\"width: 85%\"></div>\n        </div>\n        <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700\">Upgrade now <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n  </svg></a>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Password strength\n\nDynamically show the password strength progress when creating a new password positioned relative to the input element.\n\n{{< example id=\"popover-password-example\" class=\"pb-16\" github=\"components/popover.md\" show_dark=true >}}\n\n<form>\n  <div class=\"mb-6\">\n    <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n    <input type=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\" required />\n  </div>\n  <div class=\"mb-6\">\n    <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n    <input data-popover-target=\"popover-password\" data-popover-placement=\"bottom\" type=\"password\" id=\"password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required />\n    <div data-popover id=\"popover-password\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n        <div class=\"p-3 space-y-2\">\n            <h3 class=\"font-semibold text-gray-900 dark:text-white\">Must have at least 6 characters</h3>\n            <div class=\"grid grid-cols-4 gap-2\">\n                <div class=\"h-1 bg-orange-300 dark:bg-orange-400\"></div>\n                <div class=\"h-1 bg-orange-300 dark:bg-orange-400\"></div>\n                <div class=\"h-1 bg-gray-200 dark:bg-gray-600\"></div>\n                <div class=\"h-1 bg-gray-200 dark:bg-gray-600\"></div>\n            </div>\n            <p>It’s better to have:</p>\n            <ul>\n                <li class=\"flex items-center mb-1\">\n                    <svg class=\"w-3.5 h-3.5 me-2 text-green-400 dark:text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                    </svg>\n                    Upper & lower case letters\n                </li>\n                <li class=\"flex items-center mb-1\">\n                    <svg class=\"w-3 h-3 me-2.5 text-gray-300 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    A symbol (#$&)\n                </li>\n                <li class=\"flex items-center\">\n                    <svg class=\"w-3 h-3 me-2.5 text-gray-300 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    A longer password (min. 12 chars.)\n                </li>\n            </ul>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n  </div>\n  <div class=\"flex items-start mb-6\">\n    <div class=\"flex items-center h-5\">\n      <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800\" required />\n    </div>\n    <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Remember me</label>\n  </div>\n  <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Submit</button>\n</form>\n{{< /example >}}\n\n##### Placement\n\nSet the position of the popover component relative to the trigger element by using the `data-popover-placement=\"{top|right|bottom|left}\"` data attribute and its values.\n\n{{< example id=\"popover-placement-example\" class=\"flex flex-wrap justify-center py-24 space-x-4\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-top\" data-popover-placement=\"top\" type=\"button\" class=\"text-white mb-3 me-4 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Top popover</button>\n\n<div data-popover id=\"popover-top\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover top</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-right\" data-popover-placement=\"right\" type=\"button\" class=\"text-white mb-3 me-4 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Right popover</button>\n<div data-popover id=\"popover-right\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover right</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-bottom\" data-popover-placement=\"bottom\" type=\"button\" class=\"text-white mb-3 me-4 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Bottom popover</button>\n<div data-popover id=\"popover-bottom\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover bottom</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n<button data-popover-target=\"popover-left\" data-popover-placement=\"left\" type=\"button\" class=\"text-white mb-3 me-4 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Left popover</button>\n<div data-popover id=\"popover-left\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover left</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Triggering\n\nManually set the trigger event by adding the `data-popover-trigger=\"{hover|click}\"` data attribute to the trigger element choosing between a hover or click event. By default it is set to `hover`.\n\n{{< example id=\"popover-triggering-example\" class=\"flex justify-center pt-24\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-hover\" data-popover-trigger=\"hover\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-3 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Hover popover</button>\n\n<div data-popover id=\"popover-hover\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover hover</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n\n<button data-popover-target=\"popover-click\" data-popover-trigger=\"click\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Click popover</button>\n\n<div data-popover id=\"popover-click\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover click</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Offset\n\nIncrease or decrease the default offset by adding the `data-popover-offset=\"{offset}\"` data attribute where the value is an integer.\n\n{{< example id=\"popover-offset-example\" class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-offset\" data-popover-offset=\"30\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Offset popover</button>\n\n<div data-popover id=\"popover-offset\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover offset</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Animation\n\nCustomize the animation of the popover component by using the utility classes from Tailwind CSS such as `transition-opacity` and `duration-{x}`.\n\n{{< example id=\"popover-animation-example\" class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-animation\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Animated popover</button>\n\n<div data-popover id=\"popover-animation\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover animation</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Disable arrow\n\nYou can also disable the popover arrow by not including the `data-popper-arrow` element.\n\n{{< example id=\"popover-disable-arrow-example\" class=\"flex justify-center pt-32\" github=\"components/popover.md\" show_dark=true >}}\n<button data-popover-target=\"popover-no-arrow\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default popover</button>\n\n<div data-popover id=\"popover-no-arrow\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-64 text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 dark:text-gray-400 dark:border-gray-600 dark:bg-gray-800\">\n    <div class=\"px-3 py-2 bg-gray-100 border-b border-gray-200 rounded-t-lg dark:border-gray-600 dark:bg-gray-700\">\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">Popover no arrow</h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nThe Popover API from Flowbite can be used to create an object that will show a pop-up box relative to the main trigger element based on the parameters, options, and methods that you provide.\n\n###### Object parameters\n\nCreate a new Popover object with the object parameters like the trigger element, the popover content element, and extra options to set the placement and offset.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the popover component as the target element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an element to trigger the popover when clicking or hovering (ie. a button, text).\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the positioning of the popover element, trigger type, offset, and more.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the third parameter for the Popover object to set the positioning, offset, and the trigger type (hover or click).\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">placement</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the popover element relative to the trigger element choosing from <code class=\"text-purple-600 dark:text-purple-400\">top|right|bottom|left</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the popover content choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">offset</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Integer\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the offset distance between the popover and the trigger element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover is shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the popover visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the methods from the Popover object to programmatically show or hide the popover from directly JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to show the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to hide the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Popover object to toggle the visibility of the popover content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">isVisible()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this function to check if the popover is visible or not.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the popover has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nUse following JavaScript as an example to learn how to initialize, set the options, and use the methods for the Popover object.\n\nFirst of all, set the target element as the popover itself and the trigger element which can be a button or text element.\n\nAfter that you can also set the options object to change the placement and trigger type of the popover, alongside with the callback functions.\n\n```javascript\n// set the popover content element\nconst $targetEl = document.getElementById('popoverContent');\n\n// set the element that trigger the popover using hover or click\nconst $triggerEl = document.getElementById('popoverButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'hover',\n    offset: 10,\n    onHide: () => {\n        console.log('popover is shown');\n    },\n    onShow: () => {\n        console.log('popover is hidden');\n    },\n    onToggle: () => {\n        console.log('popover is toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions = {\n  id: 'popoverContent',\n  override: true\n};\n```\n\nCreate a new Popover object based on the options above.\n\n```javascript\nimport { Popover } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst popover = new Popover($targetEl, $triggerEl, options, instanceOptions);\n```\n\nUse the `show` and `hide` methods on the Popover object to programmatically show and hide the popover element using JavaScript.\n\n```javascript\n// show the popover\npopover.show();\n\n// hide the popover\npopover.hide();\n\n// toggle the popover\npopover.toggle();\n\n// check if popover is visible\npopover.isVisible();\n\n// destroy popover object (removes event listeners and off-canvas Popper.js)\ntooltip.destroy();\n\n// re-initialize popover object\ntooltip.init();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<button\n    id=\"popoverButton\"\n    type=\"button\"\n    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n    Default popover\n</button>\n<div\n    data-popover\n    id=\"popoverContent\"\n    role=\"tooltip\"\n    class=\"invisible absolute z-10 inline-block w-64 rounded-lg border border-gray-200 bg-white text-sm text-gray-500 opacity-0 shadow-xs transition-opacity duration-300 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400\"\n>\n    <div\n        class=\"rounded-t-lg border-b border-gray-200 bg-gray-100 px-3 py-2 dark:border-gray-600 dark:bg-gray-700\"\n    >\n        <h3 class=\"font-semibold text-gray-900 dark:text-white\">\n            Popover title\n        </h3>\n    </div>\n    <div class=\"px-3 py-2\">\n        <p>And here's some amazing content. It's very engaging. Right?</p>\n    </div>\n    <div data-popper-arrow></div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Popover class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Popover } from 'flowbite';\nimport type { PopoverOptions, PopoverInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the popover content element\nconst $targetEl: HTMLElement = document.getElementById('popoverContent');\n\n// set the element that trigger the popover using hover or click\nconst $triggerEl: HTMLElement = document.getElementById('popoverButton');\n\n// options with default values\nconst options: PopoverOptions = {\n    placement: 'top',\n    triggerType: 'hover',\n    offset: 10,\n    onHide: () => {\n        console.log('popover is shown');\n    },\n    onShow: () => {\n        console.log('popover is hidden');\n    },\n    onToggle: () => {\n        console.log('popover is toggled');\n    },\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'popoverContent',\n  override: true\n};\n\nif ($targetEl) {\n    /*\n     * targetEl: required\n     * triggerEl: required\n     * options: optional\n     * instanceOptions: optional\n     */\n    const popover: PopoverInterface = new Popover(\n        $targetEl,\n        $triggerEl,\n        options,\n        instanceOptions\n    );\n\n    popover.show();\n}\n```\n\n#### Progress bar\n\nThe progress bar component can be used as an indicator to show the completion rate of data sets or it can be used as an animated loader component. There are multiple sizes, colors, and styles available.\n\n##### Default progress bar\n\nUse the following example of a progress bar element to show a completion rate of 45% by using an inline style and the utility classes from Tailwind CSS.\n\n{{< example id=\"default-progress-example\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700\">\n  <div class=\"bg-blue-600 h-2.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nYou can also use different sizes by using various sizing utility classes from Flowbite and Tailwind CSS.\n\n{{< example id=\"progress-sizes-example\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"mb-1 text-base font-medium dark:text-white\">Small</div>\n<div class=\"w-full bg-gray-200 rounded-full h-1.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-blue-600 h-1.5 rounded-full dark:bg-blue-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium dark:text-white\">Default</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-blue-600 h-2.5 rounded-full dark:bg-blue-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-lg font-medium dark:text-white\">Large</div>\n<div class=\"w-full h-4 mb-4 bg-gray-200 rounded-full dark:bg-gray-700\">\n  <div class=\"h-4 bg-blue-600 rounded-full dark:bg-blue-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-lg font-medium dark:text-white\">Extra Large</div>\n<div class=\"w-full h-6 bg-gray-200 rounded-full dark:bg-gray-700\">\n  <div class=\"h-6 bg-blue-600 rounded-full dark:bg-blue-500\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n##### With label inside\n\nHere is an example of using a progress bar with the label inside the bar.\n\n{{< example id=\"progress-label-example\" github=\"components/progress.md\" show_dark=true >}}\n  <div class=\"w-full bg-gray-200 rounded-full dark:bg-gray-700\">\n    <div class=\"bg-blue-600 text-xs font-medium text-blue-100 text-center p-0.5 leading-none rounded-full\" style=\"width: 45%\"> 45%</div>\n  </div>\n{{< /example >}}\n\n##### With label outside\n\nAnd this is an example of using a progress bar outside the bar.\n\n{{< example id=\"progress-label-outside-example\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"flex justify-between mb-1\">\n  <span class=\"text-base font-medium text-blue-700 dark:text-white\">Flowbite</span>\n  <span class=\"text-sm font-medium text-blue-700 dark:text-white\">45%</span>\n</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700\">\n  <div class=\"bg-blue-600 h-2.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n##### Colors\n\nYou can also apply any color using the `bg-{color}` utility classes from Tailwind CSS and Flowbite.\n\n{{< example id=\"progress-colors-example\" github=\"components/progress.md\" show_dark=true >}}\n<div class=\"mb-1 text-base font-medium dark:text-white\">Dark</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-gray-600 h-2.5 rounded-full dark:bg-gray-300\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-blue-700 dark:text-blue-500\">Blue</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-blue-600 h-2.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-red-700 dark:text-red-500\">Red</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-red-600 h-2.5 rounded-full dark:bg-red-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-green-700 dark:text-green-500\">Green</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-green-600 h-2.5 rounded-full dark:bg-green-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-yellow-700 dark:text-yellow-500\">Yellow</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-yellow-400 h-2.5 rounded-full\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-indigo-700 dark:text-indigo-500\">Indigo</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 mb-4 dark:bg-gray-700\">\n  <div class=\"bg-indigo-600 h-2.5 rounded-full dark:bg-indigo-500\" style=\"width: 45%\"></div>\n</div>\n<div class=\"mb-1 text-base font-medium text-purple-700 dark:text-purple-500\">Purple</div>\n<div class=\"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700\">\n  <div class=\"bg-purple-600 h-2.5 rounded-full dark:bg-purple-500\" style=\"width: 45%\"></div>\n</div>\n{{< /example >}}\n\n#### Rating\n\nGet started with the rating component to show an aggregate of reviews and scores in the forms of stars or numbers using the utility classes from Tailwind CSS and components from Flowbite.\n\nYou can find multiple examples on this page including different styles, sizes, and variants of the rating component and other associated elements such as a comment or card.\n\n##### Default rating\n\nUse this simple example of a star rating component for showing review results.\n\n{{< example id=\"default-rating-example\" class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center\">\n    <svg class=\"w-4 h-4 text-yellow-300 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 ms-1 text-gray-300 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n</div>\n{{< /example >}}\n\n##### Rating with text\n\nIf you also want to show a text near the stars you can use this example as a reference.\n\n{{< example id=\"rating-text-example\" class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center\">\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-gray-300 me-1 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">4.95</p>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">out of</p>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">5</p>\n</div>\n{{< /example >}}\n\n##### Rating count\n\nAggregate more results by using this example to show the amount of reviews and the average score.\n\n{{< example id=\"rating-count-example\" class=\"flex justify-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center\">\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <p class=\"ms-2 text-sm font-bold text-gray-900 dark:text-white\">4.95</p>\n    <span class=\"w-1 h-1 mx-1.5 bg-gray-500 rounded-full dark:bg-gray-400\"></span>\n    <a href=\"#\" class=\"text-sm font-medium text-gray-900 underline hover:no-underline dark:text-white\">73 reviews</a>\n</div>\n{{< /example >}}\n\n##### Star sizes\n\nCheck out the different sizing options for the star review component from small, medium, and large.\n\n{{< example id=\"rating-star-sizes-example\" class=\"flex flex-col items-center\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center mb-5\">\n    <svg class=\"w-4 h-4 ms-1 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 ms-1 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 ms-1 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 ms-1 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 ms-1 text-gray-300 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n</div>\n<div class=\"flex items-center  mb-5\">\n    <svg class=\"w-6 h-6 ms-2 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-6 h-6 ms-2 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-6 h-6 ms-2 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-6 h-6 ms-2 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-6 h-6 ms-2 text-gray-300 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n</div>\n<div class=\"flex items-center\">\n    <svg class=\"w-8 h-8 ms-3 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-8 h-8 ms-3 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-8 h-8 ms-3 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-8 h-8 ms-3 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-8 h-8 ms-3 text-gray-300 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n</div>\n{{< /example >}}\n\n##### Advanced rating\n\nThis advanced rating component can be used to also show how many reviews have been posted for each star rating (eg. 4% for the 2 star ratings, 17% for 4 star rating etc).\n\n{{< example id=\"rating-advanced-example\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center mb-2\">\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-yellow-300 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <svg class=\"w-4 h-4 text-gray-300 me-1 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n        <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n    </svg>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">4.95</p>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">out of</p>\n    <p class=\"ms-1 text-sm font-medium text-gray-500 dark:text-gray-400\">5</p>\n</div>\n<p class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">1,745 global ratings</p>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline\">5 star</a>\n    <div class=\"w-2/4 h-5 mx-4 bg-gray-200 rounded-sm dark:bg-gray-700\">\n        <div class=\"h-5 bg-yellow-300 rounded-sm\" style=\"width: 70%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">70%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline\">4 star</a>\n    <div class=\"w-2/4 h-5 mx-4 bg-gray-200 rounded-sm dark:bg-gray-700\">\n        <div class=\"h-5 bg-yellow-300 rounded-sm\" style=\"width: 17%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">17%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline\">3 star</a>\n    <div class=\"w-2/4 h-5 mx-4 bg-gray-200 rounded-sm dark:bg-gray-700\">\n        <div class=\"h-5 bg-yellow-300 rounded-sm\" style=\"width: 8%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline\">2 star</a>\n    <div class=\"w-2/4 h-5 mx-4 bg-gray-200 rounded-sm dark:bg-gray-700\">\n        <div class=\"h-5 bg-yellow-300 rounded-sm\" style=\"width: 4%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">4%</span>\n</div>\n<div class=\"flex items-center mt-4\">\n    <a href=\"#\" class=\"text-sm font-medium text-blue-600 dark:text-blue-500 hover:underline\">1 star</a>\n    <div class=\"w-2/4 h-5 mx-4 bg-gray-200 rounded-sm dark:bg-gray-700\">\n        <div class=\"h-5 bg-yellow-300 rounded-sm\" style=\"width: 1%\"></div>\n    </div>\n    <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">1%</span>\n</div>   \n{{< /example >}}\n\n##### Score rating\n\nThis component can be used to break up a general rating score into multiple categories using progress bars.\n\n{{< example id=\"rating-score-example\" github=\"components/rating.md\" show_dark=true >}}\n\n<div class=\"flex items-center mb-5\">\n    <p class=\"bg-blue-100 text-blue-800 text-sm font-semibold inline-flex items-center p-1.5 rounded-sm dark:bg-blue-200 dark:text-blue-800\">8.7</p>\n    <p class=\"ms-2 font-medium text-gray-900 dark:text-white\">Excellent</p>\n    <span class=\"w-1 h-1 mx-2 bg-gray-900 rounded-full dark:bg-gray-500\"></span>\n    <p class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">376 reviews</p>\n    <a href=\"#\" class=\"ms-auto text-sm font-medium text-blue-600 hover:underline dark:text-blue-500\">Read all reviews</a>\n</div>\n<div class=\"gap-8 sm:grid sm:grid-cols-2\">\n    <div>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Staff</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 88%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8.8</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Comfort</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8.9</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Free WiFi</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 88%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8.8</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Facilities</dt>\n            <dd class=\"flex items-center\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 54%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">5.4</span>\n            </dd>\n        </dl>\n    </div>\n    <div>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Value for money</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8.9</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Cleanliness</dt>\n            <dd class=\"flex items-center mb-3\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 70%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">7.0</span>\n            </dd>\n        </dl>\n        <dl>\n            <dt class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">Location</dt>\n            <dd class=\"flex items-center\">\n                <div class=\"w-full bg-gray-200 rounded-sm h-2.5 dark:bg-gray-700 me-2\">\n                    <div class=\"bg-blue-600 h-2.5 rounded-sm dark:bg-blue-500\" style=\"width: 89%\"></div>\n                </div>\n                <span class=\"text-sm font-medium text-gray-500 dark:text-gray-400\">8.9</span>\n            </dd>\n        </dl>\n    </div>\n</div>\n{{< /example >}}\n\n##### Rating comment\n\nUse this component to show a single rating comment and its score alongside other components such as the user profile avatar, name, post date, and more.\n\n{{< example id=\"rating-comment-example\" github=\"components/rating.md\" show_dark=true >}}\n\n<article>\n    <div class=\"flex items-center mb-4\">\n        <img class=\"w-10 h-10 me-4 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n        <div class=\"font-medium dark:text-white\">\n            <p>Jese Leos <time datetime=\"2014-08-16 19:00\" class=\"block text-sm text-gray-500 dark:text-gray-400\">Joined on August 2014</time></p>\n        </div>\n    </div>\n    <div class=\"flex items-center mb-1 space-x-1 rtl:space-x-reverse\">\n        <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-4 h-4 text-yellow-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-4 h-4 text-gray-300 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <h3 class=\"ms-2 text-sm font-semibold text-gray-900 dark:text-white\">Thinking to buy another one!</h3>\n    </div>\n    <footer class=\"mb-5 text-sm text-gray-500 dark:text-gray-400\"><p>Reviewed in the United Kingdom on <time datetime=\"2017-03-03 19:00\">March 3, 2017</time></p></footer>\n    <p class=\"mb-2 text-gray-500 dark:text-gray-400\">This is my third Invicta Pro Diver. They are just fantastic value for money. This one arrived yesterday and the first thing I did was set the time, popped on an identical strap from another Invicta and went in the shower with it to test the waterproofing.... No problems.</p>\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">It is obviously not the same build quality as those very expensive watches. But that is like comparing a Citroën to a Ferrari. This watch was well under £100! An absolute bargain.</p>\n    <a href=\"#\" class=\"block mb-5 text-sm font-medium text-blue-600 hover:underline dark:text-blue-500\">Read more</a>\n    <aside>\n        <p class=\"mt-1 text-xs text-gray-500 dark:text-gray-400\">19 people found this helpful</p>\n        <div class=\"flex items-center mt-3\">\n            <a href=\"#\" class=\"px-2 py-1.5 text-xs font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Helpful</a>\n            <a href=\"#\" class=\"ps-4 text-sm font-medium text-blue-600 hover:underline dark:text-blue-500 border-gray-200 ms-4 border-s md:mb-0 dark:border-gray-600\">Report abuse</a>\n        </div>\n    </aside>\n</article>\n{{< /example >}}\n\n##### Review content\n\nUse this component to show the review content from a user alongside the avatar, location, details, and the score inside a card element.\n\n{{< example id=\"rating-review-example\" github=\"components/rating.md\" show_dark=true >}}\n\n<article class=\"md:gap-8 md:grid md:grid-cols-3\">\n    <div>\n        <div class=\"flex items-center mb-6\">\n            <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n            <div class=\"ms-4 font-medium dark:text-white\">\n                <p>Jese Leos</p>\n                <div class=\"flex items-center text-sm text-gray-500 dark:text-gray-400\">\n                    <svg aria-hidden=\"true\" class=\"w-5 me-1.5\" viewBox=\"0 0 18 13\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.0531311\" width=\"17\" height=\"12.1429\" rx=\"2\" fill=\"white\"/><mask id=\"mask0_3885_33060\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"18\" height=\"13\"><rect x=\"0.0531311\" width=\"17\" height=\"12.1429\" rx=\"2\" fill=\"white\"/></mask><g mask=\"url(#mask0_3885_33060)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M17.0531 0H0.0531311V0.809524H17.0531V0ZM17.0531 1.61905H0.0531311V2.42857H17.0531V1.61905ZM0.0531311 3.2381H17.0531V4.04762H0.0531311V3.2381ZM17.0531 4.85714H0.0531311V5.66667H17.0531V4.85714ZM0.0531311 6.47619H17.0531V7.28572H0.0531311V6.47619ZM17.0531 8.09524H0.0531311V8.90476H17.0531V8.09524ZM0.0531311 9.71429H17.0531V10.5238H0.0531311V9.71429ZM17.0531 11.3333H0.0531311V12.1429H17.0531V11.3333Z\" fill=\"#D02F44\"/><rect x=\"0.0531311\" width=\"7.28571\" height=\"5.66667\" fill=\"#46467F\"/><g filter=\"url(#filter0_d_3885_33060)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1.67216 1.21427C1.67216 1.43782 1.49095 1.61903 1.2674 1.61903C1.04386 1.61903 0.86264 1.43782 0.86264 1.21427C0.86264 0.990727 1.04386 0.809509 1.2674 0.809509C1.49095 0.809509 1.67216 0.990727 1.67216 1.21427ZM3.29121 1.21427C3.29121 1.43782 3.10999 1.61903 2.88645 1.61903C2.66291 1.61903 2.48169 1.43782 2.48169 1.21427C2.48169 0.990727 2.66291 0.809509 2.88645 0.809509C3.10999 0.809509 3.29121 0.990727 3.29121 1.21427ZM4.5055 1.61903C4.72904 1.61903 4.91026 1.43782 4.91026 1.21427C4.91026 0.990727 4.72904 0.809509 4.5055 0.809509C4.28195 0.809509 4.10074 0.990727 4.10074 1.21427C4.10074 1.43782 4.28195 1.61903 4.5055 1.61903ZM6.52931 1.21427C6.52931 1.43782 6.34809 1.61903 6.12455 1.61903C5.901 1.61903 5.71978 1.43782 5.71978 1.21427C5.71978 0.990727 5.901 0.809509 6.12455 0.809509C6.34809 0.809509 6.52931 0.990727 6.52931 1.21427ZM2.07693 2.42856C2.30047 2.42856 2.48169 2.24734 2.48169 2.0238C2.48169 1.80025 2.30047 1.61903 2.07693 1.61903C1.85338 1.61903 1.67216 1.80025 1.67216 2.0238C1.67216 2.24734 1.85338 2.42856 2.07693 2.42856ZM4.10074 2.0238C4.10074 2.24734 3.91952 2.42856 3.69597 2.42856C3.47243 2.42856 3.29121 2.24734 3.29121 2.0238C3.29121 1.80025 3.47243 1.61903 3.69597 1.61903C3.91952 1.61903 4.10074 1.80025 4.10074 2.0238ZM5.31502 2.42856C5.53856 2.42856 5.71978 2.24734 5.71978 2.0238C5.71978 1.80025 5.53856 1.61903 5.31502 1.61903C5.09148 1.61903 4.91026 1.80025 4.91026 2.0238C4.91026 2.24734 5.09148 2.42856 5.31502 2.42856ZM6.52931 2.83332C6.52931 3.05686 6.34809 3.23808 6.12455 3.23808C5.901 3.23808 5.71978 3.05686 5.71978 2.83332C5.71978 2.60978 5.901 2.42856 6.12455 2.42856C6.34809 2.42856 6.52931 2.60978 6.52931 2.83332ZM4.5055 3.23808C4.72904 3.23808 4.91026 3.05686 4.91026 2.83332C4.91026 2.60978 4.72904 2.42856 4.5055 2.42856C4.28195 2.42856 4.10074 2.60978 4.10074 2.83332C4.10074 3.05686 4.28195 3.23808 4.5055 3.23808ZM3.29121 2.83332C3.29121 3.05686 3.10999 3.23808 2.88645 3.23808C2.66291 3.23808 2.48169 3.05686 2.48169 2.83332C2.48169 2.60978 2.66291 2.42856 2.88645 2.42856C3.10999 2.42856 3.29121 2.60978 3.29121 2.83332ZM1.2674 3.23808C1.49095 3.23808 1.67216 3.05686 1.67216 2.83332C1.67216 2.60978 1.49095 2.42856 1.2674 2.42856C1.04386 2.42856 0.86264 2.60978 0.86264 2.83332C0.86264 3.05686 1.04386 3.23808 1.2674 3.23808ZM2.48169 3.64284C2.48169 3.86639 2.30047 4.04761 2.07693 4.04761C1.85338 4.04761 1.67216 3.86639 1.67216 3.64284C1.67216 3.4193 1.85338 3.23808 2.07693 3.23808C2.30047 3.23808 2.48169 3.4193 2.48169 3.64284ZM3.69597 4.04761C3.91952 4.04761 4.10074 3.86639 4.10074 3.64284C4.10074 3.4193 3.91952 3.23808 3.69597 3.23808C3.47243 3.23808 3.29121 3.4193 3.29121 3.64284C3.29121 3.86639 3.47243 4.04761 3.69597 4.04761ZM5.71978 3.64284C5.71978 3.86639 5.53856 4.04761 5.31502 4.04761C5.09148 4.04761 4.91026 3.86639 4.91026 3.64284C4.91026 3.4193 5.09148 3.23808 5.31502 3.23808C5.53856 3.23808 5.71978 3.4193 5.71978 3.64284ZM6.12455 4.85713C6.34809 4.85713 6.52931 4.67591 6.52931 4.45237C6.52931 4.22882 6.34809 4.04761 6.12455 4.04761C5.901 4.04761 5.71978 4.22882 5.71978 4.45237C5.71978 4.67591 5.901 4.85713 6.12455 4.85713ZM4.91026 4.45237C4.91026 4.67591 4.72904 4.85713 4.5055 4.85713C4.28195 4.85713 4.10074 4.67591 4.10074 4.45237C4.10074 4.22882 4.28195 4.04761 4.5055 4.04761C4.72904 4.04761 4.91026 4.22882 4.91026 4.45237ZM2.88645 4.85713C3.10999 4.85713 3.29121 4.67591 3.29121 4.45237C3.29121 4.22882 3.10999 4.04761 2.88645 4.04761C2.66291 4.04761 2.48169 4.22882 2.48169 4.45237C2.48169 4.67591 2.66291 4.85713 2.88645 4.85713ZM1.67216 4.45237C1.67216 4.67591 1.49095 4.85713 1.2674 4.85713C1.04386 4.85713 0.86264 4.67591 0.86264 4.45237C0.86264 4.22882 1.04386 4.04761 1.2674 4.04761C1.49095 4.04761 1.67216 4.22882 1.67216 4.45237Z\" fill=\"url(#paint0_linear_3885_33060)\"/></g></g><defs><filter id=\"filter0_d_3885_33060\" x=\"0.86264\" y=\"0.809509\" width=\"5.66666\" height=\"5.04761\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/><feOffset dy=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_3885_33060\"/><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_3885_33060\" result=\"shape\"/></filter><linearGradient id=\"paint0_linear_3885_33060\" x1=\"0.86264\" y1=\"0.809509\" x2=\"0.86264\" y2=\"4.85713\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"white\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient></defs></svg>\n                    United States\n                </div>\n            </div>\n        </div>\n        <ul class=\"space-y-4 text-sm text-gray-500 dark:text-gray-400\">\n            <li class=\"flex items-center\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 15V9m4 6V9m4 6V9m4 6V9M2 16h16M1 19h18M2 7v1h16V7l-8-6-8 6Z\"/>\n  </svg>Apartament with city view</li>\n            <li class=\"flex items-center\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n  </svg>3 nights December 2021</li>\n            <li class=\"flex items-center\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 19\">\n    <path d=\"M14.5 0A3.987 3.987 0 0 0 11 2.1a4.977 4.977 0 0 1 3.9 5.858A3.989 3.989 0 0 0 14.5 0ZM9 13h2a4 4 0 0 1 4 4v2H5v-2a4 4 0 0 1 4-4Z\"/>\n    <path d=\"M5 19h10v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2ZM5 7a5.008 5.008 0 0 1 4-4.9 3.988 3.988 0 1 0-3.9 5.859A4.974 4.974 0 0 1 5 7Zm5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm5-1h-.424a5.016 5.016 0 0 1-1.942 2.232A6.007 6.007 0 0 1 17 17h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.424 9H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2a6.007 6.007 0 0 1 4.366-5.768A5.016 5.016 0 0 1 5.424 9Z\"/>\n  </svg>Family</li>\n        </ul>\n    </div>\n    <div class=\"col-span-2 mt-6 md:mt-0\">\n        <div class=\"flex items-start mb-5\">\n            <div class=\"pe-4\">\n                <footer>\n                    <p class=\"mb-2 text-sm text-gray-500 dark:text-gray-400\">Reviewed: <time datetime=\"2022-01-20 19:00\">January 20, 2022</time></p>\n                </footer>\n                <h4 class=\"text-xl font-bold text-gray-900 dark:text-white\">Spotless, good appliances, excellent layout, host was genuinely nice and helpful.</h4>\n            </div>\n            <p class=\"bg-blue-700 text-white text-sm font-semibold inline-flex items-center p-1.5 rounded-sm\">8.7</p>\n        </div>\n        <p class=\"mb-2 text-gray-500 dark:text-gray-400\">The flat was spotless, very comfortable, and the host was amazing. I highly recommend this accommodation for anyone visiting New York city centre. It's quite a while since we are no longer using hotel facilities but self contained places. And the main reason is poor cleanliness and staff not being trained properly. This place exceeded our expectation and will return for sure.</p>\n        <p class=\"mb-5 text-gray-500 dark:text-gray-400\">It is obviously not the same build quality as those very expensive watches. But that is like comparing a Citroën to a Ferrari. This watch was well under £100! An absolute bargain.</p>\n        <aside class=\"flex items-center mt-3\">\n            <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-blue-600 hover:underline dark:text-blue-500\">\n                <svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                    <path d=\"M3 7H1a1 1 0 0 0-1 1v8a2 2 0 0 0 4 0V8a1 1 0 0 0-1-1Zm12.954 0H12l1.558-4.5a1.778 1.778 0 0 0-3.331-1.06A24.859 24.859 0 0 1 6 6.8v9.586h.114C8.223 16.969 11.015 18 13.6 18c1.4 0 1.592-.526 1.88-1.317l2.354-7A2 2 0 0 0 15.954 7Z\"/>\n                </svg>\n                Helpful\n            </a>\n            <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-blue-600 hover:underline dark:text-blue-500 group ms-5\">\n                <svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                    <path d=\"M11.955 2.117h-.114C9.732 1.535 6.941.5 4.356.5c-1.4 0-1.592.526-1.879 1.316l-2.355 7A2 2 0 0 0 2 11.5h3.956L4.4 16a1.779 1.779 0 0 0 3.332 1.061 24.8 24.8 0 0 1 4.226-5.36l-.003-9.584ZM15 11h2a1 1 0 0 0 1-1V2a2 2 0 1 0-4 0v8a1 1 0 0 0 1 1Z\"/>\n                </svg>\n                Not helpful\n            </a>\n        </aside>\n    </div>\n</article>\n{{< /example >}}\n\n#### Sidebar\n\nThe sidebar component can be used as a complementary element relative to the navbar shown on either the left or right side of the page used for the navigation on your web application, including menu items, multi-level menu items, call to actions elements, and more.\n\n##### Default sidebar\n\nUse this example to show a responsive list of menu items inside the sidebar with icons and labels.\n\n{{< example id=\"default-sidebar-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"default-sidebar\" data-drawer-toggle=\"default-sidebar\" aria-controls=\"default-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 mt-2 ms-3 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n   <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n   </svg>\n</button>\n\n<aside id=\"default-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Multi-level menu\n\nUse this sidebar example to create multi-level menu items by applying the `data-collapse-toggle=\"id\"` data attribute from Flowbite and toggle the second-level menu item.\n\n{{< example id=\"sidebar-multi-level-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"sidebar-multi-level-sidebar\" data-drawer-toggle=\"sidebar-multi-level-sidebar\" aria-controls=\"sidebar-multi-level-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 mt-2 ms-3 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n   <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n   </svg>\n</button>\n\n<aside id=\"sidebar-multi-level-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <button type=\"button\" class=\"flex items-center w-full p-2 text-base text-gray-900 transition duration-75 rounded-lg group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\" aria-controls=\"dropdown-example\" data-collapse-toggle=\"dropdown-example\">\n                  <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 21\">\n                     <path d=\"M15 12a1 1 0 0 0 .962-.726l2-7A1 1 0 0 0 17 3H3.77L3.175.745A1 1 0 0 0 2.208 0H1a1 1 0 0 0 0 2h.438l.6 2.255v.019l2 7 .746 2.986A3 3 0 1 0 9 17a2.966 2.966 0 0 0-.184-1h2.368c-.118.32-.18.659-.184 1a3 3 0 1 0 3-3H6.78l-.5-2H15Z\"/>\n                  </svg>\n                  <span class=\"flex-1 ms-3 text-left rtl:text-right whitespace-nowrap\">E-commerce</span>\n                  <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                     <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                  </svg>\n            </button>\n            <ul id=\"dropdown-example\" class=\"hidden py-2 space-y-2\">\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Products</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Billing</a>\n                  </li>\n                  <li>\n                     <a href=\"#\" class=\"flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700\">Invoice</a>\n                  </li>\n            </ul>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### Content separator\n\nSeparate the content inside the sidebar component by applying a border separator between the two menus.\n\n{{< example id=\"sidebar-separator-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"separator-sidebar\" data-drawer-toggle=\"separator-sidebar\" aria-controls=\"separator-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 mt-2 ms-3 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n   <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n   </svg>\n</button>\n\n<aside id=\"separator-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n      <ul class=\"pt-4 mt-4 space-y-2 font-medium border-t border-gray-200 dark:border-gray-700\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 transition duration-75 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-white group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 17 20\">\n                  <path d=\"M7.958 19.393a7.7 7.7 0 0 1-6.715-3.439c-2.868-4.832 0-9.376.944-10.654l.091-.122a3.286 3.286 0 0 0 .765-3.288A1 1 0 0 1 4.6.8c.133.1.313.212.525.347A10.451 10.451 0 0 1 10.6 9.3c.5-1.06.772-2.213.8-3.385a1 1 0 0 1 1.592-.758c1.636 1.205 4.638 6.081 2.019 10.441a8.177 8.177 0 0 1-7.053 3.795Z\"/>\n               </svg>\n               <span class=\"ms-3\">Upgrade to Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 transition duration-75 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-white group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                  <path d=\"M16 14V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v15a3 3 0 0 0 3 3h12a1 1 0 0 0 0-2h-1v-2a2 2 0 0 0 2-2ZM4 2h2v12H4V2Zm8 16H3a1 1 0 0 1 0-2h9v2Z\"/>\n               </svg>\n               <span class=\"ms-3\">Documentation</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 transition duration-75 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-white group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M18 0H6a2 2 0 0 0-2 2h14v12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Z\"/>\n                  <path d=\"M14 4H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM2 16v-6h12v6H2Z\"/>\n               </svg>\n               <span class=\"ms-3\">Components</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 transition duration-75 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-white group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 21 21\">\n                  <path d=\"m5.4 2.736 3.429 3.429A5.046 5.046 0 0 1 10.134 6c.356.01.71.06 1.056.147l3.41-3.412c.136-.133.287-.248.45-.344A9.889 9.889 0 0 0 10.269 1c-1.87-.041-3.713.44-5.322 1.392a2.3 2.3 0 0 1 .454.344Zm11.45 1.54-.126-.127a.5.5 0 0 0-.706 0l-2.932 2.932c.029.023.049.054.078.077.236.194.454.41.65.645.034.038.078.067.11.107l2.927-2.927a.5.5 0 0 0 0-.707Zm-2.931 9.81c-.024.03-.057.052-.081.082a4.963 4.963 0 0 1-.633.639c-.041.036-.072.083-.115.117l2.927 2.927a.5.5 0 0 0 .707 0l.127-.127a.5.5 0 0 0 0-.707l-2.932-2.931Zm-1.442-4.763a3.036 3.036 0 0 0-1.383-1.1l-.012-.007a2.955 2.955 0 0 0-1-.213H10a2.964 2.964 0 0 0-2.122.893c-.285.29-.509.634-.657 1.013l-.01.016a2.96 2.96 0 0 0-.21 1 2.99 2.99 0 0 0 .489 1.716c.009.014.022.026.032.04a3.04 3.04 0 0 0 1.384 1.1l.012.007c.318.129.657.2 1 .213.392.015.784-.05 1.15-.192.012-.005.02-.013.033-.018a3.011 3.011 0 0 0 1.676-1.7v-.007a2.89 2.89 0 0 0 0-2.207 2.868 2.868 0 0 0-.27-.515c-.007-.012-.02-.025-.03-.039Zm6.137-3.373a2.53 2.53 0 0 1-.35.447L14.84 9.823c.112.428.166.869.16 1.311-.01.356-.06.709-.147 1.054l3.413 3.412c.132.134.249.283.347.444A9.88 9.88 0 0 0 20 11.269a9.912 9.912 0 0 0-1.386-5.319ZM14.6 19.264l-3.421-3.421c-.385.1-.781.152-1.18.157h-.134c-.356-.01-.71-.06-1.056-.147l-3.41 3.412a2.503 2.503 0 0 1-.443.347A9.884 9.884 0 0 0 9.732 21H10a9.9 9.9 0 0 0 5.044-1.388 2.519 2.519 0 0 1-.444-.348ZM1.735 15.6l3.426-3.426a4.608 4.608 0 0 1-.013-2.367L1.735 6.4a2.507 2.507 0 0 1-.35-.447 9.889 9.889 0 0 0 0 10.1c.1-.164.217-.316.35-.453Zm5.101-.758a4.957 4.957 0 0 1-.651-.645c-.033-.038-.077-.067-.11-.107L3.15 17.017a.5.5 0 0 0 0 .707l.127.127a.5.5 0 0 0 .706 0l2.932-2.933c-.03-.018-.05-.053-.078-.076ZM6.08 7.914c.03-.037.07-.063.1-.1.183-.22.384-.423.6-.609.047-.04.082-.092.129-.13L3.983 4.149a.5.5 0 0 0-.707 0l-.127.127a.5.5 0 0 0 0 .707L6.08 7.914Z\"/>\n               </svg>\n               <span class=\"ms-3\">Help</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### CTA button\n\nUse this example to add a CTA button inside the sidebar component and encourage your users to visit the dedicated page.\n\n{{< example id=\"sidebar-cta-button-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"cta-button-sidebar\" data-drawer-toggle=\"cta-button-sidebar\" aria-controls=\"cta-button-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 mt-2 ms-3 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n   <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n   </svg>\n</button>\n\n<aside id=\"cta-button-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n      <div id=\"dropdown-cta\" class=\"p-4 mt-6 rounded-lg bg-blue-50 dark:bg-blue-900\" role=\"alert\">\n         <div class=\"flex items-center mb-3\">\n            <span class=\"bg-orange-100 text-orange-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-orange-200 dark:text-orange-900\">Beta</span>\n            <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-blue-50 inline-flex justify-center items-center w-6 h-6 text-blue-900 rounded-lg focus:ring-2 focus:ring-blue-400 p-1 hover:bg-blue-200 dark:bg-blue-900 dark:text-blue-400 dark:hover:bg-blue-800\" data-dismiss-target=\"#dropdown-cta\" aria-label=\"Close\">\n               <span class=\"sr-only\">Close</span>\n               <svg class=\"w-2.5 h-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n               </svg>\n            </button>\n         </div>\n         <p class=\"mb-3 text-sm text-blue-800 dark:text-blue-400\">\n            Preview the new Flowbite dashboard navigation! You can turn the new navigation off for a limited time in your profile.\n         </p>\n         <a class=\"text-sm text-blue-800 underline font-medium hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300\" href=\"#\">Turn new navigation off</a>\n      </div>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### Logo branding\n\nShow the logo of your brand and link back to the homepage from the top part of the sidebar.\n\n{{< example id=\"sidebar-logo-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n<button data-drawer-target=\"logo-sidebar\" data-drawer-toggle=\"logo-sidebar\" aria-controls=\"logo-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 mt-2 ms-3 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n   <span class=\"sr-only\">Open sidebar</span>\n   <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n   <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n   </svg>\n</button>\n\n<aside id=\"logo-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen transition-transform -translate-x-full sm:translate-x-0\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 py-4 overflow-y-auto bg-gray-50 dark:bg-gray-800\">\n      <a href=\"{{< param homepage >}}/\" class=\"flex items-center ps-2.5 mb-5\">\n         <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-6 me-3 sm:h-7\" alt=\"Flowbite Logo\" />\n         <span class=\"self-center text-xl font-semibold whitespace-nowrap dark:text-white\">Flowbite</span>\n      </a>\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### Sidebar with navbar\n\nUse this example to show a navbar together with a sidebar layout for your web application.\n\n{{< example id=\"sidebar-logo-example\" github=\"components/sidebar.md\" bodyClass=\"!p-0\" iframeHeight=\"640\" iframeMaxHeight=\"640\" show_dark=true >}}\n\n<nav class=\"fixed top-0 z-50 w-full bg-white border-b border-gray-200 dark:bg-gray-800 dark:border-gray-700\">\n  <div class=\"px-3 py-3 lg:px-5 lg:pl-3\">\n    <div class=\"flex items-center justify-between\">\n      <div class=\"flex items-center justify-start rtl:justify-end\">\n        <button data-drawer-target=\"logo-sidebar\" data-drawer-toggle=\"logo-sidebar\" aria-controls=\"logo-sidebar\" type=\"button\" class=\"inline-flex items-center p-2 text-sm text-gray-500 rounded-lg sm:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600\">\n            <span class=\"sr-only\">Open sidebar</span>\n            <svg class=\"w-6 h-6\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n               <path clip-rule=\"evenodd\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 012.75 4h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 4.75zm0 10.5a.75.75 0 01.75-.75h7.5a.75.75 0 010 1.5h-7.5a.75.75 0 01-.75-.75zM2 10a.75.75 0 01.75-.75h14.5a.75.75 0 010 1.5H2.75A.75.75 0 012 10z\"></path>\n            </svg>\n         </button>\n        <a href=\"https://flowbite.com\" class=\"flex ms-2 md:me-24\">\n          <img src=\"https://flowbite.com/docs/images/logo.svg\" class=\"h-8 me-3\" alt=\"FlowBite Logo\" />\n          <span class=\"self-center text-xl font-semibold sm:text-2xl whitespace-nowrap dark:text-white\">Flowbite</span>\n        </a>\n      </div>\n      <div class=\"flex items-center\">\n          <div class=\"flex items-center ms-3\">\n            <div>\n              <button type=\"button\" class=\"flex text-sm bg-gray-800 rounded-full focus:ring-4 focus:ring-gray-300 dark:focus:ring-gray-600\" aria-expanded=\"false\" data-dropdown-toggle=\"dropdown-user\">\n                <span class=\"sr-only\">Open user menu</span>\n                <img class=\"w-8 h-8 rounded-full\" src=\"https://flowbite.com/docs/images/people/profile-picture-5.jpg\" alt=\"user photo\">\n              </button>\n            </div>\n            <div class=\"z-50 hidden my-4 text-base list-none bg-white divide-y divide-gray-100 rounded-sm shadow-sm dark:bg-gray-700 dark:divide-gray-600\" id=\"dropdown-user\">\n              <div class=\"px-4 py-3\" role=\"none\">\n                <p class=\"text-sm text-gray-900 dark:text-white\" role=\"none\">\n                  Neil Sims\n                </p>\n                <p class=\"text-sm font-medium text-gray-900 truncate dark:text-gray-300\" role=\"none\">\n                  neil.sims@flowbite.com\n                </p>\n              </div>\n              <ul class=\"py-1\" role=\"none\">\n                <li>\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">Dashboard</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">Settings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">Earnings</a>\n                </li>\n                <li>\n                  <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">Sign out</a>\n                </li>\n              </ul>\n            </div>\n          </div>\n        </div>\n    </div>\n  </div>\n</nav>\n\n<aside id=\"logo-sidebar\" class=\"fixed top-0 left-0 z-40 w-64 h-screen pt-20 transition-transform -translate-x-full bg-white border-r border-gray-200 sm:translate-x-0 dark:bg-gray-800 dark:border-gray-700\" aria-label=\"Sidebar\">\n   <div class=\"h-full px-3 pb-4 overflow-y-auto bg-white dark:bg-gray-800\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</aside>\n\n<div class=\"p-4 sm:ml-64\">\n   <div class=\"p-4 border-2 border-gray-200 border-dashed rounded-lg dark:border-gray-700 mt-14\">\n      <div class=\"grid grid-cols-3 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center h-24 rounded-sm bg-gray-50 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4 mb-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n      <div class=\"flex items-center justify-center h-48 mb-4 rounded-sm bg-gray-50 dark:bg-gray-800\">\n         <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n               <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n         </p>\n      </div>\n      <div class=\"grid grid-cols-2 gap-4\">\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n         <div class=\"flex items-center justify-center rounded-sm bg-gray-50 h-28 dark:bg-gray-800\">\n            <p class=\"text-2xl text-gray-400 dark:text-gray-500\">\n               <svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n               </svg>\n            </p>\n         </div>\n      </div>\n   </div>\n</div>\n{{< /example >}}\n\n##### Off-canvas sidebar\n\nUse this example to show the navigation as an off-canvas drawer component when clicking on an element.\n\n{{< example id=\"drawer-navigation-example\" github=\"components/sidebar.md\" show_dark=true iframeHeight=\"640\" iframeMaxHeight=\"640\" skeletonPlaceholders=true >}}\n\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-navigation\" data-drawer-show=\"drawer-navigation\" aria-controls=\"drawer-navigation\">\n   Show navigation\n   </button>\n</div>\n\n<!-- drawer component -->\n<div id=\"drawer-navigation\" class=\"fixed top-0 left-0 z-40 w-64 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-navigation-label\">\n    <h5 id=\"drawer-navigation-label\" class=\"text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Menu</h5>\n    <button type=\"button\" data-drawer-hide=\"drawer-navigation\" aria-controls=\"drawer-navigation\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 absolute top-2.5 end-2.5 inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n        <svg aria-hidden=\"true\" class=\"w-5 h-5\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z\" clip-rule=\"evenodd\"></path></svg>\n        <span class=\"sr-only\">Close menu</span>\n    </button>\n  <div class=\"py-4 overflow-y-auto\">\n      <ul class=\"space-y-2 font-medium\">\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 21\">\n                  <path d=\"M16.975 11H10V4.025a1 1 0 0 0-1.066-.998 8.5 8.5 0 1 0 9.039 9.039.999.999 0 0 0-1-1.066h.002Z\"/>\n                  <path d=\"M12.5 0c-.157 0-.311.01-.565.027A1 1 0 0 0 11 1.02V10h8.975a1 1 0 0 0 1-.935c.013-.188.028-.374.028-.565A8.51 8.51 0 0 0 12.5 0Z\"/>\n               </svg>\n               <span class=\"ms-3\">Dashboard</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                  <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Kanban</span>\n               <span class=\"inline-flex items-center justify-center px-2 ms-3 text-sm font-medium text-gray-800 bg-gray-100 rounded-full dark:bg-gray-700 dark:text-gray-300\">Pro</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"m17.418 3.623-.018-.008a6.713 6.713 0 0 0-2.4-.569V2h1a1 1 0 1 0 0-2h-2a1 1 0 0 0-1 1v2H9.89A6.977 6.977 0 0 1 12 8v5h-2V8A5 5 0 1 0 0 8v6a1 1 0 0 0 1 1h8v4a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-4h6a1 1 0 0 0 1-1V8a5 5 0 0 0-2.582-4.377ZM6 12H4a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Inbox</span>\n               <span class=\"inline-flex items-center justify-center w-3 h-3 p-3 ms-3 text-sm font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300\">3</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                  <path d=\"M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Users</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 5.923A1 1 0 0 0 16 5h-3V4a4 4 0 1 0-8 0v1H2a1 1 0 0 0-1 .923L.086 17.846A2 2 0 0 0 2.08 20h13.84a2 2 0 0 0 1.994-2.153L17 5.923ZM7 9a1 1 0 0 1-2 0V7h2v2Zm0-5a2 2 0 1 1 4 0v1H7V4Zm6 5a1 1 0 1 1-2 0V7h2v2Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Products</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 16\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 8h11m0 0L8 4m4 4-4 4m4-11h3a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-3\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign In</span>\n            </a>\n         </li>\n         <li>\n            <a href=\"#\" class=\"flex items-center p-2 text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700 group\">\n               <svg class=\"shrink-0 w-5 h-5 text-gray-500 transition duration-75 dark:text-gray-400 group-hover:text-gray-900 dark:group-hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                  <path d=\"M6.737 11.061a2.961 2.961 0 0 1 .81-1.515l6.117-6.116A4.839 4.839 0 0 1 16 2.141V2a1.97 1.97 0 0 0-1.933-2H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18v-3.093l-1.546 1.546c-.413.413-.94.695-1.513.81l-3.4.679a2.947 2.947 0 0 1-1.85-.227 2.96 2.96 0 0 1-1.635-3.257l.681-3.397Z\"/>\n                  <path d=\"M8.961 16a.93.93 0 0 0 .189-.019l3.4-.679a.961.961 0 0 0 .49-.263l6.118-6.117a2.884 2.884 0 0 0-4.079-4.078l-6.117 6.117a.96.96 0 0 0-.263.491l-.679 3.4A.961.961 0 0 0 8.961 16Zm7.477-9.8a.958.958 0 0 1 .68-.281.961.961 0 0 1 .682 1.644l-.315.315-1.36-1.36.313-.318Zm-5.911 5.911 4.236-4.236 1.359 1.359-4.236 4.237-1.7.339.341-1.699Z\"/>\n               </svg>\n               <span class=\"flex-1 ms-3 whitespace-nowrap\">Sign Up</span>\n            </a>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### More examples\n\nYou can check out more [sidenav component](https://flowbite.com/blocks/application/sidenav/) examples and [application shell layouts](https://flowbite.com/blocks/application/shells/) from Flowbite Blocks.\n\n##### Dashboard Layout\n\nThese sidebar examples can be viewed in action and used by checking out the [Flowbite Admin Dashboard](https://github.com/themesberg/flowbite-admin-dashboard) template and use it as a solid starting point for you web application.\n\n#### Skeleton\n\nUse the skeleton component to indicate a loading status with placeholder elements that look very similar to the type of content that is being loaded such as paragraphs, heading, images, videos, and more.\n\nYou can set the width and height of these skeleton components based on the size of the content and element that it is being loaded in, such as a card or an article page.\n\nYou can also animate the skeleton component by using the `.animate-pulse` utility class from Tailwind CSS.\n\n##### Default skeleton\n\nUse this example to show a placeholder when loading text content.\n\n{{< example id=\"default-skeleton-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm animate-pulse\">\n    <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px] mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[330px] mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[300px] mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]\"></div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n\n{{< /example >}}\n\n##### Image placeholder\n\nThis example can be used to show a placeholder when loading an image and text content.\n\n{{< example id=\"skeleton-image-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"space-y-8 animate-pulse md:space-y-0 md:space-x-8 rtl:space-x-reverse md:flex md:items-center\">\n    <div class=\"flex items-center justify-center w-full h-48 bg-gray-300 rounded-sm sm:w-96 dark:bg-gray-700\">\n        <svg class=\"w-10 h-10 text-gray-200 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n            <path d=\"M18 0H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm4.376 10.481A1 1 0 0 1 16 15H4a1 1 0 0 1-.895-1.447l3.5-7A1 1 0 0 1 7.468 6a.965.965 0 0 1 .9.5l2.775 4.757 1.546-1.887a1 1 0 0 1 1.618.1l2.541 4a1 1 0 0 1 .028 1.011Z\"/>\n        </svg>\n    </div>\n    <div class=\"w-full\">\n        <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4\"></div>\n        <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[480px] mb-2.5\"></div>\n        <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5\"></div>\n        <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[440px] mb-2.5\"></div>\n        <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[460px] mb-2.5\"></div>\n        <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 max-w-[360px]\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n\n{{< /example >}}\n\n##### Video placeholder\n\nUse this example to show a skeleton placeholder when loading video content.\n\n{{< example id=\"skeleton-video-example\" github=\"components/skeleton.md\" show_dark=true >}}\n\n<div role=\"status\" class=\"flex items-center justify-center h-56 max-w-sm bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700\">\n    <svg class=\"w-10 h-10 text-gray-200 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n    <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z\"/>\n    <path d=\"M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM9 13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2Zm4 .382a1 1 0 0 1-1.447.894L10 13v-2l1.553-1.276a1 1 0 0 1 1.447.894v2.764Z\"/>\n  </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Text placeholder\n\nUse this example to show a placeholder when loading longer pagraphs and headings.\n\n{{< example id=\"skeleton-text-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"space-y-2.5 animate-pulse max-w-lg\">\n    <div class=\"flex items-center w-full\">\n        <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-24\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[480px]\">\n        <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-full\"></div>\n                <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-24\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[400px]\">\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-200 rounded-full dark:bg-gray-700 w-80\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[480px]\">\n        <div class=\"h-2.5 ms-2 bg-gray-200 rounded-full dark:bg-gray-700 w-full\"></div>\n                <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-24\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[440px]\">\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-32\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-24\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-200 rounded-full dark:bg-gray-700 w-full\"></div>\n    </div>\n    <div class=\"flex items-center w-full max-w-[360px]\">\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-200 rounded-full dark:bg-gray-700 w-80\"></div>\n        <div class=\"h-2.5 ms-2 bg-gray-300 rounded-full dark:bg-gray-600 w-full\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Card placeholder\n\nUse this example to show a placeholder when loading content inside a card.\n\n{{< example id=\"skeleton-card-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm p-4 border border-gray-200 rounded-sm shadow-sm animate-pulse md:p-6 dark:border-gray-700\">\n    <div class=\"flex items-center justify-center h-48 mb-4 bg-gray-300 rounded-sm dark:bg-gray-700\">\n        <svg class=\"w-10 h-10 text-gray-200 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n            <path d=\"M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM10.5 6a1.5 1.5 0 1 1 0 2.999A1.5 1.5 0 0 1 10.5 6Zm2.221 10.515a1 1 0 0 1-.858.485h-8a1 1 0 0 1-.9-1.43L5.6 10.039a.978.978 0 0 1 .936-.57 1 1 0 0 1 .9.632l1.181 2.981.541-1a.945.945 0 0 1 .883-.522 1 1 0 0 1 .879.529l1.832 3.438a1 1 0 0 1-.031.988Z\"/>\n            <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z\"/>\n        </svg>\n    </div>\n    <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5\"></div>\n    <div class=\"h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n    <div class=\"flex items-center mt-4\">\n       <svg class=\"w-10 h-10 me-3 text-gray-200 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n        </svg>\n        <div>\n            <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2\"></div>\n            <div class=\"w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Widget placeholder\n\nThis example can be used to show a placeholder of skeleton when fetching data for widgets and cards inside an application.\n\n{{< example id=\"skeleton-chart-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-sm p-4 border border-gray-200 rounded-sm shadow-sm animate-pulse md:p-6 dark:border-gray-700\">\n    <div class=\"h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2.5\"></div>\n    <div class=\"w-48 h-2 mb-10 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n    <div class=\"flex items-baseline mt-4\">\n        <div class=\"w-full bg-gray-200 rounded-t-lg h-72 dark:bg-gray-700\"></div>\n        <div class=\"w-full h-56 ms-6 bg-gray-200 rounded-t-lg dark:bg-gray-700\"></div>\n        <div class=\"w-full bg-gray-200 rounded-t-lg h-72 ms-6 dark:bg-gray-700\"></div>\n        <div class=\"w-full h-64 ms-6 bg-gray-200 rounded-t-lg dark:bg-gray-700\"></div>\n        <div class=\"w-full bg-gray-200 rounded-t-lg h-80 ms-6 dark:bg-gray-700\"></div>\n        <div class=\"w-full bg-gray-200 rounded-t-lg h-72 ms-6 dark:bg-gray-700\"></div>\n        <div class=\"w-full bg-gray-200 rounded-t-lg h-80 ms-6 dark:bg-gray-700\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### List placeholder\n\nUse this example to show a placeholder when loading a list of items.\n\n{{< example id=\"skeleton-list-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"max-w-md p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded-sm shadow-sm animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700\">\n    <div class=\"flex items-center justify-between\">\n        <div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between pt-4\">\n        <div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between pt-4\">\n        <div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between pt-4\">\n        <div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12\"></div>\n    </div>\n    <div class=\"flex items-center justify-between pt-4\">\n        <div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-2.5\"></div>\n            <div class=\"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 w-12\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Testimonial placeholder\n\nThis example can be used to show a skeleton placeholder when loading data for a testimonial section.\n\n{{< example id=\"skeleton-testimonial-example\" github=\"components/skeleton.md\" show_dark=true >}}\n<div role=\"status\" class=\"animate-pulse\">\n    <div class=\"h-2.5 bg-gray-300 rounded-full dark:bg-gray-700 max-w-[640px] mb-2.5 mx-auto\"></div>\n    <div class=\"h-2.5 mx-auto bg-gray-300 rounded-full dark:bg-gray-700 max-w-[540px]\"></div>\n    <div class=\"flex items-center justify-center mt-4\">\n        <svg class=\"w-8 h-8 text-gray-200 dark:text-gray-600 me-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n        </svg>\n        <div class=\"w-20 h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 me-3\"></div>\n        <div class=\"w-24 h-2 bg-gray-200 rounded-full dark:bg-gray-700\"></div>\n    </div>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Accessibility\n\nUse the `role=\"status\"` attribute on the `<div>` wrapper element to notify Assistive Technologies when content is about to be updated and show the \"Loading...\" text inside a `<span>` tag with the `.sr-only` class to make it visible only to screen readers.\n\n#### Speed Dial\n\nGet started with the speed dial component to show a list of buttons or menu items positioned relative to the body in either corner as a quick way to allow certains actions to be made by your users.\n\nThis component can be easily customized by changing the colors, text, icons, sizes, alignment, and even positioning using our examples built with Tailwind CSS and making use of Flowbite's JavaScript API.\n\nMake sure that you have the Flowbite JS file included in your application by following our <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a>.\n\n##### Default speed dial\n\nTo initialize a speed dial component you need to wrap the trigger element and the list of items inside an element and use the `data-dial-init` data attribute on it.\n\nFurthermore, make sure that the trigger button element has the `data-dial-toggle=\"{targetElementId}\"` where the value is the ID of the target element.\n\n{{< example id=\"default-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-default\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-default\" aria-controls=\"speed-dial-menu-default\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Square speed dial\n\nUse this example to make the trigger button's style square instead of a full circle using the `rounded-lg` utility class.\n\n{{< example id=\"square-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-lg border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-lg border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-lg border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-lg border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n             <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-square\" aria-controls=\"speed-dial-menu-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-lg w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Text inside button\n\nThis example can be used to show the descriptive text inside the button instead of a tooltip.\n\n{{< example id=\"speed-dial-menu-text-inside-button-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 end-24 group\">\n    <div id=\"speed-dial-menu-text-inside-button\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Share</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Print</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Save</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-inside-button\" aria-controls=\"speed-dial-menu-text-inside-button\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-text-inside-button-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-lg border border-gray-200 hover:text-gray-900 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Share</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Print</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Save</span>\n        </button>\n        <button type=\"button\" class=\"w-[56px] h-[56px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-4 h-4 mx-auto mb-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"block mb-px text-xs font-medium\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-inside-button-square\" aria-controls=\"speed-dial-menu-text-inside-button-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-lg w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Text outside button\n\nUse this example to show the text of each button outside of the speed dial as an alternative style.\n\n{{< example id=\"speed-dial-text-outside-button-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-text-outside-button\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-lg border border-gray-200 hover:text-gray-900 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Share</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Print</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Save</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-lg border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-outside-button\" aria-controls=\"speed-dial-menu-text-outside-button\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-lg w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed bottom-6 end-24 group\">\n    <div id=\"speed-dial-menu-text-outside-button-square\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-full border border-gray-200 hover:text-gray-900 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Share</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Print</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Save</span>\n        </button>\n        <button type=\"button\" class=\"relative w-[52px] h-[52px] text-gray-500 bg-white rounded-full border border-gray-200 dark:border-gray-600 hover:text-gray-900 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5 mx-auto\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"absolute block mb-px text-sm font-medium -translate-y-1/2 -start-14 top-1/2\">Copy</span>\n        </button>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-text-outside-button-square\" aria-controls=\"speed-dial-menu-text-outside-button-square\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Dropdown menu\n\nThis example can be used to show a list of menu items instead of buttons when activating the speed dial.\n\n{{< example id=\"dropdown-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 right-24 group\">\n    <div id=\"speed-dial-menu-dropdown\" class=\"flex flex-col justify-end hidden py-1 mb-4 space-y-2 bg-white border border-gray-100 rounded-lg shadow-xs dark:border-gray-600 dark:bg-gray-700\">\n        <ul class=\"text-sm text-gray-500 dark:text-gray-300\">\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                        <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Share</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                        <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Print</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                        <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Save</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                        <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                        <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Copy</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown\" aria-controls=\"speed-dial-menu-dropdown\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n            <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed right-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-dropdown-square\" class=\"flex flex-col justify-end hidden py-1 mb-4 space-y-2 bg-white border border-gray-100 rounded-lg shadow-xs dark:bg-gray-700 dark:border-gray-600\">\n        <ul class=\"text-sm text-gray-500 dark:text-gray-300\">\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                        <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Share</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                        <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Print</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                        <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Save</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                        <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                        <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Copy</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-square\" aria-controls=\"speed-dial-menu-dropdown-square\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-blue-700 rounded-lg w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n            <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Alternative menu\n\nThis example can be used to show an alternative style when showing a list of menu items.\n\n{{< example id=\"dropdown-alternative-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 right-24 group\">\n    <div id=\"speed-dial-menu-dropdown-alternative\" class=\"flex flex-col justify-end hidden py-1 mb-4 space-y-2 bg-white border border-gray-100 rounded-lg shadow-xs dark:bg-gray-700 dark:border-gray-600\">\n        <ul class=\"text-sm text-gray-500 dark:text-gray-300\">\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 border-b border-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white dark:border-gray-600\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                        <path d=\"M18 0H2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2v4a1 1 0 0 0 1.707.707L10.414 13H18a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5 4h2a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2ZM5 4h5a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2Zm2 5H5a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Zm9 0h-6a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">New post</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 border-b border-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white dark:border-gray-600\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M19 4h-1a1 1 0 1 0 0 2v11a1 1 0 0 1-2 0V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v15a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a1 1 0 0 0-1-1ZM3 4a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm9 13H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Z\"/>\n                        <path d=\"M6 5H5v1h1V5Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">New topic</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 18\" fill=\"currentColor\">\n                        <path d=\"M18 4H16V9C16 10.0609 15.5786 11.0783 14.8284 11.8284C14.0783 12.5786 13.0609 13 12 13H9L6.846 14.615C7.17993 14.8628 7.58418 14.9977 8 15H11.667L15.4 17.8C15.5731 17.9298 15.7836 18 16 18C16.2652 18 16.5196 17.8946 16.7071 17.7071C16.8946 17.5196 17 17.2652 17 17V15H18C18.5304 15 19.0391 14.7893 19.4142 14.4142C19.7893 14.0391 20 13.5304 20 13V6C20 5.46957 19.7893 4.96086 19.4142 4.58579C19.0391 4.21071 18.5304 4 18 4Z\" fill=\"currentColor\"/>\n                        <path d=\"M12 0H2C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2V9C0 9.53043 0.210714 10.0391 0.585786 10.4142C0.960859 10.7893 1.46957 11 2 11H3V13C3 13.1857 3.05171 13.3678 3.14935 13.5257C3.24698 13.6837 3.38668 13.8114 3.55279 13.8944C3.71889 13.9775 3.90484 14.0126 4.08981 13.996C4.27477 13.9793 4.45143 13.9114 4.6 13.8L8.333 11H12C12.5304 11 13.0391 10.7893 13.4142 10.4142C13.7893 10.0391 14 9.53043 14 9V2C14 1.46957 13.7893 0.960859 13.4142 0.585786C13.0391 0.210714 12.5304 0 12 0Z\" fill=\"currentColor\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Add comment</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-alternative\" aria-controls=\"speed-dial-menu-dropdown-alternative\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"m13.835 7.578-.005.007-7.137 7.137 2.139 2.138 7.143-7.142-2.14-2.14Zm-10.696 3.59 2.139 2.14 7.138-7.137.007-.005-2.141-2.141-7.143 7.143Zm1.433 4.261L2 12.852.051 18.684a1 1 0 0 0 1.265 1.264L7.147 18l-2.575-2.571Zm14.249-14.25a4.03 4.03 0 0 0-5.693 0L11.7 2.611 17.389 8.3l1.432-1.432a4.029 4.029 0 0 0 0-5.689Z\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n\n<div data-dial-init class=\"fixed right-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-dropdown-alternative-square\" class=\"flex flex-col justify-end hidden py-1 mb-4 space-y-2 bg-white border border-gray-100 rounded-lg shadow-xs dark:bg-gray-700 dark:border-gray-600\">\n        <ul class=\"text-sm text-gray-500 dark:text-gray-300\">\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 border-b border-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white dark:border-gray-600\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                        <path d=\"M18 0H2a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h2v4a1 1 0 0 0 1.707.707L10.414 13H18a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5 4h2a1 1 0 1 1 0 2h-2a1 1 0 1 1 0-2ZM5 4h5a1 1 0 1 1 0 2H5a1 1 0 0 1 0-2Zm2 5H5a1 1 0 0 1 0-2h2a1 1 0 0 1 0 2Zm9 0h-6a1 1 0 0 1 0-2h6a1 1 0 1 1 0 2Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">New post</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 border-b border-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white dark:border-gray-600\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M19 4h-1a1 1 0 1 0 0 2v11a1 1 0 0 1-2 0V2a2 2 0 0 0-2-2H2a2 2 0 0 0-2 2v15a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V5a1 1 0 0 0-1-1ZM3 4a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4Zm9 13H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-3H4a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Zm0-3h-2a1 1 0 0 1 0-2h2a1 1 0 1 1 0 2Z\"/>\n                        <path d=\"M6 5H5v1h1V5Z\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">New topic</span>\n                </a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center px-5 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 hover:text-gray-900 dark:hover:text-white\">\n                    <svg class=\"w-3.5 h-3.5 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 18\" fill=\"currentColor\">\n                        <path d=\"M18 4H16V9C16 10.0609 15.5786 11.0783 14.8284 11.8284C14.0783 12.5786 13.0609 13 12 13H9L6.846 14.615C7.17993 14.8628 7.58418 14.9977 8 15H11.667L15.4 17.8C15.5731 17.9298 15.7836 18 16 18C16.2652 18 16.5196 17.8946 16.7071 17.7071C16.8946 17.5196 17 17.2652 17 17V15H18C18.5304 15 19.0391 14.7893 19.4142 14.4142C19.7893 14.0391 20 13.5304 20 13V6C20 5.46957 19.7893 4.96086 19.4142 4.58579C19.0391 4.21071 18.5304 4 18 4Z\" fill=\"currentColor\"/>\n                        <path d=\"M12 0H2C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2V9C0 9.53043 0.210714 10.0391 0.585786 10.4142C0.960859 10.7893 1.46957 11 2 11H3V13C3 13.1857 3.05171 13.3678 3.14935 13.5257C3.24698 13.6837 3.38668 13.8114 3.55279 13.8944C3.71889 13.9775 3.90484 14.0126 4.08981 13.996C4.27477 13.9793 4.45143 13.9114 4.6 13.8L8.333 11H12C12.5304 11 13.0391 10.7893 13.4142 10.4142C13.7893 10.0391 14 9.53043 14 9V2C14 1.46957 13.7893 0.960859 13.4142 0.585786C13.0391 0.210714 12.5304 0 12 0Z\" fill=\"currentColor\"/>\n                    </svg>\n                    <span class=\"text-sm font-medium\">Add comment</span>\n                </a>\n            </li>\n        </ul>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-dropdown-alternative-square\" aria-controls=\"speed-dial-menu-dropdown-alternative-square\" aria-expanded=\"false\" class=\"flex items-center justify-center ml-auto text-white bg-blue-700 rounded-lg w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-6 h-6\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"m13.835 7.578-.005.007-7.137 7.137 2.139 2.138 7.143-7.142-2.14-2.14Zm-10.696 3.59 2.139 2.14 7.138-7.137.007-.005-2.141-2.141-7.143 7.143Zm1.433 4.261L2 12.852.051 18.684a1 1 0 0 0 1.265 1.264L7.147 18l-2.575-2.571Zm14.249-14.25a4.03 4.03 0 0 0-5.693 0L11.7 2.611 17.389 8.3l1.432-1.432a4.029 4.029 0 0 0 0-5.689Z\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Positioning\n\nThe positioning of the speed dial component relative to the body element can be easily done by using the positioning utility classes from Tailwind CSS.\n\n###### Top right\n\nUse the `top-{*}` and `right-{*}` utility classes to set the position of the speed dial component to the top right side of the document body.\n\n{{< example id=\"top-right-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed top-6 end-6 group\">\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-top-right\" aria-controls=\"speed-dial-menu-top-right\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n    <div id=\"speed-dial-menu-top-right\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n###### Bottom right\n\nUse the `bottom-{*}` and `right-{*}` utility classes to set the position of the speed dial component to the bottom right side of the document body.\n\n{{< example id=\"bottom-right-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-bottom-right\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-bottom-right\" aria-controls=\"speed-dial-menu-bottom-right\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n###### Bottom left\n\nUse the `bottom-{*}` and `left-{*}` utility classes to set the position of the speed dial component to the bottom left side of the document body.\n\n{{< example id=\"bottom-left-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed bottom-6 start-6 group\">\n    <div id=\"speed-dial-menu-bottom-left\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-bottom-left\" aria-controls=\"speed-dial-menu-bottom-left\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n###### Top left\n\nUse the `top-{*}` and `left-{*}` utility classes to set the position of the speed dial component to the top left side of the document body.\n\n{{< example id=\"top-left-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed top-6 start-6 group\">\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-top-left\" aria-controls=\"speed-dial-menu-top-left\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n    <div id=\"speed-dial-menu-top-left\" class=\"flex flex-col items-center hidden mt-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Alignment\n\nThe alignment of the speed dial menu items and buttons can be set using the flexbox utility classes from Tailwind CSS.\n\n###### Vertical\n\nThe default alignment of the menu items of the speed dial is vertical using the `flex-col` utility class.\n\n{{< example id=\"vertical-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-vertical\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n             <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-vertical\" aria-controls=\"speed-dial-menu-vertical\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n###### Horizontal\n\nHorizontally align the speed dial menu items by using the flexbox utility classes from Tailwind CSS.\n\n{{< example id=\"horizontal-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed flex end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-horizontal\" class=\"flex items-center hidden me-4 space-x-2 rtl:space-x-reverse\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"top\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-horizontal\" aria-controls=\"speed-dial-menu-horizontal\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### Triggering\n\nUse the `data-dial-trigger=\"{click|hover}\"` data attributes on the trigger element inside of the speed dial component to set which type of action should activate the speed dial: click or hover.\n\n###### Hover\n\nThe default trigger type is hover for each speed dial component.\n\n{{< example id=\"hover-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-hover\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-hover\" data-dial-trigger=\"hover\" aria-controls=\"speed-dial-menu-hover\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n###### Click\n\nIf you want the speed dial component to activate when clicking instead of hovering over the trigger element then you need to set the `click` value inside of the `data-dial-toggle=\"click\"` data attribute on the trigger element.\n\n{{< example id=\"click-speed-dial-example\" class=\"flex justify-center pt-24 h-80\" github=\"components/speed-dial.md\" show_dark=true >}}\n\n<div data-dial-init class=\"fixed end-6 bottom-6 group\">\n    <div id=\"speed-dial-menu-click\" class=\"flex flex-col items-center hidden mb-4 space-y-2\">\n        <button type=\"button\" data-tooltip-target=\"tooltip-share\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                <path d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"/>\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div id=\"tooltip-share\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-print\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\"/>\n                <path d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"/>\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div id=\"tooltip-print\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-download\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 shadow-xs dark:hover:text-white dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div id=\"tooltip-download\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button type=\"button\" data-tooltip-target=\"tooltip-copy\" data-tooltip-placement=\"left\" class=\"flex justify-center items-center w-[52px] h-[52px] text-gray-500 hover:text-gray-900 bg-white rounded-full border border-gray-200 dark:border-gray-600 dark:hover:text-white shadow-xs dark:text-gray-400 hover:bg-gray-50 dark:bg-gray-700 dark:hover:bg-gray-600 focus:ring-4 focus:ring-gray-300 focus:outline-none dark:focus:ring-gray-400\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"/>\n                <path d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div id=\"tooltip-copy\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block w-auto px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button type=\"button\" data-dial-toggle=\"speed-dial-menu-click\" data-dial-trigger=\"click\" aria-controls=\"speed-dial-menu-click\" aria-expanded=\"false\" class=\"flex items-center justify-center text-white bg-blue-700 rounded-full w-14 h-14 hover:bg-blue-800 dark:bg-blue-600 dark:hover:bg-blue-700 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:focus:ring-blue-800\">\n        <svg class=\"w-5 h-5 transition-transform group-hover:rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nThe Speed Dial API from Flowbite can be used to create an object in JavaScript to set up the options, methods, and behaviour of a speed dial component manually.\n\n###### Object parameters\n\nCreate a new Speed Diual object with the object parameters like the trigger element, the target element, and the other options such as the trigger type.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">parentEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    This is the parent and main wrapping element of the speed dial component.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a button as the trigger element for the speed dial.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    This is the element that is the list of menu items or buttons that will be toggled.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the trigger type and other options of the speed dial.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the third parameter for the Speed Dial object to set the trigger type (hover or click).\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the speed dial choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the speed dial is toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the methods from the Speed Dial object to programmatically show or hide the component from directly JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to show the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to hide the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Speed Dial object to toggle the visibility of the list of menu items or buttons.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a callback function when the dial visibility has been changed.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nUse following JavaScript as an example to learn how to initialize, set the options, and use the methods for the Speed Dial object.\n\nThree arguments are required for the Speed Dial component, namely the parent element, trigger element, and the target element.\n\nFurthermore, you can also pass an object of options to set the trigger type and set the callback functions.\n\n```javascript\n// parent element wrapping the speed dial\nconst $parentEl = document.getElementById('dialParent');\n\n// the trigger element that can be clicked or hovered\nconst $triggerEl = document.getElementById('dialButton');\n\n// the content wrapping element of menu items or buttons\nconst $targetEl = document.getElementById('dialContent');\n\n// options with default values\nconst options = {\n    triggerType: 'click',\n    onHide: () => {\n        console.log('speed dial is shown');\n    },\n    onShow: () => {\n        console.log('speed dial is hidden');\n    },\n    onToggle: () => {\n        console.log('speed dial is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'dialContent',\n  override: true\n};\n```\n\nCreate a new Speed Dial object based on the options above.\n\n```javascript\nimport { Dial } from 'flowbite';\n\n/*\n * $parentEl: required\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n * instanceOptions: optional\n */\nconst dial = new Dial($parentEl, $triggerEl, $targetEl, options, instanceOptions);\n```\n\nUse the `show`, `hide`, or `toggle` methods on the Speed Dial object to programmatically show and hide the speed dial component using JavaScript.\n\n```javascript\n// show the speed dial\ndial.show();\n\n// hide the speed dial\ndial.hide();\n\n// toggle the visibility of the speed dial\ndial.toggle();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<div id=\"dialParent\" class=\"group fixed bottom-6 end-6\">\n    <div\n        id=\"dialContent\"\n        class=\"mb-4 flex hidden flex-col items-center space-y-2\"\n    >\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-share\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 18 18\"\n            >\n                <path\n                    d=\"M14.419 10.581a3.564 3.564 0 0 0-2.574 1.1l-4.756-2.49a3.54 3.54 0 0 0 .072-.71 3.55 3.55 0 0 0-.043-.428L11.67 6.1a3.56 3.56 0 1 0-.831-2.265c.006.143.02.286.043.428L6.33 6.218a3.573 3.573 0 1 0-.175 4.743l4.756 2.491a3.58 3.58 0 1 0 3.508-2.871Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Share</span>\n        </button>\n        <div\n            id=\"tooltip-share\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Share\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-print\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 20 20\"\n            >\n                <path d=\"M5 20h10a1 1 0 0 0 1-1v-5H4v5a1 1 0 0 0 1 1Z\" />\n                <path\n                    d=\"M18 7H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2v-3a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Zm-1-2V2a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3h14Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Print</span>\n        </button>\n        <div\n            id=\"tooltip-print\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Print\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-download\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 20 20\"\n            >\n                <path\n                    d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"\n                />\n                <path\n                    d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Download</span>\n        </button>\n        <div\n            id=\"tooltip-download\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Download\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button\n            type=\"button\"\n            data-tooltip-target=\"tooltip-copy\"\n            data-tooltip-placement=\"left\"\n            class=\"flex h-[52px] w-[52px] items-center justify-center rounded-full border border-gray-200 bg-white text-gray-500 shadow-xs hover:bg-gray-50 hover:text-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:ring-gray-400\">\n            <svg\n                class=\"h-5 w-5\"\n                aria-hidden=\"true\"\n                xmlns=\"http://www.w3.org/2000/svg\"\n                fill=\"currentColor\"\n                viewBox=\"0 0 18 20\"\n            >\n                <path\n                    d=\"M5 9V4.13a2.96 2.96 0 0 0-1.293.749L.879 7.707A2.96 2.96 0 0 0 .13 9H5Zm11.066-9H9.829a2.98 2.98 0 0 0-2.122.879L7 1.584A.987.987 0 0 0 6.766 2h4.3A3.972 3.972 0 0 1 15 6v10h1.066A1.97 1.97 0 0 0 18 14V2a1.97 1.97 0 0 0-1.934-2Z\"\n                />\n                <path\n                    d=\"M11.066 4H7v5a2 2 0 0 1-2 2H0v7a1.969 1.969 0 0 0 1.933 2h9.133A1.97 1.97 0 0 0 13 18V6a1.97 1.97 0 0 0-1.934-2Z\"\n                />\n            </svg>\n            <span class=\"sr-only\">Copy</span>\n        </button>\n        <div\n            id=\"tooltip-copy\"\n            role=\"tooltip\"\n            class=\"tooltip invisible absolute z-10 inline-block w-auto rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n        >\n            Copy\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <button\n        type=\"button\"\n        id=\"dialButton\"\n        aria-controls=\"speed-dial-menu-default\"\n        aria-expanded=\"false\"\n        class=\"flex h-14 w-14 items-center justify-center rounded-full bg-blue-700 text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        <svg\n            class=\"h-5 w-5 transition-transform group-hover:rotate-45\"\n            aria-hidden=\"true\"\n            xmlns=\"http://www.w3.org/2000/svg\"\n            fill=\"none\"\n            viewBox=\"0 0 18 18\"\n        >\n            <path\n                stroke=\"currentColor\"\n                stroke-linecap=\"round\"\n                stroke-linejoin=\"round\"\n                stroke-width=\"2\"\n                d=\"M9 1v16M1 9h16\"\n            />\n        </svg>\n        <span class=\"sr-only\">Open actions menu</span>\n    </button>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Speed Dial class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Dial } from 'flowbite';\nimport type { DialOptions, DialInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// parent element wrapping the speed dial\nconst $parentEl: HTMLElement = document.getElementById('dialParent');\n\n// the trigger element that can be clicked or hovered\nconst $triggerEl: HTMLElement = document.getElementById('dialButton');\n\n// the content wrapping element of menu items or buttons\nconst $targetEl: HTMLElement = document.getElementById('dialContent');\n\n// options with default values\nconst options: DialOptions = {\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('speed dial is shown');\n    },\n    onShow: () => {\n        console.log('speed dial is hidden');\n    },\n    onToggle: () => {\n        console.log('speed dial is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'dialContent',\n  override: true\n};\n\n/*\n * $parentEl: required\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst dial: DialInterface = new Dial($parentEl, $triggerEl, $targetEl, options);\n\n// show the speed dial\ndial.show();\n```\n\n#### Spinner\n\nThe spinner component can be used as a loading indicator which comes in multiple colors, sizes, and styles separately or inside elements such as buttons to improve the user experience whenever data is being fetched from your server.\n\n##### Default spinner\n\nUse the following SVG element with the `animate-spin` animation class to show a loading animation:\n\n{{< example id=\"default-spinner-example\" github=\"components/spinner.md\" show_dark=true >}}\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Colors\n\nYou can change the colors of the spinner element using the fill and color utility classes from Tailwind CSS:\n\n-   use `fill-{*}` to change the main colors\n-   use `text-{*}` to change the background\n\n{{< example id=\"spinner-colors-example\" github=\"components/spinner.md\" class=\"flex items-center space-x-2 rtl:space-x-reverse\" show_dark=true >}}\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-gray-600 dark:fill-gray-300\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-green-500\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-red-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-yellow-400\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-pink-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-purple-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nChange the size of the spinner component using the `h-{*}` and `w-{*}` utility classes from Tailwind CSS:\n\n{{< example id=\"spinner-sizes-example\" github=\"components/spinner.md\" class=\"flex items-center space-x-2 rtl:space-x-reverse\" show_dark=true >}}\n\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-4 h-4 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-6 h-6 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n<div role=\"status\">\n    <svg aria-hidden=\"true\" class=\"inline w-10 h-10 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n        <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n        <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n    </svg>\n    <span class=\"sr-only\">Loading...</span>\n</div>\n{{< /example >}}\n\n##### Alignment\n\nBecause the spinner component is an inline HTML element it can easily be aligned on the left, center, or right side using the `text-{left|center|right}` utility classes:\n\n{{< example id=\"spinner-alignment-example\" github=\"components/spinner.md\" show_dark=true >}}\n\n<div class=\"text-left rtl:text-right\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n<div class=\"text-center\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n<div class=\"text-right rtl:text-left\">\n    <div role=\"status\">\n        <svg aria-hidden=\"true\" class=\"inline w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n            <path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/>\n        </svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n##### Spinner with card\n\nUse this animated loading indicator when content inside of a card is still loading.\n\n{{< example id=\"spinner-card-example\" github=\"components/spinner.md\" show_dark=true >}}\n\n<div class=\"relative items-center block max-w-sm p-6 bg-white border border-gray-100 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-800 dark:hover:bg-gray-700\">\n    <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white opacity-20\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"font-normal text-gray-600 dark:text-gray-400 opacity-20\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n    <div role=\"status\" class=\"absolute -translate-x-1/2 -translate-y-1/2 top-2/4 left-1/2\">\n        <svg aria-hidden=\"true\" class=\"w-8 h-8 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n        <span class=\"sr-only\">Loading...</span>\n    </div>\n</div>\n{{< /example >}}\n\n##### Progress spinner\n\nUse this animated spinner component inside a list of steppers elements.\n\n{{< example id=\"spinner-progress-example\" github=\"components/spinner.md\" show_dark=true >}}\n\n<h2 class=\"mb-2 text-lg font-semibold text-gray-900 dark:text-white\">Converting your image:</h2>\n<ul class=\"max-w-md space-y-2 text-gray-500 list-inside dark:text-gray-400\">\n    <li class=\"flex items-center\">\n        <svg class=\"w-4 h-4 me-2 text-green-500 dark:text-green-400 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n        </svg>\n        Upload your file to our website\n    </li>\n    <li class=\"flex items-center\">\n        <svg class=\"w-4 h-4 me-2 text-green-500 dark:text-green-400 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n        </svg>\n        Choose your file format\n    </li>\n    <li class=\"flex items-center\">\n        <div role=\"status\">\n            <svg aria-hidden=\"true\" class=\"w-4 h-4 me-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/><path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentFill\"/></svg>\n            <span class=\"sr-only\">Loading...</span>\n        </div>\n        Preparing your file\n    </li>\n</ul>\n{{< /example >}}\n\n##### Buttons\n\nThe spinner component can also be used inside elements such as buttons when submitting form data:\n\n{{< example id=\"spinner-buttons-example\" github=\"components/spinner.md\" show_dark=true >}}\n<button disabled type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 inline-flex items-center\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"inline w-4 h-4 me-3 text-white animate-spin\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"#E5E7EB\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"currentColor\"/>\n</svg>\nLoading...\n</button>\n<button disabled type=\"button\" class=\"py-2.5 px-5 me-2 text-sm font-medium text-gray-900 bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-2 focus:ring-blue-700 focus:text-blue-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 inline-flex items-center\">\n<svg aria-hidden=\"true\" role=\"status\" class=\"inline w-4 h-4 me-3 text-gray-200 animate-spin dark:text-gray-600\" viewBox=\"0 0 100 101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z\" fill=\"currentColor\"/>\n<path d=\"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z\" fill=\"#1C64F2\"/>\n</svg>\nLoading...\n</button>\n{{< /example >}}\n\n##### Accessibillity\n\nUse the `aria-hidden=\"true\"` attribute to hide the SVG spinner icon from the accessibility API and screen readers while showing a loading text element visible only to screen readers using the `.sr-only` class.\n\nThe `role=\"status\"` attribute on the main `<div>` wrapper is used to indicate a status message to assistive technologies such as screen readers.\n\n#### Stepper\n\nThe stepper component can be used to show a numbered list of steps next to a form component to indicate the progress and number of steps that are required to complete and submit the form data.\n\nThere are multiple examples that you can use including horizontal or vertical aligned stepper components, different sizes, styles, and showing icons or numbers all coded with the utility classes from Tailwind CSS.\n\n##### Default stepper\n\nUse this example to show a list of form steps with a number and title of the step in a horizontal alignment.\n\n{{< example id=\"default-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full text-sm font-medium text-center text-gray-500 dark:text-gray-400 sm:text-base\">\n    <li class=\"flex md:w-full items-center text-blue-600 dark:text-blue-500 sm:after:content-[''] after:w-full after:h-1 after:border-b after:border-gray-200 after:border-1 after:hidden sm:after:inline-block after:mx-6 xl:after:mx-10 dark:after:border-gray-700\">\n        <span class=\"flex items-center after:content-['/'] sm:after:hidden after:mx-2 after:text-gray-200 dark:after:text-gray-500\">\n            <svg class=\"w-3.5 h-3.5 sm:w-4 sm:h-4 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n            </svg>\n            Personal <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        </span>\n    </li>\n    <li class=\"flex md:w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-gray-200 after:border-1 after:hidden sm:after:inline-block after:mx-6 xl:after:mx-10 dark:after:border-gray-700\">\n        <span class=\"flex items-center after:content-['/'] sm:after:hidden after:mx-2 after:text-gray-200 dark:after:text-gray-500\">\n            <span class=\"me-2\">2</span>\n            Account <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        </span>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"me-2\">3</span>\n        Confirmation\n    </li>\n</ol>\n{{< /example >}}\n\n##### Progress stepper\n\nThis example can be used to show the progress of the stepper component based only on icons and showing a checkmark when the step has been finished.\n\n{{< example id=\"progress-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full\">\n    <li class=\"flex w-full items-center text-blue-600 dark:text-blue-500 after:content-[''] after:w-full after:h-1 after:border-b after:border-blue-100 after:border-4 after:inline-block dark:after:border-blue-800\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-800 shrink-0\">\n            <svg class=\"w-3.5 h-3.5 text-blue-600 lg:w-4 lg:h-4 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n            </svg>\n        </span>\n    </li>\n    <li class=\"flex w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-gray-100 after:border-4 after:inline-block dark:after:border-gray-700\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-gray-100 rounded-full lg:h-12 lg:w-12 dark:bg-gray-700 shrink-0\">\n            <svg class=\"w-4 h-4 text-gray-500 lg:w-5 lg:h-5 dark:text-gray-100\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n                <path d=\"M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z\"/>\n            </svg>\n        </span>\n    </li>\n    <li class=\"flex items-center w-full\">\n        <span class=\"flex items-center justify-center w-10 h-10 bg-gray-100 rounded-full lg:h-12 lg:w-12 dark:bg-gray-700 shrink-0\">\n            <svg class=\"w-4 h-4 text-gray-500 lg:w-5 lg:h-5 dark:text-gray-100\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2ZM7 2h4v3H7V2Zm5.7 8.289-3.975 3.857a1 1 0 0 1-1.393 0L5.3 12.182a1.002 1.002 0 1 1 1.4-1.436l1.328 1.289 3.28-3.181a1 1 0 1 1 1.392 1.435Z\"/>\n            </svg>\n        </span>\n    </li>\n</ol>\n{{< /example >}}\n\n##### Detailed stepper\n\nUse this example to show an extra subtitle next to the number and the title of the steppper component based on an ordered list element.\n\n{{< example id=\"detailed-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"items-center w-full space-y-4 sm:flex sm:space-x-8 sm:space-y-0 rtl:space-x-reverse\">\n    <li class=\"flex items-center text-blue-600 dark:text-blue-500 space-x-2.5 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-8 h-8 border border-blue-600 rounded-full shrink-0 dark:border-blue-500\">\n            1\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">User info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n    <li class=\"flex items-center text-gray-500 dark:text-gray-400 space-x-2.5 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-8 h-8 border border-gray-500 rounded-full shrink-0 dark:border-gray-400\">\n            2\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">Company info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n    <li class=\"flex items-center text-gray-500 dark:text-gray-400 space-x-2.5 rtl:space-x-reverse\">\n        <span class=\"flex items-center justify-center w-8 h-8 border border-gray-500 rounded-full shrink-0 dark:border-gray-400\">\n            3\n        </span>\n        <span>\n            <h3 class=\"font-medium leading-tight\">Payment info</h3>\n            <p class=\"text-sm\">Step details here</p>\n        </span>\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Vertical stepper\n\nThis example can be used to show a list of steps aligned vertically where you can indicate the completed, currently active, and the unexplored steps.\n\n{{< example id=\"vertical-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"space-y-4 w-72\">\n    <li>\n        <div class=\"w-full p-4 text-green-700 border border-green-300 rounded-lg bg-green-50 dark:bg-gray-800 dark:border-green-800 dark:text-green-400\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">User info</span>\n                <h3 class=\"font-medium\">1. User info</h3>\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 text-green-700 border border-green-300 rounded-lg bg-green-50 dark:bg-gray-800 dark:border-green-800 dark:text-green-400\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Account info</span>\n                <h3 class=\"font-medium\">2. Account info</h3>\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 text-blue-700 bg-blue-100 border border-blue-300 rounded-lg dark:bg-gray-800 dark:border-blue-800 dark:text-blue-400\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Social accounts</span>\n                <h3 class=\"font-medium\">3. Social accounts</h3>\n                <svg class=\"rtl:rotate-180 w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n                </svg>\n            </div>\n        </div>\n    </li>\n    <li>\n        <div class=\"w-full p-4 text-gray-900 bg-gray-100 border border-gray-300 rounded-lg dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Review</span>\n                <h3 class=\"font-medium\">4. Review</h3>\n            </div>\n        </div>\n    </li>\n        <li>\n        <div class=\"w-full p-4 text-gray-900 bg-gray-100 border border-gray-300 rounded-lg dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400\" role=\"alert\">\n            <div class=\"flex items-center justify-between\">\n                <span class=\"sr-only\">Confirmation</span>\n                <h3 class=\"font-medium\">5. Confirmation</h3>\n            </div>\n        </div>\n    </li>\n</ol>\n{{< /example >}}\n\n##### Breadcrumb stepper\n\nThis example can be used to show the number of steps similar to how a breadcrumb component looks like by using double chevron icons between the items.\n\n{{< example id=\"breadcrumb-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n<ol class=\"flex items-center w-full p-3 space-x-2 text-sm font-medium text-center text-gray-500 bg-white border border-gray-200 rounded-lg shadow-xs dark:text-gray-400 sm:text-base dark:bg-gray-800 dark:border-gray-700 sm:p-4 sm:space-x-4 rtl:space-x-reverse\">\n    <li class=\"flex items-center text-blue-600 dark:text-blue-500\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-blue-600 rounded-full shrink-0 dark:border-blue-500\">\n            1\n        </span>\n        Personal <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        <svg class=\"w-3 h-3 ms-2 sm:ms-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 9 4-4-4-4M1 9l4-4-4-4\"/>\n        </svg>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-gray-500 rounded-full shrink-0 dark:border-gray-400\">\n            2\n        </span>\n        Account <span class=\"hidden sm:inline-flex sm:ms-2\">Info</span>\n        <svg class=\"w-3 h-3 ms-2 sm:ms-4 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 9 4-4-4-4M1 9l4-4-4-4\"/>\n        </svg>\n    </li>\n    <li class=\"flex items-center\">\n        <span class=\"flex items-center justify-center w-5 h-5 me-2 text-xs border border-gray-500 rounded-full shrink-0 dark:border-gray-400\">\n            3\n        </span>\n        Review\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Timeline stepper\n\nUse this example to show the number of steps inside a timeline component using icons, title, and subtitle for each step.\n\n{{< example id=\"timeline-stepper-example\" github=\"components/stepper.md\" class=\"p-4\" show_dark=true >}}\n\n<ol class=\"relative text-gray-500 border-s border-gray-200 dark:border-gray-700 dark:text-gray-400\">                  \n    <li class=\"mb-10 ms-6\">            \n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-green-200 rounded-full -start-4 ring-4 ring-white dark:ring-gray-900 dark:bg-green-900\">\n            <svg class=\"w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n            </svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Personal Info</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-gray-100 rounded-full -start-4 ring-4 ring-white dark:ring-gray-900 dark:bg-gray-700\">\n            <svg class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n                <path d=\"M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Account Info</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-gray-100 rounded-full -start-4 ring-4 ring-white dark:ring-gray-900 dark:bg-gray-700\">\n            <svg class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Review</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n    <li class=\"ms-6\">\n        <span class=\"absolute flex items-center justify-center w-8 h-8 bg-gray-100 rounded-full -start-4 ring-4 ring-white dark:ring-gray-900 dark:bg-gray-700\">\n            <svg class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2ZM7 2h4v3H7V2Zm5.7 8.289-3.975 3.857a1 1 0 0 1-1.393 0L5.3 12.182a1.002 1.002 0 1 1 1.4-1.436l1.328 1.289 3.28-3.181a1 1 0 1 1 1.392 1.435Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"font-medium leading-tight\">Confirmation</h3>\n        <p class=\"text-sm\">Step details here</p>\n    </li>\n</ol>\n{{< /example >}}\n\n##### Stepper with form\n\nUse this example to show the stepper component next to a form layout and change the content based on which currently step your are completing.\n\n{{< example id=\"form-stepper-example\" github=\"components/stepper.md\" show_dark=true >}}\n\n<ol class=\"flex items-center w-full mb-4 sm:mb-5\">\n    <li class=\"flex w-full items-center text-blue-600 dark:text-blue-500 after:content-[''] after:w-full after:h-1 after:border-b after:border-blue-100 after:border-4 after:inline-block dark:after:border-blue-800\">\n        <div class=\"flex items-center justify-center w-10 h-10 bg-blue-100 rounded-full lg:h-12 lg:w-12 dark:bg-blue-800 shrink-0\">\n            <svg class=\"w-4 h-4 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n                <path d=\"M18 0H2a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM6.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5ZM3.014 13.021l.157-.625A3.427 3.427 0 0 1 6.5 9.571a3.426 3.426 0 0 1 3.322 2.805l.159.622-6.967.023ZM16 12h-3a1 1 0 0 1 0-2h3a1 1 0 0 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Zm0-3h-3a1 1 0 1 1 0-2h3a1 1 0 1 1 0 2Z\"/>\n            </svg>\n        </div>\n    </li>\n    <li class=\"flex w-full items-center after:content-[''] after:w-full after:h-1 after:border-b after:border-gray-100 after:border-4 after:inline-block dark:after:border-gray-700\">\n        <div class=\"flex items-center justify-center w-10 h-10 bg-gray-100 rounded-full lg:h-12 lg:w-12 dark:bg-gray-700 shrink-0\">\n            <svg class=\"w-4 h-4 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 14\">\n                <path d=\"M18 0H2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM2 12V6h16v6H2Z\"/>\n                <path d=\"M6 8H4a1 1 0 0 0 0 2h2a1 1 0 0 0 0-2Zm8 0H9a1 1 0 0 0 0 2h5a1 1 0 1 0 0-2Z\"/>\n            </svg>\n        </div>\n    </li>\n    <li class=\"flex items-center w-full\">\n        <div class=\"flex items-center justify-center w-10 h-10 bg-gray-100 rounded-full lg:h-12 lg:w-12 dark:bg-gray-700 shrink-0\">\n            <svg class=\"w-4 h-4 text-blue-600 lg:w-6 lg:h-6 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2ZM7 2h4v3H7V2Zm5.7 8.289-3.975 3.857a1 1 0 0 1-1.393 0L5.3 12.182a1.002 1.002 0 1 1 1.4-1.436l1.328 1.289 3.28-3.181a1 1 0 1 1 1.392 1.435Z\"/>\n            </svg>\n        </div>\n    </li>\n</ol>\n<form action=\"#\">\n    <h3 class=\"mb-4 text-lg font-medium leading-none text-gray-900 dark:text-white\">Invoice details</h3>\n    <div class=\"grid gap-4 mb-4 sm:grid-cols-2\">\n        <div>\n            <label for=\"username\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Username</label>\n            <input type=\"text\" name=\"username\" id=\"username\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"username.example\" required=\"\">\n        </div>\n        <div>\n            <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Email</label>\n            <input type=\"email\" name=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@company.com\" required=\"\">\n        </div>\n        <div>\n            <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Password</label>\n            <input type=\"password\" name=\"password\" id=\"password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"•••••••••\" required=\"\">\n        </div>                        <div>\n            <label for=\"confirm-password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Confirm password</label>\n            <input type=\"password\" name=\"confirm-password\" id=\"confirm-password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"•••••••••\" required=\"\">\n        </div>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        Next Step: Payment Info\n    </button>\n</form>\n{{< /example >}}\n\n#### Tables\n\nThe table component represents a set of structured elements made up of rows and columns as table cells that can be used to show data sets to your website users.\n\nGet started with multiple variants and styles of these table components built with the utility classes from Tailwind CSS and components from Flowbite.\n\n##### Default table\n\nUse the following example of a responsive table component to show multiple rows and columns of text data.\n\n{{< example id=\"default-table-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Highlight\n\nAccentuate certain elements inside the table such as the rows, columns or data cells based on your needs.\n\n###### Striped rows\n\nUse this example to increase the readability of the data sets by alternating the background color of every second table row.\n\n{{< example id=\"table-striped-rows-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 border-b dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 border-b dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 border-b dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 border-b dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Striped columns\n\nUse this example to increase the readability of the table cells by alternating the background color of every second table column.\n\n{{< example id=\"table-striped-columns-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 bg-gray-50 dark:bg-gray-800\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 bg-gray-50 dark:bg-gray-800\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b border-gray-200 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap bg-gray-50 dark:text-white dark:bg-gray-800\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4 bg-gray-50 dark:bg-gray-800\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"border-b border-gray-200 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap bg-gray-50 dark:text-white dark:bg-gray-800\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4 bg-gray-50 dark:bg-gray-800\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"border-b border-gray-200 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap bg-gray-50 dark:text-white dark:bg-gray-800\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4 bg-gray-50 dark:bg-gray-800\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n            <tr class=\"border-b border-gray-200 dark:border-gray-700\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap bg-gray-50 dark:text-white dark:bg-gray-800\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4 bg-gray-50 dark:bg-gray-800\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n            </tr>\n            <tr>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap bg-gray-50 dark:text-white dark:bg-gray-800\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4 bg-gray-50 dark:bg-gray-800\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Hover state\n\nUse the `hover:{bg-*}` utility class from Tailwind CSS to change the background color of a data row when hovering over the element with the cursor.\n\n{{< example id=\"table-hover-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Table layout\n\nUse the following examples of table layouts to show the head, foot or caption of the table.\n\n###### Table head (sortable)\n\nThis example can be used to show the head of the table component with sortable icons.\n\n{{< example id=\"table-head-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <div class=\"flex items-center\">\n                        Color\n                        <a href=\"#\"><svg class=\"w-3 h-3 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M8.574 11.024h6.852a2.075 2.075 0 0 0 1.847-1.086 1.9 1.9 0 0 0-.11-1.986L13.736 2.9a2.122 2.122 0 0 0-3.472 0L6.837 7.952a1.9 1.9 0 0 0-.11 1.986 2.074 2.074 0 0 0 1.847 1.086Zm6.852 1.952H8.574a2.072 2.072 0 0 0-1.847 1.087 1.9 1.9 0 0 0 .11 1.985l3.426 5.05a2.123 2.123 0 0 0 3.472 0l3.427-5.05a1.9 1.9 0 0 0 .11-1.985 2.074 2.074 0 0 0-1.846-1.087Z\"/>\n  </svg></a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <div class=\"flex items-center\">\n                        Category\n                        <a href=\"#\"><svg class=\"w-3 h-3 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M8.574 11.024h6.852a2.075 2.075 0 0 0 1.847-1.086 1.9 1.9 0 0 0-.11-1.986L13.736 2.9a2.122 2.122 0 0 0-3.472 0L6.837 7.952a1.9 1.9 0 0 0-.11 1.986 2.074 2.074 0 0 0 1.847 1.086Zm6.852 1.952H8.574a2.072 2.072 0 0 0-1.847 1.087 1.9 1.9 0 0 0 .11 1.985l3.426 5.05a2.123 2.123 0 0 0 3.472 0l3.427-5.05a1.9 1.9 0 0 0 .11-1.985 2.074 2.074 0 0 0-1.846-1.087Z\"/>\n  </svg></a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <div class=\"flex items-center\">\n                        Price\n                        <a href=\"#\"><svg class=\"w-3 h-3 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n    <path d=\"M8.574 11.024h6.852a2.075 2.075 0 0 0 1.847-1.086 1.9 1.9 0 0 0-.11-1.986L13.736 2.9a2.122 2.122 0 0 0-3.472 0L6.837 7.952a1.9 1.9 0 0 0-.11 1.986 2.074 2.074 0 0 0 1.847 1.086Zm6.852 1.952H8.574a2.072 2.072 0 0 0-1.847 1.087 1.9 1.9 0 0 0 .11 1.985l3.426 5.05a2.123 2.123 0 0 0 3.472 0l3.427-5.05a1.9 1.9 0 0 0 .11-1.985 2.074 2.074 0 0 0-1.846-1.087Z\"/>\n  </svg></a>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Table foot\n\nUse this example where the `<tfoot>` HTML element can be used in conjunction with the head and caption of the table component.\n\n{{< example id=\"table-foot-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-100 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 rounded-s-lg\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Qty\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 rounded-e-lg\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                   1\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n        </tbody>\n        <tfoot>\n            <tr class=\"font-semibold text-gray-900 dark:text-white\">\n                <th scope=\"row\" class=\"px-6 py-3 text-base\">Total</th>\n                <td class=\"px-6 py-3\">3</td>\n                <td class=\"px-6 py-3\">21,000</td>\n            </tr>\n        </tfoot>\n    </table>\n</div>\n{{< /example >}}\n\n###### Table caption\n\nImprove accessibility by using a caption inside the table as a heading to better describe what the table is about for screen readers.\n\n{{< example id=\"table-caption-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <caption class=\"p-5 text-lg font-semibold text-left rtl:text-right text-gray-900 bg-white dark:text-white dark:bg-gray-800\">\n            Our products\n            <p class=\"mt-1 text-sm font-normal text-gray-500 dark:text-gray-400\">Browse a list of Flowbite products designed to help you work and play, stay organized, get answers, keep in touch, grow your business, and more.</p>\n        </caption>\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    <span class=\"sr-only\">Edit</span>\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 text-right\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Table styles\n\nGet started with the following table styles and choose the one that best fits your application.\n\n###### Without border\n\nUse this example of a table component without any border between the table cells.\n\n{{< example id=\"table-borderless-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-900 uppercase dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Table with shadow\n\nUse this example to apply a shadow-sm border to the table component.\n\n{{< example id=\"table-shadow-example\" github=\"components/tables.md\" class=\"pb-4 overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Overflow scrolling\n\nUse this example where we apply `overflow-x-auto` to enable horizontal scrolling if the content inside the table overflows that maximum width.\n\n{{< example id=\"table-scroll-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Accessories\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Available\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Weight\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    3.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    0.2 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Watches\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $199\n                </td>\n                <td class=\"px-6 py-4\">\n                    0.12 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple iMac\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    7.0 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple AirPods\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $399\n                </td>\n                <td class=\"px-6 py-4\">\n                    38 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    iPad Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.3 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Keyboard\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    453 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple TV 4K\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    TV\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    1.78 lb.\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    AirTag\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    Yes\n                </td>\n                <td class=\"px-6 py-4\">\n                    No\n                </td>\n                <td class=\"px-6 py-4\">\n                    $29\n                </td>\n                <td class=\"px-6 py-4\">\n                    53 g\n                </td>\n                <td class=\"flex items-center px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline ms-3\">Remove</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Table search\n\nUse this example to show a search bar that can be used to query through data inside the table component.\n\n{{< example id=\"table-search-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <div class=\"pb-4 bg-white dark:bg-gray-900\">\n        <label for=\"table-search\" class=\"sr-only\">Search</label>\n        <div class=\"relative mt-1\">\n            <div class=\"absolute inset-y-0 rtl:inset-r-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n                </svg>\n            </div>\n            <input type=\"text\" id=\"table-search\" class=\"block pt-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search for items\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Table filter\n\nUse this example with a filter bar to select certain data sets inside the table based on the options that you've selected.\n\n{{< example id=\"table-filter-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <div class=\"flex flex-column sm:flex-row flex-wrap space-y-4 sm:space-y-0 items-center justify-between pb-4\">\n        <div>\n            <button id=\"dropdownRadioButton\" data-dropdown-toggle=\"dropdownRadio\" class=\"inline-flex items-center text-gray-500 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-3 py-1.5 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                <svg class=\"w-3 h-3 text-gray-500 dark:text-gray-400 me-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm3.982 13.982a1 1 0 0 1-1.414 0l-3.274-3.274A1.012 1.012 0 0 1 9 10V6a1 1 0 0 1 2 0v3.586l2.982 2.982a1 1 0 0 1 0 1.414Z\"/>\n                    </svg>\n                Last 30 days\n                <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                </svg>\n            </button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownRadio\" class=\"z-10 hidden w-48 bg-white divide-y divide-gray-100 rounded-lg shadow-sm dark:bg-gray-700 dark:divide-gray-600\" data-popper-reference-hidden=\"\" data-popper-escaped=\"\" data-popper-placement=\"top\" style=\"position: absolute; inset: auto auto 0px 0px; margin: 0px; transform: translate3d(522.5px, 3847.5px, 0px);\">\n                <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownRadioButton\">\n                    <li>\n                        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n                            <input id=\"filter-radio-example-1\" type=\"radio\" value=\"\" name=\"filter-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                            <label for=\"filter-radio-example-1\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Last day</label>\n                        </div>\n                    </li>\n                    <li>\n                        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n                            <input checked=\"\" id=\"filter-radio-example-2\" type=\"radio\" value=\"\" name=\"filter-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                            <label for=\"filter-radio-example-2\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Last 7 days</label>\n                        </div>\n                    </li>\n                    <li>\n                        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n                            <input id=\"filter-radio-example-3\" type=\"radio\" value=\"\" name=\"filter-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                            <label for=\"filter-radio-example-3\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Last 30 days</label>\n                        </div>\n                    </li>\n                    <li>\n                        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n                            <input id=\"filter-radio-example-4\" type=\"radio\" value=\"\" name=\"filter-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                            <label for=\"filter-radio-example-4\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Last month</label>\n                        </div>\n                    </li>\n                    <li>\n                        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n                            <input id=\"filter-radio-example-5\" type=\"radio\" value=\"\" name=\"filter-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                            <label for=\"filter-radio-example-5\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Last year</label>\n                        </div>\n                    </li>\n                </ul>\n            </div>\n        </div>\n        <label for=\"table-search\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 left-0 rtl:inset-r-0 rtl:right-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-5 h-5 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" d=\"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z\" clip-rule=\"evenodd\"></path></svg>\n            </div>\n            <input type=\"text\" id=\"table-search\" class=\"block p-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search for items\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Table pagination\n\nPaginate the table data when using larger data sets based on any given amount of results per page.\n\n{{< example id=\"table-pagination-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Watches\n                </td>\n                <td class=\"px-6 py-4\">\n                    $199\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple iMac\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple AirPods\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $399\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    iPad Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Keyboard\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Smart Folio iPad Air\n                </th>\n                <td class=\"px-6 py-4\">\n                    Blue\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $79\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    AirTag\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $29\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n    <nav class=\"flex items-center flex-column flex-wrap md:flex-row justify-between pt-4\" aria-label=\"Table navigation\">\n        <span class=\"text-sm font-normal text-gray-500 dark:text-gray-400 mb-4 md:mb-0 block w-full md:inline md:w-auto\">Showing <span class=\"font-semibold text-gray-900 dark:text-white\">1-10</span> of <span class=\"font-semibold text-gray-900 dark:text-white\">1000</span></span>\n        <ul class=\"inline-flex -space-x-px rtl:space-x-reverse text-sm h-8\">\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 ms-0 leading-tight text-gray-500 bg-white border border-gray-300 rounded-s-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Previous</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">1</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">2</a>\n            </li>\n            <li>\n                <a href=\"#\" aria-current=\"page\" class=\"flex items-center justify-center px-3 h-8 text-blue-600 border border-gray-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white\">3</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">4</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">5</a>\n            </li>\n            <li>\n        <a href=\"#\" class=\"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white\">Next</a>\n            </li>\n        </ul>\n    </nav>\n</div>\n{{< /example >}}\n\n##### Checkbox selection\n\nCheckboxes can be used inside table data rows to select multiple data sets and apply a bulk action.\n\n{{< example id=\"table-checkbox-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple Watch\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $179\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    iPad\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gold\n                </td>\n                <td class=\"px-6 py-4\">\n                    Tablet\n                </td>\n                <td class=\"px-6 py-4\">\n                    $699\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    Apple iMac 27\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    PC Desktop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $3999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Table with users\n\nUse this example of a table where we show a data set of users and showing a profile picture, name, email, online status, and more.\n\n{{< example id=\"table-users-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <div class=\"flex items-center justify-between flex-column flex-wrap md:flex-row space-y-4 md:space-y-0 pb-4 bg-white dark:bg-gray-900\">\n        <div>\n            <button id=\"dropdownActionButton\" data-dropdown-toggle=\"dropdownAction\" class=\"inline-flex items-center text-gray-500 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-3 py-1.5 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                <span class=\"sr-only\">Action button</span>\n                Action\n                <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                </svg>\n            </button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownAction\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n                <ul class=\"py-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownActionButton\">\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reward</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Promote</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Activate account</a>\n                    </li>\n                </ul>\n                <div class=\"py-1\">\n                    <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Delete User</a>\n                </div>\n            </div>\n        </div>\n        <label for=\"table-search\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 rtl:inset-r-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n                </svg>\n            </div>\n            <input type=\"text\" id=\"table-search-users\" class=\"block p-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search for users\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Position\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Status\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Neil Sims</div>\n                        <div class=\"font-normal text-gray-500\">neil.sims@flowbite.com</div>\n                    </div>  \n                </th>\n                <td class=\"px-6 py-4\">\n                    React Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Bonnie Green</div>\n                        <div class=\"font-normal text-gray-500\">bonnie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Designer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Jese Leos</div>\n                        <div class=\"font-normal text-gray-500\">jese@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Vue JS Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Thomas Lean</div>\n                        <div class=\"font-normal text-gray-500\">thomes@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    UI/UX Engineer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Leslie Livingston</div>\n                        <div class=\"font-normal text-gray-500\">leslie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    SEO Specialist\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-red-500 me-2\"></div> Offline\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### Table with products\n\nGet started with this example to show a list of products inside the table and show a preview image, product name, quantity selector, price and actions tab.\n\n{{< example id=\"table-products-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"px-16 py-3\">\n                    <span class=\"sr-only\">Image</span>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Qty\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/apple-watch.png\" class=\"w-16 md:w-32 max-w-full max-h-full\" alt=\"Apple Watch\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    Apple Watch\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <button class=\"inline-flex items-center justify-center p-1 me-3 text-sm font-medium h-6 w-6 text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n                            </svg>\n                        </button>\n                        <div>\n                            <input type=\"number\" id=\"first_product\" class=\"bg-gray-50 w-14 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block px-2.5 py-1 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"1\" required />\n                        </div>\n                        <button class=\"inline-flex items-center justify-center h-6 w-6 p-1 ms-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n                            </svg>\n                        </button>\n                    </div>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    $599\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/imac.png\" class=\"w-16 md:w-32 max-w-full max-h-full\" alt=\"Apple iMac\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    iMac 27\"\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <button class=\"inline-flex items-center justify-center p-1 text-sm font-medium h-6 w-6 text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n                            </svg>\n                        </button>\n                        <div class=\"ms-3\">\n                            <input type=\"number\" id=\"first_product\" class=\"bg-gray-50 w-14 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block px-2.5 py-1 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"1\" required />\n                        </div>\n                        <button class=\"inline-flex items-center justify-center h-6 w-6 p-1 ms-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n                            </svg>\n                        </button>\n                    </div>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    $2499\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline\">Remove</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"p-4\">\n                    <img src=\"/docs/images/products/iphone-12.png\" class=\"w-16 md:w-32 max-w-full max-h-full\" alt=\"iPhone 12\">\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    IPhone 12 \n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <button class=\"inline-flex items-center justify-center p-1 text-sm font-medium h-6 w-6 text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n                            </svg>\n                        </button>\n                        <div class=\"ms-3\">\n                            <input type=\"number\" id=\"first_product\" class=\"bg-gray-50 w-14 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block px-2.5 py-1 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"1\" required />\n                        </div>\n                        <button class=\"inline-flex items-center justify-center h-6 w-6 p-1 ms-3 text-sm font-medium text-gray-500 bg-white border border-gray-300 rounded-full focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-200 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                            <span class=\"sr-only\">Quantity button</span>\n                            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n                            </svg>\n                        </button>\n                    </div>\n                </td>\n                <td class=\"px-6 py-4 font-semibold text-gray-900 dark:text-white\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-red-600 dark:text-red-500 hover:underline\">Remove</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Table with modal\n\nUse this example to show a modal with a form where you can edit table data by clicking on one of the rows.\n\n{{< example id=\"table-modal-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true iframeHeight=\"640\" >}}\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <div class=\"flex items-center justify-between flex-column md:flex-row flex-wrap space-y-4 md:space-y-0 py-4 bg-white dark:bg-gray-900\">\n        <div>\n            <button id=\"dropdownActionButton\" data-dropdown-toggle=\"dropdownAction\" class=\"inline-flex items-center text-gray-500 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-3 py-1.5 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700\" type=\"button\">\n                <span class=\"sr-only\">Action button</span>\n                Action\n                <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                </svg>\n            </button>\n            <!-- Dropdown menu -->\n            <div id=\"dropdownAction\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700 dark:divide-gray-600\">\n                <ul class=\"py-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownActionButton\">\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Reward</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Promote</a>\n                    </li>\n                    <li>\n                        <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Activate account</a>\n                    </li>\n                </ul>\n                <div class=\"py-1\">\n                    <a href=\"#\" class=\"block px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white\">Delete User</a>\n                </div>\n            </div>\n        </div>\n        <label for=\"table-search\" class=\"sr-only\">Search</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 rtl:inset-r-0 start-0 flex items-center ps-3 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n                </svg>\n            </div>\n            <input type=\"text\" id=\"table-search-users\" class=\"block pt-2 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search for users\">\n        </div>\n    </div>\n    <table class=\"w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400\">\n        <thead class=\"text-xs text-gray-600 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400\">\n            <tr>\n                <th scope=\"col\" class=\"p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-all-search\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-all-search\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Position\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Status\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-1\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-1\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Neil Sims</div>\n                        <div class=\"font-normal text-gray-500\">neil.sims@flowbite.com</div>\n                    </div>  \n                </th>\n                <td class=\"px-6 py-4\">\n                    React Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-target=\"editUserModal\" data-modal-show=\"editUserModal\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Bonnie Green</div>\n                        <div class=\"font-normal text-gray-500\">bonnie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Designer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Jese Leos</div>\n                        <div class=\"font-normal text-gray-500\">jese@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    Vue JS Developer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-2\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-2\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Thomas Lean</div>\n                        <div class=\"font-normal text-gray-500\">thomes@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    UI/UX Engineer\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-green-500 me-2\"></div> Online\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n            <tr class=\"bg-white dark:bg-gray-800 hover:bg-gray-50 dark:hover:bg-gray-600\">\n                <td class=\"w-4 p-4\">\n                    <div class=\"flex items-center\">\n                        <input id=\"checkbox-table-search-3\" type=\"checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n                        <label for=\"checkbox-table-search-3\" class=\"sr-only\">checkbox</label>\n                    </div>\n                </td>\n                <th scope=\"row\" class=\"flex items-center px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white\">\n                    <img class=\"w-10 h-10 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Jese image\">\n                    <div class=\"ps-3\">\n                        <div class=\"text-base font-semibold\">Leslie Livingston</div>\n                        <div class=\"font-normal text-gray-500\">leslie@flowbite.com</div>\n                    </div>\n                </th>\n                <td class=\"px-6 py-4\">\n                    SEO Specialist\n                </td>\n                <td class=\"px-6 py-4\">\n                    <div class=\"flex items-center\">\n                        <div class=\"h-2.5 w-2.5 rounded-full bg-red-500 me-2\"></div> Offline\n                    </div>\n                </td>\n                <td class=\"px-6 py-4\">\n                    <!-- Modal toggle -->\n                    <a href=\"#\" type=\"button\" data-modal-show=\"editUserModal\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Edit user</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n    <!-- Edit user modal -->\n    <div id=\"editUserModal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"fixed top-0 left-0 right-0 z-50 items-center justify-center hidden w-full p-4 overflow-x-hidden overflow-y-auto md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n        <div class=\"relative w-full max-w-2xl max-h-full\">\n            <!-- Modal content -->\n            <form class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n                <!-- Modal header -->\n                <div class=\"flex items-start justify-between p-4 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                    <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                        Edit user\n                    </h3>\n                   <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"editUserModal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n                </div>\n                <!-- Modal body -->\n                <div class=\"p-6 space-y-6\">\n                    <div class=\"grid grid-cols-6 gap-6\">\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"first-name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">First Name</label>\n                            <input type=\"text\" name=\"first-name\" id=\"first-name\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Bonnie\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"last-name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Last Name</label>\n                            <input type=\"text\" name=\"last-name\" id=\"last-name\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Green\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Email</label>\n                            <input type=\"email\" name=\"email\" id=\"email\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"example@company.com\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"phone-number\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Phone Number</label>\n                            <input type=\"number\" name=\"phone-number\" id=\"phone-number\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"e.g. +(12)3456 789\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"department\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Department</label>\n                            <input type=\"text\" name=\"department\" id=\"department\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Development\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"company\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Company</label>\n                            <input type=\"number\" name=\"company\" id=\"company\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"123456\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"current-password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Current Password</label>\n                            <input type=\"password\" name=\"current-password\" id=\"current-password\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"••••••••\" required=\"\">\n                        </div>\n                        <div class=\"col-span-6 sm:col-span-3\">\n                            <label for=\"new-password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">New Password</label>\n                            <input type=\"password\" name=\"new-password\" id=\"new-password\" class=\"shadow-xs bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-600 focus:border-blue-600 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"••••••••\" required=\"\">\n                        </div>\n                    </div>\n                </div>\n                <!-- Modal footer -->\n                <div class=\"flex items-center p-6 space-x-3 rtl:space-x-reverse border-t border-gray-200 rounded-b dark:border-gray-600\">\n                    <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Save all</button>\n                </div>\n            </form>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Comparison table\n\nUse this example to compare values inside a table such as a pricing card.\n\n{{< example id=\"table-comparison-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div id=\"detailed-pricing\" class=\"w-full overflow-x-auto\">\n    <div class=\"overflow-hidden min-w-max\">\n        <div class=\"grid grid-cols-4 p-4 text-sm font-medium text-gray-900 bg-gray-100 border-t border-b border-gray-200 gap-x-16 dark:bg-gray-800 dark:border-gray-700 dark:text-white\">\n            <div class=\"flex items-center\">Tailwind CSS code</div>\n            <div>Community Edition</div>\n            <div>Developer Edition</div>\n            <div>Designer Edition</div>\n        </div>\n        <div class=\"grid grid-cols-4 px-4 py-5 text-sm text-gray-600 border-b border-gray-200 gap-x-16 dark:border-gray-700\">\n            <div class=\"text-gray-500 dark:text-gray-400\">Basic components (<a href=\"#\" class=\"text-blue-600 hover:underline\">view all</a>)</div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n        </div>\n        <div class=\"grid grid-cols-4 px-4 py-5 text-sm text-gray-600 border-b border-gray-200 gap-x-16 dark:border-gray-700\">\n            <div class=\"text-gray-500 dark:text-gray-400\">Application UI (<a href=\"#\" class=\"text-blue-600 hover:underline\">view demo</a>)</div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n        </div>\n        <div class=\"grid grid-cols-4 px-4 py-5 text-sm text-gray-600 border-b border-gray-200 gap-x-16 dark:border-gray-700\">\n            <div class=\"text-gray-500 dark:text-gray-400\">Marketing UI pre-order</div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n        </div>\n        <div class=\"grid grid-cols-4 px-4 py-5 text-sm text-gray-600 border-b border-gray-200 gap-x-16 dark:border-gray-700\">\n            <div class=\"text-gray-500 dark:text-gray-400\">E-commerce UI pre-order</div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-green-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n                </svg>\n            </div>\n            <div>\n                <svg class=\"w-3 h-3 text-red-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                </svg>\n            </div>\n        </div>\n        <div class=\"grid grid-cols-4 px-4 py-5 text-sm text-gray-600 border-b border-gray-200 gap-x-16 dark:border-gray-700\">\n            <div class=\"text-gray-500 dark:text-gray-400\"></div>\n            <div>\n                <a href=\"#\" class=\"text-white block w-full bg-blue-600 hover:bg-blue-700 focus:ring-4 focus:ring-blue-200 font-medium rounded-lg text-sm px-4 py-2.5 text-center dark:focus:ring-blue-900\">Buy now</a>\n            </div>\n            <div>\n                <a href=\"#\" class=\"text-white block w-full bg-blue-600 hover:bg-blue-700 focus:ring-4 focus:ring-blue-200 font-medium rounded-lg text-sm px-4 py-2.5 text-center dark:focus:ring-blue-900\">Buy now</a>\n            </div>\n            <div>\n                <a href=\"#\" class=\"text-white block w-full bg-blue-600 hover:bg-blue-700 focus:ring-4 focus:ring-blue-200 font-medium rounded-lg text-sm px-4 py-2.5 text-center dark:focus:ring-blue-900\">Buy now</a>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Table colors\n\nApply any color to the table element by using the `bg-{color}` and `text-{color}` color class variants from Tailwind CSS.\n\n{{< example id=\"table-colors-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-blue-100 dark:text-blue-100\">\n        <thead class=\"text-xs text-white uppercase bg-blue-600 dark:text-white\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-blue-40\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Striped rows color\n\nUse this example to apply a different color to every second row inside the table.\n\n{{< example id=\"table-striped-rows-colors-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-blue-100 dark:text-blue-100\">\n        <thead class=\"text-xs text-white uppercase bg-blue-600 dark:text-white\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-500 border-blue-40\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Striped columns color\n\nUse this example to apply a different color to every second column inside a colored table.\n\n{{< example id=\"table-striped-columns-colors-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-blue-100 dark:text-blue-100\">\n        <thead class=\"text-xs text-white uppercase bg-blue-600 border-b border-blue-400 dark:text-white\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3 bg-blue-500\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 bg-blue-500\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3 bg-blue-500\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium bg-blue-500 text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium bg-blue-500 text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium bg-blue-500 text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium bg-blue-500 text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-blue-40\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium bg-blue-500 text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4 bg-blue-500\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n###### Hover state\n\nUse this example to apply a different color to every second row inside the table with a colored background.\n\n{{< example id=\"table-striped-colors-hover-example\" github=\"components/tables.md\" class=\"overflow-hidden\" show_dark=true >}}\n\n<div class=\"relative overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left rtl:text-right text-blue-100 dark:text-blue-100\">\n        <thead class=\"text-xs text-white uppercase bg-blue-600 border-b border-blue-400 dark:text-white\">\n            <tr>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Product name\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Color\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Category\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Price\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Action\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"bg-blue-600 border-b border-blue-400 hover:bg-blue-500\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple MacBook Pro 17\"\n                </th>\n                <td class=\"px-6 py-4\">\n                    Silver\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop\n                </td>\n                <td class=\"px-6 py-4\">\n                    $2999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400 hover:bg-blue-500\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Microsoft Surface Pro\n                </th>\n                <td class=\"px-6 py-4\">\n                    White\n                </td>\n                <td class=\"px-6 py-4\">\n                    Laptop PC\n                </td>\n                <td class=\"px-6 py-4\">\n                    $1999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400 hover:bg-blue-500\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Magic Mouse 2\n                </th>\n                <td class=\"px-6 py-4\">\n                    Black\n                </td>\n                <td class=\"px-6 py-4\">\n                    Accessories\n                </td>\n                <td class=\"px-6 py-4\">\n                    $99\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-b border-blue-400 hover:bg-blue-500\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Google Pixel Phone\n                </th>\n                <td class=\"px-6 py-4\">\n                    Gray\n                </td>\n                <td class=\"px-6 py-4\">\n                    Phone\n                </td>\n                <td class=\"px-6 py-4\">\n                    $799\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n            <tr class=\"bg-blue-600 border-blue-400 hover:bg-blue-500\">\n                <th scope=\"row\" class=\"px-6 py-4 font-medium text-blue-50 whitespace-nowrap dark:text-blue-100\">\n                    Apple Watch 5\n                </th>\n                <td class=\"px-6 py-4\">\n                    Red\n                </td>\n                <td class=\"px-6 py-4\">\n                    Wearables\n                </td>\n                <td class=\"px-6 py-4\">\n                    $999\n                </td>\n                <td class=\"px-6 py-4\">\n                    <a href=\"#\" class=\"font-medium text-white hover:underline\">Edit</a>\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n{{< /example >}}\n\n##### More examples\n\nYou can check out more table component examples from the following resources from Flowbite Blocks:\n\n-   [Advanced tables](https://flowbite.com/blocks/application/advanced-tables/)\n-   [Table headers](https://flowbite.com/blocks/application/table-headers/)\n-   [Table footers](https://flowbite.com/blocks/application/table-footers/)\n-   [Pricing tables](https://flowbite.com/blocks/marketing/pricing/)\n\n#### Tabs\n\nThe tabs component can be used either as an extra navigational hierarchy complementing the main navbar or you can also use it to change content inside a container just below the tabs using the data attributes from Flowbite.\n\n##### Default tabs\n\nUse the following default tabs component example to show a list of links that the user can navigate from on your website.\n\n{{< example id=\"default-tabs-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<ul class=\"flex flex-wrap text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400\">\n    <li class=\"me-2\">\n        <a href=\"#\" aria-current=\"page\" class=\"inline-block p-4 text-blue-600 bg-gray-100 rounded-t-lg active dark:bg-gray-800 dark:text-blue-500\">Profile</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300\">Dashboard</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300\">Settings</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block p-4 rounded-t-lg hover:text-gray-600 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-300\">Contacts</a>\n    </li>\n    <li>\n        <a class=\"inline-block p-4 text-gray-400 rounded-t-lg cursor-not-allowed dark:text-gray-500\">Disabled</a>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Tabs with underline\n\nUse this alternative tabs component style with an underline instead of a background when hovering and being active on a certain page.\n\n{{< example id=\"tabs-underline-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:text-gray-400 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px\">\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\">Profile</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 text-blue-600 border-b-2 border-blue-600 rounded-t-lg active dark:text-blue-500 dark:border-blue-500\" aria-current=\"page\">Dashboard</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\">Settings</a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-block p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\">Contacts</a>\n        </li>\n        <li>\n            <a class=\"inline-block p-4 text-gray-400 rounded-t-lg cursor-not-allowed dark:text-gray-500\">Disabled</a>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Tabs with icons\n\nThis is an example of the tabs component where you can also use a SVG powered icon to complement the text within the navigational tabs.\n\n{{< example id=\"tabs-icons-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"border-b border-gray-200 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center text-gray-500 dark:text-gray-400\">\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300 group\">\n                <svg class=\"w-4 h-4 me-2 text-gray-400 group-hover:text-gray-500 dark:text-gray-500 dark:group-hover:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n                </svg>Profile\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 text-blue-600 border-b-2 border-blue-600 rounded-t-lg active dark:text-blue-500 dark:border-blue-500 group\" aria-current=\"page\">\n                <svg class=\"w-4 h-4 me-2 text-blue-600 dark:text-blue-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\">\n                    <path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/>\n                </svg>Dashboard\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300 group\">\n                <svg class=\"w-4 h-4 me-2 text-gray-400 group-hover:text-gray-500 dark:text-gray-500 dark:group-hover:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M5 11.424V1a1 1 0 1 0-2 0v10.424a3.228 3.228 0 0 0 0 6.152V19a1 1 0 1 0 2 0v-1.424a3.228 3.228 0 0 0 0-6.152ZM19.25 14.5A3.243 3.243 0 0 0 17 11.424V1a1 1 0 0 0-2 0v10.424a3.227 3.227 0 0 0 0 6.152V19a1 1 0 1 0 2 0v-1.424a3.243 3.243 0 0 0 2.25-3.076Zm-6-9A3.243 3.243 0 0 0 11 2.424V1a1 1 0 0 0-2 0v1.424a3.228 3.228 0 0 0 0 6.152V19a1 1 0 1 0 2 0V8.576A3.243 3.243 0 0 0 13.25 5.5Z\"/>\n                </svg>Settings\n            </a>\n        </li>\n        <li class=\"me-2\">\n            <a href=\"#\" class=\"inline-flex items-center justify-center p-4 border-b-2 border-transparent rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300 group\">\n                <svg class=\"w-4 h-4 me-2 text-gray-400 group-hover:text-gray-500 dark:text-gray-500 dark:group-hover:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                    <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n                </svg>Contacts\n            </a>\n        </li>\n        <li>\n            <a class=\"inline-block p-4 text-gray-400 rounded-t-lg cursor-not-allowed dark:text-gray-500\">Disabled</a>\n        </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Pills tabs\n\nIf you want to use pills as a style for the tabs component you can do so by using this example.\n\n{{< example id=\"tabs-pill-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<ul class=\"flex flex-wrap text-sm font-medium text-center text-gray-500 dark:text-gray-400\">\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-3 text-white bg-blue-600 rounded-lg active\" aria-current=\"page\">Tab 1</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\"  class=\"inline-block px-4 py-3 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white\">Tab 2</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-3 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white\">Tab 3</a>\n    </li>\n    <li class=\"me-2\">\n        <a href=\"#\" class=\"inline-block px-4 py-3 rounded-lg hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white\">Tab 4</a>\n    </li>\n    <li>\n        <a class=\"inline-block px-4 py-3 text-gray-400 cursor-not-allowed dark:text-gray-500\">Tab 5</a>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Vertical tabs\n\nUse this example to show a vertically aligned set of tabs on the left side of the page.\n\n{{< example id=\"tabs-vertical-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"md:flex\">\n    <ul class=\"flex-column space-y space-y-4 text-sm font-medium text-gray-500 dark:text-gray-400 md:me-4 mb-4 md:mb-0\">\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 text-white bg-blue-700 rounded-lg active w-full dark:bg-blue-600\" aria-current=\"page\">\n                <svg class=\"w-4 h-4 me-2 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n                </svg>\n                Profile\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-lg hover:text-gray-900 bg-gray-50 hover:bg-gray-100 w-full dark:bg-gray-800 dark:hover:bg-gray-700 dark:hover:text-white\">\n                <svg class=\"w-4 h-4 me-2 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 18\"><path d=\"M6.143 0H1.857A1.857 1.857 0 0 0 0 1.857v4.286C0 7.169.831 8 1.857 8h4.286A1.857 1.857 0 0 0 8 6.143V1.857A1.857 1.857 0 0 0 6.143 0Zm10 0h-4.286A1.857 1.857 0 0 0 10 1.857v4.286C10 7.169 10.831 8 11.857 8h4.286A1.857 1.857 0 0 0 18 6.143V1.857A1.857 1.857 0 0 0 16.143 0Zm-10 10H1.857A1.857 1.857 0 0 0 0 11.857v4.286C0 17.169.831 18 1.857 18h4.286A1.857 1.857 0 0 0 8 16.143v-4.286A1.857 1.857 0 0 0 6.143 10Zm10 0h-4.286A1.857 1.857 0 0 0 10 11.857v4.286c0 1.026.831 1.857 1.857 1.857h4.286A1.857 1.857 0 0 0 18 16.143v-4.286A1.857 1.857 0 0 0 16.143 10Z\"/></svg>\n                Dashboard\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-lg hover:text-gray-900 bg-gray-50 hover:bg-gray-100 w-full dark:bg-gray-800 dark:hover:bg-gray-700 dark:hover:text-white\">\n                <svg class=\"w-4 h-4 me-2 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M18 7.5h-.423l-.452-1.09.3-.3a1.5 1.5 0 0 0 0-2.121L16.01 2.575a1.5 1.5 0 0 0-2.121 0l-.3.3-1.089-.452V2A1.5 1.5 0 0 0 11 .5H9A1.5 1.5 0 0 0 7.5 2v.423l-1.09.452-.3-.3a1.5 1.5 0 0 0-2.121 0L2.576 3.99a1.5 1.5 0 0 0 0 2.121l.3.3L2.423 7.5H2A1.5 1.5 0 0 0 .5 9v2A1.5 1.5 0 0 0 2 12.5h.423l.452 1.09-.3.3a1.5 1.5 0 0 0 0 2.121l1.415 1.413a1.5 1.5 0 0 0 2.121 0l.3-.3 1.09.452V18A1.5 1.5 0 0 0 9 19.5h2a1.5 1.5 0 0 0 1.5-1.5v-.423l1.09-.452.3.3a1.5 1.5 0 0 0 2.121 0l1.415-1.414a1.5 1.5 0 0 0 0-2.121l-.3-.3.452-1.09H18a1.5 1.5 0 0 0 1.5-1.5V9A1.5 1.5 0 0 0 18 7.5Zm-8 6a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Z\"/>\n                </svg>\n                Settings\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"inline-flex items-center px-4 py-3 rounded-lg hover:text-gray-900 bg-gray-50 hover:bg-gray-100 w-full dark:bg-gray-800 dark:hover:bg-gray-700 dark:hover:text-white\">\n                <svg class=\"w-4 h-4 me-2 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M7.824 5.937a1 1 0 0 0 .726-.312 2.042 2.042 0 0 1 2.835-.065 1 1 0 0 0 1.388-1.441 3.994 3.994 0 0 0-5.674.13 1 1 0 0 0 .725 1.688Z\"/>\n                    <path d=\"M17 7A7 7 0 1 0 3 7a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1a1 1 0 0 0 1-1V7a5 5 0 1 1 10 0v7.083A2.92 2.92 0 0 1 12.083 17H12a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h1a1.993 1.993 0 0 0 1.722-1h.361a4.92 4.92 0 0 0 4.824-4H17a3 3 0 0 0 3-3v-2a3 3 0 0 0-3-3Z\"/>\n                </svg>\n                Contact\n            </a>\n        </li>\n        <li>\n            <a class=\"inline-flex items-center px-4 py-3 text-gray-400 rounded-lg cursor-not-allowed bg-gray-50 w-full dark:bg-gray-800 dark:text-gray-500\">\n                <svg class=\"w-4 h-4 me-2 text-gray-400 dark:text-gray-500\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z\"/>\n                </svg>\n            Disabled</a>\n        </li>\n    </ul>\n    <div class=\"p-6 bg-gray-50 text-medium text-gray-500 dark:text-gray-400 dark:bg-gray-800 rounded-lg w-full\">\n        <h3 class=\"text-lg font-bold text-gray-900 dark:text-white mb-2\">Profile Tab</h3>\n        <p class=\"mb-2\">This is some placeholder content the Profile tab's associated content, clicking another tab will toggle the visibility of this one for the next.</p>\n        <p>The tab JavaScript swaps classes to control the content visibility and styling.</p> \n    </div>\n</div>\n\n{{< /example >}}\n\n\n##### Full width tabs\n\nIf you want to show the tabs on the full width relative to the parent element you can do so by using the full width tabs component example.\n\n{{< example id=\"tabs-full-width-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"sm:hidden\">\n    <label for=\"tabs\" class=\"sr-only\">Select your country</label>\n    <select id=\"tabs\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n        <option>Profile</option>\n        <option>Dashboard</option>\n        <option>setting</option>\n        <option>Invoice</option>\n    </select>\n</div>\n<ul class=\"hidden text-sm font-medium text-center text-gray-500 rounded-lg shadow-sm sm:flex dark:divide-gray-700 dark:text-gray-400\">\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full p-4 text-gray-900 bg-gray-100 border-r border-gray-200 dark:border-gray-700 rounded-s-lg focus:ring-4 focus:ring-blue-300 active focus:outline-none dark:bg-gray-700 dark:text-white\" aria-current=\"page\">Profile</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full p-4 bg-white border-r border-gray-200 dark:border-gray-700 hover:text-gray-600 hover:bg-gray-50 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\">Dashboard</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full p-4 bg-white border-r border-gray-200 dark:border-gray-700 hover:text-gray-600 hover:bg-gray-50 focus:ring-4 focus:ring-blue-300 focus:outline-none dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\">Settings</a>\n    </li>\n    <li class=\"w-full focus-within:z-10\">\n        <a href=\"#\" class=\"inline-block w-full p-4 bg-white border-s-0 border-gray-200 dark:border-gray-700 rounded-e-lg hover:text-gray-600 hover:bg-gray-50 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\">Invoice</a>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Interactive tabs\n\nUse the dynamic tabs component to interactively show and hide the content below the tabs based on the currently active tab item. Make sure that you initialize the component by using the `data-tabs-toggle=\"{parentTabContentSelector}\"` and also apply an `id` attribute to the same element.\n\nEach tab toggle button requires a `role=\"tab\"` attribute and a `data-tabs-target=\"{tabContentSelector}\"` to target the tab content element that will be shown when clicked.\n\nUse the `aria-selected=\"true\"` data attribute so that Flowbite can target the currently active tab component and hide it when another is shown. If not set, it will show the first tab as active.\n\nApply the `role=\"tabpanel\"` data attribute to every tab content element and set the `id` attribute which will be equal to the `data-tabs-target={tabContentSelector}` from the tabs toggles.\n\nYou can use multiple tab components on a single page but make sure that the id's are different.\n\n{{< example id=\"tabs-interactive-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"mb-4 border-b border-gray-200 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center\" id=\"default-tab\" data-tabs-toggle=\"#default-tab-content\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg\" id=\"profile-tab\" data-tabs-target=\"#profile\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Profile</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"dashboard-tab\" data-tabs-target=\"#dashboard\" type=\"button\" role=\"tab\" aria-controls=\"dashboard\" aria-selected=\"false\">Dashboard</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"settings-tab\" data-tabs-target=\"#settings\" type=\"button\" role=\"tab\" aria-controls=\"settings\" aria-selected=\"false\">Settings</button>\n        </li>\n        <li role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"contacts-tab\" data-tabs-target=\"#contacts\" type=\"button\" role=\"tab\" aria-controls=\"contacts\" aria-selected=\"false\">Contacts</button>\n        </li>\n    </ul>\n</div>\n<div id=\"default-tab-content\">\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Profile tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"dashboard\" role=\"tabpanel\" aria-labelledby=\"dashboard-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Dashboard tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"settings\" role=\"tabpanel\" aria-labelledby=\"settings-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Settings tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"contacts\" role=\"tabpanel\" aria-labelledby=\"contacts-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Contacts tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### Active tab style\n\nUse the `data-tabs-active-classes` and the `data-tabs-inactive-classes` to set the active and inactive tab Tailwind CSS classes. In this example we set the active classes to the purple color instead of blue.\n\n{{< example id=\"tabs-interactive-active-example\" github=\"components/tabs.md\" show_dark=true >}}\n\n<div class=\"mb-4 border-b border-gray-200 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center\" id=\"default-styled-tab\" data-tabs-toggle=\"#default-styled-tab-content\" data-tabs-active-classes=\"text-purple-600 hover:text-purple-600 dark:text-purple-500 dark:hover:text-purple-500 border-purple-600 dark:border-purple-500\" data-tabs-inactive-classes=\"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg\" id=\"profile-styled-tab\" data-tabs-target=\"#styled-profile\" type=\"button\" role=\"tab\" aria-controls=\"profile\" aria-selected=\"false\">Profile</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"dashboard-styled-tab\" data-tabs-target=\"#styled-dashboard\" type=\"button\" role=\"tab\" aria-controls=\"dashboard\" aria-selected=\"false\">Dashboard</button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"settings-styled-tab\" data-tabs-target=\"#styled-settings\" type=\"button\" role=\"tab\" aria-controls=\"settings\" aria-selected=\"false\">Settings</button>\n        </li>\n        <li role=\"presentation\">\n            <button class=\"inline-block p-4 border-b-2 rounded-t-lg hover:text-gray-600 hover:border-gray-300 dark:hover:text-gray-300\" id=\"contacts-styled-tab\" data-tabs-target=\"#styled-contacts\" type=\"button\" role=\"tab\" aria-controls=\"contacts\" aria-selected=\"false\">Contacts</button>\n        </li>\n    </ul>\n</div>\n<div id=\"default-styled-tab-content\">\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"styled-profile\" role=\"tabpanel\" aria-labelledby=\"profile-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Profile tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"styled-dashboard\" role=\"tabpanel\" aria-labelledby=\"dashboard-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Dashboard tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"styled-settings\" role=\"tabpanel\" aria-labelledby=\"settings-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Settings tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n    <div class=\"hidden p-4 rounded-lg bg-gray-50 dark:bg-gray-800\" id=\"styled-contacts\" role=\"tabpanel\" aria-labelledby=\"contacts-tab\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">This is some placeholder content the <strong class=\"font-medium text-gray-800 dark:text-white\">Contacts tab's associated content</strong>. Clicking another tab will toggle the visibility of this one for the next. The tab JavaScript swaps classes to control the content visibility and styling.</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nThe **Tabs** class from Flowbite can be used to create an object that will enable the interactive navigation between tabs and its content based on the parameters, options, methods, and callback functions that you apply.\n\n###### Object parameters\n\nCreate a new Tabs object with parameters such as an array of the tab and content elements.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">tabsElement</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Parent HTML element of the tabs component.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">items</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Array of the tab objects including the id, trigger element, and the content element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    An object of options for the appearances of the tabs and to use callback functions.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the second parameter for the Tabs object to set the appearance of the active tab elements and use callback functions.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">defaultTabId</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the currently active tab element based on the ID.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">activeClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS class names to apply to the active tab element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">inactiveClasses</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a string of Tailwind CSS class names to apply to the inactive tab elements.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the a new tab has been shown.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the methods from the Tabs object to programmatically change the current active tab using JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the show function on the Tab object to change the current active tab element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">getTab(id)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Return the tab element based on the ID.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function whenever a tab has been shown.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nCheck out the following example to learn how to initialize and manipulate a Tabs object in JavaScript.\n\nFirst of all, create an array of objects that contains the id, trigger element, and content element of each tab, set the active tab based on the id, and optionally set a callback function after a new tab has been shown.\n\n```javascript\nconst tabsElement = document.getElementById('tabs-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst tabElements = [\n    {\n        id: 'profile',\n        triggerEl: document.querySelector('#profile-tab-example'),\n        targetEl: document.querySelector('#profile-example'),\n    },\n    {\n        id: 'dashboard',\n        triggerEl: document.querySelector('#dashboard-tab-example'),\n        targetEl: document.querySelector('#dashboard-example'),\n    },\n    {\n        id: 'settings',\n        triggerEl: document.querySelector('#settings-tab-example'),\n        targetEl: document.querySelector('#settings-example'),\n    },\n    {\n        id: 'contacts',\n        triggerEl: document.querySelector('#contacts-tab-example'),\n        targetEl: document.querySelector('#contacts-example'),\n    },\n];\n\n// options with default values\nconst options = {\n    defaultTabId: 'settings',\n    activeClasses:\n        'text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-400 border-blue-600 dark:border-blue-500',\n    inactiveClasses:\n        'text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300',\n    onShow: () => {\n        console.log('tab is shown');\n    },\n};\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'tabs-example',\n  override: true\n};\n```\n\nCreate a new Tabs object based on the parameters we've previously set.\n\n```javascript\nimport { Tabs } from 'flowbite';\n\n/*\n* tabsElement: parent element of the tabs component (required)\n* tabElements: array of tab objects (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst tabs = new Tabs(tabsElement, tabElements, options, instanceOptions);\n```\n\nLastly, you can now use the methods on the Tabs object to show another tab element, get a tab element based on the id, or get the current active tab element.\n\n```javascript\n// shows another tab element\ntabs.show('dashboard');\n\n// get the tab object based on ID\ntabs.getTab('contacts');\n\n// get the current active tab object\ntabs.getActiveTab();\n```\n\n###### HTML Markup\n\nYou can use this HTML code as an example for the JavaScript code from above.\n\n```html\n<div class=\"mb-4 border-b border-gray-200 dark:border-gray-700\">\n    <ul class=\"flex flex-wrap -mb-px text-sm font-medium text-center text-gray-500 dark:text-gray-400\" id=\"tabs-example\" role=\"tablist\">\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-lg border-b-2 border-transparent p-4 hover:border-gray-300 hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"profile-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"profile-example\"\n                aria-selected=\"false\"\n            >\n                Profile\n            </button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-lg border-b-2 border-transparent p-4 hover:border-gray-300 hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"dashboard-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"dashboard-example\"\n                aria-selected=\"false\"\n            >\n                Dashboard\n            </button>\n        </li>\n        <li class=\"me-2\" role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-lg border-b-2 border-transparent p-4 hover:border-gray-300 hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"settings-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"settings-example\"\n                aria-selected=\"false\"\n            >\n                Settings\n            </button>\n        </li>\n        <li role=\"presentation\">\n            <button\n                class=\"inline-block rounded-t-lg border-b-2 border-transparent p-4 hover:border-gray-300 hover:text-gray-600 dark:hover:text-gray-300\"\n                id=\"contacts-tab-example\"\n                type=\"button\"\n                role=\"tab\"\n                aria-controls=\"contacts-example\"\n                aria-selected=\"false\"\n            >\n                Contacts\n            </button>\n        </li>\n    </ul>\n</div>\n<div id=\"tabContentExample\">\n    <div\n        class=\"hidden rounded-lg bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"profile-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"profile-tab-example\"\n    >\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-gray-800 dark:text-white\"\n                >Profile tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-lg bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"dashboard-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"dashboard-tab-example\"\n    >\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-gray-800 dark:text-white\"\n                >Dashboard tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-lg bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"settings-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"settings-tab-example\"\n    >\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-gray-800 dark:text-white\"\n                >Settings tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n    <div\n        class=\"hidden rounded-lg bg-gray-50 p-4 dark:bg-gray-800\"\n        id=\"contacts-example\"\n        role=\"tabpanel\"\n        aria-labelledby=\"contacts-tab-example\"\n    >\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">\n            This is some placeholder content the\n            <strong class=\"font-medium text-gray-800 dark:text-white\"\n                >Contacts tab's associated content</strong\n            >. Clicking another tab will toggle the visibility of this one for\n            the next. The tab JavaScript swaps classes to control the content\n            visibility and styling.\n        </p>\n    </div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Tabs class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Tabs } from 'flowbite';\nimport type { TabsOptions, TabsInterface, TabItem } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\nconst tabsElement: HTMLElement = document.getElementById('tabs-example');\n\n// create an array of objects with the id, trigger element (eg. button), and the content element\nconst tabElements: TabItem[] = [\n    {\n        id: 'profile',\n        triggerEl: document.querySelector('#profile-tab-example'),\n        targetEl: document.querySelector('#profile-example'),\n    },\n    {\n        id: 'dashboard',\n        triggerEl: document.querySelector('#dashboard-tab-example'),\n        targetEl: document.querySelector('#dashboard-example'),\n    },\n    {\n        id: 'settings',\n        triggerEl: document.querySelector('#settings-tab-example'),\n        targetEl: document.querySelector('#settings-example'),\n    },\n    {\n        id: 'contacts',\n        triggerEl: document.querySelector('#contacts-tab-example'),\n        targetEl: document.querySelector('#contacts-example'),\n    },\n];\n\n// options with default values\nconst options: TabsOptions = {\n    defaultTabId: 'settings',\n    activeClasses:\n        'text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-400 border-blue-600 dark:border-blue-500',\n    inactiveClasses:\n        'text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300',\n    onShow: () => {\n        console.log('tab is shown');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'tabs-example',\n  override: true\n};\n\n/*\n* tabsElement: parent element of the tabs component (required)\n* tabElements: array of tab elements (required)\n* options (optional)\n* instanceOptions (optional)\n*/\nconst tabs: TabsInterface = new Tabs(tabsElement, tabElements, options, instanceOptions);\n\n// open tab item based on id\ntabs.show('contacts');\n```\n\n#### Timeline\n\nThe timeline component can be used to show series of data in a chronological order for use cases such as activity feeds, user actions, application updates, and more. Get started with multiple vertical timeline styles built with the utility classes from Tailwind CSS and Flowbite.\n\n##### Default timeline\n\nUse this responsive Tailwind CSS timeline component to show a series of data entries with a date, title, and description with a vertical line with dots on the left or right side of the wrapper element.\n\nOptionally, you can also add a CTA button to any of the timeline elements.\n\n{{< example id=\"default-timeline-example\" github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-gray-200 dark:border-gray-700\">                  \n    <li class=\"mb-10 ms-4\">\n        <div class=\"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700\"></div>\n        <time class=\"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">February 2022</time>\n        <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Application UI code in Tailwind CSS</h3>\n        <p class=\"mb-4 text-base font-normal text-gray-500 dark:text-gray-400\">Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.</p>\n        <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:outline-none focus:ring-gray-100 focus:text-blue-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-gray-700\">Learn more <svg class=\"w-3 h-3 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg></a>\n    </li>\n    <li class=\"mb-10 ms-4\">\n        <div class=\"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700\"></div>\n        <time class=\"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">March 2022</time>\n        <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Marketing UI design in Figma</h3>\n        <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.</p>\n    </li>\n    <li class=\"ms-4\">\n        <div class=\"absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700\"></div>\n        <time class=\"mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">April 2022</time>\n        <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">E-Commerce UI code in Tailwind CSS</h3>\n        <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Get started with dozens of web components and interactive elements built on top of Tailwind CSS.</p>\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Vertical timeline\n\nUse this vertical timeline component with icons and badges to show a more advanced set of data.\n\n{{< example id=\"timeline-vertical-example\" github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-gray-200 dark:border-gray-700\">                  \n    <li class=\"mb-10 ms-6\">            \n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"flex items-center mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Application UI v2.0.0 <span class=\"bg-blue-100 text-blue-800 text-sm font-medium me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-900 dark:text-blue-300 ms-3\">Latest</span></h3>\n        <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on January 13th, 2022</time>\n        <p class=\"mb-4 text-base font-normal text-gray-500 dark:text-gray-400\">Get access to over 20+ pages including a dashboard layout, charts, kanban board, calendar, and pre-order E-commerce & Marketing pages.</p>\n        <a href=\"#\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:outline-none focus:ring-gray-100 focus:text-blue-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 dark:focus:ring-gray-700\"><svg class=\"w-3.5 h-3.5 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n    <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n    <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n  </svg> Download ZIP</a>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Figma v1.3.0</h3>\n        <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on December 7th, 2021</time>\n        <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">All of the pages and components are first designed in Figma and we keep a parity between the two versions even as we update the project.</p>\n    </li>\n    <li class=\"ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n            </svg>\n        </span>\n        <h3 class=\"mb-1 text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Library v1.2.2</h3>\n        <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on December 2nd, 2021</time>\n        <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Get started with dozens of web components and interactive elements built on top of Tailwind CSS.</p>\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Stepper timeline\n\nUse this horizontally aligned timeline component to show a series of data in a chronological order.\n\n{{< example id=\"timeline-stepper-example\" github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"items-center sm:flex\">\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Library v1.0.0</h3>\n            <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on December 2, 2021</time>\n            <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Get started with dozens of web components and interactive elements.</p>\n        </div>\n    </li>\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Library v1.2.0</h3>\n            <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on December 23, 2021</time>\n            <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Get started with dozens of web components and interactive elements.</p>\n        </div>\n    </li>\n    <li class=\"relative mb-6 sm:mb-0\">\n        <div class=\"flex items-center\">\n            <div class=\"z-10 flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full ring-0 ring-white dark:bg-blue-900 sm:ring-8 dark:ring-gray-900 shrink-0\">\n                <svg class=\"w-2.5 h-2.5 text-blue-800 dark:text-blue-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                    <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <div class=\"hidden sm:flex w-full bg-gray-200 h-0.5 dark:bg-gray-700\"></div>\n        </div>\n        <div class=\"mt-3 sm:pe-8\">\n            <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">Flowbite Library v1.3.0</h3>\n            <time class=\"block mb-2 text-sm font-normal leading-none text-gray-400 dark:text-gray-500\">Released on January 5, 2022</time>\n            <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Get started with dozens of web components and interactive elements.</p>\n        </div>\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Activity log\n\nThis component can be used to show the timline of a user's activity history inside your application by using an avatar, datetime, description, and links to specific pages.\n\n{{< example id=\"timeline-activity-log-example\" github=\"components/timeline.md\" show_dark=true >}}\n<ol class=\"relative border-s border-gray-200 dark:border-gray-700\">                  \n    <li class=\"mb-10 ms-6\">            \n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie image\"/>\n        </span>\n        <div class=\"items-center justify-between p-4 bg-white border border-gray-200 rounded-lg shadow-xs sm:flex dark:bg-gray-700 dark:border-gray-600\">\n            <time class=\"mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0\">just now</time>\n            <div class=\"text-sm font-normal text-gray-500 dark:text-gray-300\">Bonnie moved <a href=\"#\" class=\"font-semibold text-blue-600 dark:text-blue-500 hover:underline\">Jese Leos</a> to <span class=\"bg-gray-100 text-gray-800 text-xs font-normal me-2 px-2.5 py-0.5 rounded-sm dark:bg-gray-600 dark:text-gray-300\">Funny Group</span></div>\n        </div>\n    </li>\n    <li class=\"mb-10 ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Thomas Lean image\"/>\n        </span>\n        <div class=\"p-4 bg-white border border-gray-200 rounded-lg shadow-xs dark:bg-gray-700 dark:border-gray-600\">\n            <div class=\"items-center justify-between mb-3 sm:flex\">\n                <time class=\"mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0\">2 hours ago</time>\n                <div class=\"text-sm font-normal text-gray-500 lex dark:text-gray-300\">Thomas Lean commented on  <a href=\"#\" class=\"font-semibold text-gray-900 dark:text-white hover:underline\">Flowbite Pro</a></div>\n            </div>\n            <div class=\"p-3 text-xs italic font-normal text-gray-500 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-600 dark:border-gray-500 dark:text-gray-300\">Hi ya'll! I wanted to share a webinar zeroheight is having regarding how to best measure your design system! This is the second session of our new webinar series on #DesignSystems discussions where we'll be speaking about Measurement.</div>\n        </div>\n    </li>\n    <li class=\"ms-6\">\n        <span class=\"absolute flex items-center justify-center w-6 h-6 bg-blue-100 rounded-full -start-3 ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900\">\n            <img class=\"rounded-full shadow-lg\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos image\"/>\n        </span>\n        <div class=\"items-center justify-between p-4 bg-white border border-gray-200 rounded-lg shadow-xs sm:flex dark:bg-gray-700 dark:border-gray-600\">\n            <time class=\"mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0\">1 day ago</time>\n            <div class=\"text-sm font-normal text-gray-500 lex dark:text-gray-300\">Jese Leos has changed <a href=\"#\" class=\"font-semibold text-blue-600 dark:text-blue-500 hover:underline\">Pricing page</a> task status to  <span class=\"font-semibold text-gray-900 dark:text-white\">Finished</span></div>\n        </div>\n    </li>\n</ol>\n\n{{< /example >}}\n\n##### Grouped timeline\n\nUse this component to group multiple data entries inside a single date and show elements like the avatar, title, description, tag and link to a relevant page.\n\n{{< example id=\"timeline-grouped-example\" github=\"components/timeline.md\" show_dark=true >}}\n<div class=\"p-5 mb-4 border border-gray-100 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n    <time class=\"text-lg font-semibold text-gray-900 dark:text-white\">January 13th, 2022</time>\n    <ol class=\"mt-3 divide-y divide-gray-200 dark:divide-gray-700\">\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos image\"/>\n                <div class=\"text-gray-600 dark:text-gray-400\">\n                    <div class=\"text-base font-normal\"><span class=\"font-medium text-gray-900 dark:text-white\">Jese Leos</span> likes <span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green's</span> post in <span class=\"font-medium text-gray-900 dark:text-white\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M10 .5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19ZM8.374 17.4a7.6 7.6 0 0 1-5.9-7.4c0-.83.137-1.655.406-2.441l.239.019a3.887 3.887 0 0 1 2.082 2.5 4.1 4.1 0 0 0 2.441 2.8c1.148.522 1.389 2.007.732 4.522Zm3.6-8.829a.997.997 0 0 0-.027-.225 5.456 5.456 0 0 0-2.811-3.662c-.832-.527-1.347-.854-1.486-1.89a7.584 7.584 0 0 1 8.364 2.47c-1.387.208-2.14 2.237-2.14 3.307a1.187 1.187 0 0 1-1.9 0Zm1.626 8.053-.671-2.013a1.9 1.9 0 0 1 1.771-1.757l2.032.619a7.553 7.553 0 0 1-3.132 3.151Z\"/>\n                        </svg>\n                        Public\n                    </span> \n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\"/>\n                <div>\n                    <div class=\"text-base font-normal text-gray-600 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green</span> react to <span class=\"font-medium text-gray-900 dark:text-white\">Thomas Lean's</span> comment</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z\"/>\n                            <path d=\"m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z\"/>\n                            <path d=\"M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z\"/>\n                        </svg>\n                        Private\n                    </span> \n                </div>\n            </a>\n        </li>\n    </ol>\n</div>\n<div class=\"p-5 border border-gray-100 rounded-lg bg-gray-50 dark:bg-gray-800 dark:border-gray-700\">\n    <time class=\"text-lg font-semibold text-gray-900 dark:text-white\">January 12th, 2022</time>\n    <ol class=\"mt-3 divide-y divide-gray-200 dark:divide-gray-700\">\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Laura Romeros image\"/>\n                <div class=\"text-gray-600 dark:text-gray-400\">\n                    <div class=\"text-base font-normal\"><span class=\"font-medium text-gray-900 dark:text-white\">Laura Romeros</span> likes <span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green's</span> post in <span class=\"font-medium text-gray-900 dark:text-white\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z\"/>\n                            <path d=\"m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z\"/>\n                            <path d=\"M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z\"/>\n                        </svg>\n                        Private\n                    </span> \n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Mike Willi image\"/>\n                <div>\n                    <div class=\"text-base font-normal text-gray-600 dark:text-gray-400\"><span class=\"font-medium text-gray-900 dark:text-white\">Mike Willi</span> react to <span class=\"font-medium text-gray-900 dark:text-white\">Thomas Lean's</span> comment</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M10 .5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19ZM8.374 17.4a7.6 7.6 0 0 1-5.9-7.4c0-.83.137-1.655.406-2.441l.239.019a3.887 3.887 0 0 1 2.082 2.5 4.1 4.1 0 0 0 2.441 2.8c1.148.522 1.389 2.007.732 4.522Zm3.6-8.829a.997.997 0 0 0-.027-.225 5.456 5.456 0 0 0-2.811-3.662c-.832-.527-1.347-.854-1.486-1.89a7.584 7.584 0 0 1 8.364 2.47c-1.387.208-2.14 2.237-2.14 3.307a1.187 1.187 0 0 1-1.9 0Zm1.626 8.053-.671-2.013a1.9 1.9 0 0 1 1.771-1.757l2.032.619a7.553 7.553 0 0 1-3.132 3.151Z\"/>\n                        </svg>\n                        Public\n                    </span> \n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Jese Leos image\"/>\n                <div class=\"text-gray-600 dark:text-gray-400\">\n                    <div class=\"text-base font-normal\"><span class=\"font-medium text-gray-900 dark:text-white\">Jese Leos</span> likes <span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green's</span> post in <span class=\"font-medium text-gray-900 dark:text-white\"> How to start with Flowbite library</span></div>\n                    <div class=\"text-sm font-normal\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M10 .5a9.5 9.5 0 1 0 0 19 9.5 9.5 0 0 0 0-19ZM8.374 17.4a7.6 7.6 0 0 1-5.9-7.4c0-.83.137-1.655.406-2.441l.239.019a3.887 3.887 0 0 1 2.082 2.5 4.1 4.1 0 0 0 2.441 2.8c1.148.522 1.389 2.007.732 4.522Zm3.6-8.829a.997.997 0 0 0-.027-.225 5.456 5.456 0 0 0-2.811-3.662c-.832-.527-1.347-.854-1.486-1.89a7.584 7.584 0 0 1 8.364 2.47c-1.387.208-2.14 2.237-2.14 3.307a1.187 1.187 0 0 1-1.9 0Zm1.626 8.053-.671-2.013a1.9 1.9 0 0 1 1.771-1.757l2.032.619a7.553 7.553 0 0 1-3.132 3.151Z\"/>\n                        </svg>\n                        Public\n                    </span> \n                </div>\n            </a>\n        </li>\n        <li>\n            <a href=\"#\" class=\"items-center block p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700\">\n                <img class=\"w-12 h-12 mb-3 me-3 rounded-full sm:mb-0\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Bonnie Green image\"/>\n                <div class=\"text-gray-600 dark:text-gray-400\">\n                    <div class=\"text-base font-normal\"><span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green</span> likes <span class=\"font-medium text-gray-900 dark:text-white\">Bonnie Green's</span> post in <span class=\"font-medium text-gray-900 dark:text-white\"> Top figma designs</span></div>\n                    <div class=\"text-sm font-normal\">\"I wanted to share a webinar zeroheight.\"</div>\n                    <span class=\"inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400\">\n                        <svg class=\"w-2.5 h-2.5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"m2 13.587 3.055-3.055A4.913 4.913 0 0 1 5 10a5.006 5.006 0 0 1 5-5c.178.008.356.026.532.054l1.744-1.744A8.973 8.973 0 0 0 10 3C4.612 3 0 8.336 0 10a6.49 6.49 0 0 0 2 3.587Z\"/>\n                            <path d=\"m12.7 8.714 6.007-6.007a1 1 0 1 0-1.414-1.414L11.286 7.3a2.98 2.98 0 0 0-.588-.21l-.035-.01a2.981 2.981 0 0 0-3.584 3.583c0 .012.008.022.01.033.05.204.12.401.211.59l-6.007 6.007a1 1 0 1 0 1.414 1.414L8.714 12.7c.189.091.386.162.59.211.011 0 .021.007.033.01a2.981 2.981 0 0 0 3.584-3.584c0-.012-.008-.023-.011-.035a3.05 3.05 0 0 0-.21-.588Z\"/>\n                            <path d=\"M17.821 6.593 14.964 9.45a4.952 4.952 0 0 1-5.514 5.514L7.665 16.75c.767.165 1.55.25 2.335.251 6.453 0 10-5.258 10-7 0-1.166-1.637-2.874-2.179-3.407Z\"/>\n                        </svg>\n                        Private\n                    </span> \n                </div>\n            </a>\n        </li>\n    </ol>\n</div>\n\n{{< /example >}}\n\n#### Toast\n\nThe toast component can be used to enhance your website's interactivity by pushing notifications to your visitors. You can choose from multiple styles, colors, sizes, and positions and even dismiss the component by using the `data-dismiss-target` data attribute from Flowbite.\n\n##### Default toast\n\nUse this simple toast component with an icon, message, and dismissible close button to show alert messages to your website visitors. Make sure that you set the correct id for the `data-dismiss-target` data attribute to enable the dismissible feature.\n\n{{< example id=\"default-toast-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-default\" class=\"flex items-center w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-8 h-8 text-blue-500 bg-blue-100 rounded-lg dark:bg-blue-800 dark:text-blue-200\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15.147 15.085a7.159 7.159 0 0 1-6.189 3.307A6.713 6.713 0 0 1 3.1 15.444c-2.679-4.513.287-8.737.888-9.548A4.373 4.373 0 0 0 5 1.608c1.287.953 6.445 3.218 5.537 10.5 1.5-1.122 2.706-3.01 2.853-6.14 1.433 1.049 3.993 5.395 1.757 9.117Z\"/>\n        </svg>\n        <span class=\"sr-only\">Fire icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Set yourself free.</div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-default\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n        </svg>\n    </button>\n</div>\n\n{{< /example >}}\n\n##### Colors\n\nUse these contextual toast components to show success, danger, or warning alert messages to your users.\n\n{{< example id=\"toast-colors-example\" class=\"flex flex-col items-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-success\" class=\"flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n        </svg>\n        <span class=\"sr-only\">Check icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Item moved successfully.</div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-success\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n        </svg>\n    </button>\n</div>\n<div id=\"toast-danger\" class=\"flex items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z\"/>\n        </svg>\n        <span class=\"sr-only\">Error icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Item has been deleted.</div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-danger\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n        </svg>\n    </button>\n</div>\n<div id=\"toast-warning\" class=\"flex items-center w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"inline-flex items-center justify-center shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200\">\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z\"/>\n        </svg>\n        <span class=\"sr-only\">Warning icon</span>\n    </div>\n    <div class=\"ms-3 text-sm font-normal\">Improve password difficulty.</div>\n    <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-warning\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n        </svg>\n    </button>\n</div>\n\n{{< /example >}}\n\n##### Simple toast\n\nThis component can be used to show simple messages and notifications without the use of a close button.\n\n{{< example id=\"toast-simple-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-simple\" class=\"flex items-center w-full max-w-xs p-4 space-x-4 rtl:space-x-reverse text-gray-500 bg-white divide-x rtl:divide-x-reverse divide-gray-200 rounded-lg shadow-sm dark:text-gray-400 dark:divide-gray-700 dark:bg-gray-800\" role=\"alert\">\n    <svg class=\"w-5 h-5 text-blue-600 dark:text-blue-500 rotate-45\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 17 8 2L9 1 1 19l8-2Zm0 0V9\"/>\n    </svg>\n    <div class=\"ps-4 text-sm font-normal\">Message sent successfully.</div>\n</div>\n{{< /example >}}\n\n##### Undo button\n\nUse this toast component to also show an \"undo\" button to reverse the action of the user.\n\n{{< example id=\"toast-undo-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-undo\" class=\"flex items-center w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:text-gray-400 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"text-sm font-normal\">\n       Conversation archived.\n    </div>\n    <div class=\"flex items-center ms-auto space-x-2 rtl:space-x-reverse\">\n        <a class=\"text-sm font-medium text-blue-600 p-1.5 hover:bg-blue-100 rounded-lg dark:text-blue-500 dark:hover:bg-gray-700\" href=\"#\">Undo</a>\n        <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-undo\" aria-label=\"Close\">\n        <span class=\"sr-only\">Close</span>\n        <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n        </svg>\n    </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n##### Toast message\n\nThis component can be used to show messages and a CTA button when receiving chat messages, comment notifications, and other use cases.\n\n{{< example id=\"toast-message-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-message-cta\" class=\"w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:bg-gray-800 dark:text-gray-400\" role=\"alert\">\n    <div class=\"flex\">\n        <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Jese Leos image\"/>\n        <div class=\"ms-3 text-sm font-normal\">\n            <span class=\"mb-1 text-sm font-semibold text-gray-900 dark:text-white\">Jese Leos</span>\n            <div class=\"mb-2 text-sm font-normal\">Hi Neil, thanks for sharing your thoughts regarding Flowbite.</div> \n            <a href=\"#\" class=\"inline-flex px-2.5 py-1.5 text-xs font-medium text-center text-white bg-blue-600 rounded-lg hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-500 dark:hover:bg-blue-600 dark:focus:ring-blue-800\">Reply</a>   \n        </div>\n        <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white justify-center items-center shrink-0 text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-message-cta\" aria-label=\"Close\">\n            <span class=\"sr-only\">Close</span>\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n        </button>\n    </div>\n</div>\n{{< /example >}}\n\n##### Push notification\n\nThis component can be used to show notifications for an action from another user such as posting a comment, receiving a like, being tagged. You can show an avatar, icon, message, and the time of the notification.\n\n{{< example id=\"toast-push-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-notification\" class=\"w-full max-w-xs p-4 text-gray-900 bg-white rounded-lg shadow-sm dark:bg-gray-800 dark:text-gray-300\" role=\"alert\">\n    <div class=\"flex items-center mb-3\">\n        <span class=\"mb-1 text-sm font-semibold text-gray-900 dark:text-white\">New notification</span>\n        <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white justify-center items-center shrink-0 text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-notification\" aria-label=\"Close\">\n            <span class=\"sr-only\">Close</span>\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n        </button>\n    </div>\n    <div class=\"flex items-center\">\n        <div class=\"relative inline-block shrink-0\">\n            <img class=\"w-12 h-12 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Jese Leos image\"/>\n            <span class=\"absolute bottom-0 right-0 inline-flex items-center justify-center w-6 h-6 bg-blue-600 rounded-full\">\n                <svg class=\"w-3 h-3 text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 18\" fill=\"currentColor\">\n                    <path d=\"M18 4H16V9C16 10.0609 15.5786 11.0783 14.8284 11.8284C14.0783 12.5786 13.0609 13 12 13H9L6.846 14.615C7.17993 14.8628 7.58418 14.9977 8 15H11.667L15.4 17.8C15.5731 17.9298 15.7836 18 16 18C16.2652 18 16.5196 17.8946 16.7071 17.7071C16.8946 17.5196 17 17.2652 17 17V15H18C18.5304 15 19.0391 14.7893 19.4142 14.4142C19.7893 14.0391 20 13.5304 20 13V6C20 5.46957 19.7893 4.96086 19.4142 4.58579C19.0391 4.21071 18.5304 4 18 4Z\" fill=\"currentColor\"/>\n                    <path d=\"M12 0H2C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2V9C0 9.53043 0.210714 10.0391 0.585786 10.4142C0.960859 10.7893 1.46957 11 2 11H3V13C3 13.1857 3.05171 13.3678 3.14935 13.5257C3.24698 13.6837 3.38668 13.8114 3.55279 13.8944C3.71889 13.9775 3.90484 14.0126 4.08981 13.996C4.27477 13.9793 4.45143 13.9114 4.6 13.8L8.333 11H12C12.5304 11 13.0391 10.7893 13.4142 10.4142C13.7893 10.0391 14 9.53043 14 9V2C14 1.46957 13.7893 0.960859 13.4142 0.585786C13.0391 0.210714 12.5304 0 12 0Z\" fill=\"currentColor\"/>\n                    </svg>\n                <span class=\"sr-only\">Message icon</span>\n            </span>\n        </div>\n        <div class=\"ms-3 text-sm font-normal\">\n            <div class=\"text-sm font-semibold text-gray-900 dark:text-white\">Bonnie Green</div>\n            <div class=\"text-sm font-normal\">commented on your photo</div> \n            <span class=\"text-xs font-medium text-blue-600 dark:text-blue-500\">a few seconds ago</span>   \n        </div>\n    </div>\n</div>\n\n{{< /example >}}\n\n##### Interactive toast\n\nUse this interactive toast component to encourage users to make a certain action such as updating to the latest software version. You can set an icon, message, and two CTA buttons.\n\n{{< example id=\"toast-interactive-example\" class=\"flex justify-center\" github=\"components/toast.md\" show_dark=true >}}\n\n<div id=\"toast-interactive\" class=\"w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow-sm dark:bg-gray-800 dark:text-gray-400\" role=\"alert\">\n    <div class=\"flex\">\n        <div class=\"inline-flex items-center justify-center shrink-0 w-8 h-8 text-blue-500 bg-blue-100 rounded-lg dark:text-blue-300 dark:bg-blue-900\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 1v5h-5M2 19v-5h5m10-4a8 8 0 0 1-14.947 3.97M1 10a8 8 0 0 1 14.947-3.97\"/>\n            </svg>\n            <span class=\"sr-only\">Refresh icon</span>\n        </div>\n        <div class=\"ms-3 text-sm font-normal\">\n            <span class=\"mb-1 text-sm font-semibold text-gray-900 dark:text-white\">Update available</span>\n            <div class=\"mb-2 text-sm font-normal\">A new software version is available for download.</div> \n            <div class=\"grid grid-cols-2 gap-2\">\n                <div>\n                    <a href=\"#\" class=\"inline-flex justify-center w-full px-2 py-1.5 text-xs font-medium text-center text-white bg-blue-600 rounded-lg hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-500 dark:hover:bg-blue-600 dark:focus:ring-blue-800\">Update</a>\n                </div>\n                <div>\n                    <a href=\"#\" class=\"inline-flex justify-center w-full px-2 py-1.5 text-xs font-medium text-center text-gray-900 bg-white border border-gray-300 rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-700 dark:focus:ring-gray-700\">Not now</a> \n                </div>\n            </div>    \n        </div>\n        <button type=\"button\" class=\"ms-auto -mx-1.5 -my-1.5 bg-white items-center justify-center shrink-0 text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700\" data-dismiss-target=\"#toast-interactive\" aria-label=\"Close\">\n            <span class=\"sr-only\">Close</span>\n            <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n            </svg>\n        </button>\n    </div>\n</div>\n\n{{< /example >}}\n\n##### Positioning\n\nUse the `fixed` class from Tailwind CSS to position these toast components relative to the main content wrapper element from your document:\n\n-   Top left: `fixed top-5 left-5`\n-   Top right: `fixed top-5 right-5`\n-   Bottom left: `fixed bottom-5 left-5`\n-   Bottom right: `fixed bottom-5 right-5`\n\n{{< example id=\"toast-positioning-example\" github=\"components/toast.md\" class=\"relative h-56\" show_dark=true >}}\n\n<div id=\"toast-top-left\" class=\"fixed flex items-center w-full max-w-xs p-4 space-x-4 text-gray-500 bg-white divide-x rtl:divide-x-reverse divide-gray-200 rounded-lg shadow-sm top-5 left-5 dark:text-gray-400 dark:divide-gray-700 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Top left positioning.</div>\n</div>\n<div id=\"toast-top-right\" class=\"fixed flex items-center w-full max-w-xs p-4 space-x-4 text-gray-500 bg-white divide-x rtl:divide-x-reverse divide-gray-200 rounded-lg shadow-sm top-5 right-5 dark:text-gray-400 dark:divide-gray-700 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Top right positioning.</div>\n</div>\n<div id=\"toast-bottom-right\" class=\"fixed flex items-center w-full max-w-xs p-4 space-x-4 text-gray-500 bg-white divide-x rtl:divide-x-reverse divide-gray-200 rounded-lg shadow-sm right-5 bottom-5 dark:text-gray-400 dark:divide-gray-700 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Bottom right positioning.</div>\n</div>\n<div id=\"toast-bottom-left\" class=\"fixed flex items-center w-full max-w-xs p-4 space-x-4 text-gray-500 bg-white divide-x rtl:divide-x-reverse divide-gray-200 rounded-lg shadow-sm bottom-5 left-5 dark:text-gray-400 dark:divide-gray-700 dark:bg-gray-800\" role=\"alert\">\n    <div class=\"text-sm font-normal\">Bottom left positioning.</div>\n</div>\n{{< /example >}}\n\nYou can set your own distance for the `top-*|right-*|bottom-*|left-*` positioning classes.\n\n##### JavaScript behaviour\n\nPlease check out the <a href=\"{{< ref \"components/alerts\" >}}#javascript-behaviour\">Dismiss object</a> documentation to learn how to programmatically work with the toast component directly from JavaScript.\n\n#### Tooltip\n\nFlowbite allows you to use the Tailwind CSS tooltip component to show extra information when hovering or focusing over an element in multiple positions, styles, and animations.\n\nBefore continuing, make sure that you have the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">Flowbite JavaScript file</a> included in your project in order to make the tooltip component work.\n\n##### Default tooltip example\n\nTo get started with using tooltips all you need to do is add the `data-tooltip-target=\"{elementId}\"` data attribute to an element where `elementId` is the id of the tooltip component. In the following example you can see the button that will trigger the `tooltip-default` element to be shown when hovered or focused.\n\n{{< example id=\"default-tooltip-example\" class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-default\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default tooltip</button>\n\n<div id=\"tooltip-default\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Tooltip styles\n\nYou can use choose between dark and light version styles for the tooltip component by changing the utility classes from Tailwind CSS and by applying the `data-tooltip-style=\"{light|dark}\"` data attribute.\n\n{{< example id=\"tooltip-styles-example\" class=\"flex justify-center pt-8 \" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Light style tooltip -->\n\n<button data-tooltip-target=\"tooltip-light\" data-tooltip-style=\"light\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Light tooltip</button>\n\n<div id=\"tooltip-light\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 tooltip\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Dark style tooltip -->\n\n<button data-tooltip-target=\"tooltip-dark\" type=\"button\" class=\"ms-3 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Dark tooltip</button>\n\n<div id=\"tooltip-dark\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Placement\n\nThe positioning of the tooltip element relative to the triggering element (eg. button, link) can be set using the `data-tooltip-placement=\"{top|right|bottom|left}\"` data attribute.\n\n{{< example id=\"tooltip-placement-example\" class=\"flex flex-wrap justify-center py-8\" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Show tooltip on top -->\n\n<button data-tooltip-target=\"tooltip-top\" data-tooltip-placement=\"top\" type=\"button\" class=\"mb-2 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip top</button>\n\n<div id=\"tooltip-top\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip on top\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on right -->\n\n<button data-tooltip-target=\"tooltip-right\" data-tooltip-placement=\"right\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip right</button>\n\n<div id=\"tooltip-right\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip on right\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on bottom -->\n\n<button data-tooltip-target=\"tooltip-bottom\" data-tooltip-placement=\"bottom\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip bottom</button>\n\n<div id=\"tooltip-bottom\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip on bottom\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on left -->\n\n<button data-tooltip-target=\"tooltip-left\" data-tooltip-placement=\"left\" type=\"button\" class=\"ms-3 mb-2 md:mb-0 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip left</button>\n\n<div id=\"tooltip-left\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip on left\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Triggering\n\nYou can choose the triggering event by using the `data-tooltip-trigger=\"{hover|click}\"` data attributes to choose whether you want to show the tooltip when hovering or clicking on the element. By default this option is set to `hover`.\n\n{{< example id=\"tooltip-triggering-example\" class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n\n<!-- Show tooltip on hover -->\n\n<button data-tooltip-target=\"tooltip-hover\" data-tooltip-trigger=\"hover\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip hover</button>\n\n<div id=\"tooltip-hover\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n\n<!-- Show tooltip on click -->\n\n<button data-tooltip-target=\"tooltip-click\" data-tooltip-trigger=\"click\" type=\"button\" class=\"ms-3 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Tooltip click</button>\n\n<div id=\"tooltip-click\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Animation\n\nYou can set tooltip animation styles by using the transition utility classes from Tailwind CSS. Make sure that you add `transition-opacity` and `duration-{x}` to set the animation duration.\n\n{{< example id=\"tooltip-animation-example\" class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-animation\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Animated tooltip</button>\n\n<div id=\"tooltip-animation\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Disable arrow\n\nYou can also disable the tooltip arrow by not including the `data-popper-arrow` element.\n\n{{< example id=\"tooltip-disable-arrow-example\" class=\"flex justify-center pt-8\" github=\"components/tooltips.md\" show_dark=true >}}\n<button data-tooltip-target=\"tooltip-no-arrow\" type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Default tooltip</button>\n\n<div id=\"tooltip-no-arrow\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n    Tooltip content\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nThe **Tooltip** class from Flowbite can be used to create an object that will show a tooltip element relative to the main trigger element, such as a button, based on the parameters, options, and methods that you provide.\n\n###### Object parameters\n\nInitialize a Tooltip object with the object parameters including the trigger element, the tooltip content element, and extra options to set the positioning and offsets of the tooltip.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Parameter\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Required\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Apply the tooltip content element to show and hide it either using the methods or the hover or click status of the trigger element.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerEl</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Element\n                </td>\n                <td class=\"px-6 py-4\">\n                    Required\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set an element to trigger the tooltip when clicking or hovering (ie. a button, text).\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use the options parameter to set the positioning of the tooltip element, trigger type, offsets, and more.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Options\n\nUse the following options as the third parameter for the Tooltip class to set the positioning, offset, and the trigger type (hover or click) for the tooltip element.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Option\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Type\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">placement</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the position of the tooltip element relative to the trigger element choosing from <code class=\"text-purple-600 dark:text-purple-400\">top|right|bottom|left</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">triggerType</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    String\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set the event type that will trigger the tooltip content choosing between <code class=\"text-purple-600 dark:text-purple-400\">hover|click|none</code>.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onHide</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip is hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onShow</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip is shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">onToggle</code>\n                </td>\n                <td class=\"px-6 py-4 font-medium\">\n                    Function\n                </td>\n                <td class=\"px-6 py-4\">\n                    Set a callback function when the tooltip visibility is toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Methods\n\nUse the methods from the Tooltip object to programmatically show or hide the tooltip from JavaScript.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n    <table class=\"w-full text-sm text-left text-body\">\n        <thead class=\"bg-gray-50 dark:bg-gray-700\">\n            <tr class=\"text-xs font-medium uppercase\">\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Method\n                </th>\n                <th scope=\"col\" class=\"px-6 py-3\">\n                    Description\n                </th>\n            </tr>\n        </thead>\n        <tbody>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">show()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to show the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">hide()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to hide the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">toggle()</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method on the Tooltip object to toggle the visibility of the tooltip content.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnShow(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip has been shown.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnHide(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip has been hidden.\n                </td>\n            </tr>\n            <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">updateOnToggle(callback)</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Use this method to set a custom callback function when the tooltip visibility has been toggled.\n                </td>\n            </tr>\n        </tbody>\n    </table>\n</div>\n\n###### Example\n\nCheck out the following JavaScript example to learn how to initialize, set the options, and use the methods for the Tooltip object.\n\nFirst of all, set the target element as the tooltip itself and the trigger element which can be a button or text element.\n\nAfter that you can also set the options object to change the placement and trigger type of the tooltip, alongside with the callback functions.\n\n```javascript\n// set the tooltip content element\nconst $targetEl = document.getElementById('tooltipContent');\n\n// set the element that trigger the tooltip using hover or click\nconst $triggerEl = document.getElementById('tooltipButton');\n\n// options with default values\nconst options = {\n    placement: 'bottom',\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('tooltip is shown');\n    },\n    onShow: () => {\n        console.log('tooltip is hidden');\n    },\n    onToggle: () => {\n        console.log('tooltip is toggled');\n    },\n};\n\n\n// instance options with default values\nconst instanceOptions = {\n  id: 'tooltipContent',\n  override: true\n};\n```\n\nCreate a new Tooltip object based on the options above.\n\n```javascript\nimport { Tooltip } from 'flowbite';\n\n/*\n * $targetEl: required\n * $triggerEl: required\n * options: optional\n */\nconst tooltip = new Tooltip($targetEl, $triggerEl, options, instanceOptions);\n```\n\nUse the `show` and `hide` methods on the Tooltip object to programmatically show and hide the tooltip element using JavaScript.\n\n```javascript\n// show the tooltip\ntooltip.show();\n\n// hide the tooltip\ntooltip.hide();\n\n// toggle the tooltip\ntooltip.toggle();\n\n// destroy tooltip object (removes event listeners and off-canvas Popper.js)\ntooltip.destroy();\n\n// re-initialize tooltip object\ntooltip.init();\n```\n\n###### HTML Markup\n\nUse the following HTML code for the JavaScript example above.\n\n```html\n<button\n    id=\"tooltipButton\"\n    type=\"button\"\n    class=\"rounded-lg bg-blue-700 px-5 py-2.5 text-center text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n    Default tooltip\n</button>\n<div\n    id=\"tooltipContent\"\n    role=\"tooltip\"\n    class=\"tooltip invisible absolute z-10 inline-block rounded-lg bg-gray-900 px-3 py-2 text-sm font-medium text-white opacity-0 shadow-xs transition-opacity duration-300 dark:bg-gray-700\"\n>\n    Tooltip content\n    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n</div>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the Tooltip class, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { Tooltip } from 'flowbite';\nimport type { TooltipOptions, TooltipInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the tooltip content element\nconst $targetEl: HTMLElement = document.getElementById('tooltipContent');\n\n// set the element that trigger the tooltip using hover or click\nconst $triggerEl: HTMLElement = document.getElementById('tooltipButton');\n\n// options with default values\nconst options: TooltipOptions = {\n    placement: 'top',\n    triggerType: 'hover',\n    onHide: () => {\n        console.log('tooltip is shown');\n    },\n    onShow: () => {\n        console.log('tooltip is hidden');\n    },\n    onToggle: () => {\n        console.log('tooltip is toggled');\n    },\n};\n\n// instance options with default values\nconst instanceOptions: InstanceOptions = {\n  id: 'tooltipContent',\n  override: true\n};\n\n/*\n * targetEl: required\n * triggerEl: required\n * options: optional\n */\nconst tooltip: TooltipInterface = new Tooltip($targetEl, $triggerEl, options, instanceOptions);\n\n// show the tooltip\ntooltip.show();\n```\n\n#### Typography\n\nGet started with the [Flowbite Typography](https://github.com/themesberg/flowbite-typography) plugin forked from the official [Tailwind CSS Typography](https://tailwindcss.com/docs/typography-plugin) plugin to set a custom `format` class to a wrapper element to apply styles to all inline child elements such as headings, paragraphs, images, lists, and more and apply font sizes, font weights, colors, and spacings.\n\nYou can check out this [live demo](https://flowbite.com/plugins/typography/) to see how content inside an article will render like.\n\n##### Getting started\n\nMake sure that you have both [Node.js](https://nodejs.org/) and [Tailwind CSS](https://tailwindcss.com/) already installed in your project.\n\n1. Install the Flowbite Typography plugin via NPM:\n\n```bash\nnpm i -D flowbite-typography\n```\n\n2. Import the `flowbite-typography` plugin inside your main Tailwind CSS file:\n\n```javascript\n@plugin \"flowbite-typography\";\n```\n\nAlternatively you can do the same but in your `tailwind.config.js` file:\n\n```javascript\n// import the tailwind.config.js file in your main CSS file if using Tailwind CSS v4\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n```\n\nNow you can go ahead and use the new formatting classes from the Flowbite Typography plugin.\n\n##### Basic usage\n\nOnce you have installed the plugin inside your project you can add the `format` class to a wrapper element and use any type of inline elements such as headings, paragraphs, images, lists, captions, links, and tables.\n\nAll of these elements will be automatically styled with proper spacing, font sizing, font weight, colors, and more based on recommended UI/UX readability and accessibility standards.\n\n```html\n<article class=\"format lg:format-lg\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <h2>When does design come in handy?</h2>\n    <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n    <ol>\n        <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n        <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n        <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n        <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n    </ol>\n</article>\n```\n\nYou can also set the `lg:format-lg` class to set increase font sizes and spacings for larger viewport devices.\n\n##### Link colors\n\nYou can update the default blue link color to anything you'd like by setting the `format-{color}` class:\n\n```html\n<article class=\"format lg:format-lg format-red\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n</article>\n```\n##### Dark mode\n\nEnable dark mode for the typography by using the `dark:format-invert` class on the article wrapper element:\n\n```html\n<article class=\"format lg:format-lg dark:format-invert\">\n    <h1>The content inside this article will invert when switching to dark mode</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <h2>When does design come in handy?</h2>\n    <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n    <ol>\n        <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n        <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n        <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n        <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n    </ol>\n</article>\n```\n\n##### Max width\n\nOverride the default maximum width by setting a custom `max-w-{size}` class next to the `format` class:\n\n```html\n<article class=\"max-w-none format lg:format-lg format-red\">\n    <h1>Prototyping from A to Z: best practices for successful prototypes</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n</article>\n```\n\n##### Disable format\n\nIf you want to disable formatting inside the typography content you can use the `not-format` class:\n\n```html\n<article class=\"format lg:format-lg dark:format-invert\">\n    <h1>The content inside this article will invert when switching to dark mode</h1>\n    <p class=\"lead\">Flowbite is an open-source library of UI components built with the utility-first classes from Tailwind CSS. It also includes interactive elements such as dropdowns, modals, datepickers.</p>\n    <p>Before going digital, you might benefit from scribbling down some ideas in a sketchbook. This way, you can think things through before committing to an actual design project.</p>\n    <p>But then I found a <a href=\"#\">component library based on Tailwind CSS called Flowbite</a>. It comes with the most commonly used UI components, such as buttons, navigation bars, cards, form elements, and more which are conveniently built with the utility classes from Tailwind CSS.</p>\n    \n    ...\n\n    <!-- content that won't have styles applied -->\n    <div class=\"not-format\">\n        <h2>When does design come in handy?</h2>\n        <p>While it might seem like extra work at a first glance, here are some key moments in which prototyping will come in handy:</p>\n        <ol>\n            <li><strong>Usability testing</strong>. Does your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live;</li>\n            <li><strong>Involving stakeholders</strong>. Need to check if your GDPR consent boxes are displaying properly? Pass your prototype to your data protection team and they can test it for real;</li>\n            <li><strong>Impressing a client</strong>. Prototypes can help explain or even sell your idea by providing your client with a hands-on experience;</li>\n            <li><strong>Communicating your vision</strong>. By using an interactive medium to preview and test design elements, designers and developers can understand each other — and the project — better.</li>\n        </ol>\n    </div>\n</article>\n```\n\n##### Options\n\nExtend the plugin's options inside the Tailwind configuration file to set your own colors, class name, and more.\n\n###### Custom colors\n\nYou can set your own colors by extending the typography plugin inside the `tailwind.config.js` file:\n\n```javascript\nmodule.exports = {\n  theme: {\n    extend: {\n      typography: ({ theme }) => ({\n        orange: {\n          css: {\n            '--tw-format-body': theme('colors.orange[500]'),\n            '--tw-format-headings': theme('colors.orange[900]'),\n            '--tw-format-lead': theme('colors.orange[500]'),\n            '--tw-format-links': theme('colors.orange[600]'),\n            '--tw-format-bold': theme('colors.orange[900]'),\n            '--tw-format-counters': theme('colors.orange[500]'),\n            '--tw-format-bullets': theme('colors.orange[500]'),\n            '--tw-format-hr': theme('colors.orange[200]'),\n            '--tw-format-quotes': theme('colors.orange[900]'),\n            '--tw-format-quote-borders': theme('colors.orange[300]'),\n            '--tw-format-captions': theme('colors.orange[700]'),\n            '--tw-format-code': theme('colors.orange[900]'),\n            '--tw-format-code-bg': theme('colors.orange[50]'),\n            '--tw-format-pre-code': theme('colors.orange[100]'),\n            '--tw-format-pre-bg': theme('colors.orange[900]'),\n            '--tw-format-th-borders': theme('colors.orange[300]'),\n            '--tw-format-td-borders': theme('colors.orange[200]'),\n            '--tw-format-th-bg': theme('colors.orange[50]'),\n            '--tw-format-invert-body': theme('colors.orange[200]'),\n            '--tw-format-invert-headings': theme('colors.white'),\n            '--tw-format-invert-lead': theme('colors.orange[300]'),\n            '--tw-format-invert-links': theme('colors.white'),\n            '--tw-format-invert-bold': theme('colors.white'),\n            '--tw-format-invert-counters': theme('colors.orange[400]'),\n            '--tw-format-invert-bullets': theme('colors.orange[600]'),\n            '--tw-format-invert-hr': theme('colors.orange[700]'),\n            '--tw-format-invert-quotes': theme('colors.pink[100]'),\n            '--tw-format-invert-quote-borders': theme('colors.orange[700]'),\n            '--tw-format-invert-captions': theme('colors.orange[400]'),\n            '--tw-format-invert-code': theme('colors.white'),\n            '--tw-format-invert-pre-code': theme('colors.orange[300]'),\n            '--tw-format-invert-pre-bg': 'rgb(0 0 0 / 50%)',\n            '--tw-format-invert-th-borders': theme('colors.orange[600]'),\n            '--tw-format-invert-td-borders': theme('colors.orange[700]'),\n            '--tw-format-invert-th-bg': theme('colors.orange[700]'),\n          },\n        },\n      }),\n    },\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n```\n\nNow you can use the `format-red` class and apply these styles.\n\n###### Wrapper class\n\nChange the default `format` class to your own choosing by updating the `tailwind.config.js` file:\n\n```javascript\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography')({\n      className: 'custom-class',\n    }),\n  ]\n  ...\n}\n```\n\n###### Custom CSS\n\nYou can also customize the default CSS by extending the `css` key value pair from the Tailwind configuration file:\n\n```javascript\nmodule.exports = {\n  theme: {\n    extend: {\n      typography: {\n        DEFAULT: {\n          css: {\n            color: '#666',\n            a: {\n              color: '#3182ce',\n              '&:hover': {\n                color: '#2c5282',\n              },\n            },\n          },\n        },\n      },\n    },\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n```\n\n##### Blog templates\n\nYou can check out the following [blog template](https://flowbite.com/blocks/publisher/blog-templates/) layouts from Flowbite Blocks that use the Typography plugin.\n\n#### Video\n\nGet started with the video component to embed internal video source into a native HTML 5 video player and set custom options such as autoplay or muted to enhance the user experience.\n\n##### Video player\n\nUse this example to create a native browser video player and apply the `w-full` utility class from Tailwind CSS to span the full width of the parent container.\n\n{{< example id=\"default-video-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n##### Autoplay\n\nUse the `autoplay` attribute on the video component to automatically start the video when the page has been loaded.\n\n{{< example id=\"video-autoplay-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full\" autoplay controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n##### Muted\n\nUse the `muted` attribute together with the `autoplay` option to start the video while the sound is muted.\n\n{{< example id=\"video-muted-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full\" autoplay muted controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n##### Sizes\n\nSet the width and height of the video component using the `w-{size}` and `h-{size}` utility classes from Tailwind CSS.\n\n###### Width\n\nUse the `w-{size}` class to set the width of the video component.\n\n{{< example id=\"video-width-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-96\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n###### Height\n\nUse the `h-{size}` class to set the height of the video player.\n\n{{< example id=\"video-height-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"h-80\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n###### Responsive\n\nUse the following example to make the video responsive across all devices and viewports.\n\n{{< example id=\"video-responsive-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full h-auto max-w-full\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n##### Custom styles\n\nCustomize the video player appearance using the utility classes from Tailwind CSS such as `rounded-{size}` or `border` to set rounded-sm corners and border.\n\n{{< example id=\"video-customize-example\" github=\"typography/video.md\" show_dark=true >}}\n<video class=\"w-full h-auto max-w-full border border-gray-200 rounded-lg dark:border-gray-700\" controls>\n  <source src=\"/docs/videos/flowbite.mp4\" type=\"video/mp4\">\n  Your browser does not support the video tag.\n</video>\n{{< /example >}}\n\n### Forms\n\n#### Input field\n\nThe input field is an important part of the form element that can be used to create interactive controls to accept data from the user based on multiple input types, such as text, email, number, password, URL, phone number, and more.\n\nOn this page you will find all of the input types based on multiple variants, styles, colors, and sizes built with the utility classes from Tailwind CSS and components from Flowbite.\n\n##### Input fields\n\nUse this example as a generic form element which includes multiple input fields types such as text, email, password, number, URL, and phone number and use the grid layout to add multiple columns and rows.\n\n{{< example id=\"default-input-field-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<form>\n    <div class=\"grid gap-6 mb-6 md:grid-cols-2\">\n        <div>\n            <label for=\"first_name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">First name</label>\n            <input type=\"text\" id=\"first_name\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"John\" required />\n        </div>\n        <div>\n            <label for=\"last_name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Last name</label>\n            <input type=\"text\" id=\"last_name\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Doe\" required />\n        </div>\n        <div>\n            <label for=\"company\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Company</label>\n            <input type=\"text\" id=\"company\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Flowbite\" required />\n        </div>  \n        <div>\n            <label for=\"phone\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Phone number</label>\n            <input type=\"tel\" id=\"phone\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"123-45-678\" pattern=\"[0-9]{3}-[0-9]{2}-[0-9]{3}\" required />\n        </div>\n        <div>\n            <label for=\"website\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Website URL</label>\n            <input type=\"url\" id=\"website\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"flowbite.com\" required />\n        </div>\n        <div>\n            <label for=\"visitors\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Unique visitors (per month)</label>\n            <input type=\"number\" id=\"visitors\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"\" required />\n        </div>\n    </div>\n    <div class=\"mb-6\">\n        <label for=\"email\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Email address</label>\n        <input type=\"email\" id=\"email\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"john.doe@company.com\" required />\n    </div> \n    <div class=\"mb-6\">\n        <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Password</label>\n        <input type=\"password\" id=\"password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"•••••••••\" required />\n    </div> \n    <div class=\"mb-6\">\n        <label for=\"confirm_password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Confirm password</label>\n        <input type=\"password\" id=\"confirm_password\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"•••••••••\" required />\n    </div> \n    <div class=\"flex items-start mb-6\">\n        <div class=\"flex items-center h-5\">\n        <input id=\"remember\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800\" required />\n        </div>\n        <label for=\"remember\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I agree with the <a href=\"#\" class=\"text-blue-600 hover:underline dark:text-blue-500\">terms and conditions</a>.</label>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Submit</button>\n</form>\n{{< /example >}}\n\n##### Input sizes\n\nUse the following examples to apply a small, default or large size for the input fields.\n\n{{< example id=\"input-field-sizes-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<div class=\"mb-6\">\n    <label for=\"large-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Large input</label>\n    <input type=\"text\" id=\"large-input\" class=\"block w-full p-4 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 text-base focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n</div>\n<div class=\"mb-6\">\n    <label for=\"default-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Default input</label>\n    <input type=\"text\" id=\"default-input\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n</div>\n<div>\n    <label for=\"small-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Small input</label>\n    <input type=\"text\" id=\"small-input\" class=\"block w-full p-2 text-gray-900 border border-gray-300 rounded-lg bg-gray-50 text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n</div>\n{{< /example >}}\n\n##### Disabled state\n\nGet started with this example if you want to apply the disabled state to an input field.\n\n{{< example id=\"input-field-disabled-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<input type=\"text\" id=\"disabled-input\" aria-label=\"disabled input\" class=\"mb-6 bg-gray-100 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 cursor-not-allowed dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"Disabled input\" disabled>\n<input type=\"text\" id=\"disabled-input-2\" aria-label=\"disabled input 2\" class=\"bg-gray-100 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 cursor-not-allowed dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500\" value=\"Disabled readonly input\" disabled readonly>\n{{< /example >}}\n\n##### Validation\n\nUse the following example to apply validation styles for success and error messages.\n\n{{< example id=\"input-field-validation-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<div class=\"mb-6\">\n  <label for=\"success\" class=\"block mb-2 text-sm font-medium text-green-700 dark:text-green-500\">Your name</label>\n  <input type=\"text\" id=\"success\" class=\"bg-green-50 border border-green-500 text-green-900 dark:text-green-400 placeholder-green-700 dark:placeholder-green-500 text-sm rounded-lg focus:ring-green-500 focus:border-green-500 block w-full p-2.5 dark:bg-gray-700 dark:border-green-500\" placeholder=\"Success input\">\n  <p class=\"mt-2 text-sm text-green-600 dark:text-green-500\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n</div>\n<div>\n  <label for=\"error\" class=\"block mb-2 text-sm font-medium text-red-700 dark:text-red-500\">Your name</label>\n  <input type=\"text\" id=\"error\" class=\"bg-red-50 border border-red-500 text-red-900 placeholder-red-700 text-sm rounded-lg focus:ring-red-500 dark:bg-gray-700 focus:border-red-500 block w-full p-2.5 dark:text-red-500 dark:placeholder-red-500 dark:border-red-500\" placeholder=\"Error input\">\n  <p class=\"mt-2 text-sm text-red-600 dark:text-red-500\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n</div>\n{{< /example >}}\n\n##### Input group\n\nThis example can be used to add a descriptive icon or additional text inside the input field.\n\n{{< example id=\"input-field-group-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<label for=\"input-group-1\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your Email</label>\n<div class=\"relative mb-6\">\n  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 16\">\n        <path d=\"m10.036 8.278 9.258-7.79A1.979 1.979 0 0 0 18 0H2A1.987 1.987 0 0 0 .641.541l9.395 7.737Z\"/>\n        <path d=\"M11.241 9.817c-.36.275-.801.425-1.255.427-.428 0-.845-.138-1.187-.395L0 2.6V14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2.5l-8.759 7.317Z\"/>\n    </svg>\n  </div>\n  <input type=\"text\" id=\"input-group-1\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\">\n</div>\n<label for=\"website-admin\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Username</label>\n<div class=\"flex\">\n  <span class=\"inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border rounded-e-0 border-gray-300 border-e-0 rounded-s-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600\">\n    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n        <path d=\"M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z\"/>\n    </svg>\n  </span>\n  <input type=\"text\" id=\"website-admin\" class=\"rounded-none rounded-e-lg bg-gray-50 border text-gray-900 focus:ring-blue-500 focus:border-blue-500 block flex-1 min-w-0 w-full text-sm border-gray-300 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"elonmusk\">\n</div>\n{{< /example >}}\n\n##### Helper text\n\nUse this example to show a helper text below the input field for additional explanation and links.\n\n{{< example id=\"input-field-helper-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<label for=\"helper-text\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your email</label>\n<input type=\"email\" id=\"helper-text\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"name@flowbite.com\">\n<p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">We’ll never share your details. Read our <a href=\"#\" class=\"font-medium text-blue-600 hover:underline dark:text-blue-500\">Privacy Policy</a>.</p>\n{{< /example >}}\n\n##### Search input\n\nGet started with this example where the submit button is positioned inside the input field.\n\n{{< example id=\"input-field-search-example\" github=\"forms/input-field.md\" show_dark=true >}}\n<form>   \n    <label for=\"search\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Search</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n            </svg>\n        </div>\n        <input type=\"search\" id=\"search\" class=\"block w-full p-4 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search\" required />\n        <button type=\"submit\" class=\"text-white absolute end-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Search</button>\n    </div>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Dropdown input\n\nUse this example to show a dropdown menu right next to the input field.\n\n{{< example id=\"input-field-dropdown-example\" github=\"forms/input-field.md\" show_dark=true iframeHeight=\"290\" >}}\n<form>\n    <div class=\"flex\">\n        <label for=\"search-dropdown\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n        <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-e-0 border-gray-300 dark:border-gray-700 dark:text-white rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-300 dark:bg-gray-600 dark:hover:bg-gray-700 dark:focus:ring-gray-800\" type=\"button\">All categories <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n        <div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-button\">\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Shopping</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Images</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">News</a>\n            </li>\n            <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Finance</a>\n            </li>\n            </ul>\n        </div>\n        <div class=\"relative w-full\">\n            <input type=\"search\" id=\"search-dropdown\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg rounded-s-gray-100 rounded-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"Search\" required />\n            <button type=\"submit\" class=\"absolute top-0 end-0 p-2.5 h-full text-sm font-medium text-white bg-blue-700 rounded-e-lg border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\"><svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n  </svg></button>\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n#### File input\n\nThe file input component can be used to upload one or more files from the device storage of the user available in multiple sizes, styles, and variants and built with the utility-first classes from Tailwind CSS including support for dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the file input component.\n\n##### File upload example\n\nGet started with a simple file input component to let users upload one single file.\n\n{{< example id=\"default-file-upload-example\" github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"file_input\">Upload file</label>\n<input class=\"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" id=\"file_input\" type=\"file\">\n{{< /example >}}\n\n##### Helper text\n\nAdd a descriptive helper text to inform users the allowed extensions and sizes of the files.\n\n{{< example id=\"file-upload-helper-example\" github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"file_input\">Upload file</label>\n<input class=\"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" aria-describedby=\"file_input_help\" id=\"file_input\" type=\"file\">\n<p class=\"mt-1 text-sm text-gray-500 dark:text-gray-300\" id=\"file_input_help\">SVG, PNG, JPG or GIF (MAX. 800x400px).</p>\n{{< /example >}}\n\n##### Multiple files\n\nApply the `multiple` attribute to the file input component to allow more files to be uploaded.\n\n{{< example id=\"file-upload-multiple-example\" github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"multiple_files\">Upload multiple files</label>\n<input class=\"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" id=\"multiple_files\" type=\"file\" multiple>\n{{< /example >}}\n\n##### Sizes\n\nChoose from the small, default, and large file input sizing options.\n\n{{< example id=\"file-upload-sizes-example\" github=\"forms/file-input.md\" show_dark=true >}}\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"small_size\">Small file input</label>\n<input class=\"block w-full mb-5 text-xs text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" id=\"small_size\" type=\"file\">\n\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"default_size\">Default size</label>\n<input class=\"block w-full mb-5 text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" id=\"default_size\" type=\"file\">\n\n<label class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\" for=\"large_size\">Large file input</label>\n<input class=\"block w-full text-lg text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400\" id=\"large_size\" type=\"file\">\n{{< /example >}}\n\n##### Dropzone\n\nThe dropzone file input component can be used to upload one or more files by clicking anywhere in the area.\n\n{{< example id=\"file-upload-dropzone-example\" github=\"forms/file-input.md\" show_dark=true >}}\n<div class=\"flex items-center justify-center w-full\">\n    <label for=\"dropzone-file\" class=\"flex flex-col items-center justify-center w-full h-64 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-gray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600\">\n        <div class=\"flex flex-col items-center justify-center pt-5 pb-6\">\n            <svg class=\"w-8 h-8 mb-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 13h3a3 3 0 0 0 0-6h-.025A5.56 5.56 0 0 0 16 6.5 5.5 5.5 0 0 0 5.207 5.021C5.137 5.017 5.071 5 5 5a4 4 0 0 0 0 8h2.167M10 15V6m0 0L8 8m2-2 2 2\"/>\n            </svg>\n            <p class=\"mb-2 text-sm text-gray-500 dark:text-gray-400\"><span class=\"font-semibold\">Click to upload</span> or drag and drop</p>\n            <p class=\"text-xs text-gray-500 dark:text-gray-400\">SVG, PNG, JPG or GIF (MAX. 800x400px)</p>\n        </div>\n        <input id=\"dropzone-file\" type=\"file\" class=\"hidden\" />\n    </label>\n</div> \n{{< /example >}}\n\n#### Search input\n\nThe search input component can be used to let your users search through your website using string queries and it comes in multiple styles, variants, and sizes built with the utility classes from Tailwind CSS.\n\nYou will also find more advanced search components on this page including dropdown category selections, search buttons positioned inside the input field, voice search fields and more.\n\n##### Search bar example\n\nGet started with the default example of a search input component including and icon and submit button.\n\n{{< example id=\"default-search-bar-example\" github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"max-w-md mx-auto\">   \n    <label for=\"default-search\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Search</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n            </svg>\n        </div>\n        <input type=\"search\" id=\"default-search\" class=\"block w-full p-4 ps-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search Mockups, Logos...\" required />\n        <button type=\"submit\" class=\"text-white absolute end-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Search</button>\n    </div>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Search with dropdown\n\nUse this search component with a dropdown to let your users select a category in which they would like the search query to be targeted in.\n\n{{< example id=\"search-bar-dropdown-example\" github=\"forms/search-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-lg mx-auto\">\n    <div class=\"flex\">\n        <label for=\"search-dropdown\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n        <button id=\"dropdown-button\" data-dropdown-toggle=\"dropdown\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">All categories <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n        <div id=\"dropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-button\">\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Mockups</button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Templates</button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Design</button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Logos</button>\n            </li>\n            </ul>\n        </div>\n        <div class=\"relative w-full\">\n            <input type=\"search\" id=\"search-dropdown\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-gray-50 border-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"Search Mockups, Logos, Design Templates...\" required />\n            <button type=\"submit\" class=\"absolute top-0 end-0 p-2.5 text-sm font-medium h-full text-white bg-blue-700 rounded-e-lg border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n                </svg>\n                <span class=\"sr-only\">Search</span>\n            </button>\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Simple search input\n\nUse the simplest form of a search input component with an icon and a search button next to the text field.\n\n{{< example id=\"search-bar-simple-example\" github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"flex items-center max-w-sm mx-auto\">   \n    <label for=\"simple-search\" class=\"sr-only\">Search</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5v10M3 5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm12 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm0 0V6a3 3 0 0 0-3-3H9m1.5-2-2 2 2 2\"/>\n            </svg>\n        </div>\n        <input type=\"text\" id=\"simple-search\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search branch name...\" required />\n    </div>\n    <button type=\"submit\" class=\"p-2.5 ms-2 text-sm font-medium text-white bg-blue-700 rounded-lg border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n        </svg>\n        <span class=\"sr-only\">Search</span>\n    </button>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Location search\n\nUse this example where you can select a country in which you want to search for an address or city.\n\n{{< example id=\"search-bar-location-example\" github=\"forms/search-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-md mx-auto\">\n    <div class=\"flex\">\n        <label for=\"location-search\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n        <button id=\"dropdown-button-2\" data-dropdown-toggle=\"dropdown-search-city\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-500 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg aria-hidden=\"true\" class=\"h-3 me-2\" viewBox=\"0 0 15 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.5\" width=\"14\" height=\"12\" rx=\"2\" fill=\"white\"/><mask id=\"mask0_12694_49953\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"15\" height=\"12\"><rect x=\"0.5\" width=\"14\" height=\"12\" rx=\"2\" fill=\"white\"/></mask><g mask=\"url(#mask0_12694_49953)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 0H0.5V0.8H14.5V0ZM14.5 1.6H0.5V2.4H14.5V1.6ZM0.5 3.2H14.5V4H0.5V3.2ZM14.5 4.8H0.5V5.6H14.5V4.8ZM0.5 6.4H14.5V7.2H0.5V6.4ZM14.5 8H0.5V8.8H14.5V8ZM0.5 9.6H14.5V10.4H0.5V9.6ZM14.5 11.2H0.5V12H14.5V11.2Z\" fill=\"#D02F44\"/><rect x=\"0.5\" width=\"6\" height=\"5.6\" fill=\"#46467F\"/><g filter=\"url(#filter0_d_12694_49953)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1.83317 1.20005C1.83317 1.42096 1.68393 1.60005 1.49984 1.60005C1.31574 1.60005 1.1665 1.42096 1.1665 1.20005C1.1665 0.979135 1.31574 0.800049 1.49984 0.800049C1.68393 0.800049 1.83317 0.979135 1.83317 1.20005ZM3.1665 1.20005C3.1665 1.42096 3.01727 1.60005 2.83317 1.60005C2.64908 1.60005 2.49984 1.42096 2.49984 1.20005C2.49984 0.979135 2.64908 0.800049 2.83317 0.800049C3.01727 0.800049 3.1665 0.979135 3.1665 1.20005ZM4.1665 1.60005C4.3506 1.60005 4.49984 1.42096 4.49984 1.20005C4.49984 0.979135 4.3506 0.800049 4.1665 0.800049C3.98241 0.800049 3.83317 0.979135 3.83317 1.20005C3.83317 1.42096 3.98241 1.60005 4.1665 1.60005ZM5.83317 1.20005C5.83317 1.42096 5.68393 1.60005 5.49984 1.60005C5.31574 1.60005 5.1665 1.42096 5.1665 1.20005C5.1665 0.979135 5.31574 0.800049 5.49984 0.800049C5.68393 0.800049 5.83317 0.979135 5.83317 1.20005ZM2.1665 2.40005C2.3506 2.40005 2.49984 2.22096 2.49984 2.00005C2.49984 1.77913 2.3506 1.60005 2.1665 1.60005C1.98241 1.60005 1.83317 1.77913 1.83317 2.00005C1.83317 2.22096 1.98241 2.40005 2.1665 2.40005ZM3.83317 2.00005C3.83317 2.22096 3.68393 2.40005 3.49984 2.40005C3.31574 2.40005 3.1665 2.22096 3.1665 2.00005C3.1665 1.77913 3.31574 1.60005 3.49984 1.60005C3.68393 1.60005 3.83317 1.77913 3.83317 2.00005ZM4.83317 2.40005C5.01726 2.40005 5.1665 2.22096 5.1665 2.00005C5.1665 1.77913 5.01726 1.60005 4.83317 1.60005C4.64908 1.60005 4.49984 1.77913 4.49984 2.00005C4.49984 2.22096 4.64908 2.40005 4.83317 2.40005ZM5.83317 2.80005C5.83317 3.02096 5.68393 3.20005 5.49984 3.20005C5.31574 3.20005 5.1665 3.02096 5.1665 2.80005C5.1665 2.57914 5.31574 2.40005 5.49984 2.40005C5.68393 2.40005 5.83317 2.57914 5.83317 2.80005ZM4.1665 3.20005C4.3506 3.20005 4.49984 3.02096 4.49984 2.80005C4.49984 2.57914 4.3506 2.40005 4.1665 2.40005C3.98241 2.40005 3.83317 2.57914 3.83317 2.80005C3.83317 3.02096 3.98241 3.20005 4.1665 3.20005ZM3.1665 2.80005C3.1665 3.02096 3.01727 3.20005 2.83317 3.20005C2.64908 3.20005 2.49984 3.02096 2.49984 2.80005C2.49984 2.57914 2.64908 2.40005 2.83317 2.40005C3.01727 2.40005 3.1665 2.57914 3.1665 2.80005ZM1.49984 3.20005C1.68393 3.20005 1.83317 3.02096 1.83317 2.80005C1.83317 2.57914 1.68393 2.40005 1.49984 2.40005C1.31574 2.40005 1.1665 2.57914 1.1665 2.80005C1.1665 3.02096 1.31574 3.20005 1.49984 3.20005ZM2.49984 3.60005C2.49984 3.82096 2.3506 4.00005 2.1665 4.00005C1.98241 4.00005 1.83317 3.82096 1.83317 3.60005C1.83317 3.37913 1.98241 3.20005 2.1665 3.20005C2.3506 3.20005 2.49984 3.37913 2.49984 3.60005ZM3.49984 4.00005C3.68393 4.00005 3.83317 3.82096 3.83317 3.60005C3.83317 3.37913 3.68393 3.20005 3.49984 3.20005C3.31574 3.20005 3.1665 3.37913 3.1665 3.60005C3.1665 3.82096 3.31574 4.00005 3.49984 4.00005ZM5.1665 3.60005C5.1665 3.82096 5.01726 4.00005 4.83317 4.00005C4.64908 4.00005 4.49984 3.82096 4.49984 3.60005C4.49984 3.37913 4.64908 3.20005 4.83317 3.20005C5.01726 3.20005 5.1665 3.37913 5.1665 3.60005ZM5.49984 4.80005C5.68393 4.80005 5.83317 4.62096 5.83317 4.40005C5.83317 4.17913 5.68393 4.00005 5.49984 4.00005C5.31574 4.00005 5.1665 4.17913 5.1665 4.40005C5.1665 4.62096 5.31574 4.80005 5.49984 4.80005ZM4.49984 4.40005C4.49984 4.62096 4.3506 4.80005 4.1665 4.80005C3.98241 4.80005 3.83317 4.62096 3.83317 4.40005C3.83317 4.17913 3.98241 4.00005 4.1665 4.00005C4.3506 4.00005 4.49984 4.17913 4.49984 4.40005ZM2.83317 4.80005C3.01727 4.80005 3.1665 4.62096 3.1665 4.40005C3.1665 4.17913 3.01727 4.00005 2.83317 4.00005C2.64908 4.00005 2.49984 4.17913 2.49984 4.40005C2.49984 4.62096 2.64908 4.80005 2.83317 4.80005ZM1.83317 4.40005C1.83317 4.62096 1.68393 4.80005 1.49984 4.80005C1.31574 4.80005 1.1665 4.62096 1.1665 4.40005C1.1665 4.17913 1.31574 4.00005 1.49984 4.00005C1.68393 4.00005 1.83317 4.17913 1.83317 4.40005Z\" fill=\"url(#paint0_linear_12694_49953)\"/></g></g><defs><filter id=\"filter0_d_12694_49953\" x=\"1.1665\" y=\"0.800049\" width=\"4.6665\" height=\"5\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/><feOffset dy=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_12694_49953\"/><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_12694_49953\" result=\"shape\"/></filter><linearGradient id=\"paint0_linear_12694_49953\" x1=\"1.1665\" y1=\"0.800049\" x2=\"1.1665\" y2=\"4.80005\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"white\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient></defs></svg>\n            USA <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n        <div id=\"dropdown-search-city\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-button-2\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-us\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\"><g stroke-width=\"1pt\"><path fill=\"#bd3d44\" d=\"M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/></g><path fill=\"#192f5d\" d=\"M0 0h98.8v70H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 21.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 38.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 35.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 52.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 49.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 66.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z\" transform=\"scale(3.9385)\"/></g></svg>              \n                            United States\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-de\" viewBox=\"0 0 512 512\"><path fill=\"#ffce00\" d=\"M0 341.3h512V512H0z\"/><path d=\"M0 0h512v170.7H0z\"/><path fill=\"#d00\" d=\"M0 170.7h512v170.6H0z\"/></svg>\n                            Germany\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-it\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\" stroke-width=\"1pt\"><path fill=\"#fff\" d=\"M0 0h512v512H0z\"/><path fill=\"#009246\" d=\"M0 0h170.7v512H0z\"/><path fill=\"#ce2b37\" d=\"M341.3 0H512v512H341.3z\"/></g></svg>              \n                            Italy\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag-icon-css-cn\" viewBox=\"0 0 512 512\"><defs><path id=\"a\" fill=\"#ffde00\" d=\"M1-.3L-.7.8 0-1 .6.8-1-.3z\"/></defs><path fill=\"#de2910\" d=\"M0 0h512v512H0z\"/><use width=\"30\" height=\"20\" transform=\"matrix(76.8 0 0 76.8 128 128)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-121 142.6 -47) scale(25.5827)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-98.1 198 -82) scale(25.6)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-74 272.4 -114) scale(25.6137)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"matrix(16 -19.968 19.968 16 256 230.4)\" xlink:href=\"#a\"/></svg>\n                            China\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <div class=\"relative w-full\">\n            <input type=\"search\" id=\"location-search\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-gray-50 border-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"Search for city or address\" required />\n            <button type=\"submit\" class=\"absolute top-0 end-0 h-full p-2.5 text-sm font-medium text-white bg-blue-700 rounded-e-lg border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n                <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n                </svg>\n                <span class=\"sr-only\">Search</span>\n            </button>\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Voice search\n\nGet started with this example if you would like to enable voice search for your website and users.\n\n{{< example id=\"search-bar-voice-example\" github=\"forms/search-input.md\" show_dark=true >}}\n<form class=\"flex items-center max-w-lg mx-auto\">   \n    <label for=\"voice-search\" class=\"sr-only\">Search</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 21 21\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11.15 5.6h.01m3.337 1.913h.01m-6.979 0h.01M5.541 11h.01M15 15h2.706a1.957 1.957 0 0 0 1.883-1.325A9 9 0 1 0 2.043 11.89 9.1 9.1 0 0 0 7.2 19.1a8.62 8.62 0 0 0 3.769.9A2.013 2.013 0 0 0 13 18v-.857A2.034 2.034 0 0 1 15 15Z\"/>\n            </svg>\n        </div>\n        <input type=\"text\" id=\"voice-search\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search Mockups, Logos, Design Templates...\" required />\n        <button type=\"button\" class=\"absolute inset-y-0 end-0 flex items-center pe-3\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 7v3a5.006 5.006 0 0 1-5 5H6a5.006 5.006 0 0 1-5-5V7m7 9v3m-3 0h6M7 1h2a3 3 0 0 1 3 3v5a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3Z\"/>\n            </svg>\n        </button>\n    </div>\n    <button type=\"submit\" class=\"inline-flex items-center py-2.5 px-3 ms-2 text-sm font-medium text-white bg-blue-700 rounded-lg border border-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n        </svg>Search\n    </button>\n</form>\n{{< /example >}}\n\n#### Number input\n\nThe number input component from Flowbite can be used to introduce numeric values inside a form such as for a quantity field, a ZIP code, a phone number, your credit card number, and more. All of the UI components are coded exclusively with Tailwind CSS.\n\nThe examples on this page have basic functionality coded with JavaScript and the quantity input has a more advanced ability to increment and decrement the value with the help of the `data-input-counter` attribute from the Flowbite JS API.\n\n##### Default number input\n\nUse this component to set a number value inside a form field by applying the `type=\"number\"` attribute.\n\n{{< example id=\"default-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"number-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select a number:</label>\n    <input type=\"number\" id=\"number-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"90210\" required />\n</form>\n{{< /example >}}\n\n##### ZIP code input\n\nUse this example with an icon and helper text to set a ZIP code value inside a form field by also applying the `pattern` attribute to validate the input using a regular expression for a 5 digit number.\n\n{{< example id=\"zip-code-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"zip-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">ZIP code:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                <path d=\"M8 0a7.992 7.992 0 0 0-6.583 12.535 1 1 0 0 0 .12.183l.12.146c.112.145.227.285.326.4l5.245 6.374a1 1 0 0 0 1.545-.003l5.092-6.205c.206-.222.4-.455.578-.7l.127-.155a.934.934 0 0 0 .122-.192A8.001 8.001 0 0 0 8 0Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n            </svg>\n        </div>\n        <input type=\"text\" id=\"zip-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"12345 or 12345-6789\" pattern=\"^\\d{5}(-\\d{4})?$\" required />\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n##### Phone number\n\nUse this example to set a phone number inside a form field based on the `type=\"phone\"` attribute and a dropdown menu to select the country code.\n\n{{< example id=\"phone-code-number-input\" github=\"components/number-input.md\" show_dark=true iframeHeight=\"360\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        +1 <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-52 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            United States (+1)\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            United Kingdom (+44)\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" stroke=\"#fff\" stroke-width=\".667\" d=\"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z\"/><path fill=\"url(#paint0_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z\" clip-rule=\"evenodd\"/><path fill=\"url(#paint1_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z\" clip-rule=\"evenodd\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z\" clip-rule=\"evenodd\"/></g><defs><linearGradient id=\"paint0_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.5\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><linearGradient id=\"paint1_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.033\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF2E3B\"/><stop offset=\"1\" stop-color=\"#FC0D1B\"/></linearGradient></defs></svg>\n                            Australia (+61)\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g mask=\"url(#a)\"><path fill=\"#F44653\" d=\"M13.067.5H19.6v14h-6.533z\"/><path fill=\"#1035BB\" fill-rule=\"evenodd\" d=\"M0 14.5h6.533V.5H0v14z\" clip-rule=\"evenodd\"/></g></svg>\n                            France (+33)\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"phone\" id=\"phone-input\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Control buttons\n\nUse this example with control buttons to increment and decrement the value inside the input field.\n\nIf you have the [Flowbite JS](https://flowbite.com/docs/getting-started/quickstart/) installed in your project then you can use the `data-input-counter` data attribute to initialize the target input field and then use the following data attributes to target the buttons that will increment and decrement the value of the input field:\n\n- `data-input-counter` - initialize the input field\n- `data-input-counter-increment` - increment the value of the input field\n- `data-input-counter-decrement` - decrement the value of the input field\n\n{{< example id=\"control-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"quantity-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[8rem]\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"quantity-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"quantity-input\" data-input-counter aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full py-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"999\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"quantity-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n##### Control buttons with icon\n\nUse this example to also add an icon inside the input field to improve the user experience.\n\n{{< example id=\"control-icon-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"bedrooms-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[11rem]\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"bedrooms-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"bedrooms-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 font-medium text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full pb-6 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"\" value=\"3\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-gray-400 space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-2.5 h-2.5 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 8v10a1 1 0 0 0 1 1h4v-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5h4a1 1 0 0 0 1-1V8M1 10l9-9 9 9\"/>\n            </svg>\n            <span>Bedrooms</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"bedrooms-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please select the number of bedrooms.</p>\n</form>\n{{< /example >}}\n\n##### Counter input\n\nUse this example as an alternative style to the control buttons example above.\n\n{{< example id=\"control-icon-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"counter-input\" class=\"block mb-1 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"counter-input\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"counter-input\" data-input-counter class=\"shrink-0 text-gray-900 dark:text-white border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"counter-input\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n##### Currency input\n\nThis component can be used to set a currency value inside a form field when you need to set a price.\n\n{{< example id=\"control-number-input\" github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" >}}\n<form class=\"max-w-[18rem] mx-auto flex\">\n    <label for=\"currency-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n    <div class=\"relative w-full\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 16\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 2a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1M2 5h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm8 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\"/>\n        </svg>\n        </div>\n        <input type=\"number\" id=\"currency-input\" class=\"block p-2.5 w-full z-20 ps-10 text-sm text-gray-900 bg-gray-50 rounded-s-lg border-e-gray-50 border-e-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-e-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"Enter amount\" required />\n    </div>\n    <button id=\"dropdown-currency-button\" data-dropdown-toggle=\"dropdown-currency\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n        <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        USD <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n    </button>\n    <div id=\"dropdown-currency\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n        <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-currency-button\">\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                    <div class=\"inline-flex items-center\">\n                        <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                        USD\n                    </div>\n                </button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                    <div class=\"inline-flex items-center\">\n                        <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#043CAE\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#FFD429\" fill-rule=\"evenodd\" d=\"M9.14 3.493L9.8 3.3l.66.193-.193-.66.193-.66-.66.194-.66-.194.193.66-.193.66zm0 9.334l.66-.194.66.194-.193-.66.193-.66-.66.193-.66-.193.193.66-.193.66zm5.327-4.86l-.66.193L14 7.5l-.193-.66.66.193.66-.193-.194.66.194.66-.66-.193zm-9.994.193l.66-.193.66.193L5.6 7.5l.193-.66-.66.193-.66-.193.194.66-.194.66zm9.369-2.527l-.66.194.193-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm-8.743 4.86l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.194.193.66-.193.66zm7.034-6.568l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326 8.276l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66zM13.84 10.3l-.66.193.194-.66-.194-.66.66.194.66-.194-.193.66.193.66-.66-.193zM5.1 5.827l.66-.194.66.194-.194-.66.194-.66-.66.193-.66-.193.193.66-.193.66zm7.034 6.181l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326-7.89l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66z\" clip-rule=\"evenodd\"/></g></svg>\n                        EUR\n                    </div>\n                </button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                    <div class=\"inline-flex items-center\">\n                        <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g fill=\"#FF3131\" mask=\"url(#a)\"><path d=\"M14 .5h5.6v14H14z\"/><path fill-rule=\"evenodd\" d=\"M0 14.5h5.6V.5H0v14zM11.45 6.784a.307.307 0 01-.518-.277l.268-1.34-.933.466-.467-1.4-.467 1.4-.933-.466.268 1.34a.307.307 0 01-.518.277.307.307 0 00-.434 0l-.25.25-.933-.467L7 7.5l-.231.231a.333.333 0 000 .471l1.164 1.165h1.4l.234 1.4h.466l.234-1.4h1.4l1.164-1.165a.333.333 0 000-.471l-.231-.23.467-.934-.934.466-.25-.25a.307.307 0 00-.433 0z\" clip-rule=\"evenodd\"/></g></svg>\n                        CAD\n                    </div>\n                </button>\n            </li>\n            <li>\n                <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                    <div class=\"inline-flex items-center\">\n                        <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.666V4.8l8.365-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.044-1.548 6.614-4.46H0V5.166h4.672L-1.942.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.068 4.933L21.933-.9M14.009 10.088l7.948 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.19 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                        GBP\n                    </div>\n                </button>\n            </li>\n        </ul>\n    </div>\n</form>\n{{< /example >}}\n\n##### Credit card input\n\nUse this component to set the information needed when making an online transaction with a credit card by adding the card number, expiration date, and security code. The component uses the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/).\n\n{{< example id=\"zip-code-number-input\" github=\"components/number-input.md\" show_dark=true iframeHeight=\"540\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"card-number-input\" class=\"sr-only\">Card number:</label>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"card-number-input\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full pe-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"4242 4242 4242 4242\" pattern=\"^4[0-9]{12}(?:[0-9]{3})?$\" required />\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg fill=\"none\" class=\"h-6 text-[#1434CB] dark:text-white\" viewBox=\"0 0 36 21\"><path fill=\"currentColor\" d=\"M23.315 4.773c-2.542 0-4.813 1.3-4.813 3.705 0 2.756 4.028 2.947 4.028 4.332 0 .583-.676 1.105-1.832 1.105-1.64 0-2.866-.73-2.866-.73l-.524 2.426s1.412.616 3.286.616c2.78 0 4.966-1.365 4.966-3.81 0-2.913-4.045-3.097-4.045-4.383 0-.457.555-.957 1.708-.957 1.3 0 2.36.53 2.36.53l.514-2.343s-1.154-.491-2.782-.491zM.062 4.95L0 5.303s1.07.193 2.032.579c1.24.442 1.329.7 1.537 1.499l2.276 8.664h3.05l4.7-11.095h-3.043l-3.02 7.543L6.3 6.1c-.113-.732-.686-1.15-1.386-1.15H.062zm14.757 0l-2.387 11.095h2.902l2.38-11.096h-2.895zm16.187 0c-.7 0-1.07.37-1.342 1.016L25.41 16.045h3.044l.589-1.68h3.708l.358 1.68h2.685L33.453 4.95h-2.447zm.396 2.997l.902 4.164h-2.417l1.515-4.164z\"/></svg>\n        </div>\n    </div>\n    <div class=\"grid grid-cols-3 gap-4 my-4\">\n        <div class=\"relative max-w-sm col-span-2\">\n            <div class=\"absolute inset-y-0 start-0 flex items-center ps-3.5 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                </svg>\n            </div>\n            <label for=\"card-expiration-input\" class=\"sr-only\">Card expiration date:</label>\n            <input datepicker datepicker-format=\"mm/yy\" id=\"card-expiration-input\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"12/23\" required />\n        </div>\n        <div class=\"col-span-1\">\n            <label for=\"cvv-input\" class=\"sr-only\">Card CVV code:</label>\n            <input type=\"number\" id=\"cvv-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"CVV\" required />\n        </div>\n    </div>\n    <button type=\"submit\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Pay now</button>\n</form>\n{{< /example >}}\n\n##### Pin code input\n\nUse this example of a pin code input to set a 6 digit code. This can be used when setting up a new account or when making a payment and the code is sent via phone or email.\n\n{{< example id=\"zip-code-number-input\" github=\"components/number-input.md\" show_dark=true javascript=`\n// use this simple function to automatically focus on the next input\nfunction focusNextInput(el, prevId, nextId) {\n    if (el.value.length === 0) {\n        if (prevId) {\n            document.getElementById(prevId).focus();\n        }\n    } else {\n        if (nextId) {\n            document.getElementById(nextId).focus();\n        }\n    }\n}\n\ndocument.querySelectorAll('[data-focus-input-init]').forEach(function(element) {\n    element.addEventListener('keyup', function() {\n        const prevId = this.getAttribute('data-focus-input-prev');\n        const nextId = this.getAttribute('data-focus-input-next');\n        focusNextInput(this, prevId, nextId);\n    });\n    \n// Handle paste event to split the pasted code into each input\n    element.addEventListener('paste', function(event) {\n        event.preventDefault();\n        const pasteData = (event.clipboardData || window.clipboardData).getData('text');\n        const digits = pasteData.replace(/\\D/g, ''); // Only take numbers from the pasted data\n\n        // Get all input fields\n        const inputs = document.querySelectorAll('[data-focus-input-init]');\n        \n        // Iterate over the inputs and assign values from the pasted string\n        inputs.forEach((input, index) => {\n            if (digits[index]) {\n                input.value = digits[index];\n                // Focus the next input after filling the current one\n                const nextId = input.getAttribute('data-focus-input-next');\n                if (nextId) {\n                    document.getElementById(nextId).focus();\n                }\n            }\n        });\n    });\n});\n` >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex mb-2 space-x-2 rtl:space-x-reverse\">\n        <div>\n            <label for=\"code-1\" class=\"sr-only\">First code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-next=\"code-2\" id=\"code-1\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n        <div>\n            <label for=\"code-2\" class=\"sr-only\">Second code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-1\" data-focus-input-next=\"code-3\" id=\"code-2\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n        <div>\n            <label for=\"code-3\" class=\"sr-only\">Third code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-2\" data-focus-input-next=\"code-4\" id=\"code-3\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n        <div>\n            <label for=\"code-4\" class=\"sr-only\">Fourth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-3\" data-focus-input-next=\"code-5\" id=\"code-4\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n        <div>\n            <label for=\"code-5\" class=\"sr-only\">Fifth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-4\" data-focus-input-next=\"code-6\" id=\"code-5\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n        <div>\n            <label for=\"code-6\" class=\"sr-only\">Sixth code</label>\n            <input type=\"text\" maxlength=\"1\" data-focus-input-init data-focus-input-prev=\"code-5\" id=\"code-6\" class=\"block w-9 h-9 py-3 text-sm font-extrabold text-center text-gray-900 bg-white border border-gray-300 rounded-lg focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500\" required />\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please introduce the 6 digit code we sent via email.</p>\n</form>\n{{< /example >}}\n\n##### Number input with slider\n\nThis example can be used to set the value of a number input field by sliding the range slider component or by typing the value in the input field. The component uses the [Flowbite Range Slider](https://flowbite.com/docs/components/range-slider/).\n\n{{< example id=\"zip-code-number-input\" github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" disable_init_js=\"true\" javascript=`\n// Get the elements\nvar rangeInput = document.getElementById('price-range-input');\nvar currencyInput = document.getElementById('currency-input');\n\n// Function to update the currency input\nfunction updateCurrencyInput() {\ncurrencyInput.value = rangeInput.value;\n}\n\n// Add event listener to the range input\nrangeInput.addEventListener('input', updateCurrencyInput);\n` >}}\n<form class=\"max-w-[24rem] mx-auto\">\n    <div class=\"flex mb-4\">\n        <button id=\"dropdown-currency-button\" data-dropdown-toggle=\"dropdown-currency\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        USD <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-currency\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-currency-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            USD\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#043CAE\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#FFD429\" fill-rule=\"evenodd\" d=\"M9.14 3.493L9.8 3.3l.66.193-.193-.66.193-.66-.66.194-.66-.194.193.66-.193.66zm0 9.334l.66-.194.66.194-.193-.66.193-.66-.66.193-.66-.193.193.66-.193.66zm5.327-4.86l-.66.193L14 7.5l-.193-.66.66.193.66-.193-.194.66.194.66-.66-.193zm-9.994.193l.66-.193.66.193L5.6 7.5l.193-.66-.66.193-.66-.193.194.66-.194.66zm9.369-2.527l-.66.194.193-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm-8.743 4.86l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.194.193.66-.193.66zm7.034-6.568l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326 8.276l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66zM13.84 10.3l-.66.193.194-.66-.194-.66.66.194.66-.194-.193.66.193.66-.66-.193zM5.1 5.827l.66-.194.66.194-.194-.66.194-.66-.66.193-.66-.193.193.66-.193.66zm7.034 6.181l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326-7.89l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66z\" clip-rule=\"evenodd\"/></g></svg>\n                            EUR\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g fill=\"#FF3131\" mask=\"url(#a)\"><path d=\"M14 .5h5.6v14H14z\"/><path fill-rule=\"evenodd\" d=\"M0 14.5h5.6V.5H0v14zM11.45 6.784a.307.307 0 01-.518-.277l.268-1.34-.933.466-.467-1.4-.467 1.4-.933-.466.268 1.34a.307.307 0 01-.518.277.307.307 0 00-.434 0l-.25.25-.933-.467L7 7.5l-.231.231a.333.333 0 000 .471l1.164 1.165h1.4l.234 1.4h.466l.234-1.4h1.4l1.164-1.165a.333.333 0 000-.471l-.231-.23.467-.934-.934.466-.25-.25a.307.307 0 00-.433 0z\" clip-rule=\"evenodd\"/></g></svg>\n                            CAD\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <div class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.666V4.8l8.365-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.044-1.548 6.614-4.46H0V5.166h4.672L-1.942.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.068 4.933L21.933-.9M14.009 10.088l7.948 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.19 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            GBP\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <label for=\"currency-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n        <div class=\"relative w-full\">\n            <input type=\"number\" id=\"currency-input\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-gray-50 border-s-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"Enter amount\" value=\"1000\" required />\n        </div>\n    </div>\n    <div class=\"relative\">\n        <label for=\"price-range-input\" class=\"sr-only\">Default range</label>\n        <input id=\"price-range-input\" type=\"range\" value=\"1000\" min=\"100\" max=\"1500\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n        <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-0 -bottom-6\">Min ($100)</span>\n        <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-1/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$500</span>\n        <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-2/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$1000</span>\n        <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute end-0 -bottom-6\">Max ($1500)</span>\n    </div>\n</form>\n{{< /example >}}\n\n##### Convert currency\n\nUse this example of two number input fields and dropdowns to convert currency and even from fiat to crypto.\n\n{{< example id=\"control-number-input\" github=\"components/number-input.md\" show_dark=true iframeHeight=\"290\" disable_init_js=\"true\" >}}\n<form class=\"max-w-xl mx-auto\">\n    <div class=\"space-x-0 space-y-4 sm:space-y-0 sm:space-x-4 rtl:space-x-reverse flex items-center flex-col sm:flex-row mb-4\">\n        <div class=\"flex\">\n            <label for=\"fiat-currency-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n            <div class=\"relative w-full\">\n                <input type=\"number\" id=\"fiat-currency-input\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-s-lg border-e-gray-50 border-e-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-e-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"421 USD\" required />\n            </div>\n            <button id=\"dropdown-fiat-currency-button\" data-dropdown-toggle=\"dropdown-fiat-currency\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n                <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                USD <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n            </button>\n            <div id=\"dropdown-fiat-currency\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n                <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-fiat-currency-button\">\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                                USD\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#043CAE\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#FFD429\" fill-rule=\"evenodd\" d=\"M9.14 3.493L9.8 3.3l.66.193-.193-.66.193-.66-.66.194-.66-.194.193.66-.193.66zm0 9.334l.66-.194.66.194-.193-.66.193-.66-.66.193-.66-.193.193.66-.193.66zm5.327-4.86l-.66.193L14 7.5l-.193-.66.66.193.66-.193-.194.66.194.66-.66-.193zm-9.994.193l.66-.193.66.193L5.6 7.5l.193-.66-.66.193-.66-.193.194.66-.194.66zm9.369-2.527l-.66.194.193-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm-8.743 4.86l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.194.193.66-.193.66zm7.034-6.568l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326 8.276l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66zM13.84 10.3l-.66.193.194-.66-.194-.66.66.194.66-.194-.193.66.193.66-.66-.193zM5.1 5.827l.66-.194.66.194-.194-.66.194-.66-.66.193-.66-.193.193.66-.193.66zm7.034 6.181l-.66.193.194-.66-.194-.66.66.194.66-.193-.193.66.193.66-.66-.194zm-5.326-7.89l.66-.193.66.193-.194-.66.194-.66-.66.194-.66-.193.193.66-.193.66z\" clip-rule=\"evenodd\"/></g></svg>\n                                EUR\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g fill=\"#FF3131\" mask=\"url(#a)\"><path d=\"M14 .5h5.6v14H14z\"/><path fill-rule=\"evenodd\" d=\"M0 14.5h5.6V.5H0v14zM11.45 6.784a.307.307 0 01-.518-.277l.268-1.34-.933.466-.467-1.4-.467 1.4-.933-.466.268 1.34a.307.307 0 01-.518.277.307.307 0 00-.434 0l-.25.25-.933-.467L7 7.5l-.231.231a.333.333 0 000 .471l1.164 1.165h1.4l.234 1.4h.466l.234-1.4h1.4l1.164-1.165a.333.333 0 000-.471l-.231-.23.467-.934-.934.466-.25-.25a.307.307 0 00-.433 0z\" clip-rule=\"evenodd\"/></g></svg>\n                                CAD\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.666V4.8l8.365-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.044-1.548 6.614-4.46H0V5.166h4.672L-1.942.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.068 4.933L21.933-.9M14.009 10.088l7.948 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.19 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                                GBP\n                            </div>\n                        </button>\n                    </li>\n                </ul>\n            </div>\n        </div>\n        <button type=\"button\" class=\"p-3 text-sm font-medium text-gray-500 focus:outline-none bg-gray-100 rounded-lg hover:bg-gray-200 hover:text-gray-900 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-600 dark:bg-gray-700 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 14\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M11 10H1m0 0 3-3m-3 3 3 3m1-9h10m0 0-3 3m3-3-3-3\"/>\n            </svg>\n            <span class=\"sr-only\">Convert currency</span>\n        </button>\n        <div class=\"flex\">\n            <label for=\"crypto-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Your Email</label>\n            <div class=\"relative w-full\">\n                <input type=\"number\" id=\"crypto-input\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-s-lg border-e-gray-50 border-e-2 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-e-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" placeholder=\"0.323 BTC\" required />\n            </div>\n            <button id=\"dropdown-crypto-button\" data-dropdown-toggle=\"dropdown-crypto\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 15\"><path fill=\"#F7931A\" d=\"M14.83 9.204A7.04 7.04 0 111.17 5.797a7.04 7.04 0 0113.66 3.407z\"/><path fill=\"#fff\" d=\"M11.104 6.498c.14-.937-.573-1.44-1.548-1.777l.316-1.269-.773-.192-.308 1.235c-.203-.05-.411-.098-.619-.145l.31-1.244-.771-.193-.317 1.269a25.752 25.752 0 01-.493-.116v-.004l-1.065-.266-.205.825s.573.132.56.14c.314.078.37.285.36.449l-.36 1.446c.022.005.05.013.08.025l-.08-.02-.506 2.026c-.038.095-.135.237-.354.183.008.011-.562-.14-.562-.14l-.383.884 1.005.251c.187.047.37.096.55.142l-.319 1.284.772.192.317-1.27c.21.058.415.11.615.16l-.315 1.264.772.193.32-1.281c1.317.249 2.308.148 2.724-1.043.336-.96-.016-1.513-.71-1.874.505-.116.886-.448.987-1.134zM9.34 8.973c-.239.96-1.854.44-2.378.31l.424-1.7c.524.13 2.203.39 1.954 1.39zm.239-2.49c-.218.874-1.562.43-1.999.321l.385-1.542c.436.109 1.84.312 1.614 1.222z\"/></svg>\n                BTC <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n            </button>\n            <div id=\"dropdown-crypto\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n                <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-crypto-button\">\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 15\"><path fill=\"#F7931A\" d=\"M14.83 9.204A7.04 7.04 0 111.17 5.797a7.04 7.04 0 0113.66 3.407z\"/><path fill=\"#fff\" d=\"M11.104 6.498c.14-.937-.573-1.44-1.548-1.777l.316-1.269-.773-.192-.308 1.235c-.203-.05-.411-.098-.619-.145l.31-1.244-.771-.193-.317 1.269a25.752 25.752 0 01-.493-.116v-.004l-1.065-.266-.205.825s.573.132.56.14c.314.078.37.285.36.449l-.36 1.446c.022.005.05.013.08.025l-.08-.02-.506 2.026c-.038.095-.135.237-.354.183.008.011-.562-.14-.562-.14l-.383.884 1.005.251c.187.047.37.096.55.142l-.319 1.284.772.192.317-1.27c.21.058.415.11.615.16l-.315 1.264.772.193.32-1.281c1.317.249 2.308.148 2.724-1.043.336-.96-.016-1.513-.71-1.874.505-.116.886-.448.987-1.134zM9.34 8.973c-.239.96-1.854.44-2.378.31l.424-1.7c.524.13 2.203.39 1.954 1.39zm.239-2.49c-.218.874-1.562.43-1.999.321l.385-1.542c.436.109 1.84.312 1.614 1.222z\"/></svg>\n                                BTC\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 10 17\"><path fill=\"#343434\" d=\"M5 .5l-.11.364v10.582l.11.105 4.91-2.902L5 .5z\"/><path fill=\"#8C8C8C\" d=\"M5 .5L.086 8.65 5 11.55V.5z\"/><path fill=\"#3C3C3B\" d=\"M5 12.48l-.061.075v3.77L5 16.5l4.914-6.922L5 12.48z\"/><path fill=\"#8C8C8C\" d=\"M5 16.5v-4.02L.086 9.578 5 16.5z\"/><path fill=\"#141414\" d=\"M5 11.55L9.91 8.65 5 6.418v5.133z\"/><path fill=\"#393939\" d=\"M.086 8.649L5 11.551V6.418L.086 8.649z\"/></svg>\n                                ETH\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 17\"><path fill=\"#C2A633\" d=\"M16 8.5a8 8 0 11-16 0 8 8 0 0116 0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M5.355 12.685h2.761S12 13.015 12 8.567c0-4.275-3.546-4.26-4.232-4.257H5.355v3.73H4.38v.914h.974v3.73zM6.91 5.858H8c.407 0 2.458.167 2.461 2.74.003 2.542-2.064 2.54-2.396 2.539H6.91V8.954h1.715v-.913H6.91V5.858z\" clip-rule=\"evenodd\"/></svg>\n                                DOGE\n                            </div>\n                        </button>\n                    </li>\n                    <li>\n                        <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                            <div class=\"inline-flex items-center\">\n                                <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 16 13\"><g clip-path=\"url(#clip0_460_40742)\"><path fill=\"url(#paint0_linear_460_40742)\" d=\"M2.599 9.8a.524.524 0 01.37-.152h12.77c.233 0 .35.282.185.447L13.4 12.617a.523.523 0 01-.37.153H.261a.261.261 0 01-.184-.447l2.522-2.522z\"/><path fill=\"url(#paint1_linear_460_40742)\" d=\"M2.599.383a.538.538 0 01.37-.153h12.77c.232 0 .35.282.184.446L13.401 3.2a.523.523 0 01-.37.153H.26a.262.262 0 01-.185-.447L2.599.383z\"/><path fill=\"url(#paint2_linear_460_40742)\" d=\"M13.401 5.062a.523.523 0 00-.37-.153H.261a.262.262 0 00-.184.446l2.522 2.523c.097.096.23.153.37.153h12.77c.233 0 .35-.282.185-.447L13.4 5.062z\"/></g><defs><linearGradient id=\"paint0_linear_460_40742\" x1=\"14.519\" x2=\"5.681\" y1=\"-1.277\" y2=\"15.65\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><linearGradient id=\"paint1_linear_460_40742\" x1=\"10.654\" x2=\"1.817\" y1=\"-3.294\" y2=\"13.633\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><linearGradient id=\"paint2_linear_460_40742\" x1=\"12.574\" x2=\"3.737\" y1=\"-2.292\" y2=\"14.635\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#00FFA3\"/><stop offset=\"1\" stop-color=\"#DC1FFF\"/></linearGradient><clipPath id=\"clip0_460_40742\"><path fill=\"#fff\" d=\"M0 0h16v12.54H0z\" transform=\"translate(0 .23)\"/></clipPath></defs></svg>\n                                SOL\n                            </div>\n                        </button>\n                    </li>\n                </ul>\n            </div>\n        </div>\n    </div>\n    <div class=\"flex justify-between items-center flex-col sm:flex-row space-y-2 sm:space-y-0\">\n        <p class=\"text-sm text-gray-500 dark:text-gray-400\">Last update: 20:45 AM, November 20, 2023</p>\n        <button type=\"reset\" class=\"text-sm text-blue-700 dark:text-blue-500 inline-flex items-center font-medium hover:underline\">\n            Refresh <svg class=\"w-3 h-3 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 1v5h-5M2 19v-5h5m10-4a8 8 0 0 1-14.947 3.97M1 10a8 8 0 0 1 14.947-3.97\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n##### Advanced control buttons\n\nThis example can be used to add multiple number input fields with quantity selectors and control buttons to use for E-commerce UI similar to projects like AirBnb or Booking.\n\n{{< example id=\"control-icon-number-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"bedrooms-input\" class=\"sr-only\">Choose bedrooms number:</label>\n    <div class=\"relative flex items-center mb-2\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"bedrooms-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"bedrooms-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 font-medium text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full pb-6 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"\" value=\"2\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-gray-400 space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-2.5 h-2.5 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 8v10a1 1 0 0 0 1 1h4v-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5h4a1 1 0 0 0 1-1V8M1 10l9-9 9 9\"/>\n            </svg>\n            <span>Bedrooms</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"bedrooms-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n    <label for=\"nights-input\" class=\"sr-only\">Choose number of nights:</label>\n    <div class=\"relative flex items-center mb-2\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"nights-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"nights-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"30\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 font-medium text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full pb-6 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"\" value=\"7\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-gray-400 space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-2.5 h-2.5 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path fill=\"currentColor\" d=\"M6 1a1 1 0 0 0-2 0h2ZM4 4a1 1 0 0 0 2 0H4Zm7-3a1 1 0 1 0-2 0h2ZM9 4a1 1 0 1 0 2 0H9Zm7-3a1 1 0 1 0-2 0h2Zm-2 3a1 1 0 1 0 2 0h-2ZM1 6a1 1 0 0 0 0 2V6Zm18 2a1 1 0 1 0 0-2v2ZM5 11v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 11v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM10 15v-1H9v1h1Zm0 .01H9v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 15v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM15 11v-1h-1v1h1Zm0 .01h-1v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM5 15v-1H4v1h1Zm0 .01H4v1h1v-1Zm.01 0v1h1v-1h-1Zm0-.01h1v-1h-1v1ZM2 4h16V2H2v2Zm16 0h2a2 2 0 0 0-2-2v2Zm0 0v14h2V4h-2Zm0 14v2a2 2 0 0 0 2-2h-2Zm0 0H2v2h16v-2ZM2 18H0a2 2 0 0 0 2 2v-2Zm0 0V4H0v14h2ZM2 4V2a2 2 0 0 0-2 2h2Zm2-3v3h2V1H4Zm5 0v3h2V1H9Zm5 0v3h2V1h-2ZM1 8h18V6H1v2Zm3 3v.01h2V11H4Zm1 1.01h.01v-2H5v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H5v2h.01v-2ZM9 11v.01h2V11H9Zm1 1.01h.01v-2H10v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM9 15v.01h2V15H9Zm1 1.01h.01v-2H10v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H10v2h.01v-2ZM14 15v.01h2V15h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM14 11v.01h2V11h-2Zm1 1.01h.01v-2H15v2Zm1.01-1V11h-2v.01h2Zm-1-1.01H15v2h.01v-2ZM4 15v.01h2V15H4Zm1 1.01h.01v-2H5v2Zm1.01-1V15h-2v.01h2Zm-1-1.01H5v2h.01v-2Z\"/>\n            </svg>\n            <span>Night stays</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"nights-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n    <label for=\"guests-input\" class=\"sr-only\">Choose guests:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"guests-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"guests-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"5\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 font-medium text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full pb-6 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"\" value=\"3\" required />\n        <div class=\"absolute bottom-1 start-1/2 -translate-x-1/2 rtl:translate-x-1/2 flex items-center text-xs text-gray-400 space-x-1 rtl:space-x-reverse\">\n            <svg class=\"w-2.5 h-2.5 text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4.333 6.764a3 3 0 1 1 3.141-5.023M2.5 16H1v-2a4 4 0 0 1 4-4m7.379-8.121a3 3 0 1 1 2.976 5M15 10a4 4 0 0 1 4 4v2h-1.761M13 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-4 6h2a4 4 0 0 1 4 4v2H5v-2a4 4 0 0 1 4-4Z\"/>\n            </svg>\n            <span>Guests</span>\n        </div>\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"guests-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n##### Min and max values\n\nBy using the InputCounter object from the Flowbite JS API, you ca set the min and max values of a number input component by using the following data attributes:\n\n- `data-input-counter-min` - set the minimum value of the input\n- `data-input-counter-max` - set the maximum value of the input\n\nThese values will be enforced and validated whenever the user clicks on one of the buttons or tries to introduce the value manually.\n\n{{< example id=\"control-number-min-max-input\" github=\"components/number-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"quantity-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center max-w-[8rem]\">\n        <button type=\"button\" id=\"decrement-button\" data-input-counter-decrement=\"quantity-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-s-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"quantity-input\" data-input-counter data-input-counter-min=\"1\" data-input-counter-max=\"50\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border-x-0 border-gray-300 h-11 text-center text-gray-900 text-sm focus:ring-blue-500 focus:border-blue-500 block w-full py-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"999\" value=\"5\" required />\n        <button type=\"button\" id=\"increment-button\" data-input-counter-increment=\"quantity-input\" class=\"bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 border border-gray-300 rounded-e-lg p-3 h-11 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-3 h-3 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please select a 5 digit number from 0 to 9.</p>\n</form>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nUse the **InputCounter** object from the Flowbite JS API to create a number input component with increment and decrement buttons that can be used to increase or decrease the value of the input.\n\n###### Object parameters\n\nUse the object parameters from the InputCounter object to set the target, increment, and decrement elements as well as the options object.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Parameter\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Required\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">targetEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Required\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the target input field element that will be incremented or decremented based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">incrementEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the increment button element that will increase the value of the target element based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">decrementEl</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Element\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Pass the decrement button element that will decrease the value of the target element based on click event.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">options</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                Object\n              </td>\n              <td class=\"px-6 py-4\">\n                  Optional\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set these options to set the minimum and maximum value of the input field and the callback functions.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n                <td class=\"px-6 py-4 font-medium\">\n                    <code class=\"text-blue-600 dark:text-blue-400\">instanceOptions</code>\n                </td>\n                <td class=\"px-6 py-4\">\n                    Object\n                </td>\n                <td class=\"px-6 py-4\">\n                    Optional\n                </td>\n                <td class=\"px-6 py-4\">\n                   Object of options that allows you to set a custom ID for the instance that is being added to the <a href=\"https://flowbite.com/docs/getting-started/javascript/#instance-options\" class=\"underline hover:no-underline\">Instance Manager</a> and whether to override or not an existing instance.\n                </td>\n            </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Options\n\nUse these optional options for the InputCounter object to set the minimum and maximum values of the input field and also to set callback functions for the increment and decrement events.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Option\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Type\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">minValue</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the minimum value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">maxValue</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Integer\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set the maximum value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onIncrement</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been incremented.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">onDecrement</code>\n              </td>\n              <td class=\"px-6 py-4 \">\n                  Function\n              </td>\n              <td class=\"px-6 py-4\">\n                  Set a callback function when the item has been decremented.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Methods\n\nUse the following methods of the InputCounter object to programmatically manipulate the behaviour of the input field.\n\n<div class=\"relative my-10 overflow-x-auto shadow-md sm:rounded-lg\">\n  <table class=\"w-full text-sm text-left text-body\">\n      <thead class=\"bg-gray-50 dark:bg-gray-700\">\n          <tr class=\"text-xs  uppercase\">\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Method\n              </th>\n              <th scope=\"col\" class=\"px-6 py-3\">\n                  Description\n              </th>\n          </tr>\n      </thead>\n      <tbody>\n        <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">getCurrentValue()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to get the current value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">increment()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the InputCounter object to increment the value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">decrement()</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method on the InputCounter object to decrement the value of the input field.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnIncrement(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the input field has been incremented.\n              </td>\n          </tr>\n          <tr class=\"border-b dark:bg-gray-800 dark:border-gray-700 border-gray-200\">\n              <td class=\"px-6 py-4 \">\n                  <code class=\"text-blue-600 dark:text-blue-400\">updateOnDecrement(callback)</code>\n              </td>\n              <td class=\"px-6 py-4\">\n                  Use this method to set a callback function whenever the input field has been decremented.\n              </td>\n          </tr>\n      </tbody>\n  </table>\n</div>\n\n###### Example\n\nCheck out the following examples to learn how to create a new InputCounter object and how to set it up with custom options and programmatically use the methods available.\n\nFirst of all, you need to set the object parameters where the target element is required and the other two are optional.\n\n```javascript\n// set the target element of the input field\nconst $targetEl = document.getElementById('counter-input-example');\n\n// optionally set the increment and decrement elements\nconst $incrementEl = document.getElementById('increment-button');\n\nconst $decrementEl = document.getElementById('decrement-button');\n\n// optional options with default values and callback functions\nconst options = {\n    minValue: 0,\n    maxValue: null, // infinite\n    onIncrement: () => {\n        console.log('input field value has been incremented');\n    },\n    onDecrement: () => {\n        console.log('input field value has been decremented');\n    }\n};\n\nconst instanceOptions = {\n  id: 'counter-input-example',\n  override: true\n};\n```\n\nNext step is to create a new instance of a InputCounter object using the parameters we have set above.\n\n```javascript\nimport { InputCounter } from 'flowbite';\n\n/*\n * $targetEl: required\n * $incrementEl: optional\n * $decrementEl: optional\n * options: optional\n */\nconst counterInput = new InputCounter($targetEl, $incrementEl, $decrementEl, options, instanceOptions);\n```\n\nNow you can programmatically increment or decrement the input field using the methods of the InputCounter object.\n\n```javascript\n// get the current value of the input field\ncounterInput.getCurrentValue();\n\n// increment the value of the input field\ncounterInput.increment();\n\n// decrement the value of the input field\ncounterInput.decrement();\n```\n\n###### HTML Markup\n\nHere is an example of the HTML markup that you can use for the JavaScript example above.\n\n```html\n<form class=\"max-w-xs mx-auto\">\n    <label for=\"counter-input-example\" class=\"block mb-1 text-sm font-medium text-gray-900 dark:text-white\">Choose quantity:</label>\n    <div class=\"relative flex items-center\">\n        <button type=\"button\" id=\"decrement-button\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 2\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 1h16\"/>\n            </svg>\n        </button>\n        <input type=\"text\" id=\"counter-input-example\" class=\"shrink-0 text-gray-900 dark:text-white border-0 bg-transparent text-sm font-normal focus:outline-none focus:ring-0 max-w-[2.5rem] text-center\" placeholder=\"\" value=\"12\" required />\n        <button type=\"button\" id=\"increment-button\" class=\"shrink-0 bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:border-gray-600 hover:bg-gray-200 inline-flex items-center justify-center border border-gray-300 rounded-md h-5 w-5 focus:ring-gray-100 dark:focus:ring-gray-700 focus:ring-2 focus:outline-none\">\n            <svg class=\"w-2.5 h-2.5 text-gray-900 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 1v16M1 9h16\"/>\n            </svg>\n        </button>\n    </div>\n</form>\n```\n\n###### TypeScript\n\nIf you're using the <a href=\"{{< ref \"getting-started/typescript\" >}}\">TypeScript configuration</a> from Flowbite then you can import the types for the InputCounter object, parameters and its options.\n\nHere's an example that applies the types from Flowbite to the code above:\n\n```javascript\nimport { InputCounter } from 'flowbite';\nimport type { InputCounterOptions, InputCounterInterface } from 'flowbite';\nimport type { InstanceOptions } from 'flowbite';\n\n// set the target element of the input field\nconst $targetEl: HTMLInputElement = document.getElementById('counter-input-example') as HTMLInputElement;\n\n// optionally set the increment and decrement elements\nconst $incrementEl: HTMLElement = document.getElementById('increment-button');\n\nconst $decrementEl: HTMLElement = document.getElementById('decrement-button');\n\n// optional options with default values and callback functions\nconst options: InputCounterOptions = {\n    minValue: 0,\n    maxValue: null, // infinite\n    onIncrement: () => {\n        console.log('input field value has been incremented');\n    },\n    onDecrement: () => {\n        console.log('input field value has been decremented');\n    }\n};\n\n// instance options object\nconst instanceOptions: InstanceOptions = {\n  id: 'counter-input-example',\n  override: true\n};\n\n/*\n * $targetEl: required\n * $incrementEl: optional\n * $decrementEl: optional\n * options: optional\n * instanceOptions: optional\n */\nconst counterInput: InputCounterInterface = new InputCounter(\n    $targetEl,\n    $incrementEl,\n    $decrementEl,\n    options,\n    instanceOptions\n);\n\n// increment the value of the input field\ncounterInput.increment();\n\n// decrement the value of the input field\ncounterInput.decrement();\n```\n\n#### Phone input\n\nThe phone number input component from Flowbite can be used to set a phone number inside a form field by using the native `type=\"tel\"` attribute and also use a dropdown menu to select the country code.\n\nThe examples are built with the utility classes from Tailwind CSS and they are fully responsive, dark mode compatible and support RTL layouts and can be used for any type of web project.\n\n##### Default phone input\n\nUse this component to set a phone number inside an input field by setting the `type=\"tel\"` attribute.\n\n{{< example id=\"default-phone-number-input\" github=\"components/phone-input.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"phone-input\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Phone number:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 19 18\">\n                <path d=\"M18 13.446a3.02 3.02 0 0 0-.946-1.985l-1.4-1.4a3.054 3.054 0 0 0-4.218 0l-.7.7a.983.983 0 0 1-1.39 0l-2.1-2.1a.983.983 0 0 1 0-1.389l.7-.7a2.98 2.98 0 0 0 0-4.217l-1.4-1.4a2.824 2.824 0 0 0-4.218 0c-3.619 3.619-3 8.229 1.752 12.979C6.785 16.639 9.45 18 11.912 18a7.175 7.175 0 0 0 5.139-2.325A2.9 2.9 0 0 0 18 13.446Z\"/>\n            </svg>\n        </div>\n        <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Select a phone number that matches the format.</p>\n</form>\n{{< /example >}}\n\n##### Phone input country code\n\nThis example can be used to select the country code from a dropdown menu and set the phone number inside an input field and use the `pattern` attribute to validate the phone number.\n\n{{< example id=\"phone-code-number-input\" github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        +1 <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-52 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            United States (+1)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            United Kingdom (+44)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" stroke=\"#fff\" stroke-width=\".667\" d=\"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z\"/><path fill=\"url(#paint0_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z\" clip-rule=\"evenodd\"/><path fill=\"url(#paint1_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z\" clip-rule=\"evenodd\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z\" clip-rule=\"evenodd\"/></g><defs><linearGradient id=\"paint0_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.5\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><linearGradient id=\"paint1_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.033\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF2E3B\"/><stop offset=\"1\" stop-color=\"#FC0D1B\"/></linearGradient></defs></svg>\n                            Australia (+61)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g mask=\"url(#a)\"><path fill=\"#F44653\" d=\"M13.067.5H19.6v14h-6.533z\"/><path fill=\"#1035BB\" fill-rule=\"evenodd\" d=\"M0 14.5h6.533V.5H0v14z\" clip-rule=\"evenodd\"/></g></svg>\n                            France (+33)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"text\" id=\"phone-input\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Floating label input\n\nSet a phone number inside an input field with a floating label inspired by Material UI from Google.\n\n{{< example id=\"floating-label-phone-example\" github=\"forms/phone-input.md\" show_dark=true >}}\n<form class=\"max-w-xs mx-auto\">\n    <div class=\"relative\">\n        <span class=\"absolute start-0 bottom-3 text-gray-500 dark:text-gray-400\">\n            <svg class=\"w-4 h-4 rtl:rotate-[270deg]\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 19 18\">\n                <path d=\"M18 13.446a3.02 3.02 0 0 0-.946-1.985l-1.4-1.4a3.054 3.054 0 0 0-4.218 0l-.7.7a.983.983 0 0 1-1.39 0l-2.1-2.1a.983.983 0 0 1 0-1.389l.7-.7a2.98 2.98 0 0 0 0-4.217l-1.4-1.4a2.824 2.824 0 0 0-4.218 0c-3.619 3.619-3 8.229 1.752 12.979C6.785 16.639 9.45 18 11.912 18a7.175 7.175 0 0 0 5.139-2.325A2.9 2.9 0 0 0 18 13.446Z\"/>\n            </svg>\n        </span>\n        <input type=\"text\" id=\"floating-phone-number\" class=\"block py-2.5 ps-6 pe-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\" \" />\n        <label for=\"floating-phone-number\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-placeholder-shown:start-6 peer-focus:start-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Phone number</label>\n    </div>\n</form>\n{{< /example >}}\n\n##### Verification code input\n\nUse this example to send a verification code to the user's phone number for authentication.\n\n{{< example id=\"phone-verification-number-input\" github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        +1 <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-52 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            United States (+1)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            United Kingdom (+44)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" stroke=\"#fff\" stroke-width=\".667\" d=\"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z\"/><path fill=\"url(#paint0_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z\" clip-rule=\"evenodd\"/><path fill=\"url(#paint1_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z\" clip-rule=\"evenodd\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z\" clip-rule=\"evenodd\"/></g><defs><linearGradient id=\"paint0_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.5\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><linearGradient id=\"paint1_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.033\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF2E3B\"/><stop offset=\"1\" stop-color=\"#FC0D1B\"/></linearGradient></defs></svg>\n                            Australia (+61)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g mask=\"url(#a)\"><path fill=\"#F44653\" d=\"M13.067.5H19.6v14h-6.533z\"/><path fill=\"#1035BB\" fill-rule=\"evenodd\" d=\"M0 14.5h6.533V.5H0v14z\" clip-rule=\"evenodd\"/></g></svg>\n                            France (+33)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 mb-4 text-sm text-gray-500 dark:text-gray-400\">We will send you an SMS with a verification code.</p>\n    <button type=\"submit\" class=\"text-white w-full bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Send verification code</button>\n</form>\n{{< /example >}}\n\n##### Phone number select\n\nUse this example to select one of your saved phone numbers from an application with a copy-paste feature.\n\n{{< example id=\"phone-select-number-input\" github=\"components/phone-input.md\" show_dark=true disable_init_js=\"true\" javascript=`\nwindow.addEventListener('load', function() {\n    const clipboard = FlowbiteInstances.getInstance('CopyClipboard', 'phone-numbers');\n    const tooltip = FlowbiteInstances.getInstance('Tooltip', 'tooltip-phone');\n\n    const $defaultIcon = document.getElementById('copy-icon');\n    const $successIcon = document.getElementById('copy-icon-success');\n\n    const $defaultTooltipMessage = document.getElementById('tooltip-text');\n    const $successTooltipMessage = document.getElementById('tooltip-text-success');\n\n    clipboard.updateOnCopyCallback((clipboard) => {\n        showSuccess();\n\n        // reset to default state\n        setTimeout(() => {\n            resetToDefault();\n        }, 2000);\n    })\n\n    const showSuccess = () => {\n        $defaultIcon.classList.add('hidden');\n        $successIcon.classList.remove('hidden');\n        $defaultTooltipMessage.classList.add('hidden');\n        $successTooltipMessage.classList.remove('hidden');    \n        tooltip.show();\n    }\n\n    const resetToDefault = () => {\n        $defaultIcon.classList.remove('hidden');\n        $successIcon.classList.add('hidden');\n        $defaultTooltipMessage.classList.remove('hidden');\n        $successTooltipMessage.classList.add('hidden');\n        tooltip.hide();\n    }\n});\n` >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"mb-2 flex justify-between items-center\">\n        <label for=\"phone-numbers\" class=\"text-sm font-medium text-gray-900 dark:text-white\">Primary phone number:</label>\n        <a href=\"#\" class=\"text-blue-700 dark:text-blue-500 text-xs font-medium hover:underline\">Manage numbers</a>\n    </div>\n    <div class=\"flex items-center\">\n        <div class=\"relative w-full\">\n            <select id=\"phone-numbers\" aria-describedby=\"helper-text-explanation\" class=\"bg-gray-50 border border-e-0 border-gray-300 text-gray-900 text-sm rounded-s-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n                <option selected value=\"+1 234 456 7890\">+1 234 456 7890</option>\n                <option value=\"+1 456 234 7890\">+1 456 234 7890</option>\n                <option value=\"+1 432 621 3163\">+1 432 621 3163</option>\n            </select>\n        </div>\n        <button id=\"copy-number\" data-copy-to-clipboard-target=\"phone-numbers\" data-tooltip-target=\"tooltip-phone\" class=\"shrink-0 z-10 inline-flex items-center py-3 px-4 text-sm font-medium text-center text-gray-500 dark:text-gray-400 hover:text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:hover:text-white dark:border-gray-600\" type=\"button\">\n            <svg id=\"copy-icon\" class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z\"/>\n            </svg>\n            <svg id=\"copy-icon-success\" class=\"w-4 h-4 hidden\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2ZM7 2h4v3H7V2Zm5.7 8.289-3.975 3.857a1 1 0 0 1-1.393 0L5.3 12.182a1.002 1.002 0 1 1 1.4-1.436l1.328 1.289 3.28-3.181a1 1 0 1 1 1.392 1.435Z\"/>\n            </svg>\n        </button>\n        <div id=\"tooltip-phone\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            <span id=\"tooltip-text\">Copy number</span>\n            <span id=\"tooltip-text-success\" class=\"hidden\">Copied!</span>\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n    <p id=\"helper-text-explanation\" class=\"mt-2 text-sm text-gray-500 dark:text-gray-400\">Please set your primary phone number.</p>\n</form>\n{{< /example >}}\n\n##### Authentication form\n\nUse this example to authenticate users with a login form using a phone number instead of an email address.\n\n{{< example id=\"phone-auth-number-input\" github=\"components/phone-input.md\" show_dark=true iframeHeight=\"390\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <label for=\"phone-input\" class=\"mb-2 text-sm font-medium text-gray-900 dark:text-white\">Phone number:</label>\n    <div class=\"flex items-center mt-2\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        +1 <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-52 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            United States (+1)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            United Kingdom (+44)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" stroke=\"#fff\" stroke-width=\".667\" d=\"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z\"/><path fill=\"url(#paint0_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z\" clip-rule=\"evenodd\"/><path fill=\"url(#paint1_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z\" clip-rule=\"evenodd\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z\" clip-rule=\"evenodd\"/></g><defs><linearGradient id=\"paint0_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.5\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><linearGradient id=\"paint1_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.033\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF2E3B\"/><stop offset=\"1\" stop-color=\"#FC0D1B\"/></linearGradient></defs></svg>\n                            Australia (+61)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g mask=\"url(#a)\"><path fill=\"#F44653\" d=\"M13.067.5H19.6v14h-6.533z\"/><path fill=\"#1035BB\" fill-rule=\"evenodd\" d=\"M0 14.5h6.533V.5H0v14z\" clip-rule=\"evenodd\"/></g></svg>\n                            France (+33)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <div class=\"relative w-full\">\n            <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 rounded-e-lg border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n    </div>\n        <div class=\"mt-4\">\n        <label for=\"password\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your password</label>\n        <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"••••••••\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white\" required />\n    </div>\n    <div class=\"flex items-center mt-4 mb-4\">\n        <input id=\"terms\" aria-describedby=\"terms\" type=\"checkbox\" class=\"w-4 h-4 border border-gray-300 rounded-sm bg-gray-50 focus:ring-3 focus:ring-blue-300 dark:bg-gray-700 dark:border-gray-600 dark:focus:ring-blue-600 dark:ring-offset-gray-800\" required=\"\">\n        <label for=\"terms\" class=\"text-gray-500 dark:text-gray-300 ms-2 text-sm\">I accept the <a class=\"font-medium text-blue-600 hover:underline dark:text-blue-500\" href=\"#\">Terms and Conditions</a></label>\n    </div>\n    <button type=\"submit\" class=\"text-white w-full bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Sign Up</button>\n</form>\n{{< /example >}}\n\n##### Advanced phone verification\n\nUse this example to verify a phone number via SMS or phone call using a dropdown component.\n\n{{< example id=\"phone-code-alt-number-input\" github=\"components/phone-input.md\" show_dark=true iframeHeight=\"360\" disable_init_js=\"true\" >}}\n<form class=\"max-w-sm mx-auto\">\n    <div class=\"flex items-center mt-2\">\n        <button id=\"dropdown-phone-button\" data-dropdown-toggle=\"dropdown-phone\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n        +1 <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-phone\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-52 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-phone-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg fill=\"none\" aria-hidden=\"true\" class=\"h-4 w-4 me-2\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#D02F44\" fill-rule=\"evenodd\" d=\"M19.6.5H0v.933h19.6V.5zm0 1.867H0V3.3h19.6v-.933zM0 4.233h19.6v.934H0v-.934zM19.6 6.1H0v.933h19.6V6.1zM0 7.967h19.6V8.9H0v-.933zm19.6 1.866H0v.934h19.6v-.934zM0 11.7h19.6v.933H0V11.7zm19.6 1.867H0v.933h19.6v-.933z\" clip-rule=\"evenodd\"/><path fill=\"#46467F\" d=\"M0 .5h8.4v6.533H0z\"/><g filter=\"url(#filter0_d_343_121520)\"><path fill=\"url(#paint0_linear_343_121520)\" fill-rule=\"evenodd\" d=\"M1.867 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.866 0a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM7.467 1.9a.467.467 0 11-.934 0 .467.467 0 01.934 0zM2.333 3.3a.467.467 0 100-.933.467.467 0 000 .933zm2.334-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm1.4.467a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.934 0 .467.467 0 01.934 0zm-2.334.466a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.466a.467.467 0 11-.933 0 .467.467 0 01.933 0zM1.4 4.233a.467.467 0 100-.933.467.467 0 000 .933zm1.4.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zm1.4.467a.467.467 0 100-.934.467.467 0 000 .934zM6.533 4.7a.467.467 0 11-.933 0 .467.467 0 01.933 0zM7 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.933 0 .467.467 0 01.933 0zM3.267 6.1a.467.467 0 100-.933.467.467 0 000 .933zm-1.4-.467a.467.467 0 11-.934 0 .467.467 0 01.934 0z\" clip-rule=\"evenodd\"/></g></g><defs><linearGradient id=\"paint0_linear_343_121520\" x1=\".933\" x2=\".933\" y1=\"1.433\" y2=\"6.1\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><filter id=\"filter0_d_343_121520\" width=\"6.533\" height=\"5.667\" x=\".933\" y=\"1.433\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset dy=\"1\"/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_343_121520\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_343_121520\" result=\"shape\"/></filter></defs></svg>\n                            United States (+1)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M-.898-.842L7.467 4.8V-.433h4.667V4.8l8.364-5.642L21.542.706l-6.614 4.46H19.6v4.667h-4.672l6.614 4.46-1.044 1.549-8.365-5.642v5.233H7.467V10.2l-8.365 5.642-1.043-1.548 6.613-4.46H0V5.166h4.672L-1.941.706-.898-.842z\" clip-rule=\"evenodd\"/><path stroke=\"#DB1F35\" stroke-linecap=\"round\" stroke-width=\".667\" d=\"M13.067 4.933L21.933-.9M14.009 10.088l7.947 5.357M5.604 4.917L-2.686-.67M6.503 10.024l-9.189 6.093\"/><path fill=\"#E6273E\" fill-rule=\"evenodd\" d=\"M0 8.9h8.4v5.6h2.8V8.9h8.4V6.1h-8.4V.5H8.4v5.6H0v2.8z\" clip-rule=\"evenodd\"/></g></svg>\n                            United Kingdom (+44)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"h-4 w-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#0A17A7\" d=\"M0 .5h19.6v14H0z\"/><path fill=\"#fff\" stroke=\"#fff\" stroke-width=\".667\" d=\"M0 .167h-.901l.684.586 3.15 2.7v.609L-.194 6.295l-.14.1v1.24l.51-.319L3.83 5.033h.73L7.7 7.276a.488.488 0 00.601-.767L5.467 4.08v-.608l2.987-2.134a.667.667 0 00.28-.543V-.1l-.51.318L4.57 2.5h-.73L.66.229.572.167H0z\"/><path fill=\"url(#paint0_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 2.833V4.7h3.267v2.133c0 .369.298.667.666.667h.534a.667.667 0 00.666-.667V4.7H8.2a.667.667 0 00.667-.667V3.5a.667.667 0 00-.667-.667H5.133V.5H3.267v2.333H0z\" clip-rule=\"evenodd\"/><path fill=\"url(#paint1_linear_374_135177)\" fill-rule=\"evenodd\" d=\"M0 3.3h3.733V.5h.934v2.8H8.4v.933H4.667v2.8h-.934v-2.8H0V3.3z\" clip-rule=\"evenodd\"/><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M4.2 11.933l-.823.433.157-.916-.666-.65.92-.133.412-.834.411.834.92.134-.665.649.157.916-.823-.433zm9.8.7l-.66.194.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.194zm0-8.866l-.66.193.194-.66-.194-.66.66.193.66-.193-.193.66.193.66-.66-.193zm2.8 2.8l-.66.193.193-.66-.193-.66.66.193.66-.193-.193.66.193.66-.66-.193zm-5.6.933l-.66.193.193-.66-.193-.66.66.194.66-.194-.193.66.193.66-.66-.193zm4.2 1.167l-.33.096.096-.33-.096-.33.33.097.33-.097-.097.33.097.33-.33-.096z\" clip-rule=\"evenodd\"/></g><defs><linearGradient id=\"paint0_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.5\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#fff\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient><linearGradient id=\"paint1_linear_374_135177\" x1=\"0\" x2=\"0\" y1=\".5\" y2=\"7.033\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF2E3B\"/><stop offset=\"1\" stop-color=\"#FC0D1B\"/></linearGradient></defs></svg>\n                            Australia (+61)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#F5F5F5\" stroke-width=\".5\" rx=\"1.75\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.1\" height=\"13.5\" x=\".25\" y=\".75\" fill=\"#fff\" stroke=\"#fff\" stroke-width=\".5\" rx=\"1.75\"/></mask><g mask=\"url(#a)\"><path fill=\"#F44653\" d=\"M13.067.5H19.6v14h-6.533z\"/><path fill=\"#1035BB\" fill-rule=\"evenodd\" d=\"M0 14.5h6.533V.5H0v14z\" clip-rule=\"evenodd\"/></g></svg>\n                            France (+33)\n                        </span>\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        <span class=\"inline-flex items-center\">\n                            <svg class=\"w-4 h-4 me-2\" fill=\"none\" viewBox=\"0 0 20 15\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/><mask id=\"a\" style=\"mask-type:luminance\" width=\"20\" height=\"15\" x=\"0\" y=\"0\" maskUnits=\"userSpaceOnUse\"><rect width=\"19.6\" height=\"14\" y=\".5\" fill=\"#fff\" rx=\"2\"/></mask><g mask=\"url(#a)\"><path fill=\"#262626\" fill-rule=\"evenodd\" d=\"M0 5.167h19.6V.5H0v4.667z\" clip-rule=\"evenodd\"/><g filter=\"url(#filter0_d_374_135180)\"><path fill=\"#F01515\" fill-rule=\"evenodd\" d=\"M0 9.833h19.6V5.167H0v4.666z\" clip-rule=\"evenodd\"/></g><g filter=\"url(#filter1_d_374_135180)\"><path fill=\"#FFD521\" fill-rule=\"evenodd\" d=\"M0 14.5h19.6V9.833H0V14.5z\" clip-rule=\"evenodd\"/></g></g><defs><filter id=\"filter0_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"5.167\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter><filter id=\"filter1_d_374_135180\" width=\"19.6\" height=\"4.667\" x=\"0\" y=\"9.833\" color-interpolation-filters=\"sRGB\" filterUnits=\"userSpaceOnUse\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" result=\"hardAlpha\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\"/><feOffset/><feColorMatrix values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_374_135180\"/><feBlend in=\"SourceGraphic\" in2=\"effect1_dropShadow_374_135180\" result=\"shape\"/></filter></defs></svg>\n                            Germany (+49)\n                        </span>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <label for=\"phone-input\" class=\"text-sm font-medium sr-only text-gray-900 dark:text-white\">Phone number:</label>\n        <div class=\"relative w-full\">\n            <input type=\"text\" id=\"phone-input\" aria-describedby=\"helper-text-explanation\" class=\"block p-2.5 w-full z-20 text-sm text-gray-900 bg-gray-50 border-e-0 border-s-0 border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-s-gray-700  dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:border-blue-500\" pattern=\"[0-9]{3}-[0-9]{3}-[0-9]{4}\" placeholder=\"123-456-7890\" required />\n        </div>\n        <button id=\"dropdown-verification-option-button\" data-dropdown-toggle=\"dropdown-verification-option\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n        Send SMS <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-verification-option\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-verification-option-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        Send SMS\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        Call\n                    </button>\n                </li>\n            </ul>\n        </div>\n    </div>\n    <button type=\"submit\" class=\"text-white w-full bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mt-4 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Activate account</button>\n</form>\n{{< /example >}}\n\n#### Select\n\nThe select input component can be used to gather information from users based on multiple options in the form of a dropdown list and by browsing this page you will find multiple options, styles, sizes, and variants built with the utility classes from Tailwind CSS also available in dark mode.\n\n##### Select input example\n\nGet started with the default example of a select input component to get a single option selection.\n\n{{< example id=\"default-select-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select an option</label>\n  <select id=\"countries\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n##### Multiple options\n\nApply the `multiple` attribute to the select component to allow users to select one or more options.\n\n{{< example id=\"select-multiple-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries_multiple\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select an option</label>\n  <select multiple id=\"countries_multiple\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose countries</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n##### Size attribute\n\nUse the size attribute for the select component to specify the number of visible options in the list.\n\n{{< example id=\"select-size-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"years\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select an option</label>\n  <select id=\"years\" size=\"5\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option>2016</option>\n    <option>2017</option>\n    <option>2018</option>\n    <option>2019</option>\n    <option>2020</option>\n    <option>2021</option>\n    <option>2022</option>\n  </select>\n</form>\n{{< /example >}}\n\n##### Disabled state\n\nApply the `disable` state to the select component to disallow the selection of new options.\n\n{{< example id=\"select-disabled-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"countries_disabled\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select an option</label>\n  <select disabled id=\"countries_disabled\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n##### Underline select\n\nUse the underline style for the select component as an alternative appearance.\n\n{{< example id=\"select-underline-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"underline_select\" class=\"sr-only\">Underline select</label>\n  <select id=\"underline_select\" class=\"block py-2.5 px-0 w-full text-sm text-gray-500 bg-transparent border-0 border-b-2 border-gray-200 appearance-none dark:text-gray-400 dark:border-gray-700 focus:outline-none focus:ring-0 focus:border-gray-200 peer\">\n      <option selected>Choose a country</option>\n      <option value=\"US\">United States</option>\n      <option value=\"CA\">Canada</option>\n      <option value=\"FR\">France</option>\n      <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Select with dropdown\n\nUse this example if you want to create a multi-level dropdown and select component combination.\n\n{{< example id=\"select-dropdown-example\" github=\"forms/select.md\" show_dark=true iframeHeight=\"300\" >}}\n<form class=\"max-w-sm mx-auto\">\n  <div class=\"flex\">\n      <button id=\"states-button\" data-dropdown-toggle=\"dropdown-states\" class=\"shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-500 bg-gray-100 border border-gray-300 rounded-s-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n          <svg aria-hidden=\"true\" class=\"h-3 me-2\" viewBox=\"0 0 15 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><rect x=\"0.5\" width=\"14\" height=\"12\" rx=\"2\" fill=\"white\"/><mask id=\"mask0_12694_49953\" style=\"mask-type:alpha\" maskUnits=\"userSpaceOnUse\" x=\"0\" y=\"0\" width=\"15\" height=\"12\"><rect x=\"0.5\" width=\"14\" height=\"12\" rx=\"2\" fill=\"white\"/></mask><g mask=\"url(#mask0_12694_49953)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.5 0H0.5V0.8H14.5V0ZM14.5 1.6H0.5V2.4H14.5V1.6ZM0.5 3.2H14.5V4H0.5V3.2ZM14.5 4.8H0.5V5.6H14.5V4.8ZM0.5 6.4H14.5V7.2H0.5V6.4ZM14.5 8H0.5V8.8H14.5V8ZM0.5 9.6H14.5V10.4H0.5V9.6ZM14.5 11.2H0.5V12H14.5V11.2Z\" fill=\"#D02F44\"/><rect x=\"0.5\" width=\"6\" height=\"5.6\" fill=\"#46467F\"/><g filter=\"url(#filter0_d_12694_49953)\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M1.83317 1.20005C1.83317 1.42096 1.68393 1.60005 1.49984 1.60005C1.31574 1.60005 1.1665 1.42096 1.1665 1.20005C1.1665 0.979135 1.31574 0.800049 1.49984 0.800049C1.68393 0.800049 1.83317 0.979135 1.83317 1.20005ZM3.1665 1.20005C3.1665 1.42096 3.01727 1.60005 2.83317 1.60005C2.64908 1.60005 2.49984 1.42096 2.49984 1.20005C2.49984 0.979135 2.64908 0.800049 2.83317 0.800049C3.01727 0.800049 3.1665 0.979135 3.1665 1.20005ZM4.1665 1.60005C4.3506 1.60005 4.49984 1.42096 4.49984 1.20005C4.49984 0.979135 4.3506 0.800049 4.1665 0.800049C3.98241 0.800049 3.83317 0.979135 3.83317 1.20005C3.83317 1.42096 3.98241 1.60005 4.1665 1.60005ZM5.83317 1.20005C5.83317 1.42096 5.68393 1.60005 5.49984 1.60005C5.31574 1.60005 5.1665 1.42096 5.1665 1.20005C5.1665 0.979135 5.31574 0.800049 5.49984 0.800049C5.68393 0.800049 5.83317 0.979135 5.83317 1.20005ZM2.1665 2.40005C2.3506 2.40005 2.49984 2.22096 2.49984 2.00005C2.49984 1.77913 2.3506 1.60005 2.1665 1.60005C1.98241 1.60005 1.83317 1.77913 1.83317 2.00005C1.83317 2.22096 1.98241 2.40005 2.1665 2.40005ZM3.83317 2.00005C3.83317 2.22096 3.68393 2.40005 3.49984 2.40005C3.31574 2.40005 3.1665 2.22096 3.1665 2.00005C3.1665 1.77913 3.31574 1.60005 3.49984 1.60005C3.68393 1.60005 3.83317 1.77913 3.83317 2.00005ZM4.83317 2.40005C5.01726 2.40005 5.1665 2.22096 5.1665 2.00005C5.1665 1.77913 5.01726 1.60005 4.83317 1.60005C4.64908 1.60005 4.49984 1.77913 4.49984 2.00005C4.49984 2.22096 4.64908 2.40005 4.83317 2.40005ZM5.83317 2.80005C5.83317 3.02096 5.68393 3.20005 5.49984 3.20005C5.31574 3.20005 5.1665 3.02096 5.1665 2.80005C5.1665 2.57914 5.31574 2.40005 5.49984 2.40005C5.68393 2.40005 5.83317 2.57914 5.83317 2.80005ZM4.1665 3.20005C4.3506 3.20005 4.49984 3.02096 4.49984 2.80005C4.49984 2.57914 4.3506 2.40005 4.1665 2.40005C3.98241 2.40005 3.83317 2.57914 3.83317 2.80005C3.83317 3.02096 3.98241 3.20005 4.1665 3.20005ZM3.1665 2.80005C3.1665 3.02096 3.01727 3.20005 2.83317 3.20005C2.64908 3.20005 2.49984 3.02096 2.49984 2.80005C2.49984 2.57914 2.64908 2.40005 2.83317 2.40005C3.01727 2.40005 3.1665 2.57914 3.1665 2.80005ZM1.49984 3.20005C1.68393 3.20005 1.83317 3.02096 1.83317 2.80005C1.83317 2.57914 1.68393 2.40005 1.49984 2.40005C1.31574 2.40005 1.1665 2.57914 1.1665 2.80005C1.1665 3.02096 1.31574 3.20005 1.49984 3.20005ZM2.49984 3.60005C2.49984 3.82096 2.3506 4.00005 2.1665 4.00005C1.98241 4.00005 1.83317 3.82096 1.83317 3.60005C1.83317 3.37913 1.98241 3.20005 2.1665 3.20005C2.3506 3.20005 2.49984 3.37913 2.49984 3.60005ZM3.49984 4.00005C3.68393 4.00005 3.83317 3.82096 3.83317 3.60005C3.83317 3.37913 3.68393 3.20005 3.49984 3.20005C3.31574 3.20005 3.1665 3.37913 3.1665 3.60005C3.1665 3.82096 3.31574 4.00005 3.49984 4.00005ZM5.1665 3.60005C5.1665 3.82096 5.01726 4.00005 4.83317 4.00005C4.64908 4.00005 4.49984 3.82096 4.49984 3.60005C4.49984 3.37913 4.64908 3.20005 4.83317 3.20005C5.01726 3.20005 5.1665 3.37913 5.1665 3.60005ZM5.49984 4.80005C5.68393 4.80005 5.83317 4.62096 5.83317 4.40005C5.83317 4.17913 5.68393 4.00005 5.49984 4.00005C5.31574 4.00005 5.1665 4.17913 5.1665 4.40005C5.1665 4.62096 5.31574 4.80005 5.49984 4.80005ZM4.49984 4.40005C4.49984 4.62096 4.3506 4.80005 4.1665 4.80005C3.98241 4.80005 3.83317 4.62096 3.83317 4.40005C3.83317 4.17913 3.98241 4.00005 4.1665 4.00005C4.3506 4.00005 4.49984 4.17913 4.49984 4.40005ZM2.83317 4.80005C3.01727 4.80005 3.1665 4.62096 3.1665 4.40005C3.1665 4.17913 3.01727 4.00005 2.83317 4.00005C2.64908 4.00005 2.49984 4.17913 2.49984 4.40005C2.49984 4.62096 2.64908 4.80005 2.83317 4.80005ZM1.83317 4.40005C1.83317 4.62096 1.68393 4.80005 1.49984 4.80005C1.31574 4.80005 1.1665 4.62096 1.1665 4.40005C1.1665 4.17913 1.31574 4.00005 1.49984 4.00005C1.68393 4.00005 1.83317 4.17913 1.83317 4.40005Z\" fill=\"url(#paint0_linear_12694_49953)\"/></g></g><defs><filter id=\"filter0_d_12694_49953\" x=\"1.1665\" y=\"0.800049\" width=\"4.6665\" height=\"5\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/><feOffset dy=\"1\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0\"/><feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_12694_49953\"/><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_12694_49953\" result=\"shape\"/></filter><linearGradient id=\"paint0_linear_12694_49953\" x1=\"1.1665\" y1=\"0.800049\" x2=\"1.1665\" y2=\"4.80005\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"white\"/><stop offset=\"1\" stop-color=\"#F0F0F0\"/></linearGradient></defs></svg>\n          USA <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n      <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n    </svg>\n      </button>\n      <div id=\"dropdown-states\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"states-button\">\n              <li>\n                  <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\">\n                      <div class=\"inline-flex items-center\">\n                          <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-us\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\"><g stroke-width=\"1pt\"><path fill=\"#bd3d44\" d=\"M0 0h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M0 10h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0zm0 20h247v10H0z\" transform=\"scale(3.9385)\"/></g><path fill=\"#192f5d\" d=\"M0 0h98.8v70H0z\" transform=\"scale(3.9385)\"/><path fill=\"#fff\" d=\"M8.2 3l1 2.8H12L9.7 7.5l.9 2.7-2.4-1.7L6 10.2l.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7L74 8.5l-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 7.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 24.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 21.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 38.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 35.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 52.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 49.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm-74.1 7l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7H65zm16.4 0l1 2.8H86l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm-74 7l.8 2.8h3l-2.4 1.7.9 2.7-2.4-1.7L6 66.2l.9-2.7-2.4-1.7h3zm16.4 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8H45l-2.4 1.7 1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9zm16.4 0l1 2.8h2.8l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h3zm16.5 0l.9 2.8h2.9l-2.3 1.7.9 2.7-2.4-1.7-2.3 1.7.9-2.7-2.4-1.7h2.9zm16.5 0l.9 2.8h2.9L92 63.5l1 2.7-2.4-1.7-2.4 1.7 1-2.7-2.4-1.7h2.9z\" transform=\"scale(3.9385)\"/></g></svg>              \n                          United States\n                      </div>\n                  </button>\n              </li>\n              <li>\n                  <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\">\n                      <div class=\"inline-flex items-center\">\n                          <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-de\" viewBox=\"0 0 512 512\"><path fill=\"#ffce00\" d=\"M0 341.3h512V512H0z\"/><path d=\"M0 0h512v170.7H0z\"/><path fill=\"#d00\" d=\"M0 170.7h512v170.6H0z\"/></svg>\n                          Germany\n                      </div>\n                  </button>\n              </li>\n              <li>\n                  <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\">\n                      <div class=\"inline-flex items-center\">\n                          <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" id=\"flag-icon-css-it\" viewBox=\"0 0 512 512\"><g fill-rule=\"evenodd\" stroke-width=\"1pt\"><path fill=\"#fff\" d=\"M0 0h512v512H0z\"/><path fill=\"#009246\" d=\"M0 0h170.7v512H0z\"/><path fill=\"#ce2b37\" d=\"M341.3 0H512v512H341.3z\"/></g></svg>              \n                          Italy\n                      </div>\n                  </button>\n              </li>\n              <li>\n                  <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white\">\n                      <div class=\"inline-flex items-center\">\n                          <svg aria-hidden=\"true\" class=\"h-3.5 w-3.5 rounded-full me-2\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" id=\"flag-icon-css-cn\" viewBox=\"0 0 512 512\"><defs><path id=\"a\" fill=\"#ffde00\" d=\"M1-.3L-.7.8 0-1 .6.8-1-.3z\"/></defs><path fill=\"#de2910\" d=\"M0 0h512v512H0z\"/><use width=\"30\" height=\"20\" transform=\"matrix(76.8 0 0 76.8 128 128)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-121 142.6 -47) scale(25.5827)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-98.1 198 -82) scale(25.6)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"rotate(-74 272.4 -114) scale(25.6137)\" xlink:href=\"#a\"/><use width=\"30\" height=\"20\" transform=\"matrix(16 -19.968 19.968 16 256 230.4)\" xlink:href=\"#a\"/></svg>\n                          China\n                      </div>\n                  </button>\n              </li>\n          </ul>\n      </div>\n      <label for=\"states\" class=\"sr-only\">Choose a state</label>\n      <select id=\"states\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-e-lg border-s-gray-100 dark:border-s-gray-700 border-s-2 focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n          <option selected>Choose a state</option>\n          <option value=\"CA\">California</option>\n          <option value=\"TX\">Texas</option>\n          <option value=\"WH\">Washinghton</option>\n          <option value=\"FL\">Florida</option>\n          <option value=\"VG\">Virginia</option>\n          <option value=\"GE\">Georgia</option>\n          <option value=\"MI\">Michigan</option>\n      </select>\n  </div>\n</form>\n{{< /example >}}\n\n##### Sizes\n\nGet started with the small, default, and large sizes for the select component from the example below.\n\n{{< example id=\"select-sizes-example\" github=\"forms/select.md\" show_dark=true >}}\n<form class=\"max-w-sm mx-auto\">\n  <label for=\"small\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Small select</label>\n  <select id=\"small\" class=\"block w-full p-2 mb-6 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n  <label for=\"default\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Default select</label>\n  <select id=\"default\" class=\"bg-gray-50 border border-gray-300 text-gray-900 mb-6 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n  <label for=\"large\" class=\"block mb-2 text-base font-medium text-gray-900 dark:text-white\">Large select</label>\n  <select id=\"large\" class=\"block w-full px-4 py-3 text-base text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\">\n    <option selected>Choose a country</option>\n    <option value=\"US\">United States</option>\n    <option value=\"CA\">Canada</option>\n    <option value=\"FR\">France</option>\n    <option value=\"DE\">Germany</option>\n  </select>\n</form>\n{{< /example >}}\n\n#### Textarea\n\nThe textarea component is a multi-line text field input that can be used to receive longer chunks of text from the user in the form of a comment box, description field, and more.\n\nFrom the examples on this page you will find multiple styles and variants of the textarea component coded with the utility classes from Tailwind CSS including a WYSIWYG editor, comment box, chatroom textarea, all available in dark mode as well. \n\n##### Textarea example\n\nGet started with the default example of a textarea component below.\n\n{{< example id=\"default-textarea-example\" github=\"forms/textarea.md\" show_dark=true >}}\n<label for=\"message\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Your message</label>\n<textarea id=\"message\" rows=\"4\" class=\"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Write your thoughts here...\"></textarea>\n{{< /example >}}\n\n##### WYSIWYG Editor\n\nIf you want to add other actions as buttons alongside your textarea component, such as with a WYSIWYG editor, then you can use the example below.\n\n{{< example id=\"textarea-wysiwyg-example\" github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n   <div class=\"w-full mb-4 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n       <div class=\"flex items-center justify-between px-3 py-2 border-b border-gray-200 dark:border-gray-600 border-gray-200\">\n           <div class=\"flex flex-wrap items-center divide-gray-200 sm:divide-x sm:rtl:divide-x-reverse dark:divide-gray-600\">\n               <div class=\"flex items-center space-x-1 rtl:space-x-reverse sm:pe-4\">\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 20\">\n                            <path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 6v8a5 5 0 1 0 10 0V4.5a3.5 3.5 0 1 0-7 0V13a2 2 0 0 0 4 0V6\"/>\n                        </svg>\n                       <span class=\"sr-only\">Attach file</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                            <path d=\"M8 0a7.992 7.992 0 0 0-6.583 12.535 1 1 0 0 0 .12.183l.12.146c.112.145.227.285.326.4l5.245 6.374a1 1 0 0 0 1.545-.003l5.092-6.205c.206-.222.4-.455.578-.7l.127-.155a.934.934 0 0 0 .122-.192A8.001 8.001 0 0 0 8 0Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Embed map</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                            <path d=\"M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM10.5 6a1.5 1.5 0 1 1 0 2.999A1.5 1.5 0 0 1 10.5 6Zm2.221 10.515a1 1 0 0 1-.858.485h-8a1 1 0 0 1-.9-1.43L5.6 10.039a.978.978 0 0 1 .936-.57 1 1 0 0 1 .9.632l1.181 2.981.541-1a.945.945 0 0 1 .883-.522 1 1 0 0 1 .879.529l1.832 3.438a1 1 0 0 1-.031.988Z\"/>\n                            <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Upload image</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                            <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.96 2.96 0 0 0 .13 5H5Z\"/>\n                            <path d=\"M14.067 0H7v5a2 2 0 0 1-2 2H0v11a1.969 1.969 0 0 0 1.933 2h12.134A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.933-2ZM6.709 13.809a1 1 0 1 1-1.418 1.409l-2-2.013a1 1 0 0 1 0-1.412l2-2a1 1 0 0 1 1.414 1.414L5.412 12.5l1.297 1.309Zm6-.6-2 2.013a1 1 0 1 1-1.418-1.409l1.3-1.307-1.295-1.295a1 1 0 0 1 1.414-1.414l2 2a1 1 0 0 1-.001 1.408v.004Z\"/>\n                        </svg>\n                        <span class=\"sr-only\">Format code</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM13.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm3.5 9.5A5.5 5.5 0 0 1 4.6 11h10.81A5.5 5.5 0 0 1 10 15.5Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Add emoji</span>\n                   </button>\n               </div>\n               <div class=\"flex flex-wrap items-center space-x-1 rtl:space-x-reverse sm:ps-4\">\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 21 18\">\n                            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9.5 3h9.563M9.5 9h9.563M9.5 15h9.563M1.5 13a2 2 0 1 1 3.321 1.5L1.5 17h5m-5-15 2-1v6m-2 0h4\"/>\n                        </svg>\n                       <span class=\"sr-only\">Add list</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M18 7.5h-.423l-.452-1.09.3-.3a1.5 1.5 0 0 0 0-2.121L16.01 2.575a1.5 1.5 0 0 0-2.121 0l-.3.3-1.089-.452V2A1.5 1.5 0 0 0 11 .5H9A1.5 1.5 0 0 0 7.5 2v.423l-1.09.452-.3-.3a1.5 1.5 0 0 0-2.121 0L2.576 3.99a1.5 1.5 0 0 0 0 2.121l.3.3L2.423 7.5H2A1.5 1.5 0 0 0 .5 9v2A1.5 1.5 0 0 0 2 12.5h.423l.452 1.09-.3.3a1.5 1.5 0 0 0 0 2.121l1.415 1.413a1.5 1.5 0 0 0 2.121 0l.3-.3 1.09.452V18A1.5 1.5 0 0 0 9 19.5h2a1.5 1.5 0 0 0 1.5-1.5v-.423l1.09-.452.3.3a1.5 1.5 0 0 0 2.121 0l1.415-1.414a1.5 1.5 0 0 0 0-2.121l-.3-.3.452-1.09H18a1.5 1.5 0 0 0 1.5-1.5V9A1.5 1.5 0 0 0 18 7.5Zm-8 6a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Settings</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M18 2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2ZM2 18V7h6.7l.4-.409A4.309 4.309 0 0 1 15.753 7H18v11H2Z\"/>\n                            <path d=\"M8.139 10.411 5.289 13.3A1 1 0 0 0 5 14v2a1 1 0 0 0 1 1h2a1 1 0 0 0 .7-.288l2.886-2.851-3.447-3.45ZM14 8a2.463 2.463 0 0 0-3.484 0l-.971.983 3.468 3.468.987-.971A2.463 2.463 0 0 0 14 8Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Timeline</span>\n                   </button>\n                   <button type=\"button\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                       <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                            <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                            <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                        </svg>\n                       <span class=\"sr-only\">Download</span>\n                   </button>\n               </div>\n           </div>\n           <button type=\"button\" data-tooltip-target=\"tooltip-fullscreen\" class=\"p-2 text-gray-500 rounded-sm cursor-pointer sm:ms-auto hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n               <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 19 19\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 1h5m0 0v5m0-5-5 5M1.979 6V1H7m0 16.042H1.979V12M18 12v5.042h-5M13 12l5 5M2 1l5 5m0 6-5 5\"/>\n                </svg>\n               <span class=\"sr-only\">Full screen</span>\n           </button>\n           <div id=\"tooltip-fullscreen\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n               Show full screen\n               <div class=\"tooltip-arrow\" data-popper-arrow></div>\n           </div>\n       </div>\n       <div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n           <label for=\"editor\" class=\"sr-only\">Publish post</label>\n           <textarea id=\"editor\" rows=\"8\" class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\" placeholder=\"Write an article...\" required ></textarea>\n       </div>\n   </div>\n   <button type=\"submit\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-blue-700 rounded-lg focus:ring-4 focus:ring-blue-200 dark:focus:ring-blue-900 hover:bg-blue-800\">\n       Publish post\n   </button>\n</form>\n{{< /example >}}\n\n##### Comment box\n\nMost often the textarea component is used as the main text field input element in comment sections. Use this example to also apply a helper text and buttons below the textarea itself.\n\n{{< example id=\"textarea-comment-example\" github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n   <div class=\"w-full mb-4 border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n       <div class=\"px-4 py-2 bg-white rounded-t-lg dark:bg-gray-800\">\n           <label for=\"comment\" class=\"sr-only\">Your comment</label>\n           <textarea id=\"comment\" rows=\"4\" class=\"w-full px-0 text-sm text-gray-900 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\" placeholder=\"Write a comment...\" required ></textarea>\n       </div>\n       <div class=\"flex items-center justify-between px-3 py-2 border-t dark:border-gray-600 border-gray-200\">\n           <button type=\"submit\" class=\"inline-flex items-center py-2.5 px-4 text-xs font-medium text-center text-white bg-blue-700 rounded-lg focus:ring-4 focus:ring-blue-200 dark:focus:ring-blue-900 hover:bg-blue-800\">\n               Post comment\n           </button>\n           <div class=\"flex ps-0 space-x-1 rtl:space-x-reverse sm:ps-2\">\n               <button type=\"button\" class=\"inline-flex justify-center items-center p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                   <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 12 20\">\n                        <path stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 6v8a5 5 0 1 0 10 0V4.5a3.5 3.5 0 1 0-7 0V13a2 2 0 0 0 4 0V6\"/>\n                    </svg>\n                   <span class=\"sr-only\">Attach file</span>\n               </button>\n               <button type=\"button\" class=\"inline-flex justify-center items-center p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                   <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n                        <path d=\"M8 0a7.992 7.992 0 0 0-6.583 12.535 1 1 0 0 0 .12.183l.12.146c.112.145.227.285.326.4l5.245 6.374a1 1 0 0 0 1.545-.003l5.092-6.205c.206-.222.4-.455.578-.7l.127-.155a.934.934 0 0 0 .122-.192A8.001 8.001 0 0 0 8 0Zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z\"/>\n                    </svg>\n                   <span class=\"sr-only\">Set location</span>\n               </button>\n               <button type=\"button\" class=\"inline-flex justify-center items-center p-2 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                   <svg class=\"w-4 h-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n                        <path d=\"M18 0H2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2Zm-5.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm4.376 10.481A1 1 0 0 1 16 15H4a1 1 0 0 1-.895-1.447l3.5-7A1 1 0 0 1 7.468 6a.965.965 0 0 1 .9.5l2.775 4.757 1.546-1.887a1 1 0 0 1 1.618.1l2.541 4a1 1 0 0 1 .028 1.011Z\"/>\n                    </svg>\n                   <span class=\"sr-only\">Upload image</span>\n               </button>\n           </div>\n       </div>\n   </div>\n</form>\n<p class=\"ms-auto text-xs text-gray-500 dark:text-gray-400\">Remember, contributions to this topic should follow our <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Community Guidelines</a>.</p>\n{{< /example >}}\n\n##### Chatroom input\n\nIf you want to build a chatroom component you will usually want to use a textarea element to allow users to write multi-line chunks of text.\n\n{{< example id=\"textarea-chatroom-example\" github=\"forms/textarea.md\" show_dark=true >}}\n<form>\n    <label for=\"chat\" class=\"sr-only\">Your message</label>\n    <div class=\"flex items-center px-3 py-2 rounded-lg bg-gray-50 dark:bg-gray-700\">\n        <button type=\"button\" class=\"inline-flex justify-center p-2 text-gray-500 rounded-lg cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 18\">\n                <path fill=\"currentColor\" d=\"M13 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM7.565 7.423 4.5 14h11.518l-2.516-3.71L11 13 7.565 7.423Z\"/>\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 1H2a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1Z\"/>\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM7.565 7.423 4.5 14h11.518l-2.516-3.71L11 13 7.565 7.423Z\"/>\n            </svg>\n            <span class=\"sr-only\">Upload image</span>\n        </button>\n        <button type=\"button\" class=\"p-2 text-gray-500 rounded-lg cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.408 7.5h.01m-6.876 0h.01M19 10a9 9 0 1 1-18 0 9 9 0 0 1 18 0ZM4.6 11a5.5 5.5 0 0 0 10.81 0H4.6Z\"/>\n            </svg>\n            <span class=\"sr-only\">Add emoji</span>\n        </button>\n        <textarea id=\"chat\" rows=\"1\" class=\"block mx-4 p-2.5 w-full text-sm text-gray-900 bg-white rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-800 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Your message...\"></textarea>\n            <button type=\"submit\" class=\"inline-flex justify-center p-2 text-blue-600 rounded-full cursor-pointer hover:bg-blue-100 dark:text-blue-500 dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5 rotate-90 rtl:-rotate-90\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                <path d=\"m17.914 18.594-8-18a1 1 0 0 0-1.828 0l-8 18a1 1 0 0 0 1.157 1.376L8 18.281V9a1 1 0 0 1 2 0v9.281l6.758 1.689a1 1 0 0 0 1.156-1.376Z\"/>\n            </svg>\n            <span class=\"sr-only\">Send message</span>\n        </button>\n    </div>\n</form>\n{{< /example >}}\n\n#### Timepicker\n\nThe timepicker component from Flowbite can be used to choose the hours and minutes of a given day through the usage of input fields such as the native HTML time field or even checkbox fields with predefined time interval which are popularly used for calendar event creation.\n\nThe examples on this page are all built with Tailwind CSS and some of the examples require you to install the Flowbite JavaScript dependency to make the interactive UI components functional such as the datepicker, dropdowns, modals and the drawers.\n\nThe timepicker component is often used together with a datepicker so the more advanced examples on this page show you a combination of these two components where you can select both the date (year, month and day) and then the time of the day for the event.\n\n##### Default timepicker\n\nUse this example to show a simple input field with the native browser timepicker.\n\n{{< example id=\"timepicker-default-example\" github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"relative\">\n        <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n            </svg>\n        </div>\n        <input type=\"time\" id=\"time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n    </div>\n</form>\n{{< /example >}}\n\n##### Timepicker with icon\n\nThis example can be used to select a time via an input field where you can add an icon to the input group.\n\n{{< example id=\"timepicker-input-group-example\" github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[8.5rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"rounded-none rounded-s-lg bg-gray-50 border text-gray-900 leading-none focus:ring-blue-500 focus:border-blue-500 block flex-1 w-full text-sm border-gray-300 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <span class=\"inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border rounded-s-0 border-s-0 border-gray-300 rounded-e-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600\">\n            <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n            </svg>\n        </span>\n    </div>\n</form>\n{{< /example >}}\n\n##### Timepicker with dropdown\n\nUse this example to show a timepicker together with a dropdown menu where you can add options such as selecting the timezone or the duration of an event in minutes or hours.\n\n{{< example id=\"timepicker-dropdown-example\" github=\"components/timepicker.md\" iframeHeight=\"300\" show_dark=true >}}\n<form class=\"max-w-[13rem] mx-auto\">\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"rounded-none rounded-s-lg bg-gray-50 border text-gray-900 leading-none focus:ring-blue-500 focus:border-blue-500 block flex-1 w-full text-sm border-gray-300 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <button id=\"dropdown-duration-button\" data-dropdown-toggle=\"dropdown-duration\" class=\"border-s-0 shrink-0 z-10 inline-flex items-center py-2.5 px-4 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-e-lg hover:bg-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:focus:ring-gray-700 dark:text-white dark:border-gray-600\" type=\"button\">\n        Duration <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\"><path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/></svg>\n        </button>\n        <div id=\"dropdown-duration\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-36 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdown-duration-button\">\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        30 minutes\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        1 hour\n                    </button>\n                </li>\n                <li>\n                    <button type=\"button\" class=\"inline-flex w-full px-4 py-2 text-sm text-gray-600 hover:bg-gray-100 dark:text-gray-200 dark:hover:bg-gray-600 dark:hover:text-white\" role=\"menuitem\">\n                        2 hours\n                    </button>\n                </li>\n            </ul>\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Timepicker with select\n\nUse this example to show a select input next to the timepicker to select an option like a timezone.\n\n{{< example id=\"timepicker-select-example\" class=\"flex justify-center\" github=\"components/timepicker.md\" show_dark=true >}}\n<form>\n    <label for=\"time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Select time:</label>\n    <div class=\"flex\">\n        <input type=\"time\" id=\"time\" class=\"shrink-0 rounded-none rounded-s-lg bg-gray-50 border text-gray-900 leading-none focus:ring-blue-500 focus:border-blue-500 block text-sm border-gray-300 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required>\n        <select id=\"timezones\" name=\"timezone\" class=\"bg-gray-50 border border-s-0 border-gray-300 text-gray-900 text-sm rounded-e-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required>\n            <option value=\"America/New_York\" selected>EST - GMT-5 (New York)</option>\n            <option value=\"America/Los_Angeles\">PST - GMT-8 (Los Angeles)</option>\n            <option value=\"Europe/London\">GMT - GMT+0 (London)</option>\n            <option value=\"Europe/Paris\">CET - GMT+1 (Paris)</option>\n            <option value=\"Asia/Tokyo\">JST - GMT+9 (Tokyo)</option>\n            <option value=\"Australia/Sydney\">AEDT - GMT+11 (Sydney)</option>\n            <option value=\"Canada/Mountain\">MST - GMT-7 (Canada)</option>\n            <option value=\"Canada/Central\">CST - GMT-6 (Canada)</option>\n            <option value=\"Canada/Eastern\">EST - GMT-5 (Canada)</option>\n            <option value=\"Europe/Berlin\">CET - GMT+1 (Berlin)</option>\n            <option value=\"Asia/Dubai\">GST - GMT+4 (Dubai)</option>\n            <option value=\"Asia/Singapore\">SGT - GMT+8 (Singapore)</option>\n         </select>\n    </div>\n</form>\n{{< /example >}}\n\n##### Timepicker range selector\n\nUse this example to select a time interval using two input field often used for the duration of an event.\n\n{{< example id=\"timepicker-range-selector-example\" github=\"components/timepicker.md\" show_dark=true >}}\n<form class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4\">\n    <div>\n        <label for=\"start-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Start time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                </svg>\n            </div>\n            <input type=\"time\" id=\"start-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n    <div>\n        <label for=\"end-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">End time:</label>\n        <div class=\"relative\">\n            <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                </svg>\n            </div>\n            <input type=\"time\" id=\"end-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n        </div>\n    </div>\n</form>\n{{< /example >}}\n\n##### Timerange with dropdown\n\nThis example can be used to show the timerange picker inside a dropdown only when clicking on a button.\n\n{{< example id=\"timepicker-range-selector-dropdown-example\" class=\"flex justify-center items-center\" github=\"components/timepicker.md\" show_dark=true iframeHeight=\"260\" javascript=`\nconst dropdown = FlowbiteInstances.getInstance('Dropdown', 'dropdownTimepicker');\nconst $saveTimeButton = document.getElementById('saveTimeButton');\n\n$saveTimeButton.addEventListener('click', function() {\n    // save time code and then hide the dropdown\n    dropdown.hide();\n});\n` >}}\n<button id=\"dropdownTimepickerButton\" data-dropdown-toggle=\"dropdownTimepicker\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Choose time <svg class=\"w-2.5 h-2.5 ms-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n<path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n</svg>\n</button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownTimepicker\" class=\"z-10 hidden bg-white rounded-lg shadow-sm w-auto dark:bg-gray-700 p-3\">\n    <div class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4 mb-2\">\n        <div>\n            <label for=\"start-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Start time:</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                </div>\n                <input type=\"time\" id=\"start-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n            </div>\n        </div>\n        <div>\n            <label for=\"end-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">End time:</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                </div>\n                <input type=\"time\" id=\"end-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n            </div>\n        </div>\n    </div>\n    <button id=\"saveTimeButton\" type=\"button\" class=\"text-blue-700 dark:text-blue-500 text-sm hover:underline p-0\">Save time</button>\n</div>\n{{< /example >}}\n\n##### Timerange picker with toggle\n\nUse this example to show or hide the timepicker when clicking on an trigger element.\n\n{{< example id=\"timepicker-range-selector-dropdown-example\" class=\"flex items-center justify-center\" github=\"components/timepicker.md\" show_dark=true iframeHeight=\"190\" >}}\n<div class=\"w-[16rem]\">\n    <button id=\"selectTimeToggle\" data-collapse-toggle=\"time-range-container\" type=\"button\" class=\"text-blue-700 dark:text-blue-500 text-base font-medium hover:underline p-0 inline-flex items-center mb-2\">Select time <svg class=\"w-8 h-8 ms-0.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 10 4 4 4-4\"/>\n        </svg>\n    </button>\n    <div id=\"time-range-container\" class=\"max-w-[16rem] mx-auto grid grid-cols-2 gap-4 mb-2 hidden\">\n        <div>\n            <label for=\"start-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Start time:</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                </div>\n                <input type=\"time\" id=\"start-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n            </div>\n        </div>\n        <div>\n            <label for=\"end-time\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">End time:</label>\n            <div class=\"relative\">\n                <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                    <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                    </svg>\n                </div>\n                <input type=\"time\" id=\"end-time\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Inline timepicker buttons\n\nThis is an advanced example that you can use to show the details of an event and select a date of the event based on the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/) and select the time using a predefined set of time intervals based on checkbox elements.\n\n{{< example id=\"timepicker-inline-example\" github=\"components/timepicker.md\" show_dark=true >}}\n<h2 class=\"text-xl text-gray-900 dark:text-white font-bold mb-2\">Digital Transformation</h2>\n<div class=\"flex items-center space-x-4 rtl:space-x-reverse mb-3\">\n   <div class=\"flex items-center\">\n      <svg class=\"w-5 h-5 text-gray-400 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n         <path fill-rule=\"evenodd\" d=\"M5 5a1 1 0 0 0 1-1 1 1 0 1 1 2 0 1 1 0 0 0 1 1h1a1 1 0 0 0 1-1 1 1 0 1 1 2 0 1 1 0 0 0 1 1h1a1 1 0 0 0 1-1 1 1 0 1 1 2 0 1 1 0 0 0 1 1 2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a2 2 0 0 1 2-2ZM3 19v-7a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Zm6.01-6a1 1 0 1 0-2 0 1 1 0 0 0 2 0Zm2 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm6 0a1 1 0 1 0-2 0 1 1 0 0 0 2 0Zm-10 4a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm6 0a1 1 0 1 0-2 0 1 1 0 0 0 2 0Zm2 0a1 1 0 1 1 2 0 1 1 0 0 1-2 0Z\" clip-rule=\"evenodd\"/>\n      </svg>\n      <span class=\"text-gray-900 dark:text-white text-base font-medium\">30.06.2024</span>\n   </div>\n   <div class=\"flex items-center\">\n      <svg class=\"w-5 h-5 text-gray-400 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n         <path fill-rule=\"evenodd\" d=\"M11.906 1.994a8.002 8.002 0 0 1 8.09 8.421 7.996 7.996 0 0 1-1.297 3.957.996.996 0 0 1-.133.204l-.108.129c-.178.243-.37.477-.573.699l-5.112 6.224a1 1 0 0 1-1.545 0L5.982 15.26l-.002-.002a18.146 18.146 0 0 1-.309-.38l-.133-.163a.999.999 0 0 1-.13-.202 7.995 7.995 0 0 1 6.498-12.518ZM15 9.997a3 3 0 1 1-5.999 0 3 3 0 0 1 5.999 0Z\" clip-rule=\"evenodd\"/>\n      </svg>\n      <span class=\"text-gray-900 dark:text-white text-base font-medium\">California, USA</span>\n   </div>\n</div>\n<div class=\"flex items-start space-x-4 rtl:space-x-reverse mb-5\">\n   <div>\n      <div class=\"text-base font-normal text-gray-500 dark:text-gray-400 mb-2\">Participants</div>\n      <div class=\"flex -space-x-4 rtl:space-x-reverse\">\n         <img class=\"w-8 h-8 border border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"\">\n         <img class=\"w-8 h-8 border border-white rounded-full dark:border-gray-800\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"\">\n         <a class=\"flex items-center justify-center w-8 h-8 text-xs font-medium text-white bg-gray-700 border border-white rounded-full hover:bg-gray-600 dark:border-gray-800\" href=\"#\">+99</a>\n      </div>\n   </div>\n   <div>\n      <div class=\"text-base font-normal text-gray-500 dark:text-gray-400 mb-3\">Duration</div>\n      <span class=\"text-gray-900 dark:text-white text-base font-medium block\">30 min</span>\n   </div>\n   <div>\n      <div class=\"text-base font-normal text-gray-500 dark:text-gray-400 mb-3\">Meeting Type</div>\n      <span class=\"text-gray-900 dark:text-white text-base font-medium block\">Web conference</span>\n   </div>\n</div>\n<div class=\"pt-5 border-t border-gray-200 dark:border-gray-800 flex sm:flex-row flex-col sm:space-x-5 rtl:space-x-reverse\">\n   <div inline-datepicker datepicker-buttons datepicker-autoselect-today class=\"mx-auto sm:mx-0\"></div>\n   <div class=\"sm:ms-7 sm:ps-5 sm:border-s border-gray-200 dark:border-gray-800 w-full sm:max-w-[15rem] mt-5 sm:mt-0\">\n      <h3 class=\"text-gray-900 dark:text-white text-base font-medium mb-3 text-center\">Wednesday 30 June 2024</h3>\n      <button type=\"button\" data-collapse-toggle=\"timetable\" class=\"inline-flex items-center w-full py-2 px-5 me-2 justify-center text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n         <svg class=\"w-4 h-4 text-gray-800 dark:text-white me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n            <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n         </svg>\n         Pick a time\n      </button>\n      <label class=\"sr-only\">\n      Pick a time\n      </label>\n      <ul id=\"timetable\" class=\"grid w-full grid-cols-2 gap-2 mt-5\">\n         <li>\n            <input type=\"radio\" id=\"10-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"10-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            10:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"10-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"10-30-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            10:30 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"11-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"11-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            11:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"11-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"11-30-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            11:30 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"12-am\" value=\"\" class=\"hidden peer\" name=\"timetable\" checked>\n            <label for=\"12-am\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            12:00 AM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"12-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"12-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            12:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"1-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"1-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            01:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"1-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"1-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            01:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"2-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"2-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            02:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"2-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"2-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            02:30 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"3-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"3-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            03:00 PM\n            </label>\n         </li>\n         <li>\n            <input type=\"radio\" id=\"3-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n            <label for=\"3-30-pm\"\n               class=\"inline-flex items-center justify-center w-full p-2 text-sm font-medium text-center bg-white border rounded-lg cursor-pointer text-blue-600 border-blue-600 dark:hover:text-white dark:border-blue-500 dark:peer-checked:border-blue-500 peer-checked:border-blue-600 peer-checked:bg-blue-600 hover:text-white peer-checked:text-white  dark:peer-checked:text-white hover:bg-blue-500 dark:text-blue-500 dark:bg-gray-900 dark:hover:bg-blue-600 dark:hover:border-blue-600 dark:peer-checked:bg-blue-500\">\n            03:30 PM\n            </label>\n         </li>\n      </ul>\n   </div>\n</div>\n{{< /example >}}\n\n##### Modal with timepicker\n\nUse this example to select a date and time inside of a modal component based on the [Flowbite Datepicker](https://flowbite.com/docs/components/datepicker/) and select a time interval using checkbox elements with predefined time values for event time scheduling.\n\n{{< example id=\"timepicker-modal-example\" github=\"components/timepicker.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"880\" >}}\n<button type=\"button\" data-modal-target=\"timepicker-modal\" data-modal-toggle=\"timepicker-modal\" class=\"text-gray-900 bg-white hover:bg-gray-100 border border-gray-200 focus:ring-4 focus:outline-none focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:focus:ring-gray-600 dark:bg-gray-800 dark:border-gray-700 dark:text-white dark:hover:bg-gray-700\">\n<svg class=\"w4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n  <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n</svg>\nSchedule appointment\n</button>\n\n<!-- Main modal -->\n<div id=\"timepicker-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-[23rem] max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-800\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 border-b rounded-t dark:border-gray-700 border-gray-200\">\n                <h3 class=\"text-lg font-semibold text-gray-900 dark:text-white\">\n                    Schedule an appointment\n                </h3>\n                <button type=\"button\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm h-8 w-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-toggle=\"timepicker-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 pt-0\">\n                <div inline-datepicker datepicker-autoselect-today class=\"mx-auto sm:mx-0 flex justify-center my-5 [&>div>div]:shadow-none [&>div>div]:bg-gray-50 [&_div>button]:bg-gray-50\"></div>\n                <label class=\"text-sm font-medium text-gray-900 dark:text-white mb-2 block\">\n                Pick your time\n                </label>\n                <ul id=\"timetable\" class=\"grid w-full grid-cols-3 gap-2 mb-5\">\n                    <li>\n                        <input type=\"radio\" id=\"10-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"10-am\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        10:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"10-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"10-30-am\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        10:30 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"11-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"11-am\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        11:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"11-30-am\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"11-30-am\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        11:30 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"12-am\" value=\"\" class=\"hidden peer\" name=\"timetable\" checked>\n                        <label for=\"12-am\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        12:00 AM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"12-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"12-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        12:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"1-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"1-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        01:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"1-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"1-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        01:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"2-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"2-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        02:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"2-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"2-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        02:30 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"3-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"3-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        03:00 PM\n                        </label>\n                    </li>\n                    <li>\n                        <input type=\"radio\" id=\"3-30-pm\" value=\"\" class=\"hidden peer\" name=\"timetable\">\n                        <label for=\"3-30-pm\"\n                        class=\"inline-flex items-center justify-center w-full px-2 py-1 text-sm font-medium text-center hover:text-gray-900 dark:hover:text-white bg-white dark:bg-gray-800 border rounded-lg cursor-pointer text-gray-500 border-gray-200 dark:border-gray-700 dark:peer-checked:border-blue-500 peer-checked:border-blue-700 dark:hover:border-gray-600 dark:peer-checked:text-blue-500 peer-checked:bg-blue-50 peer-checked:text-blue-700 hover:bg-gray-50 dark:text-gray-400 dark:hover:bg-gray-600 dark:peer-checked:bg-blue-900\">\n                        03:30 PM\n                        </label>\n                    </li>\n                </ul>\n                <div class=\"grid grid-cols-2 gap-2\">\n                    <button type=\"button\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Save</button>\n                    <button type=\"button\" data-modal-hide=\"timepicker-modal\" class=\"py-2.5 px-5 mb-2 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Discard</button>\n                </div>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Drawer with timepicker\n\nUse this example to show multiple time interval selections inside of a drawer component to schedule time based on multiple entries (ie. days of the week) using the native browser time selection input element.\n\n{{< example id=\"timepicker-drawer-example\" github=\"components/timepicker.md\" class=\"flex justify-center\" show_dark=true iframeHeight=\"880\" >}}\n<!-- drawer init and show -->\n<div class=\"text-center\">\n   <button class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\" type=\"button\" data-drawer-target=\"drawer-timepicker\" data-drawer-show=\"drawer-timepicker\" aria-controls=\"drawer-timepicker\">\n   Set time schedule\n   </button>\n</div>\n<!-- drawer component -->\n<div id=\"drawer-timepicker\" class=\"fixed top-0 left-0 z-40 h-screen p-4 overflow-y-auto transition-transform -translate-x-full bg-white w-96 dark:bg-gray-800\" tabindex=\"-1\" aria-labelledby=\"drawer-timepicker-label\">\n   <h5 id=\"drawer-label\" class=\"inline-flex items-center mb-6 text-base font-semibold text-gray-500 uppercase dark:text-gray-400\">Time schedule</h5>\n   <button type=\"button\" data-drawer-hide=\"drawer-timepicker\" aria-controls=\"drawer-timepicker\" class=\"text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 absolute top-2.5 end-2.5 inline-flex items-center justify-center dark:hover:bg-gray-600 dark:hover:text-white\" >\n      <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n         <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n      </svg>\n      <span class=\"sr-only\">Close menu</span>\n   </button>\n   <form>\n      <div class=\"rounded-lg border border-gray-200 bg-gray-50 p-4 dark:border-gray-600 dark:bg-gray-700 mb-6\">\n         <div class=\"flex justify-between items-center mb-3\">\n            <span class=\"text-gray-900 dark:text-white text-base font-medium\">Business hours</span>\n            <label class=\"inline-flex items-center cursor-pointer\">\n               <input type=\"checkbox\" value=\"\" name=\"business-hours\" class=\"sr-only peer\">\n               <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-600 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n               <span class=\"sr-only\">Business hours</span>\n            </label>\n         </div>\n         <p class=\"text-sm text-gray-500 dark:text-gray-400 font-normal\">Enable or disable business working hours for all weekly working days</p>\n      </div>\n      <div class=\"pb-6 mb-6 border-b border-gray-200 dark:border-gray-700\">\n         <label for=\"timezones\" class=\"flex items-center mb-2 text-sm font-medium text-gray-900 dark:text-white\">\n            <span class=\"me-1\">Select a timezone</span>\n            <button type=\"button\" data-tooltip-target=\"tooltip-timezone\">\n               <svg aria-hidden=\"true\"  class=\"w-4 h-4 text-gray-400 cursor-pointer hover:text-gray-900 dark:hover:text-white dark:text-gray-500\" fill=\"currentColor\" viewBox=\"0 0 20 20\" xmlns=\"http://www.w3.org/2000/svg\">\n                  <path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path>\n               </svg>\n               <span class=\"sr-only\">Details</span>\n            </button>\n            <div id=\"tooltip-timezone\" role=\"tooltip\" class=\"inline-block absolute invisible z-10 py-2 px-3 max-w-sm text-xs font-normal text-white bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n               Select a timezone that fits your location to accurately display time-related information.\n               <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n         </label>\n         <select id=\"timezones\" name=\"timezone\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" required>\n            <option selected value>Choose a timezone</option>\n            <option value=\"America/New_York\">EST (Eastern Standard Time) - GMT-5 (New York)</option>\n            <option value=\"America/Los_Angeles\">PST (Pacific Standard Time) - GMT-8 (Los Angeles)</option>\n            <option value=\"Europe/London\">GMT (Greenwich Mean Time) - GMT+0 (London)</option>\n            <option value=\"Europe/Paris\">CET (Central European Time) - GMT+1 (Paris)</option>\n            <option value=\"Asia/Tokyo\">JST (Japan Standard Time) - GMT+9 (Tokyo)</option>\n            <option value=\"Australia/Sydney\">AEDT (Australian Eastern Daylight Time) - GMT+11 (Sydney)</option>\n            <option value=\"Canada/Mountain\">MST (Mountain Standard Time) - GMT-7 (Canada)</option>\n            <option value=\"Canada/Central\">CST (Central Standard Time) - GMT-6 (Canada)</option>\n            <option value=\"Canada/Eastern\">EST (Eastern Standard Time) - GMT-5 (Canada)</option>\n            <option value=\"Europe/Berlin\">CET (Central European Time) - GMT+1 (Berlin)</option>\n            <option value=\"Asia/Dubai\">GST (Gulf Standard Time) - GMT+4 (Dubai)</option>\n            <option value=\"Asia/Singapore\">SGT (Singapore Standard Time) - GMT+8 (Singapore)</option>\n         </select>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input checked id=\"monday\" name=\"days\" type=\"checkbox\" value=\"monday\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n               <label for=\"monday\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Mon</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-monday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-monday\" name=\"start-time-monday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-monday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-monday\" name=\"end-time-monday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center text-gray-500 hover:text-gray-800 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg focus:outline-none dark:text-gray-400 dark:hover:text-gray-100\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                     <path fill-rule=\"evenodd\" d=\"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"tuesday\" name=\"days\" type=\"checkbox\" value=\"tuesday\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n               <label for=\"tuesday\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Tue</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-tuesday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-tuesday\" name=\"start-time-tuesday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-tuesday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-tuesday\" name=\"end-time-tuesday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center text-gray-500 hover:text-gray-800 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg focus:outline-none dark:text-gray-400 dark:hover:text-gray-100\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                     <path fill-rule=\"evenodd\" d=\"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input checked id=\"wednesday\" name=\"days\" type=\"checkbox\" value=\"wednesday\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n               <label for=\"wednesday\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Wed</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-wednesday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-wednesday\" name=\"start-time-wednesday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-wednesday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-wednesday\" name=\"end-time-wednesday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center text-gray-500 hover:text-gray-800 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg focus:outline-none dark:text-gray-400 dark:hover:text-gray-100\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                     <path fill-rule=\"evenodd\" d=\"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"thursday\" name=\"days\" type=\"checkbox\" value=\"thursday\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n               <label for=\"thursday\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Thu</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-thursday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-thursday\" name=\"start-time-thursday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-thursday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-thursday\" name=\"end-time-thursday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center text-gray-500 hover:text-gray-800 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg focus:outline-none dark:text-gray-400 dark:hover:text-gray-100\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                     <path fill-rule=\"evenodd\" d=\"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <div class=\"mb-6\">\n         <div class=\"flex items-center justify-between\">\n            <div class=\"flex items-center min-w-[4rem]\">\n               <input id=\"friday\" name=\"days\" type=\"checkbox\" value=\"friday\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n               <label for=\"friday\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Fri</label>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"start-time-friday\" class=\"sr-only\">Start time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"start-time-friday\" name=\"start-time-friday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div class=\"w-full max-w-[7rem]\">\n               <label for=\"end-time-friday\" class=\"sr-only\">End time:</label>\n               <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 end-0 top-0 flex items-center pe-3.5 pointer-events-none\">\n                     <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path fill-rule=\"evenodd\" d=\"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z\" clip-rule=\"evenodd\"/>\n                     </svg>\n                  </div>\n                  <input type=\"time\" id=\"end-time-friday\" name=\"end-time-friday\" class=\"bg-gray-50 border leading-none border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" min=\"09:00\" max=\"18:00\" value=\"00:00\" required />\n               </div>\n            </div>\n            <div>\n               <button type=\"button\" class=\"inline-flex items-center p-1.5 text-sm font-medium text-center text-gray-500 hover:text-gray-800 hover:bg-gray-200 dark:hover:bg-gray-600 rounded-lg focus:outline-none dark:text-gray-400 dark:hover:text-gray-100\">\n                  <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                     <path fill-rule=\"evenodd\" d=\"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z\" clip-rule=\"evenodd\"/>\n                  </svg>\n                  <span class=\"sr-only\">Delete</span>\n               </button>\n            </div>\n         </div>\n      </div>\n      <button type=\"button\" class=\"inline-flex items-center justify-center w-full py-2.5 mb-4 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">\n         <svg class=\"w-4 h-4 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 12h14m-7 7V5\"/>\n         </svg>\n         Add interval\n      </button>\n      <div class=\"grid grid-cols-2 gap-4 bottom-4 left-0 w-full md:px-4 md:absolute\">\n         <button type=\"button\" data-drawer-hide=\"drawer-timepicker\" class=\"py-2.5 px-5 text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Close</button>\n         <button type=\"submit\" class=\"text-white w-full inline-flex items-center justify-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n         Save all\n         </button>\n      </div>\n   </form>\n</div>\n{{< /example >}}\n\n#### Checkbox\n\nThe checkbox component can be used to receive one or more selected options from the user in the form of a square box available in multiple styles, sizes, colors, and variants coded with the utility classes from Tailwind CSS and with support for dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the checkbox component.\n\n##### Checkbox example\n\nUse this default example of a checkbox element in a checked and unchecked state.\n\n{{< example id=\"default-checkbox-example\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input id=\"default-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"default-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default checkbox</label>\n</div>\n<div class=\"flex items-center\">\n    <input checked id=\"checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"checked-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n</div>\n{{< /example >}}\n\n##### Disabled state\n\nThis example can be used for the disabled state of the checkbox component by applying the `disabled` attribute to the input element.\n\n{{< example id=\"disabled-checkbox-example\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input disabled id=\"disabled-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"disabled-checkbox\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled checkbox</label>\n</div>\n<div class=\"flex items-center\">\n    <input disabled checked id=\"disabled-checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"disabled-checked-checkbox\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled checked</label>\n</div>\n{{< /example >}}\n\n##### Checkbox link\n\nUse this example if you want to add an anchor link inside the label of the checkbox component.\n\n{{< example id=\"checkbox-link-example\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center\">\n    <input id=\"link-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"link-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">I agree with the <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">terms and conditions</a>.</label>\n</div>\n{{< /example >}}\n\n##### Helper text\n\nGet started with this example if you want to add a secondary helper text for the checkbox component.\n\n{{< example id=\"checkbox-helper-example\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center h-5\">\n        <input id=\"helper-checkbox\" aria-describedby=\"helper-checkbox-text\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    </div>\n    <div class=\"ms-2 text-sm\">\n        <label for=\"helper-checkbox\" class=\"font-medium text-gray-900 dark:text-gray-300\">Free shipping via Flowbite</label>\n        <p id=\"helper-checkbox-text\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">For orders shipped from $25 in books or $29 in other categories</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### Bordered\n\nUse this example of a checkbox inside a card element to enable a larger area of clicking activation.\n\n{{< example id=\"checkbox-bordered-example\" class=\"grid gap-6 md:grid-cols-2\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center ps-4 border border-gray-200 rounded-sm dark:border-gray-700\">\n    <input id=\"bordered-checkbox-1\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"bordered-checkbox-1\" class=\"w-full py-4 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default radio</label>\n</div>\n<div class=\"flex items-center ps-4 border border-gray-200 rounded-sm dark:border-gray-700\">\n    <input checked id=\"bordered-checkbox-2\" type=\"checkbox\" value=\"\" name=\"bordered-checkbox\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"bordered-checkbox-2\" class=\"w-full py-4 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n</div>\n{{< /example >}}\n\n##### Checkbox list group\n\nUse this example to show a list of checkbox items grouped inside a card.\n\n{{< example id=\"checkbox-list-example\" github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-gray-900 dark:text-white\">Technology</h3>\n<ul class=\"w-48 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"vue-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"vue-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Vue JS</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"react-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"react-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">React</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"angular-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"angular-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Angular</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"laravel-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"laravel-checkbox\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Laravel</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Horizontal list group\n\nUse this example to show a list of checkbox items inside a card horizontally.\n\n{{< example id=\"checkbox-horizontal-list-example\" github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-gray-900 dark:text-white\">Identification</h3>\n<ul class=\"items-center w-full text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg sm:flex dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"vue-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"vue-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Vue JS</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"react-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"react-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">React</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"angular-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"angular-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Angular</label>\n        </div>\n    </li>\n    <li class=\"w-full dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"laravel-checkbox-list\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"laravel-checkbox-list\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Laravel</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Checkbox dropdown\n\nUse this example to show a list of checkbox items inside a dropdown menu.\n\n{{< example id=\"checkbox-dropdown-example\" class=\"flex justify-center\" github=\"components/dropdowns.md\" show_dark=true iframeHeight=\"430\" >}}\n<button id=\"dropdownSearchButton\" data-dropdown-toggle=\"dropdownSearch\" class=\"inline-flex items-center px-4 py-2 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown search <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownSearch\" class=\"z-10 hidden bg-white rounded-lg shadow-sm w-60 dark:bg-gray-700\">\n    <div class=\"p-3\">\n      <label for=\"input-group-search\" class=\"sr-only\">Search</label>\n      <div class=\"relative\">\n        <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n          <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z\"/>\n        </svg>\n        </div>\n        <input type=\"text\" id=\"input-group-search\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Search user\">\n      </div>\n    </div>\n    <ul class=\"h-48 px-3 pb-3 overflow-y-auto text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownSearchButton\">\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-11\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-11\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Bonnie Green</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n            <input checked id=\"checkbox-item-12\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"checkbox-item-12\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Jese Leos</label>\n          </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-13\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-13\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Michael Gough</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-14\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-14\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Robert Wall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-15\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-15\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Joseph Mcfall</label>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-16\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-16\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Leslie Livingston</label>\n        </div>\n      </li>\n            <li>\n        <div class=\"flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <input id=\"checkbox-item-17\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          <label for=\"checkbox-item-17\" class=\"w-full ms-2 text-sm font-medium text-gray-900 rounded-sm dark:text-gray-300\">Roberta Casas</label>\n        </div>\n      </li>\n    </ul>\n    <a href=\"#\" class=\"flex items-center p-3 text-sm font-medium text-red-600 border-t border-gray-200 rounded-b-lg bg-gray-50 dark:border-gray-600 hover:bg-gray-100 dark:bg-gray-700 dark:hover:bg-gray-600 dark:text-red-500 hover:underline\">\n      <svg class=\"w-4 h-4 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 18\">\n        <path d=\"M6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Zm11-3h-6a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2Z\"/>\n    </svg>\n      Delete user\n  </a>\n</div>\n{{< /example >}}\n\n##### Inline layout\n\nYou can align the checkbox elements horizontally by using a wrapper tag and applying the `flex` class.\n\n{{< example id=\"checkbox-inline-example\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline 1</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-2-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-2-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline 2</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input checked id=\"inline-checked-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-checked-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline checked</label>\n    </div>\n    <div class=\"flex items-center\">\n        <input disabled id=\"inline-disabled-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-disabled-checkbox\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Inline disabled</label>\n    </div>\n</div>\n{{< /example >}}\n\n##### Colors\n\nUse the `text-{color}-{shade}` classes from Tailwind CSS to change the color of the checkbox component.\n\n{{< example id=\"checkbox-colors-example\" class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<div class=\"flex items-center me-4\">\n    <input checked id=\"red-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-red-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-red-500 dark:focus:ring-red-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"red-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Red</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"green-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-green-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"green-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Green</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"purple-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-purple-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-purple-500 dark:focus:ring-purple-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"purple-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Purple</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"teal-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-teal-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-teal-500 dark:focus:ring-teal-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"teal-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Teal</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"yellow-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-yellow-400 bg-gray-100 border-gray-300 rounded-sm focus:ring-yellow-500 dark:focus:ring-yellow-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"yellow-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Yellow</label>\n</div>\n<div class=\"flex items-center me-4\">\n    <input checked id=\"orange-checkbox\" type=\"checkbox\" value=\"\" class=\"w-4 h-4 text-orange-500 bg-gray-100 border-gray-300 rounded-sm focus:ring-orange-500 dark:focus:ring-orange-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"orange-checkbox\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Orange</label>\n</div>\n{{< /example >}}\n\n##### Advanced layout\n\nUse this example of an advanced layout of checkbox elements where the label parent element can be styled when the checkbox is checked.\n\n{{< example id=\"checkbox-advanced-example\" class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<h3 class=\"mb-5 text-lg font-medium text-gray-900 dark:text-white\">Choose technology:</h3>\n<ul class=\"grid w-full gap-6 md:grid-cols-3\">\n    <li>\n        <input type=\"checkbox\" id=\"react-option\" value=\"\" class=\"hidden peer\" required=\"\">\n        <label for=\"react-option\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-500 bg-white border-2 border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 hover:text-gray-600 dark:peer-checked:text-gray-300 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700\">                           \n            <div class=\"block\">\n                <svg class=\"mb-2 w-7 h-7 text-sky-500\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z\"/></svg>\n                <div class=\"w-full text-lg font-semibold\">React Js</div>\n                <div class=\"w-full text-sm\">A JavaScript library for building user interfaces.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"checkbox\" id=\"flowbite-option\" value=\"\" class=\"hidden peer\">\n        <label for=\"flowbite-option\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-500 bg-white border-2 border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 hover:text-gray-600 dark:peer-checked:text-gray-300 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-green-400 w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M356.9 64.3H280l-56 88.6-48-88.6H0L224 448 448 64.3h-91.1zm-301.2 32h53.8L224 294.5 338.4 96.3h53.8L224 384.5 55.7 96.3z\"/></svg>\n                <div class=\"w-full text-lg font-semibold\">Vue Js</div>\n                <div class=\"w-full text-sm\">Vue.js is an model–view front end JavaScript framework.</div>\n            </div>\n        </label>\n    </li>\n    <li>\n        <input type=\"checkbox\" id=\"angular-option\" value=\"\" class=\"hidden peer\">\n        <label for=\"angular-option\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-500 bg-white border-2 border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 hover:text-gray-600 dark:peer-checked:text-gray-300 peer-checked:text-gray-600 hover:bg-gray-50 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700\">\n            <div class=\"block\">\n                <svg class=\"mb-2 text-red-600 w-7 h-7\" fill=\"currentColor\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 448 512\"><path d=\"M185.7 268.1h76.2l-38.1-91.6-38.1 91.6zM223.8 32L16 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7zM354 373.8h-48.6l-26.2-65.4H168.6l-26.2 65.4H93.7L223.8 81.5z\"/></svg>\n                <div class=\"w-full text-lg font-semibold\">Angular</div>\n                <div class=\"w-full text-sm\">A TypeScript-based web application framework.</div>\n            </div>\n        </label>\n    </li>\n</ul>\n{{< /example >}}\n\n#### Radio\n\nThe radio component can be used to allow the user to choose a single option from one or more available options coded with the utility classes from Tailwind CSS and available in multiple styles, variants, and colors and support dark mode.\n\nMake sure that you have included Flowbite as a plugin inside your Tailwind CSS project to apply all the necessary styles for the radio component.\n\n##### Radio example\n\nUse the default example of a radio component with the checked and unchecked state.\n\n{{< example id=\"default-radio-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input id=\"default-radio-1\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"default-radio-1\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default radio</label>\n</div>\n<div class=\"flex items-center\">\n    <input checked id=\"default-radio-2\" type=\"radio\" value=\"\" name=\"default-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"default-radio-2\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n</div>\n{{< /example >}}\n\n##### Disabled state\n\nApply the `disabled` attribute to the radio component to disallow the selection for the user.\n\n{{< example id=\"radio-disabled-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center mb-4\">\n    <input disabled id=\"disabled-radio-1\" type=\"radio\" value=\"\" name=\"disabled-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"disabled-radio-1\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled radio</label>\n</div>\n<div class=\"flex items-center\">\n    <input disabled checked id=\"disabled-radio-2\" type=\"radio\" value=\"\" name=\"disabled-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"disabled-radio-2\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled checked</label>\n</div>\n{{< /example >}}\n\n##### Radio link\n\nUse this example if you want to include an anchor tag inside the label of the radio component.\n\n{{< example id=\"radio-link-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center\">\n    <input id=\"link-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"link-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Radio button with a <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">link inside</a>.</label>\n</div>\n{{< /example >}}\n\n##### Helper text\n\nGet started with this example if you want to add a secondary text to the label for the radio component.\n\n{{< example id=\"radio-helper-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center h-5\">\n        <input id=\"helper-radio\" aria-describedby=\"helper-radio-text\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    </div>\n    <div class=\"ms-2 text-sm\">\n        <label for=\"helper-radio\" class=\"font-medium text-gray-900 dark:text-gray-300\">Free shipping via Flowbite</label>\n        <p id=\"helper-radio-text\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">For orders shipped from $25 in books or $29 in other categories</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### Bordered\n\nUse this example to show a radio input elements inside a card with border.\n\n{{< example id=\"radio-bordered-example\" class=\"grid gap-6 md:grid-cols-2\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex items-center ps-4 border border-gray-200 rounded-sm dark:border-gray-700\">\n    <input id=\"bordered-radio-1\" type=\"radio\" value=\"\" name=\"bordered-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"bordered-radio-1\" class=\"w-full py-4 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Default radio</label>\n</div>\n<div class=\"flex items-center ps-4 border border-gray-200 rounded-sm dark:border-gray-700\">\n    <input checked id=\"bordered-radio-2\" type=\"radio\" value=\"\" name=\"bordered-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n    <label for=\"bordered-radio-2\" class=\"w-full py-4 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked state</label>\n</div>\n{{< /example >}}\n\n##### Radio list group\n\nThis example can be used to show a list of radio buttons inside a grouped list.\n\n{{< example id=\"radio-list-group-example\" github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-gray-900 dark:text-white\">Identification</h3>\n<ul class=\"w-48 text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-license\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"list-radio-license\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Driver License </label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-id\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"list-radio-id\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">State ID</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-military\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"list-radio-military\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">US Military</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 rounded-t-lg dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"list-radio-passport\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"list-radio-passport\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">US Passport</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Horizontal list group\n\nUse this example to group up radio button components inside a list.\n\n{{< example id=\"radio-horizontal-list-example\" github=\"components/radio.md\" show_dark=true >}}\n<h3 class=\"mb-4 font-semibold text-gray-900 dark:text-white\">Identification</h3>\n<ul class=\"items-center w-full text-sm font-medium text-gray-900 bg-white border border-gray-200 rounded-lg sm:flex dark:bg-gray-700 dark:border-gray-600 dark:text-white\">\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-license\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"horizontal-list-radio-license\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Driver License </label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-id\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"horizontal-list-radio-id\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">State ID</label>\n        </div>\n    </li>\n    <li class=\"w-full border-b border-gray-200 sm:border-b-0 sm:border-r dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-military\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"horizontal-list-radio-military\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">US Military</label>\n        </div>\n    </li>\n    <li class=\"w-full dark:border-gray-600\">\n        <div class=\"flex items-center ps-3\">\n            <input id=\"horizontal-list-radio-passport\" type=\"radio\" value=\"\" name=\"list-radio\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n            <label for=\"horizontal-list-radio-passport\" class=\"w-full py-3 ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">US Passport</label>\n        </div>\n    </li>\n</ul>\n{{< /example >}}\n\n<div class=\"mt-8 -mb-5\">\n  {{< requires_js >}}\n</div>\n\n##### Radio in dropdown\n\nHere's an example of a list group that you can use right away.\n\n{{< example id=\"radio-dropdown-example\" class=\"flex justify-center\" github=\"components/radio.md\" show_dark=true iframeHeight=\"370\" >}}\n<button id=\"dropdownHelperRadioButton\" data-dropdown-toggle=\"dropdownHelperRadio\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2.5 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\" type=\"button\">Dropdown radio <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n  </svg></button>\n\n<!-- Dropdown menu -->\n<div id=\"dropdownHelperRadio\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-60 dark:bg-gray-700 dark:divide-gray-600\" data-popper-reference-hidden=\"\" data-popper-escaped=\"\" data-popper-placement=\"top\" style=\"position: absolute; inset: auto auto 0px 0px; margin: 0px; transform: translate3d(522.5px, 6119.5px, 0px);\">\n    <ul class=\"p-3 space-y-1 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownHelperRadioButton\">\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-4\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-4\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Individual</div>\n                <p id=\"helper-radio-text-4\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-5\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-5\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Company</div>\n                <p id=\"helper-radio-text-5\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n      <li>\n        <div class=\"flex p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600\">\n          <div class=\"flex items-center h-5\">\n              <input id=\"helper-radio-6\" name=\"helper-radio\" type=\"radio\" value=\"\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500\">\n          </div>\n          <div class=\"ms-2 text-sm\">\n              <label for=\"helper-radio-6\" class=\"font-medium text-gray-900 dark:text-gray-300\">\n                <div>Non profit</div>\n                <p id=\"helper-radio-text-6\" class=\"text-xs font-normal text-gray-500 dark:text-gray-300\">Some helpful instruction goes over here.</p>\n              </label>\n          </div>\n        </div>\n      </li>\n    </ul>\n</div>\n{{< /example >}}\n\n##### Inline layout\n\nUse the `flex` class for a wrapper element to horizontally align the radio elements.\n\n{{< example id=\"radio-inline-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex\">\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline 1</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"inline-2-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-2-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline 2</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input checked id=\"inline-checked-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-checked-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Inline checked</label>\n    </div>\n    <div class=\"flex items-center\">\n        <input disabled id=\"inline-disabled-radio\" type=\"radio\" value=\"\" name=\"inline-radio-group\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"inline-disabled-radio\" class=\"ms-2 text-sm font-medium text-gray-400 dark:text-gray-500\">Inline disabled</label>\n    </div>\n</div>\n{{< /example >}}\n\n##### Advanced layout\n\nUse this example of a more advanced radio component to add more information and update the style of the whole card instead of just the circled dot.\n\n{{< example id=\"radio-advanced-example\" class=\"flex flex-wrap\" github=\"forms/checkbox.md\" show_dark=true >}}\n<h3 class=\"mb-5 text-lg font-medium text-gray-900 dark:text-white\">How much do you expect to use each month?</h3>\n<ul class=\"grid w-full gap-6 md:grid-cols-2\">\n    <li>\n        <input type=\"radio\" id=\"hosting-small\" name=\"hosting\" value=\"hosting-small\" class=\"hidden peer\" required />\n        <label for=\"hosting-small\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-500 bg-white border border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700\">                           \n            <div class=\"block\">\n                <div class=\"w-full text-lg font-semibold\">0-50 MB</div>\n                <div class=\"w-full\">Good for small websites</div>\n            </div>\n            <svg class=\"w-5 h-5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n            </svg>\n        </label>\n    </li>\n    <li>\n        <input type=\"radio\" id=\"hosting-big\" name=\"hosting\" value=\"hosting-big\" class=\"hidden peer\">\n        <label for=\"hosting-big\" class=\"inline-flex items-center justify-between w-full p-5 text-gray-500 bg-white border border-gray-200 rounded-lg cursor-pointer dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 dark:peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700\">\n            <div class=\"block\">\n                <div class=\"w-full text-lg font-semibold\">500-1000 MB</div>\n                <div class=\"w-full\">Good for large websites</div>\n            </div>\n            <svg class=\"w-5 h-5 ms-3 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n            </svg>\n        </label>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Colors\n\nApply the `text-{color}-{shade}` utility class from Tailwind CSS to change the color of the radio component.\n\n{{< example id=\"radio-colors-example\" github=\"forms/radio.md\" show_dark=true >}}\n<div class=\"flex flex-wrap\">\n    <div class=\"flex items-center me-4\">\n        <input id=\"red-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-red-600 bg-gray-100 border-gray-300 focus:ring-red-500 dark:focus:ring-red-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"red-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Red</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"green-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-green-600 bg-gray-100 border-gray-300 focus:ring-green-500 dark:focus:ring-green-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"green-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Green</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input checked id=\"purple-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-purple-600 bg-gray-100 border-gray-300 focus:ring-purple-500 dark:focus:ring-purple-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"purple-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Purple</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"teal-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-teal-600 bg-gray-100 border-gray-300 focus:ring-teal-500 dark:focus:ring-teal-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"teal-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Teal</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"yellow-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-yellow-400 bg-gray-100 border-gray-300 focus:ring-yellow-500 dark:focus:ring-yellow-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"yellow-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Yellow</label>\n    </div>\n    <div class=\"flex items-center me-4\">\n        <input id=\"orange-radio\" type=\"radio\" value=\"\" name=\"colored-radio\" class=\"w-4 h-4 text-orange-500 bg-gray-100 border-gray-300 focus:ring-orange-500 dark:focus:ring-orange-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n        <label for=\"orange-radio\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Orange</label>\n    </div>\n</div>\n{{< /example >}}\n\n#### Toggle\n\nThe toggle component can be used to receive a simple \"yes\" or \"no\" type of answer from the user by choosing a single option from two options available in multiple sizes, styles, and colors coded with the utility classes from Tailwind CSS and with dark mode support.\n\n##### Toggle example\n\nGet started with the default toggle component example as a checkbox element to receive a true or false selection from the user.\n\n{{< example id=\"default-toggle-example\" class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Toggle me</span>\n</label>\n{{< /example >}}\n\n##### Checked state\n\nApply the `checked` attribute to the toggle component to activate the selection by default.\n\n{{< example id=\"toggle-checked-example\" class=\"flex justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Checked toggle</span>\n</label>\n{{< /example >}}\n\n##### Disabled state\n\nApply the `disabled` attribute to disallow the users from making any further selections.\n\n{{< example id=\"toggle-disabled-example\" class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" disabled>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled toggle</span>\n</label>\n\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked disabled>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-400 dark:text-gray-500\">Disabled checked</span>\n</label>\n{{< /example >}}\n\n##### Colors\n\nChange the color of the toggle component by updating the color classes of `peer-focus` and `peer-checked`.\n\n{{< example id=\"toggle-colors-example\" class=\"flex inline-flex-wrap justify-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-red-300 dark:peer-focus:ring-red-800 dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-red-600 dark:peer-checked:bg-red-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Red</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-green-300 dark:peer-focus:ring-green-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-green-600 dark:peer-checked:bg-green-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Green</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-purple-300 dark:peer-focus:ring-purple-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-purple-600 dark:peer-checked:bg-purple-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Purple</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-yellow-300 dark:peer-focus:ring-yellow-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-yellow-400 dark:peer-checked:bg-yellow-400\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Yellow</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-teal-300 dark:peer-focus:ring-teal-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-teal-600 dark:peer-checked:bg-teal-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Teal</span>\n</label>\n\n<label class=\"inline-flex items-center me-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\" checked>\n  <div class=\"relative w-11 h-6 bg-gray-200 rounded-full peer dark:bg-gray-700 peer-focus:ring-4 peer-focus:ring-orange-300 dark:peer-focus:ring-orange-800 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-orange-500 dark:peer-checked:bg-orange-500\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Orange</span>\n</label>\n{{< /example >}}\n\n##### Sizes\n\nGet started with small, default, or large sizes of the toggle component based on your needs.\n\n{{< example id=\"toggle-sizes-example\" class=\"flex flex-col flex-wrap items-center\" github=\"forms/toggle.md\" show_dark=true >}}\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-9 h-5 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Small toggle</span>\n</label>\n\n<label class=\"inline-flex items-center mb-5 cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Default toggle</span>\n</label>\n\n<label class=\"inline-flex items-center cursor-pointer\">\n  <input type=\"checkbox\" value=\"\" class=\"sr-only peer\">\n  <div class=\"relative w-14 h-7 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:start-[4px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-6 after:w-6 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600 dark:peer-checked:bg-blue-600\"></div>\n  <span class=\"ms-3 text-sm font-medium text-gray-900 dark:text-gray-300\">Large toggle</span>\n</label>\n{{< /example >}}\n\n#### Range\n\nThe range component can be used as an input field to get a number from the user based on your custom selection (ie. from 1 to 100) by using a sliding animation.\n\nThe examples on this page are all coded with Tailwind CSS and requires you to install Flowbite as a plugin inside your project to obtain all the necessary stylings.\n\n##### Range slider example\n\nGet started with this default example with values from 1 to 100 and the default value of 50.\n\n{{< example id=\"default-range-example\" github=\"forms/range.md\" show_dark=true >}}\n<label for=\"default-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Default range</label>\n<input id=\"default-range\" type=\"range\" value=\"50\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n{{< /example >}}\n\n##### Disabled state\n\nApply the `disabled` class to disallow the users from further selecting values.\n\n{{< example id=\"range-disabled-example\" github=\"forms/range.md\" show_dark=true >}}\n<label for=\"disabled-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Default range</label>\n<input id=\"disabled-range\" type=\"range\" value=\"50\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\" disabled>\n{{< /example >}}\n\n##### Min and max\n\nUse the min and max attributes on the range component to set the limits of the range values.\n\n{{< example id=\"range-minmax-example\" github=\"forms/range.md\" show_dark=true >}}\n<label for=\"minmax-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Min-max range</label>\n<input id=\"minmax-range\" type=\"range\" min=\"0\" max=\"10\" value=\"5\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n{{< /example >}}\n\n##### Steps\n\nUse the step attribute on the range component to set the increment with which the values will change.\n\n{{< example id=\"range-steps-example\" github=\"forms/range.md\" show_dark=true >}}\n<label for=\"steps-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Range steps</label>\n<input id=\"steps-range\" type=\"range\" min=\"0\" max=\"5\" value=\"2.5\" step=\"0.5\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n{{< /example >}}\n\n##### Sizes\n\nApply the small, default, and large sizes for the range component by applying the `range-sm` and `range-lg` utility classes from Flowbite and Tailwind CSS.\n\n{{< example id=\"range-sizes-example\" github=\"forms/range.md\" show_dark=true >}}\n<label for=\"small-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Small range</label>\n<input id=\"small-range\" type=\"range\" value=\"50\" class=\"w-full h-1 mb-6 bg-gray-200 rounded-lg appearance-none cursor-pointer range-sm dark:bg-gray-700\">\n\n<label for=\"medium-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Default range</label>\n<input id=\"medium-range\" type=\"range\" value=\"50\" class=\"w-full h-2 mb-6 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n\n<label for=\"large-range\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Large range</label>\n<input id=\"large-range\" type=\"range\" value=\"50\" class=\"w-full h-3 bg-gray-200 rounded-lg appearance-none cursor-pointer range-lg dark:bg-gray-700\">\n{{< /example >}}\n\n##### Labels\n\nUse the following example to add labels to each value milestone of the range slider component.\n\n{{< example id=\"range-labels-example\" github=\"forms/range.md\" show_dark=true >}}\n<div class=\"relative mb-6\">\n    <label for=\"labels-range-input\" class=\"sr-only\">Labels range</label>\n    <input id=\"labels-range-input\" type=\"range\" value=\"1000\" min=\"100\" max=\"1500\" class=\"w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700\">\n    <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-0 -bottom-6\">Min ($100)</span>\n    <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-1/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$500</span>\n    <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute start-2/3 -translate-x-1/2 rtl:translate-x-1/2 -bottom-6\">$1000</span>\n    <span class=\"text-sm text-gray-500 dark:text-gray-400 absolute end-0 -bottom-6\">Max ($1500)</span>\n</div>\n{{< /example >}}\n\n#### Floating label\n\nThe floating label style was first pioneered by Google in its infamous Material UI design system and it's basically a label tag which floats just above the input field when it is being focused or already has content inside.\n\nOn this page you will find a three different input field styles including a standard, outlined, and filled style including validation styles and sizes coded with Tailwind CSS and supported for dark mode.\n\n##### Floating label example\n\nGet started with the following three styles for the floating label component and use the `label` tag as a visual placeholder using the `peer-placeholder-shown` and `peer-focus` utility classes from Tailwind CSS.\n\n{{< example id=\"default-floating-label-example\" class=\"grid items-end w-full gap-6 md:grid-cols-3\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_filled\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n    <label for=\"floating_filled\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating filled</label>\n</div>\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n    <label for=\"floating_outlined\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto start-1\">Floating outlined</label>\n</div>\n<div class=\"relative z-0\">\n    <input type=\"text\" id=\"floating_standard\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n    <label for=\"floating_standard\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating standard</label>\n</div>\n{{< /example >}}\n\n##### Disabled state\n\nApply the `disabled` attribute to the input fields to disallow the user from changing the content.\n\n{{< example id=\"floating-label-disabled-example\" class=\"grid items-end gap-6 md:grid-cols-3\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"disabled_filled\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_filled\" class=\"absolute text-sm text-gray-400 dark:text-gray-500 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled filled</label>\n</div>\n<div class=\"relative\">\n    <input type=\"text\" id=\"disabled_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_outlined\" class=\"absolute text-sm text-gray-400 dark:text-gray-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled outlined</label>\n</div>\n<div class=\"relative z-0\">\n    <input type=\"text\" id=\"disabled_standard\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" disabled />\n    <label for=\"disabled_standard\" class=\"absolute text-sm text-gray-400 dark:text-gray-500 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Disabled standard</label>\n</div>\n{{< /example >}}\n\n##### Validation\n\nUse the following examples of input validation for the success and error messages by applying the validation text below the input field and using the green or red color classes from Tailwind CSS.\n\n{{< example id=\"floating-label-validation-example\" github=\"forms/floating-label.md\" show_dark=true >}}\n<!-- Success messages -->\n<div class=\"grid items-end gap-6 mb-6 md:grid-cols-3\">\n    <div>\n        <div class=\"relative\">\n            <input type=\"text\" id=\"filled_success\" aria-describedby=\"filled_success_help\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-green-600 dark:border-green-500 appearance-none dark:text-white dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer\" placeholder=\" \" />\n            <label for=\"filled_success\" class=\"absolute text-sm text-green-600 dark:text-green-500 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Filled success</label>\n        </div>\n        <p id=\"filled_success_help\" class=\"mt-2 text-xs text-green-600 dark:text-green-400\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n    </div>\n    <div>   \n        <div class=\"relative\">\n            <input type=\"text\" id=\"outlined_success\" aria-describedby=\"outlined_success_help\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer\" placeholder=\" \" />\n            <label for=\"outlined_success\" class=\"absolute text-sm text-green-600 dark:text-green-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Outlined success</label>\n        </div>\n        <p id=\"outlined_success_help\" class=\"mt-2 text-xs text-green-600 dark:text-green-400\"><span class=\"font-medium\">Well done!</span> Some success message.</p>    \n    </div>\n    <div>\n        <div class=\"relative z-0\">\n            <input type=\"text\" id=\"standard_success\" aria-describedby=\"standard_success_help\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-green-600 appearance-none dark:text-white dark:border-green-500 dark:focus:border-green-500 focus:outline-none focus:ring-0 focus:border-green-600 peer\" placeholder=\" \" />\n            <label for=\"standard_success\" class=\"absolute text-sm text-green-600 dark:text-green-500 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Standard success</label>\n        </div>\n        <p id=\"standard_success_help\" class=\"mt-2 text-xs text-green-600 dark:text-green-400\"><span class=\"font-medium\">Well done!</span> Some success message.</p>\n    </div>\n</div>\n\n<!-- Error messages -->\n<div class=\"grid items-end gap-6 md:grid-cols-3\">\n    <div>\n        <div class=\"relative\">\n            <input type=\"text\" id=\"filled_error\" aria-describedby=\"filled_error_help\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 appearance-none dark:text-white dark:border-red-500 focus:outline-none focus:ring-0 border-red-600 focus:border-red-600 dark:focus-border-red-500 peer\" placeholder=\" \" />\n            <label for=\"filled_error\" class=\"absolute text-sm duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 text-red-600 dark:text-red-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Filled error</label>\n        </div>\n        <p id=\"filled_error_help\" class=\"mt-2 text-xs text-red-600 dark:text-red-400\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n    </div>\n    <div>   \n        <div class=\"relative\">\n            <input type=\"text\" id=\"outlined_error\" aria-describedby=\"outlined_error_help\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 appearance-none dark:text-white dark:border-red-500 border-red-600 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer\" placeholder=\" \" />\n            <label for=\"outlined_error\" class=\"absolute text-sm text-red-600 dark:text-red-500 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Outlined error</label>\n        </div>\n        <p id=\"outlined_error_help\" class=\"mt-2 text-xs text-red-600 dark:text-red-400\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>    \n    </div>\n    <div>\n        <div class=\"relative z-0\">\n            <input type=\"text\" id=\"standard_error\" aria-describedby=\"standard_error_help\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-red-600 appearance-none dark:text-white dark:border-red-500 dark:focus:border-red-500 focus:outline-none focus:ring-0 focus:border-red-600 peer\" placeholder=\" \" />\n            <label for=\"standard_error\" class=\"absolute text-sm text-red-600 dark:text-red-500 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Standard error</label>\n        </div>\n        <p id=\"standard_error_help\" class=\"mt-2 text-xs text-red-600 dark:text-red-400\"><span class=\"font-medium\">Oh, snapp!</span> Some error message.</p>\n    </div>\n</div>\n{{< /example >}}\n\n##### Sizes\n\nUse the small and default sizes of the floating label input fields from the following example.\n\n{{< example id=\"floating-label-sizes-example\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"grid items-end gap-6 mb-6 md:grid-cols-3\">\n    <div class=\"relative\">\n        <input type=\"text\" id=\"small_filled\" class=\"block rounded-t-lg px-2.5 pb-1.5 pt-4 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"small_filled\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-3 scale-75 top-3 z-10 origin-[0] start-2.5 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-3 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small filled</label>\n    </div>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"small_outlined\" class=\"block px-2.5 pb-1.5 pt-3 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"small_outlined\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-3 scale-75 top-1 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-1 peer-focus:scale-75 peer-focus:-translate-y-3 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small outlined</label>\n    </div>\n    <div class=\"relative z-0\">\n        <input type=\"text\" id=\"small_standard\" class=\"block w-full px-0 py-2 text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"small_standard\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Small standard</label>\n    </div>\n</div>\n<div class=\"grid items-end gap-6 md:grid-cols-3\">\n    <div class=\"relative\">\n        <input type=\"text\" id=\"default_filled\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"default_filled\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default filled</label>\n    </div>\n    <div class=\"relative\">\n        <input type=\"text\" id=\"default_outlined\" class=\"block px-2.5 pb-2.5 pt-4 w-full text-sm text-gray-900 bg-transparent rounded-lg border-1 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"default_outlined\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-4 scale-75 top-2 z-10 origin-[0] bg-white dark:bg-gray-900 px-2 peer-focus:px-2 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:top-2 peer-focus:scale-75 peer-focus:-translate-y-4 start-1 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default outlined</label>\n    </div>\n    <div class=\"relative z-0\">\n        <input type=\"text\" id=\"default_standard\" class=\"block py-2.5 px-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n        <label for=\"default_standard\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 -z-10 origin-[0] peer-focus:start-0 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Default standard</label>\n    </div>\n</div>\n{{< /example >}}\n\n##### Helper text\n\nAdd a helper text in addition to the label if you want to show more information below the input field.\n\n{{< example id=\"floating-label-helper-example\" github=\"forms/floating-label.md\" show_dark=true >}}\n<div class=\"relative\">\n    <input type=\"text\" id=\"floating_helper\" aria-describedby=\"floating_helper_text\" class=\"block rounded-t-lg px-2.5 pb-2.5 pt-5 w-full text-sm text-gray-900 bg-gray-50 dark:bg-gray-700 border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-blue-500 focus:outline-none focus:ring-0 focus:border-blue-600 peer\" placeholder=\" \" />\n    <label for=\"floating_helper\" class=\"absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-4 scale-75 top-4 z-10 origin-[0] start-2.5 peer-focus:text-blue-600 peer-focus:dark:text-blue-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-4 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto\">Floating helper</label>\n</div>\n<p id=\"floating_helper_text\" class=\"mt-2 text-xs text-gray-500 dark:text-gray-400\">Remember, contributions to this topic should follow our <a href=\"#\" class=\"text-blue-600 dark:text-blue-500 hover:underline\">Community Guidelines</a>.</p>\n{{< /example >}}\n\n### Typography\n\n#### Headings\n\nGet started with the heading component to define titles and subtitles on a web page and also improve the on-page SEO metrics of your website by targeting high-traffic keywords on Google.\n\nAt least one unique H1 tag should be available for each page on your website with the next tags starting from H2 to H6 for each section. Choose from a collection of custom heading components based on multiple styles and layouts built with the utility classes from Tailwind CSS.\n\n##### Default heading\n\nUse this example of a H1 heading in the context of a paragraph and CTA button for landing pages.\n\n{{< example id=\"default-heading-example\" class=\"text-center\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the world’s potential</h1>\n<p class=\"mb-6 text-lg font-normal text-gray-500 lg:text-xl sm:px-16 xl:px-48 dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n<a href=\"#\" class=\"inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-900\">\n    Learn more\n    <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n  </svg>\n</a>\n{{< /example >}}\n\n##### Second-level heading\n\nUse this example of a second-level H2 heading as the main subtitle for each section of your web page.\n\n{{< example id=\"second-level-heading-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h2 class=\"text-4xl font-extrabold dark:text-white\">Payments tool for companies</h2>\n<p class=\"my-4 text-lg text-gray-500\">Start developing with an open-source library of over 450+ UI components, sections, and pages built with the utility classes from Tailwind CSS and designed in Figma.</p>\n<p class=\"mb-4 text-lg font-normal text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions. Accelerate critical development work, eliminate toil, and deploy changes with ease.</p>\n<a href=\"#\" class=\"inline-flex items-center text-lg text-blue-600 dark:text-blue-500 hover:underline\">\nRead more\n<svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n</a>\n{{< /example >}}\n\n##### Highlighted heading\n\nUse this example to highlight a certain portion of the heading text with a different color.\n\n{{< example id=\"highlighted-heading-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">Get back to growth with <span class=\"text-blue-600 dark:text-blue-500\">the world's #1</span> CRM.</h1>\n<p class=\"text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n##### Heading mark\n\nThis example can be used to mark one part of the heading text with a solid background for highlighting.\n\n{{< example id=\"heading-mark-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">Regain <mark class=\"px-2 text-white bg-blue-600 rounded-sm dark:bg-blue-500\">control</mark> over your days</h1>\n<p class=\"text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n##### Heading gradient\n\nUse this example to highlight a portion of the heading text by using a gradient style.\n\n{{< example id=\"heading-gradient-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl\"><span class=\"text-transparent bg-clip-text bg-gradient-to-r to-emerald-600 from-sky-400\">Better Data</span> Scalable AI.</h1>\n<p class=\"text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n##### Heading underline\n\nGet started with this example to underline an important part of the heading component using the offset feature from Tailwind CSS.\n\n{{< example id=\"heading-underline-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"mb-4 text-4xl font-extrabold leading-none tracking-tight text-gray-900 md:text-5xl lg:text-6xl dark:text-white\">We invest in the <span class=\"underline underline-offset-3 decoration-8 decoration-blue-400 dark:decoration-blue-600\">world’s potential</span></h1>\n<p class=\"text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">Here at Flowbite we focus on markets where technology, innovation, and capital can unlock long-term value and drive economic growth.</p>\n{{< /example >}}\n\n##### Breadcrumb context\n\nGet started with this example to position a breadcrumb component above the H1 heading component.\n\n{{< example id=\"heading-breadcrumb-example\" github=\"typography/headings.md\" show_dark=true >}}\n<nav class=\"flex mb-4\" aria-label=\"Breadcrumb\">\n  <ol class=\"inline-flex items-center space-x-1 md:space-x-3 rtl:space-x-reverse\">\n    <li class=\"inline-flex items-center\">\n      <a href=\"#\" class=\"inline-flex items-center text-sm font-medium text-gray-600 hover:text-blue-600 dark:text-gray-400 dark:hover:text-white\">\n        <svg class=\"w-3 h-3 me-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"m19.707 9.293-2-2-7-7a1 1 0 0 0-1.414 0l-7 7-2 2a1 1 0 0 0 1.414 1.414L2 10.414V18a2 2 0 0 0 2 2h3a1 1 0 0 0 1-1v-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h3a2 2 0 0 0 2-2v-7.586l.293.293a1 1 0 0 0 1.414-1.414Z\"/>\n        </svg>\n        Home\n      </a>\n    </li>\n    <li>\n      <div class=\"flex items-center\">\n        <svg class=\"w-3 h-3 text-gray-400 mx-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <a href=\"#\" class=\"ms-1 text-sm font-medium text-gray-600 hover:text-blue-600 md:ms-2 dark:text-gray-400 dark:hover:text-white\">Projects</a>\n      </div>\n    </li>\n    <li aria-current=\"page\">\n      <div class=\"flex items-center\">\n        <svg class=\"w-3 h-3 text-gray-400 mx-1 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n        <span class=\"ms-1 text-sm font-medium text-gray-500 md:ms-2 dark:text-gray-400\">Flowbite</span>\n      </div>\n    </li>\n  </ol>\n</nav>\n<h2 class=\"mb-4 text-3xl font-extrabold leading-none tracking-tight text-gray-900 md:text-4xl dark:text-white\">Team management</h2>\n{{< /example >}}\n\n##### Badge context\n\nUse this example to show a badge component inside the heading text element as a secondary indicator.\n\n{{< example id=\"heading-badge-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"flex items-center text-5xl font-extrabold dark:text-white\">Flowbite<span class=\"bg-blue-100 text-blue-800 text-2xl font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-blue-200 dark:text-blue-800 ms-2\">PRO</span></h1>\n{{< /example >}}\n\n##### Secondary text\n\nThis example can be used to add a secondary text inside the main heading component.\n\n{{< example id=\"heading-neutral-secondary-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"text-5xl font-extrabold dark:text-white\">Flowbite<small class=\"ms-2 font-semibold text-gray-500 dark:text-gray-400\">This is secondary text</small></h1>\n{{< /example >}}\n\n##### Sizes\n\nThe heading component has six levels of importance starting from H1 which has to be unique on the page and has the greatest weight of importance all the way to H6.\n\n###### Heading one (H1)\n\nUse the H1 tag as the most important text element to indicate the title of your web page.\n\n{{< example id=\"heading-one-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h1 class=\"text-5xl font-extrabold dark:text-white\">Heading 1</h1>\n{{< /example >}}\n\n###### Heading two (H2)\n\nThe H2 tag can be used as subtitles of the page's sections.\n\n{{< example id=\"heading-two-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h2 class=\"text-4xl font-bold dark:text-white\">Heading 2</h2>\n{{< /example >}}\n\n###### Heading three (H3)\n\nUse the H3 tags inside sections that already have a H2 available.\n\n{{< example id=\"heading-three-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h3 class=\"text-3xl font-bold dark:text-white\">Heading 3</h3>\n{{< /example >}}\n\n###### Heading four (H4)\n\nThe H4 can be generally used after H2 and H3 tags are already present and you need a more in-depth hierarchy.\n\n{{< example id=\"heading-four-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h4 class=\"text-2xl font-bold dark:text-white\">Heading 4</h4>\n{{< /example >}}\n\n###### Heading five (H5)\n\nThe H5 tag is most often used in longer articles with other heading already available or in sidebars.\n\n{{< example id=\"heading-five-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h5 class=\"text-xl font-bold dark:text-white\">Heading 5</h5>\n{{< /example >}}\n\n###### Heading six (H6)\n\nUsing the H6 tag is quite rare because it means that you've already used all heading from H1 to H5, but you can still use it if you have a very complex article with lots of headings.\n\n{{< example id=\"heading-six-example\" github=\"typography/headings.md\" show_dark=true >}}\n<h6 class=\"text-lg font-bold dark:text-white\">Heading 6</h6>\n{{< /example >}}\n\n#### Paragraphs\n\nThe paragraph element is one of the most commonly used HTML tags on a document page because it is used to write longer blocks of text separated by a blank line and can massively improve the on-page SEO of the page when used correctly.\n\nGet started with a collection of paragraph components based on multiple styles, layouts, colors and sizes to use for your website built with the utility classes from Tailwind CSS.\n\n##### Default paragraph\n\nUse this example of a paragraph element to use inside article content or a landing page.\n\n{{< example id=\"default-paragraph-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n\n##### Leading paragraph\n\nThe leading text can be used as the first paragraph inside an article content page.\n\n{{< example id=\"paragraph-leading-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-lg text-gray-500 md:text-xl dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work and deploy.</p>\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n##### First letter\n\nUse this example to highlight the first letter of the paragraph, often used in e-books and PDF documents.\n\n{{< example id=\"paragraph-first-letter-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400 first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-gray-900 dark:first-letter:text-gray-100 first-letter:me-3 first-letter:float-start\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n##### Paragraph link\n\nThis example can be used to add a custom styled link element inside the paragraph.\n\n{{< example id=\"paragraph-link-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-medium text-blue-600 underline dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:no-underline\">Link issues across Jira</a> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n##### Paragraph bold\n\nUse this example to highlight a piece of text inside the paragraph by using a bolder font weight.\n\n{{< example id=\"paragraph-bold-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <strong class=\"font-semibold text-gray-900 dark:text-white\">Link issues across Jira</strong> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n##### Paragraph underline\n\nThis example can be used to underline a certain part of the text inside the paragraph.\n\n{{< example id=\"paragraph-underline-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <u class=\"underline\">Link issues across Jira</u> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n##### Paragraph italic\n\nUse this example to make the font style of the text inside the paragraph italic.\n\n{{< example id=\"paragraph-italic-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <em class=\"font-italic\">Link issues across Jira</em> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n##### Paragraph popover\n\nGet started with this example to show a popover with extra information inside paragraph elements.\n\n{{< example id=\"paragraph-popover-example\" class=\"pt-60\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Due to its central geographic location in Southern Europe, <a href=\"#\" class=\"font-medium text-blue-600 underline dark:text-blue-500 hover:no-underline\" data-popover-target=\"popover-image\">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>\n<div id=\"popover-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-96 dark:text-gray-400 dark:bg-gray-800 dark:border-gray-600\">\n    <div class=\"grid grid-cols-5\">\n        <div class=\"col-span-3 p-3\">\n            <div class=\"space-y-2\">\n                <h3 class=\"font-semibold text-gray-900 dark:text-white\">About Italy</h3>\n                <p>Italy is located in the middle of the Mediterranean Sea, in Southern Europe it is also considered part of Western Europe. A unitary parliamentary republic with Rome as its capital and largest city.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n  </svg></a>\n            </div>\n        </div>\n        <img src=\"/docs/images/popovers/italy.png\" class=\"h-full col-span-2\" alt=\"Italy map\" />\n    </div>\n    <div data-popper-arrow></div>\n</div>\n{{< /example >}}\n\n##### Layout\n\nGet started with examples of layouts for the paragraph component to separate content into multiple rows and columns.\n\n###### One column\n\nUse this example to show multiple paragraphs on a single line.\n\n{{< example id=\"paragraph-one-column-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n###### Two columns even\n\nUse this example to separate paragraphs into two columns for better readability.\n\n{{< example id=\"paragraphs-two-columns-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-2\">\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n</div>\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n###### Three columns even\n\nThis example can be used to separate paragraphs into three separate columns.\n\n{{< example id=\"paragraphs-three-columns-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-3\">\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n</div>\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n###### Two columns uneven\n\nUse this example to separate paragraphs into two uneven columns.\n\n{{< example id=\"paragraphs-two-columns-uneven-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 gap-6 sm:grid-cols-3\">\n    <div class=\"col-span-2\">\n        <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n        <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n    </div>\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n</div>\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n##### Text alignment\n\nAlign the paragraph component to the left (default), center or right side of the document page using the `text-{left|center|right}` utility class from Tailwind CSS.\n\n###### Left\n\nThe default alignment of the paragraph is to the left side and you can use the `text-left` class to align it manually.\n\n{{< example id=\"paragraph-left-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-left rtl:text-right text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n###### Center\n\nUse the `text-center` class to align the paragraph text to the center.\n\n{{< example id=\"paragraph-center-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-center text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n###### Right\n\nUse the `text-right` utility class to align the paragraph text the right side of the page.\n\n{{< example id=\"paragraph-right-example\" github=\"typography/paragraphs.md\" show_dark=true >}}\n<p class=\"mb-3 text-right rtl:text-left text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n{{< /example >}}\n\n#### Blockquote\n\nGet started with a collection of blockquote components when quoting external sources such as quotes inside an article, user reviews, and testimonials based on multiple examples of layouts, styles, and contexts.\n\nThe main `<blockquote>` HTML tag can be used together with the `<cite>` tag or attribute to also mention the source of the quote content.\n\n##### Default blockquote\n\nUse this example to quote an external source inside a blockquote element.\n\n{{< example id=\"default-blockquote-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n##### Solid background\n\nThis example can be used as an alternative style to the default one by applying a solid background color.\n\n{{< example id=\"blockquote-background-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">\nDoes your user know how to exit out of screens? Can they follow your intended user journey and buy something from the site you’ve designed? By running a usability test, you’ll be able to see how users will interact with your design once it’s live.\n</p>\n<blockquote class=\"p-4 my-4 border-s-4 border-gray-300 bg-gray-50 dark:border-gray-500 dark:bg-gray-800\">\n    <p class=\"text-xl italic font-medium leading-relaxed text-gray-900 dark:text-white\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n<p class=\"text-gray-500 dark:text-gray-400\">\nFirst of all you need to understand how Flowbite works. This library is not another framework. Rather, it is a set of components based on Tailwind CSS that you can just copy-paste from the documentation.\n</p>\n{{< /example >}}\n\n##### Blockquote icon\n\nUse this example to show an icon above the blockquote text content.\n\n{{< example id=\"blockquote-icon-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-gray-900 dark:text-white\">\n    <svg class=\"w-8 h-8 text-gray-400 dark:text-gray-600 mb-4\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 14\">\n        <path d=\"M6 0H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3H2a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Zm10 0h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3h-1a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Z\"/>\n    </svg>\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n##### Paragraph context\n\nUse this example to show a blockquote component between multiple paragraph elements.\n\n{{< example id=\"blockquote-paragraph-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"grid grid-cols-1 md:gap-6 md:grid-cols-2\">\n    <p class=\"mb-3 text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n    <blockquote class=\"mb-3\">\n        <p class=\"text-xl italic font-semibold text-gray-900 dark:text-white\">\" Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application. \"</p>\n    </blockquote>\n</div>\n<p class=\"mb-3 text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n##### User testimonial\n\nThis example can be used for user testimonials by mentioning the author and occupation of the author.\n\n{{< example id=\"blockquote-testimonial-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<figure class=\"max-w-screen-md mx-auto text-center\">\n    <svg class=\"w-10 h-10 mx-auto mb-3 text-gray-400 dark:text-gray-600\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 14\">\n        <path d=\"M6 0H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3H2a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Zm10 0h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3h-1a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Z\"/>\n    </svg>\n    <blockquote>\n        <p class=\"text-2xl italic font-medium text-gray-900 dark:text-white\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n    </blockquote>\n    <figcaption class=\"flex items-center justify-center mt-6 space-x-3 rtl:space-x-reverse\">\n        <img class=\"w-6 h-6 rounded-full\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/michael-gouch.png\" alt=\"profile picture\">\n        <div class=\"flex items-center divide-x-2 rtl:divide-x-reverse divide-gray-500 dark:divide-gray-700\">\n            <cite class=\"pe-3 font-medium text-gray-900 dark:text-white\">Michael Gough</cite>\n            <cite class=\"ps-3 text-sm text-gray-500 dark:text-gray-400\">CEO at Google</cite>\n        </div>\n    </figcaption>\n</figure>\n{{< /example >}}\n\n##### User Review\n\nUse this example to show a user review with rating stars and the name and occupation of the author.\n\n{{< example id=\"blockquote-review-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<figure class=\"max-w-screen-md\">\n    <div class=\"flex items-center mb-4 text-yellow-300\">\n        <svg class=\"w-5 h-5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-5 h-5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-5 h-5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-5 h-5 me-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n        <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 22 20\">\n            <path d=\"M20.924 7.625a1.523 1.523 0 0 0-1.238-1.044l-5.051-.734-2.259-4.577a1.534 1.534 0 0 0-2.752 0L7.365 5.847l-5.051.734A1.535 1.535 0 0 0 1.463 9.2l3.656 3.563-.863 5.031a1.532 1.532 0 0 0 2.226 1.616L11 17.033l4.518 2.375a1.534 1.534 0 0 0 2.226-1.617l-.863-5.03L20.537 9.2a1.523 1.523 0 0 0 .387-1.575Z\"/>\n        </svg>\n    </div>\n    <blockquote>\n        <p class=\"text-2xl font-semibold text-gray-900 dark:text-white\">\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n    </blockquote>\n    <figcaption class=\"flex items-center mt-6 space-x-3 rtl:space-x-reverse\">\n        <img class=\"w-6 h-6 rounded-full\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/bonnie-green.png\" alt=\"profile picture\">\n        <div class=\"flex items-center divide-x-2 rtl:divide-x-reverse divide-gray-300 dark:divide-gray-700\">\n            <cite class=\"pe-3 font-medium text-gray-900 dark:text-white\">Bonnie Green</cite>\n            <cite class=\"ps-3 text-sm text-gray-500 dark:text-gray-400\">CTO at Flowbite</cite>\n        </div>\n    </figcaption>\n</figure>\n{{< /example >}}\n\n##### Alignment\n\nChoose from the following examples the blockquote text alignment from starting from left, center to right based on the utility classes from Tailwind CSS.\n\n###### Left\n\nThe default alignment of the blockquote text content is the left side of the document.\n\n{{< example id=\"default-blockquote-left-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-left text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n###### Center\n\nUse the `text-center` class from Tailwind CSS to align the text content inside the blockquote to the center.\n\n{{< example id=\"default-blockquote-center-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-center text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n###### Right\n\nUse the `text-right` utility class from Tailwind CSS to align the blockquote text content to the right side of the page.\n\n{{< example id=\"default-blockquote-right-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-right text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n##### Sizes\n\nChoose from one of the multiple sizes for the default blockquote component based on the surrounding elements and sizes.\n\n###### Small\n\nUse the `text-lg` font size class from Tailwind CSS to apply the small size for the blockquote component.\n\n{{< example id=\"default-blockquote-small-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-lg italic font-semibold text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n###### Medium\n\nUse the `text-xl` utility class to set the default size for the blockquote element.\n\n{{< example id=\"default-blockquote-medium-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-xl italic font-semibold text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n###### Large\n\nThe `text-2xl` class can be used to set a large size for the blockquote component.\n\n{{< example id=\"default-blockquote-large-example\" github=\"typography/blockquote.md\" show_dark=true >}}\n<blockquote class=\"text-2xl italic font-semibold text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n#### Image\n\nGet started with a collection of responsive image components coded with the utility classes from Tailwind CSS that you can use inside articles, cards, sections, and other components based on multiple styles, sizes, layouts, and hover animations.\n\n##### Default image\n\nUse this example to show the a responsive image that won't grow beyond the maximum original width.\n\n{{< example id=\"default-image-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-full\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n##### Image caption\n\nThis example can be used to add a caption for the image often used inside articles.\n\n{{< example id=\"image-caption-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<figure class=\"max-w-lg\">\n  <img class=\"h-auto max-w-full rounded-lg\" src=\"/docs/images/examples/image-3@2x.jpg\" alt=\"image description\">\n  <figcaption class=\"mt-2 text-sm text-center text-gray-500 dark:text-gray-400\">Image caption</figcaption>\n</figure>\n{{< /example >}}\n\n##### Rounded corners\n\nApply rounded corners to the image by using the specific utility classes from Tailwind CSS.\n\n###### Border radius\n\nUse this example to apply rounded corners to the image by using the `rounded-{size}` class where the size can be anything from small to extra large.\n\n{{< example id=\"image-rounded-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg rounded-lg\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Full circle\n\nUse this example to mask the image inside a circle using the `rounded-full` utility class from Tailwind CSS.\n\n{{< example id=\"image-rounded-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"rounded-full w-96 h-96\" src=\"/docs/images/examples/image-4@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n##### Image shadow\n\nThis example can be used to show a shadow effect for the image using the `shadow-{size}` utility class.\n\n{{< example id=\"image-shadow-example\" class=\"flex justify-center pb-8\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xl rounded-lg shadow-xl dark:shadow-gray-800\" src=\"/docs/images/examples/image-2@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n##### Retina-ready\n\nUse the `srcset` attribute to set Retina-ready images with double resolution.\n\n{{< example id=\"image-retina-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img srcset=\"/docs/images/examples/image-1.jpg 1x, /docs/images/examples/image-1@2x.jpg 2x\" class=\"w-full h-auto max-w-xl rounded-lg\" alt=\"image description\">\n{{< /example >}}\n\n##### Image card\n\nUse this example to make the image a card item with a link and a short text description.\n\n{{< example id=\"image-card-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<figure class=\"relative max-w-sm transition-all duration-300 cursor-pointer filter grayscale hover:grayscale-0\">\n  <a href=\"#\">\n    <img class=\"rounded-lg\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n  </a>\n  <figcaption class=\"absolute px-4 text-lg text-white bottom-6\">\n      <p>Do you want to get notified when a new component is added to Flowbite?</p>\n  </figcaption>\n</figure>\n{{< /example >}}\n\n##### Image effects\n\nUse image effects such as grayscale or blur to change the appearances of the image when being hovered.\n\n###### Grayscale\n\nUse the filter option and apply a grayscale to the image element using the `grayscale` class.\n\n{{< example id=\"image-grayscale-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg transition-all duration-300 rounded-lg cursor-pointer filter grayscale hover:grayscale-0\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n{{< /example >}}\n\n###### Blur\n\nApply a blur by using the `blur-{size}` utility class from Tailwind CSS to an image component.\n\n{{< example id=\"image-blur-example\" class=\"flex justify-center\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg transition-all duration-300 rounded-lg blur-xs hover:blur-none\" src=\"https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png\" alt=\"image description\">\n{{< /example >}}\n\n##### Alignment\n\nAlign the image component to the left, center or right side of the document page using margin styles.\n\n###### Left\n\nBy default, the image component will be aligned to the left side of the page.\n\n{{< example id=\"image-left-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Center\n\nHorizontally align the image to the center of the page using the `mx-auto` class.\n\n{{< example id=\"image-center-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg mx-auto\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Right\n\nUse the `ml-auto` (or `ms-auto`) class to align the image to the right side of the page.\n\n{{< example id=\"image-right-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-lg ms-auto\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n##### Sizes\n\nSet the size of the image using the `w-{size}` and `h-{size}` or `max-w-{size}` utility classes from Tailwind CSS to set the width and height of the element.\n\n###### Small\n\nUse the `max-w-xs` class to set a small size of the image.\n\n{{< example id=\"image-small-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xs\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Medium\n\nUse the `max-w-md` class to set a medium size of the image.\n\n{{< example id=\"image-medium-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-md\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Large\n\nUse the `max-w-xl` class to set a large size of the image.\n\n{{< example id=\"image-large-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-xl\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n###### Full width\n\nUse the `max-w-full` class to set the full width of the image as long as it doesn't become larger than the original source.\n\n{{< example id=\"image-full-example\" github=\"typography/images.md\" show_dark=true >}}\n<img class=\"h-auto max-w-full\" src=\"/docs/images/examples/image-1@2x.jpg\" alt=\"image description\">\n{{< /example >}}\n\n#### Lists\n\nGet started with a collection of list components built with Tailwind CSS for ordered and unordered lists with bullets, numbers, or icons and other styles and layouts to show a list of items inside an article or throughout your web page.\n\n##### Unordered list\n\nUse this example to create a default unordered list of items using the `list-disc` class.\n\n{{< example id=\"unordered-list-example\" github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-semibold text-gray-900 dark:text-white\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-1 text-gray-500 list-disc list-inside dark:text-gray-400\">\n    <li>\n        At least 10 characters (and up to 100 characters)\n    </li>\n    <li>\n        At least one lowercase character\n    </li>\n    <li>\n        Inclusion of at least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n###### Icons\n\nThis example can be used to apply custom icons instead of the default bullets for the list items.\n\n{{< example id=\"unordered-list-icon-example\" github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-semibold text-gray-900 dark:text-white\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-1 text-gray-500 list-inside dark:text-gray-400\">\n    <li class=\"flex items-center\">\n        <svg class=\"w-3.5 h-3.5 me-2 text-green-500 dark:text-green-400 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n         </svg>\n        At least 10 characters\n    </li>\n    <li class=\"flex items-center\">\n        <svg class=\"w-3.5 h-3.5 me-2 text-green-500 dark:text-green-400 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n         </svg>\n        At least one lowercase character\n    </li>\n    <li class=\"flex items-center\">\n        <svg class=\"w-3.5 h-3.5 me-2 text-gray-500 dark:text-gray-400 shrink-0\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z\"/>\n         </svg>\n        At least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n###### Nested\n\nUse this example to nested another list of items inside the parent list element.\n\n{{< example id=\"unordered-list-nested-example\" github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"space-y-4 text-gray-500 list-disc list-inside dark:text-gray-400\">\n    <li>\n        List item one\n        <ol class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>You might feel like you are being really \"organized\" o</li>\n            <li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>\n            <li>Nesting tons of folders in your source code is also not helpful.</li>\n        </ol>\n    </li>\n    <li>\n        List item two\n        <ul class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>I'm not sure if we'll bother styling more than two levels deep.</li>\n            <li>Two is already too much, three is guaranteed to be a bad idea.</li>\n            <li>If you nest four levels deep you belong in prison.</li>\n        </ul>\n    </li>\n    <li>\n        List item three\n        <ul class=\"ps-5 mt-2 space-y-1 list-decimal list-inside\">\n            <li>Again please don't nest lists if you want</li>\n            <li>Nobody wants to look at this.</li>\n            <li>I'm upset that we even have to bother styling this.</li>\n        </ul>\n    </li>\n</ul>\n{{< /example >}}\n\n###### Unstyled\n\nUse the `list-none` class to disable the list style bullets or numbers.\n\n{{< example id=\"unordered-list-unstyled-example\" github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-semibold text-gray-900 dark:text-white\">Password requirements:</h2>\n<ul class=\"max-w-md space-y-1 text-gray-500 list-none list-inside dark:text-gray-400\">\n    <li>\n        At least 10 characters (and up to 100 characters)\n    </li>\n    <li>\n        At least one lowercase character\n    </li>\n    <li>\n        Inclusion of at least one special character, e.g., ! @ # ?\n    </li>\n</ul>\n{{< /example >}}\n\n##### Ordered list\n\nUse the `<ol>` tag to create an ordered list of items with numbers.\n\n{{< example id=\"ordered-list-example\" github=\"typography/lists.md\" show_dark=true >}}\n<h2 class=\"mb-2 text-lg font-semibold text-gray-900 dark:text-white\">Top students:</h2>\n<ol class=\"max-w-md space-y-1 text-gray-500 list-decimal list-inside dark:text-gray-400\">\n    <li>\n        <span class=\"font-semibold text-gray-900 dark:text-white\">Bonnie Green</span> with <span class=\"font-semibold text-gray-900 dark:text-white\">70</span> points\n    </li>\n    <li>\n        <span class=\"font-semibold text-gray-900 dark:text-white\">Jese Leos</span> with <span class=\"font-semibold text-gray-900 dark:text-white\">63</span> points\n    </li>\n    <li>\n        <span class=\"font-semibold text-gray-900 dark:text-white\">Leslie Livingston</span> with <span class=\"font-semibold text-gray-900 dark:text-white\">57</span> points\n    </li>\n</ol>\n{{< /example >}}\n\n###### Nested\n\nThis example can be used to nest multiple lists into each other.\n\n{{< example id=\"ordered-list-nested-example\" github=\"typography/lists.md\" show_dark=true >}}\n<ol class=\"space-y-4 text-gray-500 list-decimal list-inside dark:text-gray-400\">\n   <li>\n      List item one\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>You might feel like you are being really \"organized\" o</li>\n         <li>Nested navigation in UIs is a bad idea too, keep things as flat as possible.</li>\n         <li>Nesting tons of folders in your source code is also not helpful.</li>\n      </ul>\n   </li>\n   <li>\n      List item two\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>I'm not sure if we'll bother styling more than two levels deep.</li>\n         <li>Two is already too much, three is guaranteed to be a bad idea.</li>\n         <li>If you nest four levels deep you belong in prison.</li>\n      </ul>\n   </li>\n   <li>\n      List item three\n      <ul class=\"ps-5 mt-2 space-y-1 list-disc list-inside\">\n         <li>Again please don't nest lists if you want</li>\n         <li>Nobody wants to look at this.</li>\n         <li>I'm upset that we even have to bother styling this.</li>\n      </ul>\n   </li>\n</ol>\n{{< /example >}}\n\n##### Description list\n\nCreate a description list by using the `<dl>` tag and set the term and name with the following example.\n\n{{< example id=\"description-list-example\" github=\"typography/lists.md\" show_dark=true >}}\n<dl class=\"max-w-md text-gray-900 divide-y divide-gray-200 dark:text-white dark:divide-gray-700\">\n    <div class=\"flex flex-col pb-3\">\n        <dt class=\"mb-1 text-gray-500 md:text-lg dark:text-gray-400\">Email address</dt>\n        <dd class=\"text-lg font-semibold\">yourname@flowbite.com</dd>\n    </div>\n    <div class=\"flex flex-col py-3\">\n        <dt class=\"mb-1 text-gray-500 md:text-lg dark:text-gray-400\">Home address</dt>\n        <dd class=\"text-lg font-semibold\">92 Miles Drive, Newark, NJ 07103, California, USA</dd>\n    </div>\n    <div class=\"flex flex-col pt-3\">\n        <dt class=\"mb-1 text-gray-500 md:text-lg dark:text-gray-400\">Phone number</dt>\n        <dd class=\"text-lg font-semibold\">+00 123 456 789 / +12 345 678</dd>\n    </div>\n</dl>\n{{< /example >}}\n\n##### List with icons\n\nUse this example to create a list of items with [custom SVG icons](https://flowbite.com/icons/) instead of the default bullets.\n\n{{< example id=\"list-icons-example\" github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"space-y-4 text-left text-gray-500 dark:text-gray-400\">\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n         <svg class=\"shrink-0 w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n         </svg>\n        <span>Individual configuration</span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <svg class=\"shrink-0 w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n         </svg>\n        <span>No setup, or hidden fees</span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <svg class=\"shrink-0 w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n         </svg>\n        <span>Team size: <span class=\"font-semibold text-gray-900 dark:text-white\">1 developer</span></span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <svg class=\"shrink-0 w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n         </svg>\n        <span>Premium support: <span class=\"font-semibold text-gray-900 dark:text-white\">6 months</span></span>\n    </li>\n    <li class=\"flex items-center space-x-3 rtl:space-x-reverse\">\n        <svg class=\"shrink-0 w-3.5 h-3.5 text-green-500 dark:text-green-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5.917 5.724 10.5 15 1.5\"/>\n         </svg>\n        <span>Free updates: <span class=\"font-semibold text-gray-900 dark:text-white\">6 months</span></span>\n    </li>\n</ul>\n{{< /example >}}\n\n##### Advanced layout\n\nThis example can be used to show more details for each list item such as the user's name, email and profile picture.\n\n{{< example id=\"list-advanced-layout-example\" github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"max-w-md divide-y divide-gray-200 dark:divide-gray-700\">\n   <li class=\"pb-3 sm:pb-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-1.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n               Neil Sims\n            </p>\n            <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n            $320\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-3.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n               Bonnie Green\n            </p>\n            <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n            $3467\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-2.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n               Michael Gough\n            </p>\n            <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n            $67\n         </div>\n      </div>\n   </li>\n   <li class=\"py-3 sm:py-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-5.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n               Thomas Lean\n            </p>\n            <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n            $2367\n         </div>\n      </div>\n   </li>\n   <li class=\"pt-3 pb-0 sm:pt-4\">\n      <div class=\"flex items-center space-x-4 rtl:space-x-reverse\">\n         <div class=\"shrink-0\">\n            <img class=\"w-8 h-8 rounded-full\" src=\"/docs/images/people/profile-picture-4.jpg\" alt=\"Neil image\">\n         </div>\n         <div class=\"flex-1 min-w-0\">\n            <p class=\"text-sm font-medium text-gray-900 truncate dark:text-white\">\n               Lana Byrd\n            </p>\n            <p class=\"text-sm text-gray-500 truncate dark:text-gray-400\">\n               email@flowbite.com\n            </p>\n         </div>\n         <div class=\"inline-flex items-center text-base font-semibold text-gray-900 dark:text-white\">\n            $367\n         </div>\n      </div>\n   </li>\n</ul>\n{{< /example >}}\n\n##### Horizontal list\n\nUse this example to create a horizontally aligned list of items.\n\n{{< example id=\"horizontal-list-example\" github=\"typography/lists.md\" show_dark=true >}}\n<ul class=\"flex flex-wrap items-center justify-center text-gray-900 dark:text-white\">\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6 \">About</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Premium</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6 \">Campaigns</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Blog</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Affiliate Program</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">FAQs</a>\n    </li>\n    <li>\n        <a href=\"#\" class=\"me-4 hover:underline md:me-6\">Contact</a>\n    </li>\n</ul>\n{{< /example >}}\n\n#### Links\n\nGet started with the link component to enable hyperlinks across pages and external websites applied to elements such as inline text, buttons, cards, inside paragraphs, and more.\n\nHyperlinks are a great way to reduce bounce rate of the current page and encourage visitors to browse your website and become a returning user.\n\n##### Default link\n\nUse this example to set default styles to an inline link element.\n\n{{< example id=\"default-link-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"font-medium text-blue-600 dark:text-blue-500 hover:underline\">Read more</a>\n{{< /example >}}\n\n##### Button\n\nThis example can be used to set a hyperlink on a button component.\n\n{{< example id=\"link-button-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800\">Read more</a>\n{{< /example >}}\n\n##### Paragraph\n\nUse this example to set a link inside a paragraph with an underline style.\n\n{{< example id=\"paragraph-link-example\" github=\"typography/links.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">The free updates that will be provided is based on the <a href=\"#\" class=\"font-medium text-blue-600 underline dark:text-blue-500 hover:no-underline\">roadmap</a> that we have laid out for this project. It is also possible that we will provide extra updates outside of the roadmap as well.</p>\n{{< /example >}}\n\n##### Icon link\n\nThis example can be used to set a custom [SVG icon](https://flowbite.com/icons/) inside the hyperlink element.\n\n{{< example id=\"link-icon-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">500,000 people & companies have made over a million apps with Glide. <a href=\"#\" class=\"inline-flex items-center font-medium text-blue-600 dark:text-blue-500 hover:underline\">\nRead their stories\n<svg class=\"w-4 h-4 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n</svg>\n</a></p>\n\n{{< /example >}}\n\n##### CTA link\n\nUse this example to set a hyperlink on a CTA element with text and a custom icon.\n\n{{< example id=\"link-cta-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"inline-flex items-center justify-center p-5 text-base font-medium text-gray-500 rounded-lg bg-gray-50 hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700 dark:hover:text-white\">\n    <svg aria-hidden=\"true\" class=\"w-5 h-5 me-3\" viewBox=\"0 0 22 31\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(#clip0_4151_63004)\"><path d=\"M5.50085 30.1242C8.53625 30.1242 10.9998 27.8749 10.9998 25.1035V20.0828H5.50085C2.46546 20.0828 0.00195312 22.332 0.00195312 25.1035C0.00195312 27.8749 2.46546 30.1242 5.50085 30.1242Z\" fill=\"#0ACF83\"/><path d=\"M0.00195312 15.062C0.00195312 12.2905 2.46546 10.0413 5.50085 10.0413H10.9998V20.0827H5.50085C2.46546 20.0827 0.00195312 17.8334 0.00195312 15.062Z\" fill=\"#A259FF\"/><path d=\"M0.00195312 5.02048C0.00195312 2.24904 2.46546 -0.000244141 5.50085 -0.000244141H10.9998V10.0412H5.50085C2.46546 10.0412 0.00195312 7.79193 0.00195312 5.02048Z\" fill=\"#F24E1E\"/><path d=\"M11 -0.000244141H16.4989C19.5343 -0.000244141 21.9978 2.24904 21.9978 5.02048C21.9978 7.79193 19.5343 10.0412 16.4989 10.0412H11V-0.000244141Z\" fill=\"#FF7262\"/><path d=\"M21.9978 15.062C21.9978 17.8334 19.5343 20.0827 16.4989 20.0827C13.4635 20.0827 11 17.8334 11 15.062C11 12.2905 13.4635 10.0413 16.4989 10.0413C19.5343 10.0413 21.9978 12.2905 21.9978 15.062Z\" fill=\"#1ABCFE\"/></g><defs><clipPath id=\"clip0_4151_63004\"><rect width=\"22\" height=\"30.1244\" fill=\"white\" transform=\"translate(0 -0.000244141)\"/></clipPath></defs></svg>                                              \n    <span class=\"w-full\">Get started with our  Figma Design System</span>\n    <svg class=\"w-4 h-4 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n    </svg>\n</a> \n{{< /example >}}\n\n##### Card link\n\nUse this example to set a hyperlink on a card component.\n\n{{< example id=\"link-card-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<a href=\"#\" class=\"block max-w-sm p-6 bg-white border border-gray-200 rounded-lg shadow-md hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700\">\n    <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n    <p class=\"font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n</a>\n{{< /example >}}\n\n##### Image link\n\nThis example can be used to set a hyperlink on an image inside a card component.\n\n{{< example id=\"link-image-example\" class=\"flex justify-center\" github=\"typography/links.md\" show_dark=true >}}\n<div class=\"max-w-sm bg-white border border-gray-200 rounded-lg shadow-md dark:bg-gray-800 dark:border-gray-700\">\n    <a href=\"#\">\n        <img class=\"rounded-t-lg\" src=\"/docs/images/blog/image-1.jpg\" alt=\"\" />\n    </a>\n    <div class=\"p-5\">\n        <a href=\"#\">\n            <h5 class=\"mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white\">Noteworthy technology acquisitions 2021</h5>\n        </a>\n        <p class=\"mb-3 font-normal text-gray-600 dark:text-gray-400\">Here are the biggest enterprise technology acquisitions of 2021 so far, in reverse chronological order.</p>\n        <a href=\"#\" class=\"inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n            Read more\n            <svg class=\"w-3.5 h-3.5 ms-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M1 5h12m0 0L9 1m4 4L9 9\"/>\n            </svg>\n        </a>\n    </div>\n</div>\n{{< /example >}}\n\n#### Text\n\nGet started with a collection of text customization examples to learn how to update the size, font weight, style, decoration and spacing of inline text elements using Tailwind CSS.\n\n##### Font size\n\nUse this example to set the font size of inline text elements using the `text-{size}` class.\n\n{{< example id=\"font-size-example\" class=\"flex items-center space-x-4 rtl:space-x-reverse\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-xs text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-sm text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-base text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-lg text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-2xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-3xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-5xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-6xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-gray-900 text-7xl dark:text-white\">Aa</p>\n<p class=\"text-gray-900 text-8xl dark:text-white\">Aa</p>\n<p class=\"text-gray-900 text-9xl dark:text-white\">Aa</p>\n{{< /example >}}\n\n##### Font weight\n\nThis example can be used to the font weight of an inline text element using the `font-{size}` class.\n\n{{< example id=\"font-weight-example\" class=\"flex items-center space-x-8 rtl:space-x-reverse\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-4xl font-thin text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl text-gray-900 font-extralight dark:text-white\">Aa</p>\n<p class=\"text-4xl text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-normal text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-medium text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-semibold text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-bold text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-extrabold text-gray-900 dark:text-white\">Aa</p>\n<p class=\"text-4xl font-black text-gray-900 dark:text-white\">Aa</p>\n{{< /example >}}\n\n##### Text color\n\nUse the `text-{color}` classes from Tailwind CSS to set the color of the inline text.\n\n{{< example id=\"text-color-example\" class=\"space-y-2\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-blue-600\">This text is in the blue color.</p>\n<p class=\"text-green-500\">This text is in the green color.</p>\n<p class=\"text-red-600\">This text is in the red color.</p>\n<p class=\"text-purple-600\">This text is in the purple color.</p>\n<p class=\"text-teal-600\">This text is in the teal color.</p>\n{{< /example >}}\n\n##### Letter spacing\n\nIncrease or decrease the spacing between letters using the `tracking-{type}` class.\n\n{{< example id=\"letter-spacing-example\" class=\"space-y-3\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"tracking-tighter text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-tight text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-normal text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-wide text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-wider text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"tracking-widest text-gray-500 md:text-lg dark:text-gray-400\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n##### Text Decoration\n\nSet decoration for the inline text elements such as underline, line through or uppercase using classes from Tailwind CSS.\n\n###### Underline\n\nUnderline text by using the `underline` class or disable it using `no-underline`.\n\n{{< example id=\"text-underline-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-indigo-500\">Link issues across Jira</a> and ingest data from other <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-blue-500\">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-green-500\">requests</a>, <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-red-500\">incidents</a>, and <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-sky-500\">changes</a>.</p>\n{{< /example >}}\n\n###### Line through\n\nSet a strikethrough line on a text element using the `line-through` class.\n\n{{< example id=\"text-line-through-example\" github=\"typography/text.md\" show_dark=true >}}\n<span class=\"text-lg font-medium text-gray-900 line-through dark:text-white\">$109</span><span class=\"ms-3 text-lg font-medium text-gray-900 dark:text-white\">$79</span>\n{{< /example >}}\n\n###### Uppercase\n\nForce uppercase characters for a given portion of text using the `uppercase` class.\n\n{{< example id=\"text-uppercase-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-gray-900 dark:text-white\">The crypto <span class=\"uppercase\">identity</span> primitive.</p>\n{{< /example >}}\n\n##### Font style\n\nSet italic or non italic styles with the utility classes from Tailwind CSS.\n\n###### Italic\n\nUse the `italic` class from Tailwind CSS to set italic font style to a text element.\n\n{{< example id=\"text-italic-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-gray-900 dark:text-white\">The crypto <span class=\"italic\">identity</span> primitive.</p>\n{{< /example >}}\n\n###### Normal\n\nText elements by default are non-italic.\n\n{{< example id=\"text-normal-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-lg font-medium text-gray-900 dark:text-white\">The crypto identity primitive.</p>\n{{< /example >}}\n\n##### Line Height\n\nSet the height between lines using the `leading-{type}` classes from Tailwind CSS.\n\n###### Leading normal\n\nUse the `leading-normal` class to set default line height.\n\n{{< example id=\"font-leading-normal-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-normal text-gray-900 dark:text-white\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n###### Leading relaxed\n\nUse the `leading-relaxed` class to increase the space between lines.\n\n{{< example id=\"leading-relaxed-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-relaxed text-gray-900 dark:text-white\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n###### Leading loose\n\nUse the `leading-loose` class to set a large amount of space between text lines.\n\n{{< example id=\"leading-loose-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"max-w-lg text-3xl font-semibold leading-loose text-gray-900 dark:text-white\">The Al-powered app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n##### Text Align\n\nUse the following examples to align the text content to the left, center, or right side of the page.\n\n###### Left\n\nUse the `text-left` class to align the text to the left side of the page.\n\n{{< example id=\"text-left-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-left rtl:text-right text-gray-500 dark:text-gray-400\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n###### Center\n\nUse the `text-center` class to align the text content to the center of the page.\n\n{{< example id=\"text-center-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-center text-gray-500 dark:text-gray-400\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n###### Right\n\nUse the `text-right` class to align the text element to the right side of the page.\n\n{{< example id=\"text-right-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-right rtl:text-left text-gray-500 dark:text-gray-400\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n###### Text justify\n\nUse the `text-justify` class to justify the text content.\n\n{{< example id=\"text-justify-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-justify text-gray-500 dark:text-gray-400\">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>\n{{< /example >}}\n\n##### Whitespace\n\nConfigure the whitespace behaviour of inline text elements using classes from Tailwind CSS.\n\n###### Normal\n\nUse the `whitespace-normal` class to set the default whitespace behaviour.\n\n{{< example id=\"whitespace-normal-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-gray-500 whitespace-normal dark:text-gray-400\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n###### Nowrap\n\nUse the `whitespace-nowrap` class to prevent text being added to a new line when the full width has been reached.\n\n{{< example id=\"whitespace-nowrap-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-gray-500 whitespace-nowrap dark:text-gray-400\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n###### Pre line\n\nUse the `whitespace-pre-line` class to add whitespace exactly how it has been set from the source code.\n\n{{< example id=\"whitespace-preline-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-gray-500 whitespace-pre-line dark:text-gray-400\">\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\nThis is some text. This is some text. This is some text.\n<p>\n{{< /example >}}\n\n##### Text Decoration Style\n\nUpdate the text decoration style using the `decoration-{*}` classes from Tailwind CSS.\n\n{{< example id=\"text-decoration-style-example\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-indigo-500\">Link issues across Jira</a> and ingest data from other <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-blue-500 decoration-double\">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-green-500 decoration-dotted\">requests</a>, <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-red-500 decoration-dashed\">incidents</a>, and <a href=\"#\" class=\"font-semibold text-gray-900 underline dark:text-white decoration-sky-500 decoration-wavy\">changes</a>.</p>\n{{< /example >}}\n\n##### Opacity\n\nUse the `text-{color}-{opacity}` class from Tailwind CSS to set the opacity of inline text elements.\n\n{{< example id=\"text-opacity-example\" class=\"space-y-3\" github=\"typography/text.md\" show_dark=true >}}\n<p class=\"text-xl font-semibold text-blue-600/100 dark:text-blue-500/100\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-blue-600/75 dark:text-blue-500/75\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-blue-600/50 dark:text-blue-500/50\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n<p class=\"text-xl font-semibold text-blue-600/25 dark:text-blue-500/25\">Flowbite app will help you improve yourself by analysing your everyday life.</p>\n{{< /example >}}\n\n#### HR (Horizontal Line)\n\nThe HR component can be used to separate content using a horizontal line by adding space between elements based on multiple styles, variants, and layouts.\n\n##### Default HR\n\nUse this example to separate text content with a `<hr>` horizontal line.\n\n{{< example id=\"default-hr-example\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"h-px my-8 bg-gray-200 border-0 dark:bg-gray-700\">\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n##### Trimmed\n\nUse this example to show a shorter version of the horizontal line.\n\n{{< example id=\"hr-trimmed-example\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"w-48 h-1 mx-auto my-4 bg-gray-100 border-0 rounded-sm md:my-10 dark:bg-gray-700\">\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>\n{{< /example >}}\n\n##### Icon HR\n\nThis example can be used to set a custom [SVG icon](https://flowbite.com/icons/) in the middle of the HR element.\n\n{{< example id=\"hr-icon-example\" class=\"text-center\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"inline-flex items-center justify-center w-full\">\n    <hr class=\"w-64 h-1 my-8 bg-gray-200 border-0 rounded-sm dark:bg-gray-700\">\n    <div class=\"absolute px-4 -translate-x-1/2 bg-white left-1/2 dark:bg-gray-900\">\n        <svg class=\"w-4 h-4 text-gray-600 dark:text-gray-300\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 14\">\n    <path d=\"M6 0H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3H2a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Zm10 0h-4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4v1a3 3 0 0 1-3 3h-1a1 1 0 0 0 0 2h1a5.006 5.006 0 0 0 5-5V2a2 2 0 0 0-2-2Z\"/>\n  </svg>\n    </div>\n</div>\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>\n{{< /example >}}\n\n##### HR with text\n\nUse this example to add a text in the middle of the HR component.\n\n{{< example id=\"hr-text-example\" class=\"text-center\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<div class=\"inline-flex items-center justify-center w-full\">\n    <hr class=\"w-64 h-px my-8 bg-gray-200 border-0 dark:bg-gray-700\">\n    <span class=\"absolute px-3 font-medium text-gray-900 -translate-x-1/2 bg-white left-1/2 dark:text-white dark:bg-gray-900\">or</span>\n</div>\n<p class=\"text-gray-500 dark:text-gray-400\">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil.</p>\n{{< /example >}}\n\n##### HR shape\n\nThis example can be used to separate content with a HR tag as a shape instead of a line.\n\n{{< example id=\"hr-shape-example\" github=\"typography/hr.md\" show_dark=true >}}\n<p class=\"text-gray-500 dark:text-gray-400\">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>\n<hr class=\"w-8 h-8 mx-auto my-8 bg-gray-200 border-0 rounded-sm md:my-12 dark:bg-gray-700\">\n<blockquote class=\"text-xl italic font-semibold text-center text-gray-900 dark:text-white\">\n    <p>\"Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application.\"</p>\n</blockquote>\n{{< /example >}}\n\n### Plugins\n\n#### Charts\n\nThe chart components from the Flowbite Library are open-source under the MIT license and they are styled with the utility classes from Tailwind CSS and based on the open-source [ApexCharts](https://apexcharts.com/) library.\n\nWe provide an extensive collection of responsive chart types such as area, bar, column, pie, and radial that can help you visualize complex data inside graphs in admin dashboard layouts, analytics, diagrams, and more.\n\nYou can also easily customize the colors, sizes, and options of these charts either via Tailwind CSS directly or via the JavaScript options from the ApexCharts library. Dark mode is also supported by default.\n\n##### Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite and ApexCharts installed in your project.\n\n1. Follow the <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a> from Flowbite to install the plugin styles and functionality\n\n2. Make sure that you have ApexCharts installed and configured in your project:\n\nInstall ApexChart via NPM and save it in your `package.json` file:\n\n```bash\nnpm install apexcharts@3.46.0 --save\n``` \n\nAlternatively, you can also just include the CDN link:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/apexcharts@3.46.0/dist/apexcharts.min.js\"></script>\n```\n\nNow that you have all the libraries installed you can copy-paste the chart examples below in your code.\n\n##### Area chart\n\nUse this example to show a basic area chart by setting the `type: \"area\"` option in JavaScript:\n\n{{< example id=\"default-area-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: \"#1C64F2\",\n      gradientToColors: [\"#1C64F2\"],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: 0\n    },\n  },\n  series: [\n    {\n      name: \"New users\",\n      data: [6500, 6418, 6456, 6526, 6356, 6456],\n      color: \"#1A56DB\",\n    },\n  ],\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n  },\n}\n\nif (document.getElementById(\"area-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"area-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">32.4k</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Users this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      12%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"area-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Users Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Line chart\n\nTo create a double line chart check the example below by setting the chart type to `type: \"line\"` and copy the HTML markup and JS options to automatically style and populate the chart with data:\n\n{{< example id=\"line-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n  chart: {\n    height: \"100%\",\n    maxWidth: \"100%\",\n    type: \"line\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: true,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Clicks\",\n      data: [6500, 6418, 6456, 6526, 6356, 6456],\n      color: \"#1A56DB\",\n    },\n    {\n      name: \"CPC\",\n      data: [6456, 6356, 6526, 6332, 6418, 6500],\n      color: \"#7E3AF2\",\n    },\n  ],\n  legend: {\n    show: false\n  },\n  stroke: {\n    curve: 'smooth'\n  },\n  xaxis: {\n    categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n      }\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n  },\n}\n\nif (document.getElementById(\"line-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"line-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div class=\"grid gap-4 grid-cols-2\">\n      <div>\n        <h5 class=\"inline-flex items-center text-gray-500 dark:text-gray-400 leading-none font-normal mb-2\">Clicks\n          <svg data-popover-target=\"clicks-info\" data-popover-placement=\"bottom\" class=\"w-3 h-3 text-gray-400 hover:text-gray-900 dark:hover:text-white cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n          </svg>\n          <div data-popover id=\"clicks-info\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n              <div class=\"p-3 space-y-2\">\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">Clicks growth - Incremental</h3>\n                  <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n                  <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg></a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n        </h5>\n        <p class=\"text-gray-900 dark:text-white text-2xl leading-none font-bold\">42,3k</p>\n      </div>\n      <div>\n        <h5 class=\"inline-flex items-center text-gray-500 dark:text-gray-400 leading-none font-normal mb-2\">CPC\n        <svg data-popover-target=\"cpc-info\" data-popover-placement=\"bottom\" class=\"w-3 h-3 text-gray-400 hover:text-gray-900 dark:hover:text-white cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM9.5 4a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM12 15H8a1 1 0 0 1 0-2h1v-3H8a1 1 0 0 1 0-2h2a1 1 0 0 1 1 1v4h1a1 1 0 0 1 0 2Z\"/>\n          </svg>\n          <div data-popover id=\"cpc-info\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n              <div class=\"p-3 space-y-2\">\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">CPC growth - Incremental</h3>\n                  <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n                  <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg></a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n        </h5>\n        <p class=\"text-gray-900 dark:text-white text-2xl leading-none font-bold\">$5.40</p>\n      </div>\n    </div>\n    <div>\n      <button id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\" type=\"button\" class=\"px-3 py-2 inline-flex items-center text-sm font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700\">Last week <svg class=\"w-2.5 h-2.5 ms-2.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n    </svg></button>\n    <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n    </div>\n  </div>\n  <div id=\"line-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-2.5\">\n    <div class=\"pt-5\">      \n      <a href=\"#\" class=\"px-5 py-2.5 text-sm font-medium text-white inline-flex items-center bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 rounded-lg text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">\n        <svg class=\"w-3.5 h-3.5 text-white me-2 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 20\">\n          <path d=\"M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2Zm-3 15H4.828a1 1 0 0 1 0-2h6.238a1 1 0 0 1 0 2Zm0-4H4.828a1 1 0 0 1 0-2h6.238a1 1 0 1 1 0 2Z\"/>\n          <path d=\"M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z\"/>\n        </svg>\n        View full report\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Column chart\n\nYou can represent multiple data entries using columns by setting the `type: \"bar\"` option and also by updating the `horizontal` key value to `false` in JavaScript to adjust them vertically as columns:\n\n{{< example id=\"column-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n  colors: [\"#1A56DB\", \"#FDBA8C\"],\n  series: [\n    {\n      name: \"Organic\",\n      color: \"#1A56DB\",\n      data: [\n        { x: \"Mon\", y: 231 },\n        { x: \"Tue\", y: 122 },\n        { x: \"Wed\", y: 63 },\n        { x: \"Thu\", y: 421 },\n        { x: \"Fri\", y: 122 },\n        { x: \"Sat\", y: 323 },\n        { x: \"Sun\", y: 111 },\n      ],\n    },\n    {\n      name: \"Social media\",\n      color: \"#FDBA8C\",\n      data: [\n        { x: \"Mon\", y: 232 },\n        { x: \"Tue\", y: 113 },\n        { x: \"Wed\", y: 341 },\n        { x: \"Thu\", y: 224 },\n        { x: \"Fri\", y: 522 },\n        { x: \"Sat\", y: 411 },\n        { x: \"Sun\", y: 243 },\n      ],\n    },\n  ],\n  chart: {\n    type: \"bar\",\n    height: \"320px\",\n    fontFamily: \"Inter, sans-serif\",\n    toolbar: {\n      show: false,\n    },\n  },\n  plotOptions: {\n    bar: {\n      horizontal: false,\n      columnWidth: \"70%\",\n      borderRadiusApplication: \"end\",\n      borderRadius: 8,\n    },\n  },\n  tooltip: {\n    shared: true,\n    intersect: false,\n    style: {\n      fontFamily: \"Inter, sans-serif\",\n    },\n  },\n  states: {\n    hover: {\n      filter: {\n        type: \"darken\",\n        value: 1,\n      },\n    },\n  },\n  stroke: {\n    show: true,\n    width: 0,\n    colors: [\"transparent\"],\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -14\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  legend: {\n    show: false,\n  },\n  xaxis: {\n    floating: false,\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n      }\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n  },\n  fill: {\n    opacity: 1,\n  },\n}\n\nif(document.getElementById(\"column-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"column-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between pb-4 mb-4 border-b border-gray-200 dark:border-gray-700\">\n    <div class=\"flex items-center\">\n      <div class=\"w-12 h-12 rounded-lg bg-gray-100 dark:bg-gray-700 flex items-center justify-center me-3\">\n        <svg class=\"w-6 h-6 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 19\">\n          <path d=\"M14.5 0A3.987 3.987 0 0 0 11 2.1a4.977 4.977 0 0 1 3.9 5.858A3.989 3.989 0 0 0 14.5 0ZM9 13h2a4 4 0 0 1 4 4v2H5v-2a4 4 0 0 1 4-4Z\"/>\n          <path d=\"M5 19h10v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2ZM5 7a5.008 5.008 0 0 1 4-4.9 3.988 3.988 0 1 0-3.9 5.859A4.974 4.974 0 0 1 5 7Zm5 3a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm5-1h-.424a5.016 5.016 0 0 1-1.942 2.232A6.007 6.007 0 0 1 17 17h2a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5ZM5.424 9H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h2a6.007 6.007 0 0 1 4.366-5.768A5.016 5.016 0 0 1 5.424 9Z\"/>\n        </svg>\n      </div>\n      <div>\n        <h5 class=\"leading-none text-2xl font-bold text-gray-900 dark:text-white pb-1\">3.4k</h5>\n        <p class=\"text-sm font-normal text-gray-500 dark:text-gray-400\">Leads generated per week</p>\n      </div>\n    </div>\n    <div>\n      <span class=\"bg-green-100 text-green-800 text-xs font-medium inline-flex items-center px-2.5 py-1 rounded-md dark:bg-green-900 dark:text-green-300\">\n        <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n        </svg>\n        42.5%\n      </span>\n    </div>\n  </div>\n\n  <div class=\"grid grid-cols-2\">\n    <dl class=\"flex items-center\">\n        <dt class=\"text-gray-500 dark:text-gray-400 text-sm font-normal me-1\">Money spent:</dt>\n        <dd class=\"text-gray-900 text-sm dark:text-white font-semibold\">$3,232</dd>\n    </dl>\n    <dl class=\"flex items-center justify-end\">\n        <dt class=\"text-gray-500 dark:text-gray-400 text-sm font-normal me-1\">Conversion rate:</dt>\n        <dd class=\"text-gray-900 text-sm dark:text-white font-semibold\">1.2%</dd>\n    </dl>\n  </div>\n\n  <div id=\"column-chart\"></div>\n    <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n      <div class=\"flex justify-between items-center pt-5\">\n        <!-- Button -->\n        <button\n          id=\"dropdownDefaultButton\"\n          data-dropdown-toggle=\"lastDaysdropdown\"\n          data-dropdown-placement=\"bottom\"\n          class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n          type=\"button\">\n          Last 7 days\n          <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n          </svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n              </li>\n            </ul>\n        </div>\n        <a\n          href=\"#\"\n          class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n          Leads Report\n          <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n          </svg>\n        </a>\n      </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Bar chart\n\nCreate a horizontal bar chart with as many data series as you like by setting the `type: \"bar\"` chart type via JavaScript and copy the example below into your project. You can enable or disable the labels on the X or Y axis by setting `show` to `false` for the `xaxis` and `yaxis` objects of the chart options.\n\n{{< example id=\"bar-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n  series: [\n    {\n      name: \"Income\",\n      color: \"#31C48D\",\n      data: [\"1420\", \"1620\", \"1820\", \"1420\", \"1650\", \"2120\"],\n    },\n    {\n      name: \"Expense\",\n      data: [\"788\", \"810\", \"866\", \"788\", \"1100\", \"1200\"],\n      color: \"#F05252\",\n    }\n  ],\n  chart: {\n    sparkline: {\n      enabled: false,\n    },\n    type: \"bar\",\n    width: \"100%\",\n    height: 400,\n    toolbar: {\n      show: false,\n    }\n  },\n  fill: {\n    opacity: 1,\n  },\n  plotOptions: {\n    bar: {\n      horizontal: true,\n      columnWidth: \"100%\",\n      borderRadiusApplication: \"end\",\n      borderRadius: 6,\n      dataLabels: {\n        position: \"top\",\n      },\n    },\n  },\n  legend: {\n    show: true,\n    position: \"bottom\",\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  tooltip: {\n    shared: true,\n    intersect: false,\n    formatter: function (value) {\n      return \"$\" + value\n    }\n  },\n  xaxis: {\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n      },\n      formatter: function(value) {\n        return \"$\" + value\n      }\n    },\n    categories: [\"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n    axisTicks: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n  },\n  yaxis: {\n    labels: {\n      show: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n        cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n      }\n    }\n  },\n  grid: {\n    show: true,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -20\n    },\n  },\n  fill: {\n    opacity: 1,\n  }\n}\n\nif(document.getElementById(\"bar-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"bar-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between border-gray-200 border-b dark:border-gray-700 pb-3\">\n    <dl>\n      <dt class=\"text-base font-normal text-gray-500 dark:text-gray-400 pb-1\">Profit</dt>\n      <dd class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white\">$5,405</dd>\n    </dl>\n    <div>\n      <span class=\"bg-green-100 text-green-800 text-xs font-medium inline-flex items-center px-2.5 py-1 rounded-md dark:bg-green-900 dark:text-green-300\">\n        <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n        </svg>\n        Profit rate 23.5%\n      </span>\n    </div>\n  </div>\n\n  <div class=\"grid grid-cols-2 py-3\">\n    <dl>\n      <dt class=\"text-base font-normal text-gray-500 dark:text-gray-400 pb-1\">Income</dt>\n      <dd class=\"leading-none text-xl font-bold text-green-500 dark:text-green-400\">$23,635</dd>\n    </dl>\n    <dl>\n      <dt class=\"text-base font-normal text-gray-500 dark:text-gray-400 pb-1\">Expense</dt>\n      <dd class=\"leading-none text-xl font-bold text-red-600 dark:text-red-500\">-$18,230</dd>\n    </dl>\n  </div>\n\n  <div id=\"bar-chart\"></div>\n    <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n      <div class=\"flex justify-between items-center pt-5\">\n        <!-- Button -->\n        <button\n          id=\"dropdownDefaultButton\"\n          data-dropdown-toggle=\"lastDaysdropdown\"\n          data-dropdown-placement=\"bottom\"\n          class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n          type=\"button\">\n          Last 6 months\n          <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n          </svg>\n        </button>\n        <!-- Dropdown menu -->\n        <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n            <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 6 months</a>\n              </li>\n              <li>\n                <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last year</a>\n              </li>\n            </ul>\n        </div>\n        <a\n          href=\"#\"\n          class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n          Revenue Report\n          <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n          </svg>\n        </a>\n      </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Pie chart\n\nCreate a pie chart with multiple data series by setting the `type: \"pie\"` chart type option via JavaScript and copy the following HTML markup code and options from below:\n\n{{< example id=\"pie-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst getChartOptions = () => {\n  return {\n    series: [52.8, 26.8, 20.4],\n    colors: [\"#1C64F2\", \"#16BDCA\", \"#9061F9\"],\n    chart: {\n      height: 420,\n      width: \"100%\",\n      type: \"pie\",\n    },\n    stroke: {\n      colors: [\"white\"],\n      lineCap: \"\",\n    },\n    plotOptions: {\n      pie: {\n        labels: {\n          show: true,\n        },\n        size: \"100%\",\n        dataLabels: {\n          offset: -25\n        }\n      },\n    },\n    labels: [\"Direct\", \"Organic search\", \"Referrals\"],\n    dataLabels: {\n      enabled: true,\n      style: {\n        fontFamily: \"Inter, sans-serif\",\n      },\n    },\n    legend: {\n      position: \"bottom\",\n      fontFamily: \"Inter, sans-serif\",\n    },\n    yaxis: {\n      labels: {\n        formatter: function (value) {\n          return value + \"%\"\n        },\n      },\n    },\n    xaxis: {\n      labels: {\n        formatter: function (value) {\n          return value  + \"%\"\n        },\n      },\n      axisTicks: {\n        show: false,\n      },\n      axisBorder: {\n        show: false,\n      },\n    },\n  }\n}\n\nif (document.getElementById(\"pie-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"pie-chart\"), getChartOptions());\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n\n  <div class=\"flex justify-between items-start w-full\">\n      <div class=\"flex-col items-center\">\n        <div class=\"flex items-center mb-1\">\n            <h5 class=\"text-xl font-bold leading-none text-gray-900 dark:text-white me-1\">Website traffic</h5>\n            <svg data-popover-target=\"chart-info\" data-popover-placement=\"bottom\" class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n              <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm0 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm1-5.034V12a1 1 0 0 1-2 0v-1.418a1 1 0 0 1 1.038-.999 1.436 1.436 0 0 0 1.488-1.441 1.501 1.501 0 1 0-3-.116.986.986 0 0 1-1.037.961 1 1 0 0 1-.96-1.037A3.5 3.5 0 1 1 11 11.466Z\"/>\n            </svg>\n            <div data-popover id=\"chart-info\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n                <div class=\"p-3 space-y-2\">\n                    <h3 class=\"font-semibold text-gray-900 dark:text-white\">Activity growth - Incremental</h3>\n                    <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                    <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n                    <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                    <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n              </svg></a>\n            </div>\n            <div data-popper-arrow></div>\n        </div>\n      </div>\n      <button id=\"dateRangeButton\" data-dropdown-toggle=\"dateRangeDropdown\" data-dropdown-ignore-click-outside-class=\"datepicker\" type=\"button\" class=\"inline-flex items-center text-blue-700 dark:text-blue-600 font-medium hover:underline\">31 Nov - 31 Dev <svg class=\"w-3 h-3 ms-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <div id=\"dateRangeDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-80 lg:w-96 dark:bg-gray-700 dark:divide-gray-600\">\n          <div class=\"p-3\" aria-labelledby=\"dateRangeButton\">\n            <div date-rangepicker datepicker-autohide class=\"flex items-center\">\n                <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                      </svg>\n                  </div>\n                  <input name=\"start\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"Start date\">\n                </div>\n                <span class=\"mx-2 text-gray-500 dark:text-gray-400\">to</span>\n                <div class=\"relative\">\n                  <div class=\"absolute inset-y-0 start-0 flex items-center ps-3 pointer-events-none\">\n                      <svg class=\"w-4 h-4 text-gray-500 dark:text-gray-400\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                        <path d=\"M20 4a2 2 0 0 0-2-2h-2V1a1 1 0 0 0-2 0v1h-3V1a1 1 0 0 0-2 0v1H6V1a1 1 0 0 0-2 0v1H2a2 2 0 0 0-2 2v2h20V4ZM0 18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8H0v10Zm5-8h10a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z\"/>\n                      </svg>\n                  </div>\n                  <input name=\"end\" type=\"text\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full ps-10 p-2.5  dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500\" placeholder=\"End date\">\n              </div>\n            </div>\n          </div>\n      </div>\n    </div>\n    <div class=\"flex justify-end items-center\">\n      <button id=\"widgetDropdownButton\" data-dropdown-toggle=\"widgetDropdown\" data-dropdown-placement=\"bottom\" type=\"button\"  class=\"inline-flex items-center justify-center text-gray-500 w-8 h-8 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm\"><svg class=\"w-3.5 h-3.5 text-gray-800 dark:text-white\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 16 3\">\n          <path d=\"M2 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Zm6.041 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3ZM14 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3Z\"/>\n        </svg><span class=\"sr-only\">Open dropdown</span>\n      </button>\n      <div id=\"widgetDropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"widgetDropdownButton\">\n            <li>\n              <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 21 21\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7.418 17.861 1 20l2.139-6.418m4.279 4.279 10.7-10.7a3.027 3.027 0 0 0-2.14-5.165c-.802 0-1.571.319-2.139.886l-10.7 10.7m4.279 4.279-4.279-4.279m2.139 2.14 7.844-7.844m-1.426-2.853 4.279 4.279\"/>\n                </svg>Edit widget\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n                  <path d=\"M14.707 7.793a1 1 0 0 0-1.414 0L11 10.086V1.5a1 1 0 0 0-2 0v8.586L6.707 7.793a1 1 0 1 0-1.414 1.414l4 4a1 1 0 0 0 1.416 0l4-4a1 1 0 0 0-.002-1.414Z\"/>\n                  <path d=\"M18 12h-2.55l-2.975 2.975a3.5 3.5 0 0 1-4.95 0L4.55 12H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2Zm-3 5a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z\"/>\n                </svg>Download data\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 18 18\">\n                  <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5.953 7.467 6.094-2.612m.096 8.114L5.857 9.676m.305-1.192a2.581 2.581 0 1 1-5.162 0 2.581 2.581 0 0 1 5.162 0ZM17 3.84a2.581 2.581 0 1 1-5.162 0 2.581 2.581 0 0 1 5.162 0Zm0 10.322a2.581 2.581 0 1 1-5.162 0 2.581 2.581 0 0 1 5.162 0Z\"/>\n                </svg>Add to repository\n              </a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"flex items-center px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\"><svg class=\"w-3 h-3 me-2\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 18 20\">\n                  <path d=\"M17 4h-4V2a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v2H1a1 1 0 0 0 0 2h1v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1a1 1 0 1 0 0-2ZM7 2h4v2H7V2Zm1 14a1 1 0 1 1-2 0V8a1 1 0 0 1 2 0v8Zm4 0a1 1 0 0 1-2 0V8a1 1 0 0 1 2 0v8Z\"/>\n                </svg>Delete widget\n              </a>\n            </li>\n          </ul>\n    </div>\n  </div>\n  </div>\n\n  <!-- Line Chart -->\n  <div class=\"py-6\" id=\"pie-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Traffic analysis\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Donut chart\n\nSet the JavaScript API option to `type: \"donut\"` to create a donut chart and copy the options from the example below to style the elements such as the data series, legends and labels for the X and Y axis.\n\nIn this example we also show how you can set event listeners on the UI components from Flowbite to update the data series from the chart by clicking the device checkboxes.\n\n{{< example id=\"donut-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst getChartOptions = () => {\n  return {\n    series: [35.1, 23.5, 2.4, 5.4],\n    colors: [\"#1C64F2\", \"#16BDCA\", \"#FDBA8C\", \"#E74694\"],\n    chart: {\n      height: 320,\n      width: \"100%\",\n      type: \"donut\",\n    },\n    stroke: {\n      colors: [\"transparent\"],\n      lineCap: \"\",\n    },\n    plotOptions: {\n      pie: {\n        donut: {\n          labels: {\n            show: true,\n            name: {\n              show: true,\n              fontFamily: \"Inter, sans-serif\",\n              offsetY: 20,\n            },\n            total: {\n              showAlways: true,\n              show: true,\n              label: \"Unique visitors\",\n              fontFamily: \"Inter, sans-serif\",\n              formatter: function (w) {\n                const sum = w.globals.seriesTotals.reduce((a, b) => {\n                  return a + b\n                }, 0)\n                return '$' + sum + 'k'\n              },\n            },\n            value: {\n              show: true,\n              fontFamily: \"Inter, sans-serif\",\n              offsetY: -20,\n              formatter: function (value) {\n                return value + \"k\"\n              },\n            },\n          },\n          size: \"80%\",\n        },\n      },\n    },\n    grid: {\n      padding: {\n        top: -2,\n      },\n    },\n    labels: [\"Direct\", \"Sponsor\", \"Affiliate\", \"Email marketing\"],\n    dataLabels: {\n      enabled: false,\n    },\n    legend: {\n      position: \"bottom\",\n      fontFamily: \"Inter, sans-serif\",\n    },\n    yaxis: {\n      labels: {\n        formatter: function (value) {\n          return value + \"k\"\n        },\n      },\n    },\n    xaxis: {\n      labels: {\n        formatter: function (value) {\n          return value  + \"k\"\n        },\n      },\n      axisTicks: {\n        show: false,\n      },\n      axisBorder: {\n        show: false,\n      },\n    },\n  }\n}\n\nif (document.getElementById(\"donut-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"donut-chart\"), getChartOptions());\n  chart.render();\n\n  // Get all the checkboxes by their class name\n  const checkboxes = document.querySelectorAll('#devices input[type=\"checkbox\"]');\n\n  // Function to handle the checkbox change event\n  function handleCheckboxChange(event, chart) {\n      const checkbox = event.target;\n      if (checkbox.checked) {\n          switch(checkbox.value) {\n            case 'desktop':\n              chart.updateSeries([15.1, 22.5, 4.4, 8.4]);\n              break;\n            case 'tablet':\n              chart.updateSeries([25.1, 26.5, 1.4, 3.4]);\n              break;\n            case 'mobile':\n              chart.updateSeries([45.1, 27.5, 8.4, 2.4]);\n              break;\n            default:\n              chart.updateSeries([55.1, 28.5, 1.4, 5.4]);\n          }\n\n      } else {\n          chart.updateSeries([35.1, 23.5, 2.4, 5.4]);\n      }\n  }\n\n  // Attach the event listener to each checkbox\n  checkboxes.forEach((checkbox) => {\n      checkbox.addEventListener('change', (event) => handleCheckboxChange(event, chart));\n  });\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  \n  <div class=\"flex justify-between mb-3\">\n      <div class=\"flex justify-center items-center\">\n          <h5 class=\"text-xl font-bold leading-none text-gray-900 dark:text-white pe-1\">Website traffic</h5>\n          <svg data-popover-target=\"chart-info\" data-popover-placement=\"bottom\" class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n            <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm0 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm1-5.034V12a1 1 0 0 1-2 0v-1.418a1 1 0 0 1 1.038-.999 1.436 1.436 0 0 0 1.488-1.441 1.501 1.501 0 1 0-3-.116.986.986 0 0 1-1.037.961 1 1 0 0 1-.96-1.037A3.5 3.5 0 1 1 11 11.466Z\"/>\n          </svg>\n          <div data-popover id=\"chart-info\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n              <div class=\"p-3 space-y-2\">\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">Activity growth - Incremental</h3>\n                  <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                  <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n                  <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                  <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n              <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n            </svg></a>\n              </div>\n              <div data-popper-arrow></div>\n          </div>\n        </div>\n      <div>\n        <button type=\"button\" data-tooltip-target=\"data-tooltip\" data-tooltip-placement=\"bottom\" class=\"hidden sm:inline-flex items-center justify-center text-gray-500 w-8 h-8 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm\"><svg class=\"w-3.5 h-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 18\">\n    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 1v11m0 0 4-4m-4 4L4 8m11 4v3a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-3\"/>\n  </svg><span class=\"sr-only\">Download data</span>\n        </button>\n        <div id=\"data-tooltip\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Download CSV\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n      </div>\n  </div>\n\n  <div>\n    <div class=\"flex\" id=\"devices\">\n      <div class=\"flex items-center me-4\">\n          <input id=\"desktop\" type=\"checkbox\" value=\"desktop\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n          <label for=\"desktop\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Desktop</label>\n      </div>\n      <div class=\"flex items-center me-4\">\n          <input id=\"tablet\" type=\"checkbox\" value=\"tablet\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n          <label for=\"tablet\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Tablet</label>\n      </div>\n      <div class=\"flex items-center me-4\">\n          <input id=\"mobile\" type=\"checkbox\" value=\"mobile\" class=\"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600\">\n          <label for=\"mobile\" class=\"ms-2 text-sm font-medium text-gray-900 dark:text-gray-300\">Mobile</label>\n      </div>\n    </div>\n  </div>\n\n  <!-- Donut Chart -->\n  <div class=\"py-6\" id=\"donut-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Traffic analysis\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Radial chart\n\nTo create a radial chart with multiple data entries you need to set the `type: \"radialBar\"` when initialising a new chart and introduce multiple series and labels to the options and copy the following code:\n\n{{< example id=\"radial-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst getChartOptions = () => {\n  return {\n    series: [90, 85, 70],\n    colors: [\"#1C64F2\", \"#16BDCA\", \"#FDBA8C\"],\n    chart: {\n      height: \"350px\",\n      width: \"100%\",\n      type: \"radialBar\",\n      sparkline: {\n        enabled: true,\n      },\n    },\n    plotOptions: {\n      radialBar: {\n        track: {\n          background: '#E5E7EB',\n        },\n        dataLabels: {\n          show: false,\n        },\n        hollow: {\n          margin: 0,\n          size: \"32%\",\n        }\n      },\n    },\n    grid: {\n      show: false,\n      strokeDashArray: 4,\n      padding: {\n        left: 2,\n        right: 2,\n        top: -23,\n        bottom: -20,\n      },\n    },\n    labels: [\"Done\", \"In progress\", \"To do\"],\n    legend: {\n      show: true,\n      position: \"bottom\",\n      fontFamily: \"Inter, sans-serif\",\n    },\n    tooltip: {\n      enabled: true,\n      x: {\n        show: false,\n      },\n    },\n    yaxis: {\n      show: false,\n      labels: {\n        formatter: function (value) {\n          return value + '%';\n        }\n      }\n    }\n  }\n}\n\nif (document.getElementById(\"radial-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.querySelector(\"#radial-chart\"), getChartOptions());\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-3\">\n    <div class=\"flex items-center\">\n      <div class=\"flex justify-center items-center\">\n        <h5 class=\"text-xl font-bold leading-none text-gray-900 dark:text-white pe-1\">Your team's progress</h5>\n        <svg data-popover-target=\"chart-info\" data-popover-placement=\"bottom\" class=\"w-3.5 h-3.5 text-gray-500 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white cursor-pointer ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n          <path d=\"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm0 16a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm1-5.034V12a1 1 0 0 1-2 0v-1.418a1 1 0 0 1 1.038-.999 1.436 1.436 0 0 0 1.488-1.441 1.501 1.501 0 1 0-3-.116.986.986 0 0 1-1.037.961 1 1 0 0 1-.96-1.037A3.5 3.5 0 1 1 11 11.466Z\"/>\n        </svg>\n        <div data-popover id=\"chart-info\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block text-sm text-gray-500 transition-opacity duration-300 bg-white border border-gray-200 rounded-lg shadow-xs opacity-0 w-72 dark:bg-gray-800 dark:border-gray-600 dark:text-gray-400\">\n            <div class=\"p-3 space-y-2\">\n                <h3 class=\"font-semibold text-gray-900 dark:text-white\">Activity growth - Incremental</h3>\n                <p>Report helps navigate cumulative growth of community activities. Ideally, the chart should have a growing trend, as stagnating chart signifies a significant decrease of community activity.</p>\n                <h3 class=\"font-semibold text-gray-900 dark:text-white\">Calculation</h3>\n                <p>For each date bucket, the all-time volume of activities is calculated. This means that activities in period n contain all activities up to period n, plus the activities generated by your community in period.</p>\n                <a href=\"#\" class=\"flex items-center font-medium text-blue-600 dark:text-blue-500 dark:hover:text-blue-600 hover:text-blue-700 hover:underline\">Read more <svg class=\"w-2 h-2 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n          </svg></a>\n            </div>\n            <div data-popper-arrow></div>\n        </div>\n      </div>\n    </div>\n  </div>\n\n  <div class=\"bg-gray-50 dark:bg-gray-700 p-3 rounded-lg\">\n    <div class=\"grid grid-cols-3 gap-3 mb-2\">\n      <dl class=\"bg-orange-50 dark:bg-gray-600 rounded-lg flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-orange-100 dark:bg-gray-500 text-orange-600 dark:text-orange-300 text-sm font-medium flex items-center justify-center mb-1\">12</dt>\n        <dd class=\"text-orange-600 dark:text-orange-300 text-sm font-medium\">To do</dd>\n      </dl>\n      <dl class=\"bg-teal-50 dark:bg-gray-600 rounded-lg flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-teal-100 dark:bg-gray-500 text-teal-600 dark:text-teal-300 text-sm font-medium flex items-center justify-center mb-1\">23</dt>\n        <dd class=\"text-teal-600 dark:text-teal-300 text-sm font-medium\">In progress</dd>\n      </dl>\n      <dl class=\"bg-blue-50 dark:bg-gray-600 rounded-lg flex flex-col items-center justify-center h-[78px]\">\n        <dt class=\"w-8 h-8 rounded-full bg-blue-100 dark:bg-gray-500 text-blue-600 dark:text-blue-300 text-sm font-medium flex items-center justify-center mb-1\">64</dt>\n        <dd class=\"text-blue-600 dark:text-blue-300 text-sm font-medium\">Done</dd>\n      </dl>\n    </div>\n    <button data-collapse-toggle=\"more-details\" type=\"button\" class=\"hover:underline text-xs text-gray-500 dark:text-gray-400 font-medium inline-flex items-center\">Show more details <svg class=\"w-2 h-2 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n      </svg>\n    </button>\n    <div id=\"more-details\" class=\"border-gray-200 border-t dark:border-gray-600 pt-3 mt-3 space-y-2 hidden\">\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-gray-500 dark:text-gray-400 text-sm font-normal\">Average task completion rate:</dt>\n        <dd class=\"bg-green-100 text-green-800 text-xs font-medium inline-flex items-center px-2.5 py-1 rounded-md dark:bg-green-900 dark:text-green-300\">\n          <svg class=\"w-2.5 h-2.5 me-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n            <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n          </svg> 57%\n        </dd>\n      </dl>\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-gray-500 dark:text-gray-400 text-sm font-normal\">Days until sprint ends:</dt>\n        <dd class=\"bg-gray-100 text-gray-800 text-xs font-medium inline-flex items-center px-2.5 py-1 rounded-md dark:bg-gray-600 dark:text-gray-300\">13 days</dd>\n      </dl>\n      <dl class=\"flex items-center justify-between\">\n        <dt class=\"text-gray-500 dark:text-gray-400 text-sm font-normal\">Next meeting:</dt>\n        <dd class=\"bg-gray-100 text-gray-800 text-xs font-medium inline-flex items-center px-2.5 py-1 rounded-md dark:bg-gray-600 dark:text-gray-300\">Thursday</dd>\n      </dl>\n    </div>\n  </div>\n\n  <!-- Radial Chart -->\n  <div class=\"py-6\" id=\"radial-chart\"></div>\n\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Progress report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### Options\n\nLearn more about how you can customize the charts including the data, labels, legend indicators, size and appearance of the graphs, and other options by checking out the examples below.\n\n###### Data series\n\nYou can add multiple data sets by using the `series` object and setting a name, array of data and custom color of choice. In this example we added two data series based on a blue and purple color.\n\n{{< example id=\"data-series-chart\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// add data series via arrays, learn more here: https://apexcharts.com/docs/series/\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [1500, 1418, 1456, 1526, 1356, 1256],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [643, 413, 765, 412, 1423, 1731],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nlegend: {\n  show: false\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\ngrid: {\n  show: false,\n  strokeDashArray: 4,\n  padding: {\n    left: 2,\n    right: 2,\n    top: 0\n  },\n},\nxaxis: {\n  categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\n}\n\nif (document.getElementById(\"data-series-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"data-series-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"data-series-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Labels\n\nShow labels for the X and Y axis by enabling the `xaxis: {show: true}` and `yaxis: {show: true}` and customize the appearance of the labels by adding Tailwind CSS utility classes to the `cssClass` object based on the following example:\n\n{{< example id=\"labels-example-chart\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// set the labels option to true to show the labels on the X and Y axis\nxaxis: {\n  show: true,\n  categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n  labels: {\n    show: true,\n    style: {\n      fontFamily: \"Inter, sans-serif\",\n      cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n    }\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: true,\n  labels: {\n    show: true,\n    style: {\n      fontFamily: \"Inter, sans-serif\",\n      cssClass: 'text-xs font-normal fill-gray-500 dark:fill-gray-400'\n    },\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [150, 141, 145, 152, 135, 125],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [43, 13, 65, 12, 42, 73],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  sparkline: {\n    enabled: false\n  },\n  height: \"100%\",\n  width: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\nlegend: {\n  show: false\n},\ngrid: {\n  show: false,\n},\n}\n\nif (document.getElementById(\"labels-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"labels-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800\">\n  <div class=\"flex justify-between p-4 md:p-6 pb-0 md:pb-0\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"labels-chart\" class=\"px-2.5\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5 p-4 md:p-6 pt-0 md:pt-0\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Legends\n\nAutomatically show the legend indicators of the chart by setting the `legend: { show: true }` value when configuring the options via JavaScript. You can also set position of the legend by using the `position: {x}` option inside the legend object to place it to the top or bottom side of the chart.  \n\n{{< example id=\"legend-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// add data series via arrays, learn more here: https://apexcharts.com/docs/series/\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [1500, 1418, 1456, 1526, 1356, 1256],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [643, 413, 765, 412, 1423, 1731],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nlegend: {\n  show: true\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\ngrid: {\n  show: false,\n  strokeDashArray: 4,\n  padding: {\n    left: 2,\n    right: 2,\n    top: -26\n  },\n},\nxaxis: {\n  categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\n}\n\nif (document.getElementById(\"legend-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"legend-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"legend-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Tooltip\n\nEnable the tooltip that is shown when hovering over a data set by setting `{tooltip: {enabled: true}}` and customize the tooltip component via the following options:\n\n- `x: {show: false}` will show or hide the X axis data\n- `y: {show: true}` will show or hide the Y axis data\n\n{{< example id=\"tooltip-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// set this option to enable the tooltip for the chart, learn more here: https://apexcharts.com/docs/tooltip/\ntooltip: {\n  enabled: true,\n  x: {\n    show: true,\n  },\n  y: {\n    show: true,\n  },\n},\ngrid: {\n  show: false,\n  strokeDashArray: 4,\n  padding: {\n    left: 2,\n    right: 2,\n    top: -26\n  },\n},\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [1500, 1418, 1456, 1526, 1356, 1256],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [643, 413, 765, 412, 1423, 1731],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\nlegend: {\n  show: true\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\nxaxis: {\n  categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\n}\n\nif (document.getElementById(\"tooltip-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"tooltip-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"tooltip-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Grid\n\nAdd a grid layout of dashed lines to improve the readability of the data entries for the charts by configuring the `{grid: { show: true }}` object and customize the appearance via the `strokeDashArray` object.\n\n{{< example id=\"grid-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// set grid lines to improve the readability of the chart, learn more here: https://apexcharts.com/docs/grid/\ngrid: {\n  show: true,\n  strokeDashArray: 4,\n  padding: {\n    left: 2,\n    right: 2,\n    top: -26\n  },\n},\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [1500, 1418, 1456, 1526, 1356, 1256],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [643, 413, 765, 412, 1423, 1731],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nlegend: {\n  show: true\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\nxaxis: {\n  categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\n}\n\nif (document.getElementById(\"grid-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"grid-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"grid-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Data labels\n\nShow data points on the chart by enable the `dataLabels: {enabled: true}` object when configuring the options via JavaScript and customize the appearance based on the following example:\n\n{{< example id=\"data-labels-chart-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// enable and customize data labels using the following example, learn more from here: https://apexcharts.com/docs/datalabels/\ndataLabels: {\n  enabled: true,\n  // offsetX: 10,\n  style: {\n    cssClass: 'text-xs text-white font-medium'\n  },\n},\ngrid: {\n  show: false,\n  strokeDashArray: 4,\n  padding: {\n    left: 16,\n    right: 16,\n    top: -26\n  },\n},\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [150, 141, 145, 152, 135, 125],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [64, 41, 76, 41, 113, 173],\n    color: \"#7E3BF2\",\n  },\n],\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nlegend: {\n  show: true\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\nstroke: {\n  width: 6,\n},\nxaxis: {\n  categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '$' + value;\n    }\n  }\n},\n}\n\nif (document.getElementById(\"data-labels-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"data-labels-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"data-labels-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Format data\n\nIf you want to format and prefix your data with something such as a currency sign you can do that by using the `formatter` function. For example, here we use the euro (\"€\") sign instead of the dollar (\"$\").\n\n{{< example id=\"default-area-chart\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n// set the formatter callback function to format data\nyaxis: {\n  show: false,\n  labels: {\n    formatter: function (value) {\n      return '€' + value;\n    }\n  }\n},\nchart: {\n  height: \"100%\",\n  maxWidth: \"100%\",\n  type: \"area\",\n  fontFamily: \"Inter, sans-serif\",\n  dropShadow: {\n    enabled: false,\n  },\n  toolbar: {\n    show: false,\n  },\n},\ntooltip: {\n  enabled: true,\n  x: {\n    show: false,\n  },\n},\nfill: {\n  type: \"gradient\",\n  gradient: {\n    opacityFrom: 0.55,\n    opacityTo: 0,\n    shade: \"#1C64F2\",\n    gradientToColors: [\"#1C64F2\"],\n  },\n},\ndataLabels: {\n  enabled: false,\n},\nstroke: {\n  width: 6,\n},\ngrid: {\n  show: false,\n  strokeDashArray: 4,\n  padding: {\n    left: 2,\n    right: 2,\n    top: -26\n  },\n},\nseries: [\n  {\n    name: \"Developer Edition\",\n    data: [1500, 1418, 1456, 1526, 1356, 1256],\n    color: \"#1A56DB\",\n  },\n  {\n    name: \"Designer Edition\",\n    data: [643, 413, 765, 412, 1423, 1731],\n    color: \"#7E3BF2\",\n  },\n],\nxaxis: {\n  categories: ['01 Feb', '02 Feb', '03 Feb', '04 Feb', '05 Feb', '06 Feb', '07 Feb'],\n  labels: {\n    show: false,\n  },\n  axisBorder: {\n    show: false,\n  },\n  axisTicks: {\n    show: false,\n  },\n},\n}\n\nif (document.getElementById(\"main-chart\") && typeof ApexCharts !== 'undefined') {\nconst chart = new ApexCharts(document.getElementById(\"main-chart\"), options);\nchart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">€12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"main-chart\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n###### Chart size\n\nYou can set the size (width and height) of the chart by passing the `width: {size}` and `height: {size}` options via JavaScript to the chart object using pixels or percentages:\n\n{{< example id=\"size-example-chart\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/charts.md\" show_dark=true charts=true disable_init_js=true javascript=`\nconst options = {\n  chart: {\n    // add these lines to update the size of the chart\n    height: 240,\n    width: 240,\n    type: \"area\",\n    fontFamily: \"Inter, sans-serif\",\n    dropShadow: {\n      enabled: false,\n    },\n    toolbar: {\n      show: false,\n    },\n  },\n  tooltip: {\n    enabled: true,\n    x: {\n      show: false,\n    },\n  },\n  fill: {\n    type: \"gradient\",\n    gradient: {\n      opacityFrom: 0.55,\n      opacityTo: 0,\n      shade: \"#1C64F2\",\n      gradientToColors: [\"#1C64F2\"],\n    },\n  },\n  dataLabels: {\n    enabled: false,\n  },\n  stroke: {\n    width: 6,\n  },\n  grid: {\n    show: false,\n    strokeDashArray: 4,\n    padding: {\n      left: 2,\n      right: 2,\n      top: -26\n    },\n  },\n  series: [\n    {\n      name: \"Developer Edition\",\n      data: [1500, 1418, 1456, 1526, 1356, 1256],\n      color: \"#1A56DB\",\n    },\n    {\n      name: \"Designer Edition\",\n      data: [643, 413, 765, 412, 1423, 1731],\n      color: \"#7E3BF2\",\n    },\n  ],\n  xaxis: {\n    categories: ['01 February', '02 February', '03 February', '04 February', '05 February', '06 February', '07 February'],\n    labels: {\n      show: false,\n    },\n    axisBorder: {\n      show: false,\n    },\n    axisTicks: {\n      show: false,\n    },\n  },\n  yaxis: {\n    show: false,\n    labels: {\n      formatter: function (value) {\n        return '$' + value;\n      }\n    }\n  },\n}\n\nif (document.getElementById(\"size-chart\") && typeof ApexCharts !== 'undefined') {\n  const chart = new ApexCharts(document.getElementById(\"size-chart\"), options);\n  chart.render();\n}\n` >}}\n<div class=\"max-w-sm w-full bg-white rounded-lg shadow-sm dark:bg-gray-800 p-4 md:p-6\">\n  <div class=\"flex justify-between mb-5\">\n    <div>\n      <h5 class=\"leading-none text-3xl font-bold text-gray-900 dark:text-white pb-2\">$12,423</h5>\n      <p class=\"text-base font-normal text-gray-500 dark:text-gray-400\">Sales this week</p>\n    </div>\n    <div\n      class=\"flex items-center px-2.5 py-0.5 text-base font-semibold text-green-500 dark:text-green-500 text-center\">\n      23%\n      <svg class=\"w-3 h-3 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 14\">\n        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 13V1m0 0L1 5m4-4 4 4\"/>\n      </svg>\n    </div>\n  </div>\n  <div id=\"size-chart\" class=\"[&>div]:mx-auto\"></div>\n  <div class=\"grid grid-cols-1 items-center border-gray-200 border-t dark:border-gray-700 justify-between mt-5\">\n    <div class=\"flex justify-between items-center pt-5\">\n      <!-- Button -->\n      <button\n        id=\"dropdownDefaultButton\"\n        data-dropdown-toggle=\"lastDaysdropdown\"\n        data-dropdown-placement=\"bottom\"\n        class=\"text-sm font-medium text-gray-500 dark:text-gray-400 hover:text-gray-900 text-center inline-flex items-center dark:hover:text-white\"\n        type=\"button\">\n        Last 7 days\n        <svg class=\"w-2.5 m-2.5 ms-1.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n        </svg>\n      </button>\n      <!-- Dropdown menu -->\n      <div id=\"lastDaysdropdown\" class=\"z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow-sm w-44 dark:bg-gray-700\">\n          <ul class=\"py-2 text-sm text-gray-600 dark:text-gray-200\" aria-labelledby=\"dropdownDefaultButton\">\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Yesterday</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Today</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 7 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 30 days</a>\n            </li>\n            <li>\n              <a href=\"#\" class=\"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white\">Last 90 days</a>\n            </li>\n          </ul>\n      </div>\n      <a\n        href=\"#\"\n        class=\"uppercase text-sm font-semibold inline-flex items-center rounded-lg text-blue-600 hover:text-blue-700 dark:hover:text-blue-500  hover:bg-gray-100 dark:hover:bg-gray-700 dark:focus:ring-gray-700 dark:border-gray-700 px-3 py-2\">\n        Sales Report\n        <svg class=\"w-2.5 h-2.5 ms-1.5 rtl:rotate-180\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 6 10\">\n          <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 9 4-4-4-4\"/>\n        </svg>\n      </a>\n    </div>\n  </div>\n</div>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nWith the charts from Flowbite and through the API of ApexCharts you can programmatically configure and handle the behaviour of the components by using the methods directly on the chart object.\n\nFor example, here's how you can initialize a new chart with an options object and call the `render()` function:\n\n```javascript\nconst chart = new ApexCharts(el, options);\nchart.render();\n```\n\nYou can also update the options or data on demand. Here's an example how you can add or remove data:\n\n```javascript\nconst chart = new ApexCharts(el, options);\n\nchart.updateSeries([{\n  data: [342, 442, 311, 421, 212]\n}]);\n```\n\nYou can also toggle the visibility of a data series by calling the `toggleSeries()` method:\n\n```javascript\nconst chart = new ApexCharts(el, {\n  series: [{\n    name: 'Developer Edition'\n    data: [342, 442, 311, 421, 212]\n  }, {\n    name: 'Designer Edition'\n    data: [342, 442, 311, 421, 212]\n  }]\n});\n\nchart.toggleSeries('Designer Edition');\n```\n\nYou can read more about all of the methods by checking out the official <a href=\"https://apexcharts.com/docs/methods/#render\" rel=\"nofollow\">ApexCharts documentation</a>.\n\n##### More examples\n\nCheck out more chart examples built with Flowbite, Tailwind CSS and Flowbite with these resources:\n\n- [Flowbite Admin Dashboard](https://github.com/themesberg/flowbite-admin-dashboard)\n\n#### Datatables\n\nThe datatable component examples from Flowbite are open-source under the MIT License and they are based on the [simple-datatables](https://github.com/fiduswriter/simple-datatables) repository from GitHub which you need to install via NPM or CDN.\n\nThis page provides multiple examples of datatable components where you can search, sort, filter, paginate and export table data up to thousands of entries coded with Tailwind CSS and leveraging JavaScript code provided by the parent library.\n\nAll examples are responsive, dark mode and RTL support included and by installing the Flowbite plugin the custom styles will automatically be applied to the datatable components using Tailwind CSS.\n\n##### Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite, and Simple Datables in your project.\n\n1. Install Tailwind CSS and follow our <a href=\"{{< ref \"getting-started/quickstart\" >}}\">quickstart guide</a> to install Flowbite and the official plugin\n\n2. Install the `simple-datatables` library using NPM:\n\n```bash\nnpm install simple-datatables --save\n```\n\nAlternatively, you can also include it in your project using CDN:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/simple-datatables@9.0.3\"></script>\n```\n\nNow that you have installed all libraries you can start copy-pasting the datatable components from Flowbite.\n\nMake sure that in addition to the HTML markup you also copy the JavaScript code to initialize the component.\n\n##### Default datatable\n\nUse this example to show table data with default sorting and pagination functionalities.\n\n{{< example id=\"default-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"default-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#default-table\", {\n        searchable: false,\n        perPageSelect: false\n    });\n}\n` >}}\n<table id=\"default-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### Table search\n\nSet the `searchable` option to `true` to enable the search functionality for all table data.\n\n{{< example id=\"search-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"search-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#search-table\", {\n        searchable: true,\n        sortable: false\n    });\n}\n` >}}\n<table id=\"search-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Company Name\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Ticker\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Stock Price\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Market Capitalization\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple Inc.</td>\n            <td>AAPL</td>\n            <td>$192.58</td>\n            <td>$3.04T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Microsoft Corporation</td>\n            <td>MSFT</td>\n            <td>$340.54</td>\n            <td>$2.56T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Alphabet Inc.</td>\n            <td>GOOGL</td>\n            <td>$134.12</td>\n            <td>$1.72T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Amazon.com Inc.</td>\n            <td>AMZN</td>\n            <td>$138.01</td>\n            <td>$1.42T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">NVIDIA Corporation</td>\n            <td>NVDA</td>\n            <td>$466.19</td>\n            <td>$1.16T</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Tesla Inc.</td>\n            <td>TSLA</td>\n            <td>$255.98</td>\n            <td>$811.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Meta Platforms Inc.</td>\n            <td>META</td>\n            <td>$311.71</td>\n            <td>$816.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Berkshire Hathaway Inc.</td>\n            <td>BRK.B</td>\n            <td>$354.08</td>\n            <td>$783.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">TSMC</td>\n            <td>TSM</td>\n            <td>$103.51</td>\n            <td>$538.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">UnitedHealth Group Incorporated</td>\n            <td>UNH</td>\n            <td>$501.96</td>\n            <td>$466.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Johnson & Johnson</td>\n            <td>JNJ</td>\n            <td>$172.85</td>\n            <td>$452.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">JPMorgan Chase & Co.</td>\n            <td>JPM</td>\n            <td>$150.23</td>\n            <td>$431.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Visa Inc.</td>\n            <td>V</td>\n            <td>$246.39</td>\n            <td>$519.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Eli Lilly and Company</td>\n            <td>LLY</td>\n            <td>$582.97</td>\n            <td>$552.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Walmart Inc.</td>\n            <td>WMT</td>\n            <td>$159.67</td>\n            <td>$429.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Samsung Electronics Co., Ltd.</td>\n            <td>005930.KS</td>\n            <td>$70.22</td>\n            <td>$429.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Procter & Gamble Co.</td>\n            <td>PG</td>\n            <td>$156.47</td>\n            <td>$366.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nestlé S.A.</td>\n            <td>NESN.SW</td>\n            <td>$120.51</td>\n            <td>$338.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Roche Holding AG</td>\n            <td>ROG.SW</td>\n            <td>$296.00</td>\n            <td>$317.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Chevron Corporation</td>\n            <td>CVX</td>\n            <td>$160.92</td>\n            <td>$310.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">LVMH Moët Hennessy Louis Vuitton</td>\n            <td>MC.PA</td>\n            <td>$956.60</td>\n            <td>$478.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Pfizer Inc.</td>\n            <td>PFE</td>\n            <td>$35.95</td>\n            <td>$200.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Novo Nordisk A/S</td>\n            <td>NVO</td>\n            <td>$189.15</td>\n            <td>$443.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">PepsiCo, Inc.</td>\n            <td>PEP</td>\n            <td>$182.56</td>\n            <td>$311.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">ASML Holding N.V.</td>\n            <td>ASML</td>\n            <td>$665.72</td>\n            <td>$273.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">The Coca-Cola Company</td>\n            <td>KO</td>\n            <td>$61.37</td>\n            <td>$265.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Oracle Corporation</td>\n            <td>ORCL</td>\n            <td>$118.36</td>\n            <td>$319.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Merck & Co., Inc.</td>\n            <td>MRK</td>\n            <td>$109.12</td>\n            <td>$276.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Broadcom Inc.</td>\n            <td>AVGO</td>\n            <td>$861.80</td>\n            <td>$356.00B</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Mastercard Incorporated</td>\n            <td>MA</td>\n            <td>$421.44</td>\n            <td>$396.00B</td>\n        </tr>\n    </tbody>\n</table>\n\n{{< /example >}}\n\n##### Filtering data\n\nTo enable filtering data based on a search query for each column you need to copy the custom code from the JavaScript tab and the HTML structure of the table. Enabling search for each individual data column is an advanced way of letting users browse complex data.\n\n{{< example id=\"filter-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"filter-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#filter-table\", {\n        tableRender: (_data, table, type) => {\n            if (type === \"print\") {\n                return table\n            }\n            const tHead = table.childNodes[0]\n            const filterHeaders = {\n                nodeName: \"TR\",\n                attributes: {\n                    class: \"search-filtering-row\"\n                },\n                childNodes: tHead.childNodes[0].childNodes.map(\n                    (_th, index) => ({nodeName: \"TH\",\n                        childNodes: [\n                            {\n                                nodeName: \"INPUT\",\n                                attributes: {\n                                    class: \"datatable-input\",\n                                    type: \"search\",\n                                    \"data-columns\": \"[\" + index + \"]\"\n                                }\n                            }\n                        ]})\n                )\n            }\n            tHead.childNodes.push(filterHeaders)\n            return table\n        }\n    });\n}\n` >}}\n<table id=\"filter-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Category\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Brand\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Price\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Stock\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Total Sales\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Status\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple iMac</td>\n            <td>Computers</td>\n            <td>Apple</td>\n            <td>$1,299</td>\n            <td>50</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple iPhone</td>\n            <td>Mobile Phones</td>\n            <td>Apple</td>\n            <td>$999</td>\n            <td>120</td>\n            <td>300</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Samsung Galaxy</td>\n            <td>Mobile Phones</td>\n            <td>Samsung</td>\n            <td>$899</td>\n            <td>80</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Dell XPS 13</td>\n            <td>Computers</td>\n            <td>Dell</td>\n            <td>$1,099</td>\n            <td>30</td>\n            <td>120</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">HP Spectre x360</td>\n            <td>Computers</td>\n            <td>HP</td>\n            <td>$1,299</td>\n            <td>25</td>\n            <td>80</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Google Pixel 6</td>\n            <td>Mobile Phones</td>\n            <td>Google</td>\n            <td>$799</td>\n            <td>100</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Sony WH-1000XM4</td>\n            <td>Headphones</td>\n            <td>Sony</td>\n            <td>$349</td>\n            <td>60</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple AirPods Pro</td>\n            <td>Headphones</td>\n            <td>Apple</td>\n            <td>$249</td>\n            <td>200</td>\n            <td>300</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Asus ROG Zephyrus</td>\n            <td>Computers</td>\n            <td>Asus</td>\n            <td>$1,899</td>\n            <td>15</td>\n            <td>50</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Microsoft Surface Pro 7</td>\n            <td>Computers</td>\n            <td>Microsoft</td>\n            <td>$899</td>\n            <td>40</td>\n            <td>100</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Samsung QLED TV</td>\n            <td>Televisions</td>\n            <td>Samsung</td>\n            <td>$1,299</td>\n            <td>25</td>\n            <td>70</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">LG OLED TV</td>\n            <td>Televisions</td>\n            <td>LG</td>\n            <td>$1,499</td>\n            <td>20</td>\n            <td>50</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Canon EOS R5</td>\n            <td>Cameras</td>\n            <td>Canon</td>\n            <td>$3,899</td>\n            <td>10</td>\n            <td>30</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nikon Z7 II</td>\n            <td>Cameras</td>\n            <td>Nikon</td>\n            <td>$3,299</td>\n            <td>8</td>\n            <td>25</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple Watch Series 7</td>\n            <td>Wearables</td>\n            <td>Apple</td>\n            <td>$399</td>\n            <td>150</td>\n            <td>500</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Fitbit Charge 5</td>\n            <td>Wearables</td>\n            <td>Fitbit</td>\n            <td>$179</td>\n            <td>100</td>\n            <td>250</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Dyson V11 Vacuum</td>\n            <td>Home Appliances</td>\n            <td>Dyson</td>\n            <td>$599</td>\n            <td>30</td>\n            <td>90</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">iRobot Roomba i7+</td>\n            <td>Home Appliances</td>\n            <td>iRobot</td>\n            <td>$799</td>\n            <td>20</td>\n            <td>70</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bose SoundLink Revolve</td>\n            <td>Speakers</td>\n            <td>Bose</td>\n            <td>$199</td>\n            <td>80</td>\n            <td>200</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Sonos One</td>\n            <td>Speakers</td>\n            <td>Sonos</td>\n            <td>$219</td>\n            <td>60</td>\n            <td>180</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple iPad Pro</td>\n            <td>Tablets</td>\n            <td>Apple</td>\n            <td>$1,099</td>\n            <td>50</td>\n            <td>150</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Samsung Galaxy Tab S7</td>\n            <td>Tablets</td>\n            <td>Samsung</td>\n            <td>$649</td>\n            <td>70</td>\n            <td>130</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Amazon Echo Dot</td>\n            <td>Smart Home</td>\n            <td>Amazon</td>\n            <td>$49</td>\n            <td>300</td>\n            <td>800</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Google Nest Hub</td>\n            <td>Smart Home</td>\n            <td>Google</td>\n            <td>$89</td>\n            <td>150</td>\n            <td>400</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">PlayStation 5</td>\n            <td>Gaming Consoles</td>\n            <td>Sony</td>\n            <td>$499</td>\n            <td>10</td>\n            <td>500</td>\n            <td>Out of Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Xbox Series X</td>\n            <td>Gaming Consoles</td>\n            <td>Microsoft</td>\n            <td>$499</td>\n            <td>15</td>\n            <td>450</td>\n            <td>Out of Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nintendo Switch</td>\n            <td>Gaming Consoles</td>\n            <td>Nintendo</td>\n            <td>$299</td>\n            <td>40</td>\n            <td>600</td>\n            <td>In Stock</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Apple MacBook Pro</td>\n            <td>Computers</td>\n            <td>Apple</td>\n            <td>$1,299</td>\n            <td>20</td>\n            <td>100</td>\n            <td>In Stock</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### Sorting data\n\nBy setting the value `sortable` to `true` you'll enable all data rows from the datatable to be sortable by clicking on the table column heading. You can also disable it by setting the same option to `false`.\n\n{{< example id=\"sorting-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"sorting-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#sorting-table\", {\n        searchable: false,\n        perPageSelect: false,\n        sortable: true\n    });\n}\n` >}}\n<table id=\"sorting-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Country\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    GDP\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Population\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    GDP per Capita\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">United States</td>\n            <td>$21433 billion</td>\n            <td>331 million</td>\n            <td>$64763</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">China</td>\n            <td>$14342 billion</td>\n            <td>1441 million</td>\n            <td>$9957</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Japan</td>\n            <td>$5082 billion</td>\n            <td>126 million</td>\n            <td>$40335</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Germany</td>\n            <td>$3846 billion</td>\n            <td>83 million</td>\n            <td>$46386</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">India</td>\n            <td>$2875 billion</td>\n            <td>1380 million</td>\n            <td>$2083</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">United Kingdom</td>\n            <td>$2829 billion</td>\n            <td>67 million</td>\n            <td>$42224</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">France</td>\n            <td>$2716 billion</td>\n            <td>65 million</td>\n            <td>$41723</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Italy</td>\n            <td>$2001 billion</td>\n            <td>60 million</td>\n            <td>$33350</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Canada</td>\n            <td>$1643 billion</td>\n            <td>38 million</td>\n            <td>$43237</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">South Korea</td>\n            <td>$1631 billion</td>\n            <td>52 million</td>\n            <td>$31365</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Russia</td>\n            <td>$1460 billion</td>\n            <td>144 million</td>\n            <td>$10139</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Brazil</td>\n            <td>$1430 billion</td>\n            <td>213 million</td>\n            <td>$6718</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Australia</td>\n            <td>$1393 billion</td>\n            <td>25 million</td>\n            <td>$55720</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Spain</td>\n            <td>$1326 billion</td>\n            <td>47 million</td>\n            <td>$28255</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Mexico</td>\n            <td>$1194 billion</td>\n            <td>129 million</td>\n            <td>$9255</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Indonesia</td>\n            <td>$1158 billion</td>\n            <td>273 million</td>\n            <td>$4241</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Netherlands</td>\n            <td>$1010 billion</td>\n            <td>17 million</td>\n            <td>$59412</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Saudi Arabia</td>\n            <td>$804 billion</td>\n            <td>35 million</td>\n            <td>$22914</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Turkey</td>\n            <td>$761 billion</td>\n            <td>84 million</td>\n            <td>$9060</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Switzerland</td>\n            <td>$741 billion</td>\n            <td>9 million</td>\n            <td>$82333</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### Table pagination\n\nPagination is enabled by default for all datatables from Flowbite, however, you can disable it by setting the option `paging` to `false`. Use the `perPage` option to specify how many data rows to show by default. \n\nYou can also set the `perPageSelect` option to set the selection options of the table.\n\n{{< example id=\"pagination-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"pagination-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n    const dataTable = new simpleDatatables.DataTable(\"#pagination-table\", {\n        paging: true,\n        perPage: 5,\n        perPageSelect: [5, 10, 15, 20, 25],\n        sortable: false\n    });\n}\n` >}}\n<table id=\"pagination-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Model Name\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Developer\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"Month YYYY\">\n                <span class=\"flex items-center\">\n                    Release Date\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Parameters\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Primary Application\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">GPT-4</td>\n            <td>OpenAI</td>\n            <td>March 2023</td>\n            <td>1 trillion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">BERT</td>\n            <td>Google</td>\n            <td>October 2018</td>\n            <td>340 million</td>\n            <td>Natural Language Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">DALL-E 2</td>\n            <td>OpenAI</td>\n            <td>April 2022</td>\n            <td>3.5 billion</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">T5</td>\n            <td>Google</td>\n            <td>October 2019</td>\n            <td>11 billion</td>\n            <td>Text-to-Text Transfer</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">GPT-3.5</td>\n            <td>OpenAI</td>\n            <td>November 2022</td>\n            <td>175 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Codex</td>\n            <td>OpenAI</td>\n            <td>August 2021</td>\n            <td>12 billion</td>\n            <td>Code Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">PaLM 2</td>\n            <td>Google</td>\n            <td>May 2023</td>\n            <td>540 billion</td>\n            <td>Multilingual Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">LaMDA</td>\n            <td>Google</td>\n            <td>May 2021</td>\n            <td>137 billion</td>\n            <td>Conversational AI</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">CLIP</td>\n            <td>OpenAI</td>\n            <td>January 2021</td>\n            <td>400 million</td>\n            <td>Image and Text Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">XLNet</td>\n            <td>Google</td>\n            <td>June 2019</td>\n            <td>340 million</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Meena</td>\n            <td>Google</td>\n            <td>January 2020</td>\n            <td>2.6 billion</td>\n            <td>Conversational AI</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">BigGAN</td>\n            <td>Google</td>\n            <td>September 2018</td>\n            <td>Unlimited</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Electra</td>\n            <td>Google</td>\n            <td>March 2020</td>\n            <td>14 million</td>\n            <td>Natural Language Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Swin Transformer</td>\n            <td>Microsoft</td>\n            <td>April 2021</td>\n            <td>88 million</td>\n            <td>Vision Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">GPT-NeoX-20B</td>\n            <td>EleutherAI</td>\n            <td>April 2022</td>\n            <td>20 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Ernie 3.0</td>\n            <td>Baidu</td>\n            <td>July 2021</td>\n            <td>10 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Turing-NLG</td>\n            <td>Microsoft</td>\n            <td>February 2020</td>\n            <td>17 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Wu Dao 2.0</td>\n            <td>Beijing Academy of AI</td>\n            <td>June 2021</td>\n            <td>1.75 trillion</td>\n            <td>Multimodal Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Jukebox</td>\n            <td>OpenAI</td>\n            <td>April 2020</td>\n            <td>1.2 billion</td>\n            <td>Music Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">StyleGAN2</td>\n            <td>NVIDIA</td>\n            <td>February 2020</td>\n            <td>Unlimited</td>\n            <td>Image Generation</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">FLAN</td>\n            <td>Google</td>\n            <td>December 2021</td>\n            <td>137 billion</td>\n            <td>Few-shot Learning</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">GShard</td>\n            <td>Google</td>\n            <td>June 2020</td>\n            <td>600 billion</td>\n            <td>Multilingual Understanding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">AlphaFold</td>\n            <td>DeepMind</td>\n            <td>December 2020</td>\n            <td>Unknown</td>\n            <td>Protein Folding</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">GPT-J</td>\n            <td>EleutherAI</td>\n            <td>June 2021</td>\n            <td>6 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">M6</td>\n            <td>Alibaba</td>\n            <td>December 2020</td>\n            <td>10 billion</td>\n            <td>Multimodal Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Megatron-Turing NLG</td>\n            <td>NVIDIA & Microsoft</td>\n            <td>October 2021</td>\n            <td>530 billion</td>\n            <td>Natural Language Processing</td>\n        </tr>\n        <tr>\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">DeepSpeed</td>\n            <td>Microsoft</td>\n            <td>February 2020</td>\n            <td>Not disclosed</td>\n            <td>AI Training Optimization</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### Selecting rows\n\nUse this example to enable the selection of rows by clicking anywhere one of the table row elements by copying setting the `multiselect` option to `true` and copying the JavaScript configuration from Flowbite.\n\nUse the `datatable.selectrow` event to write your own code and get the data from the selected table row.\n\n{{< example id=\"selection-datatable-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"selection-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n\n    let multiSelect = true;\n    let rowNavigation = false;\n    let table = null;\n\n    const resetTable = function() {\n        if (table) {\n            table.destroy();\n        }\n\n        const options = {\n            rowRender: (row, tr, _index) => {\n                if (!tr.attributes) {\n                    tr.attributes = {};\n                }\n                if (!tr.attributes.class) {\n                    tr.attributes.class = \"\";\n                }\n                if (row.selected) {\n                    tr.attributes.class += \" selected\";\n                } else {\n                    tr.attributes.class = tr.attributes.class.replace(\" selected\", \"\");\n                }\n                return tr;\n            }\n        };\n        if (rowNavigation) {\n            options.rowNavigation = true;\n            options.tabIndex = 1;\n        }\n\n        table = new simpleDatatables.DataTable(\"#selection-table\", options);\n\n        // Mark all rows as unselected\n        table.data.data.forEach(data => {\n            data.selected = false;\n        });\n\n        table.on(\"datatable.selectrow\", (rowIndex, event) => {\n            event.preventDefault();\n            const row = table.data.data[rowIndex];\n            if (row.selected) {\n                row.selected = false;\n            } else {\n                if (!multiSelect) {\n                    table.data.data.forEach(data => {\n                        data.selected = false;\n                    });\n                }\n                row.selected = true;\n            }\n            table.update();\n        });\n    };\n\n    // Row navigation makes no sense on mobile, so we deactivate it and hide the checkbox.\n    const isMobile = window.matchMedia(\"(any-pointer:coarse)\").matches;\n    if (isMobile) {\n        rowNavigation = false;\n    }\n\n    resetTable();\n}\n` >}}\n<table id=\"selection-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### Export files\n\nIf you want to enable the export of the table data, you can use the `simpleDatatables.exportCSV` function to export the data as a CSV file. The option is also available for TXT, JSON, and SQL formats.\n\n{{< example id=\"export-datatable-example\" class=\"dark:bg-gray-900\" github=\"plugins/datatables.md\" show_dark=true datatables=true disable_init_js=true javascript=`\nif (document.getElementById(\"export-table\") && typeof simpleDatatables.DataTable !== 'undefined') {\n\n    const exportCustomCSV = function(dataTable, userOptions = {}) {\n        // A modified CSV export that includes a row of minuses at the start and end.\n        const clonedUserOptions = {\n            ...userOptions\n        }\n        clonedUserOptions.download = false\n        const csv = simpleDatatables.exportCSV(dataTable, clonedUserOptions)\n        // If CSV didn't work, exit.\n        if (!csv) {\n            return false\n        }\n        const defaults = {\n            download: true,\n            lineDelimiter: \"\\n\",\n            columnDelimiter: \";\"\n        }\n        const options = {\n            ...defaults,\n            ...clonedUserOptions\n        }\n        const separatorRow = Array(dataTable.data.headings.filter((_heading, index) => !dataTable.columns.settings[index]?.hidden).length)\n            .fill(\"+\")\n            .join(\"+\"); // Use \"+\" as the delimiter\n\n        const str = separatorRow + options.lineDelimiter + csv + options.lineDelimiter + separatorRow;\n\n        if (userOptions.download) {\n            // Create a link to trigger the download\n            const link = document.createElement(\"a\");\n            link.href = encodeURI(\"data:text/csv;charset=utf-8,\" + str);\n            link.download = (options.filename || \"datatable_export\") + \".txt\";\n            // Append the link\n            document.body.appendChild(link);\n            // Trigger the download\n            link.click();\n            // Remove the link\n            document.body.removeChild(link);\n        }\n\n        return str\n    }\n    const table = new simpleDatatables.DataTable(\"#export-table\", {\n        template: (options, dom) => \"<div class='\" + options.classes.top + \"'>\" +\n            \"<div class='flex flex-col sm:flex-row sm:items-center space-y-4 sm:space-y-0 sm:space-x-3 rtl:space-x-reverse w-full sm:w-auto'>\" +\n            (options.paging && options.perPageSelect ?\n                \"<div class='\" + options.classes.dropdown + \"'>\" +\n                    \"<label>\" +\n                        \"<select class='\" + options.classes.selector + \"'></select> \" + options.labels.perPage +\n                    \"</label>\" +\n                \"</div>\" : \"\"\n            ) + \"<button id='exportDropdownButton' type='button' class='flex w-full items-center justify-center rounded-lg border border-gray-200 bg-white px-3 py-2 text-sm font-medium text-gray-900 hover:bg-gray-100 hover:text-primary-700 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700 sm:w-auto'>\" +\n            \"Export as\" +\n            \"<svg class='-me-0.5 ms-1.5 h-4 w-4' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' viewBox='0 0 24 24'>\" +\n                \"<path stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m19 9-7 7-7-7' />\" +\n            \"</svg>\" +\n        \"</button>\" +\n        \"<div id='exportDropdown' class='z-10 hidden w-52 divide-y divide-gray-100 rounded-lg bg-white shadow-sm dark:bg-gray-700' data-popper-placement='bottom'>\" +\n            \"<ul class='p-2 text-left text-sm font-medium text-gray-500 dark:text-gray-400' aria-labelledby='exportDropdownButton'>\" +\n                \"<li>\" +\n                    \"<button id='export-csv' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm1.018 8.828a2.34 2.34 0 0 0-2.373 2.13v.008a2.32 2.32 0 0 0 2.06 2.497l.535.059a.993.993 0 0 0 .136.006.272.272 0 0 1 .263.367l-.008.02a.377.377 0 0 1-.018.044.49.49 0 0 1-.078.02 1.689 1.689 0 0 1-.297.021h-1.13a1 1 0 1 0 0 2h1.13c.417 0 .892-.05 1.324-.279.47-.248.78-.648.953-1.134a2.272 2.272 0 0 0-2.115-3.06l-.478-.052a.32.32 0 0 1-.285-.341.34.34 0 0 1 .344-.306l.94.02a1 1 0 1 0 .043-2l-.943-.02h-.003Zm7.933 1.482a1 1 0 1 0-1.902-.62l-.57 1.747-.522-1.726a1 1 0 0 0-1.914.578l1.443 4.773a1 1 0 0 0 1.908.021l1.557-4.773Zm-13.762.88a.647.647 0 0 1 .458-.19h1.018a1 1 0 1 0 0-2H6.647A2.647 2.647 0 0 0 4 13.647v1.706A2.647 2.647 0 0 0 6.647 18h1.018a1 1 0 1 0 0-2H6.647A.647.647 0 0 1 6 15.353v-1.706c0-.172.068-.336.19-.457Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export CSV</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-json' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Zm-.293 9.293a1 1 0 0 1 0 1.414L9.414 14l1.293 1.293a1 1 0 0 1-1.414 1.414l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 0Zm2.586 1.414a1 1 0 0 1 1.414-1.414l2 2a1 1 0 0 1 0 1.414l-2 2a1 1 0 0 1-1.414-1.414L14.586 14l-1.293-1.293Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export JSON</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-txt' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path fill-rule='evenodd' d='M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7ZM8 16a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1-5a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9Z' clip-rule='evenodd'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export TXT</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n                \"<li>\" +\n                    \"<button id='export-sql' class='group inline-flex w-full items-center rounded-md px-3 py-2 text-sm text-gray-500 hover:bg-gray-100 hover:text-gray-900 dark:text-gray-400 dark:hover:bg-gray-600 dark:hover:text-white'>\" +\n                        \"<svg class='me-1.5 h-4 w-4 text-gray-400 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='currentColor' viewBox='0 0 24 24'>\" +\n                            \"<path d='M12 7.205c4.418 0 8-1.165 8-2.602C20 3.165 16.418 2 12 2S4 3.165 4 4.603c0 1.437 3.582 2.602 8 2.602ZM12 22c4.963 0 8-1.686 8-2.603v-4.404c-.052.032-.112.06-.165.09a7.75 7.75 0 0 1-.745.387c-.193.088-.394.173-.6.253-.063.024-.124.05-.189.073a18.934 18.934 0 0 1-6.3.998c-2.135.027-4.26-.31-6.3-.998-.065-.024-.126-.05-.189-.073a10.143 10.143 0 0 1-.852-.373 7.75 7.75 0 0 1-.493-.267c-.053-.03-.113-.058-.165-.09v4.404C4 20.315 7.037 22 12 22Zm7.09-13.928a9.91 9.91 0 0 1-.6.253c-.063.025-.124.05-.189.074a18.935 18.935 0 0 1-6.3.998c-2.135.027-4.26-.31-6.3-.998-.065-.024-.126-.05-.189-.074a10.163 10.163 0 0 1-.852-.372 7.816 7.816 0 0 1-.493-.268c-.055-.03-.115-.058-.167-.09V12c0 .917 3.037 2.603 8 2.603s8-1.686 8-2.603V7.596c-.052.031-.112.059-.165.09a7.816 7.816 0 0 1-.745.386Z'/>\" +\n                        \"</svg>\" +\n                        \"<span>Export SQL</span>\" +\n                    \"</button>\" +\n                \"</li>\" +\n            \"</ul>\" +\n        \"</div>\" + \"</div>\" +\n            (options.searchable ?\n                \"<div class='\" + options.classes.search + \"'>\" +\n                    \"<input class='\" + options.classes.input + \"' placeholder='\" + options.labels.placeholder + \"' type='search' title='\" + options.labels.searchTitle + \"'\" + (dom.id ? \" aria-controls='\" + dom.id + \"'\" : \"\") + \">\" +\n                \"</div>\" : \"\"\n            ) +\n        \"</div>\" +\n        \"<div class='\" + options.classes.container + \"'\" + (options.scrollY.length ? \" style='height: \" + options.scrollY + \"; overflow-Y: auto;'\" : \"\") + \"></div>\" +\n        \"<div class='\" + options.classes.bottom + \"'>\" +\n            (options.paging ?\n                \"<div class='\" + options.classes.info + \"'></div>\" : \"\"\n            ) +\n            \"<nav class='\" + options.classes.pagination + \"'></nav>\" +\n        \"</div>\"\n    })\n    const $exportButton = document.getElementById(\"exportDropdownButton\");\n    const $exportDropdownEl = document.getElementById(\"exportDropdown\");\n    const dropdown = new Dropdown($exportDropdownEl, $exportButton);\n    console.log(dropdown)\n\n    document.getElementById(\"export-csv\").addEventListener(\"click\", () => {\n        simpleDatatables.exportCSV(table, {\n            download: true,\n            lineDelimiter: \"\\n\",\n            columnDelimiter: \";\"\n        })\n    })\n    document.getElementById(\"export-sql\").addEventListener(\"click\", () => {\n        simpleDatatables.exportSQL(table, {\n            download: true,\n            tableName: \"export_table\"\n        })\n    })\n    document.getElementById(\"export-txt\").addEventListener(\"click\", () => {\n        simpleDatatables.exportTXT(table, {\n            download: true\n        })\n    })\n    document.getElementById(\"export-json\").addEventListener(\"click\", () => {\n        simpleDatatables.exportJSON(table, {\n            download: true,\n            space: 3\n        })\n    })\n}\n` >}}\n<table id=\"export-table\">\n    <thead>\n        <tr>\n            <th>\n                <span class=\"flex items-center\">\n                    Name\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th data-type=\"date\" data-format=\"YYYY/DD/MM\">\n                <span class=\"flex items-center\">\n                    Release Date\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    NPM Downloads\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n            <th>\n                <span class=\"flex items-center\">\n                    Growth\n                    <svg class=\"w-4 h-4 ms-1\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 15 4 4 4-4m0-6-4-4-4 4\"/>\n                    </svg>\n                </span>\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Flowbite</td>\n            <td>2021/25/09</td>\n            <td>269000</td>\n            <td>49%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">React</td>\n            <td>2013/24/05</td>\n            <td>4500000</td>\n            <td>24%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Angular</td>\n            <td>2010/20/09</td>\n            <td>2800000</td>\n            <td>17%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Vue</td>\n            <td>2014/12/02</td>\n            <td>3600000</td>\n            <td>30%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Svelte</td>\n            <td>2016/26/11</td>\n            <td>1200000</td>\n            <td>57%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Ember</td>\n            <td>2011/08/12</td>\n            <td>500000</td>\n            <td>44%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Backbone</td>\n            <td>2010/13/10</td>\n            <td>300000</td>\n            <td>9%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">jQuery</td>\n            <td>2006/28/01</td>\n            <td>6000000</td>\n            <td>5%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bootstrap</td>\n            <td>2011/19/08</td>\n            <td>1800000</td>\n            <td>12%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Foundation</td>\n            <td>2011/23/09</td>\n            <td>700000</td>\n            <td>8%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Bulma</td>\n            <td>2016/24/10</td>\n            <td>500000</td>\n            <td>7%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Next.js</td>\n            <td>2016/25/10</td>\n            <td>2300000</td>\n            <td>45%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Nuxt.js</td>\n            <td>2016/16/10</td>\n            <td>900000</td>\n            <td>50%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Meteor</td>\n            <td>2012/17/01</td>\n            <td>1000000</td>\n            <td>10%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Aurelia</td>\n            <td>2015/08/07</td>\n            <td>200000</td>\n            <td>20%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Inferno</td>\n            <td>2016/27/09</td>\n            <td>100000</td>\n            <td>35%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Preact</td>\n            <td>2015/16/08</td>\n            <td>600000</td>\n            <td>28%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Lit</td>\n            <td>2018/28/05</td>\n            <td>400000</td>\n            <td>60%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Alpine.js</td>\n            <td>2019/02/11</td>\n            <td>300000</td>\n            <td>70%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Stimulus</td>\n            <td>2018/06/03</td>\n            <td>150000</td>\n            <td>25%</td>\n        </tr>\n        <tr class=\"hover:bg-gray-50 dark:hover:bg-gray-800 cursor-pointer\">\n            <td class=\"font-medium text-gray-900 whitespace-nowrap dark:text-white\">Solid</td>\n            <td>2021/05/07</td>\n            <td>250000</td>\n            <td>80%</td>\n        </tr>\n    </tbody>\n</table>\n{{< /example >}}\n\n##### JavaScript behaviour\n\nLearn more about how you can customize the DataTables plugin such as changing the default options, customizing the table appearance, dynamically loading data, and more by checking the examples below.\n\nAfter installing the DataTables plugin either via NPM or CDN you can initialize by calling the `DataTable` constructor and passing the table selector as the first argument.\n\n```javascript\n// if you installed via CDN\nconst dataTable = new simpleDatatables.DataTable(\"#default-table\");\n\n// if you installed via NPM\nimport { DataTable } from \"simple-datatables\";\nconst dataTable = DataTable(\"#default-table\");\n```\n\nYou can pass an object of options as the second argument to customize the table appearance and behavior.\n\n```javascript\nconst dataTable = new simpleDatatables.DataTable(\"#default-table\", options);\n```\n\nAfter initializing the DataTable, you can access the instance methods and properties.\n\nHere's a full list of the <a href=\"https://fiduswriter.github.io/simple-datatables/documentation/#events\" target=\"_blank\" rel=\"nofollow\">exposed methods and properties</a> from the simple-datatables repository.\n\n##### Options\n\nCheck out some of the more commonly used options that you can pass to the DataTable instance.\n\n###### Injecting data\n\nUse the `data` option to pass data from an array of arrays to the table using JavaScript.\n\n```javascript\nconst customData = {\n    \"headings\": [\n        \"Name\",\n        \"Company\",\n        \"Date\",\n    ],\n    \"data\": [\n        [\n            \"Flowbite\",\n            \"Bergside\",\n            \"05/23/2023\",\n        ],\n        [\n            \"Next.js\",\n            \"Vercel\",\n            \"03/12/2024\",\n    ],\n};\n\nconst dataTable = new DataTable(\"#default-table\", { data: customData });\n```\n\nThis is a useful feature where instead of a hard coded array you can pass data from an API or a JSON file.\n\n###### Appearance\n\nUse the following options to customize the appearance of the table such as adding a caption, custom classes, footer, header, updating the HTML rendering template, and enabling vertical scrolling, and more.\n\n```javascript\nconst dataTable = new DataTable(\"#default-table\", {\n    caption: \"Flowbite is an open-source library\",\n    classes: {\n        // add custom HTML classes, full list: https://fiduswriter.github.io/simple-datatables/documentation/classes\n        // we recommend keeping the default ones in addition to whatever you want to add because Flowbite hooks to the default classes for styles\n    },\n    footer: true, // enable or disable the footer\n    header: true, // enable or disable the header\n    labels: {\n        // add custom text for the labels, full list: https://fiduswriter.github.io/simple-datatables/documentation/labels\n    },\n    template: (options, dom) => {\n        // add custom HTML template for the table, full list: https://fiduswriter.github.io/simple-datatables/documentation/template\n    },\n    scrollY: \"300px\", // enable vertical scrolling\n});\n```\n\nThese options are useful if you want to add your own HTML elements inside the dynamically generated table header or footer as we used in the export a file example above.\n\n###### Pagination\n\nUse these options to enable pagination, set the number of rows per page, and customize the appearance.\n\n```javascript\nconst dataTable = new DataTable(\"#default-table\", {\n    paging: true, // enable or disable pagination\n    perPage: 10, // set the number of rows per page\n    perPageSelect: [5, 10, 20, 50], // set the number of rows per page options\n    firstLast: true, // enable or disable the first and last buttons\n    nextPrev: true, // enable or disable the next and previous buttons\n});\n```\n\nPagination is a useful feature when you have a large dataset and you want to split it into multiple pages.\n\n###### Searching\n\nThese options can be used to enable searching, set the search placeholder, and customize the appearance.\n\n```javascript\nconst dataTable = new DataTable(\"#default-table\", {\n    searchable: true, // enable or disable searching\n    sensitivity: \"base\" // set the search sensitivity (base, accent, case, variant)\n    searchQuerySeparator: \" \", // set the search query separator\n});\n```\n\nThe searching feature is great when you have a large dataset and you want to search for a specific row.\n\n###### Sorting\n\nUse these options to enable sorting, set the default sort column, and customize the sort appearance.\n\n```javascript\nconst dataTable = new DataTable(\"#default-table\", {\n    sortable: true, // enable or disable sorting\n    locale: \"en-US\", // set the locale for sorting\n    numeric: true, // enable or disable numeric sorting\n    caseFirst: \"false\", // set the case first for sorting (upper, lower)\n    ignorePunctuation: true // enable or disable punctuation sorting\n});\n```\n\nThe sorting feature is useful when you want to sort the table rows based on a specific column.\n\n##### Methods\n\nCheck out some of the common methods that you can use to interact with the DataTable instance.\n\n```javascript\n// programatically search the table where the \"term\" variable is the query string\ndataTable.search(term, columns);\n\n// add a new table row data to the table (considering you have four columns)\ndataTable.insert({\n    \"Heading 1\": \"Cell 1\",\n    \"Heading 2\": \"Cell 2\",\n    \"Heading 3\": \"Cell 3\",\n    \"Heading 4\": \"Cell 4\",\n});\n\n// updates the DOM of the table\ndataTable.update();\n```\n\nHere's a full list of the <a href=\"https://fiduswriter.github.io/simple-datatables/documentation/#methods\" target=\"_blank\" rel=\"nofollow\">exposed methods and properties</a> from the simple-datatables repository.\n\n##### License\n\nAll of the examples above built by Flowbite are open-source and licensed under the MIT license. The simple-datatables repository is also open-source and licensed under the <a href=\"https://github.com/fiduswriter/simple-datatables/blob/main/LICENSE\" target=\"_blank\" rel=\"nofollow\">GNU license</a>.\n\n#### WYSIWYG\n\nThe WYSIWYG text editor from Flowbite is open-source under the MIT license based on the [Tip Tap library](https://github.com/ueberdosis/tiptap) and allows you to easily edit complex text data with typography styles, links, images, videos, and more.\n\nThe markup and styles provided by Flowbite are all built with the utility classes from Tailwind CSS and the styles for the content inside the WYSIWYG text editor are based on the [Flowbite Typography](https://flowbite.com/docs/components/typography/) plugin.\n\nAll examples provided on this page have support for dark mode, RTL (right-to-left) styles, responsiveness on mobile devices and you can easily add your own functionality using JavaScript and the Flowbite API.\n\n##### Getting started\n\nBefore continuing make sure that you have Tailwind CSS, Flowbite, and Tip Tap installed in your project.\n\n1. Follow the [quickstart guide](https://flowbite.com/docs/getting-started/quickstart/) from Flowbite to enable the interactive elements\n\n2. Install the [Flowbite Typography](https://flowbite.com/docs/components/typography/) plugin to format the content of text inside the WYSYIWYG editor preview:\n\n```bash\nnpm i flowbite-typography\n```\n\n3. Import the `flowbite-typography` plugin inside your main Tailwind CSS file:\n\n```javascript\n@plugin \"flowbite-typography\";\n```\n\nAlternatively you can do the same but in your `tailwind.config.js` file:\n\n```javascript\n// import the tailwind.config.js file in your main CSS file if using Tailwind CSS v4\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('flowbite-typography'),\n    // ...\n  ],\n}\n```\n\n4. Finally, install Tip Tap either via NPM or skip this step if you're using CDN:\n\n```bash\nnpm install @tiptap/core @tiptap/pm @tiptap/starter-kit\n```\n\nNow you're ready to use the examples below by copying the HTML markup and the JavaScript code.\n\n##### Default text editor\n\nUse this example of a WYSIWYG text editor to enable basic typography styling and formatting, adding lists, links, images, videos, code blocks, aligning text, blockquotes, setting headers and paragraphs and more.\n\n{{< example id=\"default-wysiwyg-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\nimport TextAlign from 'https://esm.sh/@tiptap/extension-text-align@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\nimport TextStyle from 'https://esm.sh/@tiptap/extension-text-style@2.6.6';\nimport FontFamily from 'https://esm.sh/@tiptap/extension-font-family@2.6.6';\nimport { Color } from 'https://esm.sh/@tiptap/extension-color@2.6.6';\nimport Bold from 'https://esm.sh/@tiptap/extension-bold@2.6.6'; // Import the Bold extension\n\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-example\")) {\n\n    const FontSizeTextStyle = TextStyle.extend({\n        addAttributes() {\n            return {\n            fontSize: {\n                default: null,\n                parseHTML: element => element.style.fontSize,\n                renderHTML: attributes => {\n                if (!attributes.fontSize) {\n                    return {};\n                }\n                return { style: 'font-size: ' + attributes.fontSize };\n                },\n            },\n            };\n        },\n    });\n    const CustomBold = Bold.extend({\n        // Override the renderHTML method\n        renderHTML({ mark, HTMLAttributes }) {\n            const { style, ...rest } = HTMLAttributes;\n\n            // Merge existing styles with font-weight\n            const newStyle = 'font-weight: bold;' + (style ? ' ' + style : '');\n\n            return ['span', { ...rest, style: newStyle.trim() }, 0];\n        },\n        // Ensure it doesn't exclude other marks\n        addOptions() {\n            return {\n                ...this.parent?.(),\n                HTMLAttributes: {},\n            };\n        },\n    });\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-example'),\n        extensions: [\n            StarterKit.configure({\n                textStyle: false,\n                bold: false,\n                marks: {\n                    bold: false,\n                },\n            }),\n            // Include the custom Bold extension\n            CustomBold,\n            TextStyle,\n            Color,\n            FontSizeTextStyle,\n            FontFamily,\n            Highlight,\n            Underline,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            }),\n            TextAlign.configure({\n                types: ['heading', 'paragraph'],\n            }),\n            Image,\n            YouTube,\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleBoldButton').addEventListener('click', () => editor.chain().focus().toggleBold().run());\n    document.getElementById('toggleItalicButton').addEventListener('click', () => editor.chain().focus().toggleItalic().run());\n    document.getElementById('toggleUnderlineButton').addEventListener('click', () => editor.chain().focus().toggleUnderline().run());\n    document.getElementById('toggleStrikeButton').addEventListener('click', () => editor.chain().focus().toggleStrike().run());\n    document.getElementById('toggleHighlightButton').addEventListener('click', () => {\n    const isHighlighted = editor.isActive('highlight');\n    // when using toggleHighlight(), judge if is is already highlighted.\n    editor.chain().focus().toggleHighlight({\n        color: isHighlighted ? undefined : '#ffc078' // if is already highlighted，unset the highlight color\n    }).run();\n    });\n\n    document.getElementById('toggleLinkButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n        editor.chain().focus().toggleLink({ href: url }).run();\n    });\n    document.getElementById('removeLinkButton').addEventListener('click', () => {\n        editor.chain().focus().unsetLink().run()\n    });\n    document.getElementById('toggleCodeButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCode().run();\n    })\n\n    document.getElementById('toggleLeftAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('left').run();\n    });\n    document.getElementById('toggleCenterAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('center').run();\n    });\n    document.getElementById('toggleRightAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('right').run();\n    });\n    document.getElementById('toggleListButton').addEventListener('click', () => {\n       editor.chain().focus().toggleBulletList().run();\n    });\n    document.getElementById('toggleOrderedListButton').addEventListener('click', () => {\n        editor.chain().focus().toggleOrderedList().run();\n    });\n    document.getElementById('toggleBlockquoteButton').addEventListener('click', () => {\n        editor.chain().focus().toggleBlockquote().run();\n    });\n    document.getElementById('toggleHRButton').addEventListener('click', () => {\n        editor.chain().focus().setHorizontalRule().run();\n    });\n    document.getElementById('addImageButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://placehold.co/600x400');\n        if (url) {\n            editor.chain().focus().setImage({ src: url }).run();\n        }\n    });\n    document.getElementById('addVideoButton').addEventListener('click', () => {\n        const url = window.prompt('Enter YouTube URL:', 'https://www.youtube.com/watch?v=KaLxCiilHns');\n        if (url) {\n            editor.commands.setYoutubeVideo({\n                src: url,\n                width: 640,\n                height: 480,\n            })\n        }\n    });\n\n    // typography dropdown\n    const typographyDropdown = FlowbiteInstances.getInstance('Dropdown', 'typographyDropdown');\n\n    document.getElementById('toggleParagraphButton').addEventListener('click', () => {\n        editor.chain().focus().setParagraph().run();\n        typographyDropdown.hide();\n    });\n    \n    document.querySelectorAll('[data-heading-level]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const level = button.getAttribute('data-heading-level');\n            editor.chain().focus().toggleHeading({ level: parseInt(level) }).run()\n            typographyDropdown.hide();\n        });\n    });\n\n    const textSizeDropdown = FlowbiteInstances.getInstance('Dropdown', 'textSizeDropdown');\n\n    // Loop through all elements with the data-text-size attribute\n    document.querySelectorAll('[data-text-size]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontSize = button.getAttribute('data-text-size');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setMark('textStyle', { fontSize }).run();\n\n            // Hide the dropdown after selection\n            textSizeDropdown.hide();\n        });\n    });\n\n    // Listen for color picker changes\n    const colorPicker = document.getElementById('color');\n    colorPicker.addEventListener('input', (event) => {\n        const selectedColor = event.target.value;\n\n        // Apply the selected color to the selected text\n        editor.chain().focus().setColor(selectedColor).run();\n    })\n\n    document.querySelectorAll('[data-hex-color]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const selectedColor = button.getAttribute('data-hex-color');\n\n            // Apply the selected color to the selected text\n            editor.chain().focus().setColor(selectedColor).run();\n        });\n    });\n\n    document.getElementById('reset-color').addEventListener('click', () => {\n        editor.commands.unsetColor();\n    })\n\n    const fontFamilyDropdown = FlowbiteInstances.getInstance('Dropdown', 'fontFamilyDropdown');\n\n    // Loop through all elements with the data-font-family attribute\n    document.querySelectorAll('[data-font-family]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontFamily = button.getAttribute('data-font-family');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setFontFamily(fontFamily).run();\n\n            // Hide the dropdown after selection\n            fontFamilyDropdown.hide();\n        });\n    });\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleBoldButton\" data-tooltip-target=\"tooltip-bold\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Bold</span>\n                </button>\n                <div id=\"tooltip-bold\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle bold\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleItalicButton\" data-tooltip-target=\"tooltip-italic\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8.874 19 6.143-14M6 19h6.33m-.66-14H18\"/>\n                    </svg>\n                    <span class=\"sr-only\">Italic</span>\n                </button>\n                <div id=\"tooltip-italic\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle italic\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleUnderlineButton\" data-tooltip-target=\"tooltip-underline\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 19h12M8 5v9a4 4 0 0 0 8 0V5M6 5h4m4 0h4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Underline</span>\n                </button>\n                <div id=\"tooltip-underline\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle underline\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleStrikeButton\" data-tooltip-target=\"tooltip-strike\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 6.2V5h12v1.2M7 19h6m.2-14-1.677 6.523M9.6 19l1.029-4M5 5l6.523 6.523M19 19l-7.477-7.477\"/>\n                    </svg>\n                    <span class=\"sr-only\">Strike</span>\n                </button>\n                <div id=\"tooltip-strike\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle strike\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHighlightButton\" data-tooltip-target=\"tooltip-highlight\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 19.2H5.5c-.3 0-.5-.2-.5-.5V16c0-.2.2-.4.5-.4h13c.3 0 .5.2.5.4v2.7c0 .3-.2.5-.5.5H18m-6-1 1.4 1.8h.2l1.4-1.7m-7-5.4L12 4c0-.1 0-.1 0 0l4 8.8m-6-2.7h4m-7 2.7h2.5m5 0H17\"/>\n                    </svg>\n                    <span class=\"sr-only\">Highlight</span>\n                </button>\n                <div id=\"tooltip-highlight\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle highlight\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCodeButton\" type=\"button\" data-tooltip-target=\"tooltip-code\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/>\n                    </svg>\n                    <span class=\"sr-only\">Code</span>\n                </button>\n                <div id=\"tooltip-code\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Format code\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleLinkButton\" data-tooltip-target=\"tooltip-link\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961\"/>\n                    </svg>\n                    <span class=\"sr-only\">Link</span>\n                </button>\n                <div id=\"tooltip-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Add link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"removeLinkButton\" data-tooltip-target=\"tooltip-remove-link\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M13.2 9.8a3.4 3.4 0 0 0-4.8 0L5 13.2A3.4 3.4 0 0 0 9.8 18l.3-.3m-.3-4.5a3.4 3.4 0 0 0 4.8 0L18 9.8A3.4 3.4 0 0 0 13.2 5l-1 1m7.4 14-1.8-1.8m0 0L16 16.4m1.8 1.8 1.8-1.8m-1.8 1.8L16 20\"/>\n                    </svg>\n                    <span class=\"sr-only\">Remove link</span>\n                </button>\n                <div id=\"tooltip-remove-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Remove link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleTextSizeButton\" data-dropdown-toggle=\"textSizeDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-size\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 6.2V5h11v1.2M8 5v14m-3 0h6m2-6.8V11h8v1.2M17 11v8m-1.5 0h3\"/>\n                    </svg>\n                    <span class=\"sr-only\">Text size</span>\n                </button>\n                <div id=\"tooltip-text-size\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Text size\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textSizeDropdown\" class=\"z-10 hidden w-72 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"toggleTextSizeButton\">\n                        <li>\n                            <button data-text-size=\"16px\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">16px (Default) \n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"12px\" type=\"button\" class=\"flex justify-between items-center w-full text-xs rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">12px (Tiny)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"14px\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">14px (Small)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"18px\" type=\"button\" class=\"flex justify-between items-center w-full text-lg rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">18px (Lead)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"24px\" type=\"button\" class=\"flex justify-between items-center w-full text-2xl rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">24px (Large)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"36px\" type=\"button\" class=\"flex justify-between items-center w-full text-4xl rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">36px (Huge)\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <button id=\"toggleTextColorButton\" data-dropdown-toggle=\"textColorDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-color\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"24\" fill=\"none\" viewBox=\"0 0 25 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m6.532 15.982 1.573-4m-1.573 4h-1.1m1.1 0h1.65m-.077-4 2.725-6.93a.11.11 0 0 1 .204 0l2.725 6.93m-5.654 0H8.1m.006 0h5.654m0 0 .617 1.569m5.11 4.453c0 1.102-.854 1.996-1.908 1.996-1.053 0-1.907-.894-1.907-1.996 0-1.103 1.907-4.128 1.907-4.128s1.909 3.025 1.909 4.128Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Text color</span>\n                </button>\n                <div id=\"tooltip-text-color\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Text color\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textColorDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <div class=\"grid grid-cols-6 gap-2 group mb-3 items-center p-1.5 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600\">\n                        <input type=\"color\" id=\"color\" value=\"#e66465\" class=\"border-gray-200 border bg-gray-50 dark:bg-gray-700 dark:border-gray-600 rounded-md p-px px-1 hover:bg-gray-50 group-hover:bg-gray-50 dark:group-hover:bg-gray-700 w-full h-8 col-span-3\" />\n                        <label for=\"color\" class=\"text-gray-500 dark:text-gray-400 text-sm font-medium col-span-3 group-hover:text-gray-900 dark:group-hover:text-white\">Pick a color</label>\n                    </div>\n                    <div class=\"grid grid-cols-6 gap-1 mb-3\">\n                        <button type=\"button\" data-hex-color=\"#1A56DB\" style=\"background-color: #1A56DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#0E9F6E\" style=\"background-color: #0E9F6E\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#FACA15\" style=\"background-color: #FACA15\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#F05252\" style=\"background-color: #F05252\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Red</span></button>\n                        <button type=\"button\" data-hex-color=\"#FF8A4C\" style=\"background-color: #FF8A4C\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#0694A2\" style=\"background-color: #0694A2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Teal</span></button>\n                        <button type=\"button\" data-hex-color=\"#B4C6FC\" style=\"background-color: #B4C6FC\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#8DA2FB\" style=\"background-color: #8DA2FB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#771D1D\" style=\"background-color: #771D1D\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCD9BD\" style=\"background-color: #FCD9BD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#99154B\" style=\"background-color: #99154B\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Bordo</span></button>\n                        <button type=\"button\" data-hex-color=\"#7E3AF2\" style=\"background-color: #7E3AF2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#CABFFD\" style=\"background-color: #CABFFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light</span></button>\n                        <button type=\"button\" data-hex-color=\"#D61F69\" style=\"background-color: #D61F69\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F8B4D9\" style=\"background-color: #F8B4D9\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F6C196\" style=\"background-color: #F6C196\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cream</span></button>\n                        <button type=\"button\" data-hex-color=\"#A4CAFE\" style=\"background-color: #A4CAFE\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#B43403\" style=\"background-color: #B43403\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCE96A\" style=\"background-color: #FCE96A\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#1E429F\" style=\"background-color: #1E429F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Navy Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#768FFD\" style=\"background-color: #768FFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#BCF0DA\" style=\"background-color: #BCF0DA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#EBF5FF\" style=\"background-color: #EBF5FF\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#16BDCA\" style=\"background-color: #16BDCA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cyan</span></button>\n                        <button type=\"button\" data-hex-color=\"#E74694\" style=\"background-color: #E74694\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#83B0ED\" style=\"background-color: #83B0ED\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Darker Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#03543F\" style=\"background-color: #03543F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Forest Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#111928\" style=\"background-color: #111928\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Black</span></button>\n                        <button type=\"button\" data-hex-color=\"#4B5563\" style=\"background-color: #4B5563\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Stone</span></button>\n                        <button type=\"button\" data-hex-color=\"#6B7280\" style=\"background-color: #6B7280\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#D1D5DB\" style=\"background-color: #D1D5DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F9FAFB\" style=\"background-color: #F9FAFB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Heaven Gray</span></button>\n                    </div>\n                    <button type=\"button\" id=\"reset-color\" class=\"py-1.5 text-sm font-medium text-gray-500 focus:outline-none bg-white rounded-lg hover:bg-gray-100 hover:text-gray-900 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-700 dark:text-gray-400 dark:hover:text-white w-full dark:hover:bg-gray-600\">Reset color</button>\n                </div>\n                <button id=\"toggleFontFamilyButton\" data-dropdown-toggle=\"fontFamilyDropdown\" type=\"button\" data-tooltip-target=\"tooltip-font-family\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.6 19 4.298-10.93a.11.11 0 0 1 .204 0L19.4 19m-8.8 0H9.5m1.1 0h1.65m7.15 0h-1.65m1.65 0h1.1m-7.7-3.985h4.4M3.021 16l1.567-3.985m0 0L7.32 5.07a.11.11 0 0 1 .205 0l2.503 6.945h-5.44Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Font family</span>\n                </button>\n                <div id=\"tooltip-font-family\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Font Family\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"fontFamilyDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"toggleFontFamilyButton\">\n                        <li>\n                            <button data-font-family=\"Inter, ui-sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm font-sans rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Default\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Arial, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Arial, sans-serif;\">Arial\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Courier New', monospace\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Courier New', monospace;\">Courier New\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Georgia, serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Georgia, serif;\">Georgia\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Lucida Sans Unicode', sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Lucida Sans Unicode', sans-serif;\">Lucida Sans Unicode\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Tahoma, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Tahoma, sans-serif;\">Tahoma\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Times New Roman', serif;\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Times New Roman', serif;\">Times New Roman\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Trebuchet MS', sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Trebuchet MS', sans-serif;\">Trebuchet MS\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Verdana, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Verdana, sans-serif;\">Verdana\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <div class=\"px-1\">\n                    <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n                </div>\n                <button id=\"toggleLeftAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-left-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align left</span>\n                </button>\n                <div id=\"tooltip-left-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align left\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCenterAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-center-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align center</span>\n                </button>\n                <div id=\"tooltip-center-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align center\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRightAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-right-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align right</span>\n                </button>\n                <div id=\"tooltip-right-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align right\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n    <div class=\"flex items-center gap-2 pt-2 flex-wrap\">\n        <button id=\"typographyDropdownButton\" data-dropdown-toggle=\"typographyDropdown\" class=\"flex items-center justify-center rounded-lg bg-gray-100 px-3 py-1.5 text-sm font-medium text-gray-500 hover:bg-gray-200 hover:text-gray-900 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-50 dark:bg-gray-600 dark:text-gray-400 dark:hover:bg-gray-500 dark:hover:text-white dark:focus:ring-gray-600\" type=\"button\">\n            Format\n            <svg class=\"-me-0.5 ms-1.5 h-3.5 w-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\" />\n            </svg>\n        </button>\n        <div class=\"ps-1.5\">\n            <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n        </div>\n        <!-- Heading Dropdown -->\n        <div id=\"typographyDropdown\" class=\"z-10 hidden w-72 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n            <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"typographyDropdownButton\">\n                <li>\n                    <button id=\"toggleParagraphButton\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Paragraph \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">0</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"1\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 1 \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">1</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"2\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 2 \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">2</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"3\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 3\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">3</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"4\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 4\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">4</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"5\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 5\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">5</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"6\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 6\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">6</kbd>\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <button id=\"addImageButton\" type=\"button\" data-tooltip-target=\"tooltip-image\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M13 10a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H14a1 1 0 0 1-1-1Z\" clip-rule=\"evenodd\"/>\n                <path fill-rule=\"evenodd\" d=\"M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12c0 .556-.227 1.06-.593 1.422A.999.999 0 0 1 20.5 20H4a2.002 2.002 0 0 1-2-2V6Zm6.892 12 3.833-5.356-3.99-4.322a1 1 0 0 0-1.549.097L4 12.879V6h16v9.95l-3.257-3.619a1 1 0 0 0-1.557.088L11.2 18H8.892Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Add image</span>\n            </button>\n            <div id=\"tooltip-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add image\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addVideoButton\" type=\"button\" data-tooltip-target=\"tooltip-video\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M9 7V2.221a2 2 0 0 0-.5.365L4.586 6.5a2 2 0 0 0-.365.5H9Zm2 0V2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9h5a2 2 0 0 0 2-2Zm-2 4a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H9Zm0 2h2v2H9v-2Zm7.965-.557a1 1 0 0 0-1.692-.72l-1.268 1.218a1 1 0 0 0-.308.721v.733a1 1 0 0 0 .37.776l1.267 1.032a1 1 0 0 0 1.631-.776v-2.984Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Add video</span>\n            </button>\n            <div id=\"tooltip-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add video\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleListButton\" type=\"button\" data-tooltip-target=\"tooltip-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle list</span>\n            </button>\n            <div id=\"tooltip-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle list\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleOrderedListButton\" type=\"button\" data-tooltip-target=\"tooltip-ordered-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle ordered list</span>\n        </button>\n        <div id=\"tooltip-ordered-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle ordered list\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleBlockquoteButton\" type=\"button\" data-tooltip-target=\"tooltip-blockquote-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M6 6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3H5a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2H6Zm9 0a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3Z\" clip-rule=\"evenodd\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle blockquote</span>\n        </button>\n        <div id=\"tooltip-blockquote-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle blockquote\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHRButton\" type=\"button\" data-tooltip-target=\"tooltip-hr-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" d=\"M6 9.5h12m-12 9h12M6 7.5h12m-12 9h12M6 5.5h12m-12 9h12\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle Horizontal Rule</span>\n        </button>\n        <div id=\"tooltip-hr-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle Horizontal Rule\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\nNotice: there is a <a href=\"https://github.com/ueberdosis/tiptap/issues/577\" target=\"_blank\" rel=\"nofollow noreferrer\">known issue from TipTap</a> when splitting blocks (ie. using enter to create break lines) and using the bullet list item. A quickfix for `v2.6.6` when using CDN is to match the import statements:\n\n```html\n<script type=\"importmap\">\n    {\n        \"imports\": {\n            \"https://esm.sh/v135/prosemirror-model@1.22.3/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\", \n            \"https://esm.sh/v135/prosemirror-model@1.22.1/es2022/prosemirror-model.mjs\": \"https://esm.sh/v135/prosemirror-model@1.19.3/es2022/prosemirror-model.mjs\"\n        }\n    }\n</script>\n```\n\nIf you're importing the package with Yarn or NPM then you need to add this in your `package.json` file:\n\n```javascript\n// when using Yarn\n\"resolutions\": {\n    \"prosemirror-model\": \"1.19.3\"\n}\n\n// when using NPM\n\"overrides\": {\n    \"prosemirror-model\": \"1.19.3\"\n}\n```\n\nWe recommend later checking the Tip Tap library for a proper update to prevent this quickfix in the future.\n\n##### Text formatting\n\nUse this example of a WYSIWYG text editor to enable typography styling, formatting and marking such as underline, bold, italic, strikethrough, code, highlight and also selecting text size, color, font family and more using the utility classes from Tailwind CSS.\n\n{{< example id=\"default-wysiwyg-text-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Subscript from 'https://esm.sh/@tiptap/extension-subscript@2.6.6';\nimport Superscript from 'https://esm.sh/@tiptap/extension-superscript@2.6.6';\nimport TextStyle from 'https://esm.sh/@tiptap/extension-text-style@2.6.6';\nimport FontFamily from 'https://esm.sh/@tiptap/extension-font-family@2.6.6';\nimport { Color } from 'https://esm.sh/@tiptap/extension-color@2.6.6';\nimport Bold from 'https://esm.sh/@tiptap/extension-bold@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-text-example\")) {\n\n    const FontSizeTextStyle = TextStyle.extend({\n        addAttributes() {\n            return {\n            fontSize: {\n                default: null,\n                parseHTML: element => element.style.fontSize,\n                renderHTML: attributes => {\n                if (!attributes.fontSize) {\n                    return {};\n                }\n                return { style: 'font-size: ' + attributes.fontSize };\n                },\n            },\n            };\n        },\n    });\n    const CustomBold = Bold.extend({\n    // Override the renderHTML method\n    renderHTML({ HTMLAttributes }) {\n    return ['span', { ...HTMLAttributes, style: 'font-weight: bold;' }, 0];\n    },\n    // Ensure it doesn't exclude other marks\n    excludes: '',\n    });\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-text-example'),\n          extensions: [\n            StarterKit.configure({\n                textStyle: false,\n                bold: false,\n                marks: {\n                    bold: false,\n                },\n            }),\n            // Include the custom Bold extension\n            CustomBold,\n            Highlight,\n            Underline,\n            Subscript,\n            Superscript,\n            TextStyle,\n            FontSizeTextStyle,\n            Color,\n            FontFamily\n        ],\n        content: '<p>Flowbite React is an <strong>open-source library of UI components</strong> built using React and Tailwind CSS. It supports dark mode, a Figma design system, and more.</p><p>It includes essential components for web apps like buttons, dropdowns, navigation bars, modals, datepickers, and charts, all optimized for React.</p><p>Example button component in Flowbite React:</p><code>import &#123; Button &#125; from &#39;flowbite-react&#39;; &lt;Button color&#x3D;&quot;blue&quot;&gt;Default&lt;/Button&gt;</code><p>These components can also be easily customized using the theme props from the Flowbite Docs and allows you to add your own Tailwind CSS utility classes to override the default styles.</p><p>Explore more components and props values in the Flowbite Docs.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleBoldButton').addEventListener('click', () => editor.chain().focus().toggleBold().run());\n    document.getElementById('toggleItalicButton').addEventListener('click', () => editor.chain().focus().toggleItalic().run());\n    document.getElementById('toggleUnderlineButton').addEventListener('click', () => editor.chain().focus().toggleUnderline().run());\n    document.getElementById('toggleStrikeButton').addEventListener('click', () => editor.chain().focus().toggleStrike().run());\n    document.getElementById('toggleSubscriptButton').addEventListener('click', () => editor.chain().focus().toggleSubscript().run());\n    document.getElementById('toggleSuperscriptButton').addEventListener('click', () => editor.chain().focus().toggleSuperscript().run());\n    document.getElementById('toggleHighlightButton').addEventListener('click', () => {\n    const isHighlighted = editor.isActive('highlight');\n    // when using toggleHighlight(), judge if is is already highlighted.\n    editor.chain().focus().toggleHighlight({\n        color: isHighlighted ? undefined : '#ffc078' // if is already highlighted，unset the highlight color\n    }).run();\n    });\n\n    document.getElementById('toggleCodeButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCode().run();\n    });\n\n    const textSizeDropdown = FlowbiteInstances.getInstance('Dropdown', 'textSizeDropdown');\n\n    // Loop through all elements with the data-text-size attribute\n    document.querySelectorAll('[data-text-size]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontSize = button.getAttribute('data-text-size');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setMark('textStyle', { fontSize }).run();\n\n            // Hide the dropdown after selection\n            textSizeDropdown.hide();\n        });\n    });\n\n    // Listen for color picker changes\n    const colorPicker = document.getElementById('color');\n    colorPicker.addEventListener('input', (event) => {\n        const selectedColor = event.target.value;\n\n        // Apply the selected color to the selected text\n        editor.chain().focus().setColor(selectedColor).run();\n    })\n\n    document.querySelectorAll('[data-hex-color]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const selectedColor = button.getAttribute('data-hex-color');\n\n            // Apply the selected color to the selected text\n            editor.chain().focus().setColor(selectedColor).run();\n        });\n    });\n\n    document.getElementById('reset-color').addEventListener('click', () => {\n        editor.commands.unsetColor();\n    })\n\n    const fontFamilyDropdown = FlowbiteInstances.getInstance('Dropdown', 'fontFamilyDropdown');\n\n    // Loop through all elements with the data-font-family attribute\n    document.querySelectorAll('[data-font-family]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const fontFamily = button.getAttribute('data-font-family');\n\n            // Apply the selected font size via pixels using the TipTap editor chain\n            editor.chain().focus().setFontFamily(fontFamily).run();\n\n            // Hide the dropdown after selection\n            fontFamilyDropdown.hide();\n        });\n    });\n\n    }\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleBoldButton\" data-tooltip-target=\"tooltip-bold\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 5h4.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0-7H6m2 7h6.5a3.5 3.5 0 1 1 0 7H8m0-7v7m0 0H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Bold</span>\n                </button>\n                <div id=\"tooltip-bold\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle bold\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleItalicButton\" data-tooltip-target=\"tooltip-italic\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8.874 19 6.143-14M6 19h6.33m-.66-14H18\"/>\n                    </svg>\n                    <span class=\"sr-only\">Italic</span>\n                </button>\n                <div id=\"tooltip-italic\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle italic\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleUnderlineButton\" data-tooltip-target=\"tooltip-underline\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M6 19h12M8 5v9a4 4 0 0 0 8 0V5M6 5h4m4 0h4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Underline</span>\n                </button>\n                <div id=\"tooltip-underline\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle underline\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleStrikeButton\" data-tooltip-target=\"tooltip-strike\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 6.2V5h12v1.2M7 19h6m.2-14-1.677 6.523M9.6 19l1.029-4M5 5l6.523 6.523M19 19l-7.477-7.477\"/>\n                    </svg>\n                    <span class=\"sr-only\">Strike</span>\n                </button>\n                <div id=\"tooltip-strike\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle strike\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleSubscriptButton\" data-tooltip-target=\"tooltip-subscript\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M19.9999 21h-4v-.5c1.0989-1.0329 3.75-2.5 3.75-3.5v-1.0001c0-.5523-.4477-.9999-1-.9999h-1.75c-.5523 0-1 .4477-1 1M3.99986 6l9.26894 11.5765M13.1219 6 3.85303 17.5765\"/>\n                    </svg>\n                    <span class=\"sr-only\">Subscript</span>\n                </button>\n                <div id=\"tooltip-subscript\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle subscript\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleSuperscriptButton\" data-tooltip-target=\"tooltip-superscript\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"h-5 w-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21.0002 11h-4l-.0001-.5C18.099 9.46711 20.7502 8 20.7502 7V5.99989c0-.55228-.4478-.99989-1-.99989h-1.75c-.5523 0-1 .44772-1 1M5.37837 7.98274 14.6473 19.5593m-.5251-11.25583L4.85547 19.8773\"/>\n                    </svg>\n                    <span class=\"sr-only\">Superscript</span>\n                </button>\n                <div id=\"tooltip-superscript\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle superscript\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHighlightButton\" data-tooltip-target=\"tooltip-highlight\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 19.2H5.5c-.3 0-.5-.2-.5-.5V16c0-.2.2-.4.5-.4h13c.3 0 .5.2.5.4v2.7c0 .3-.2.5-.5.5H18m-6-1 1.4 1.8h.2l1.4-1.7m-7-5.4L12 4c0-.1 0-.1 0 0l4 8.8m-6-2.7h4m-7 2.7h2.5m5 0H17\"/>\n                    </svg>\n                    <span class=\"sr-only\">Highlight</span>\n                </button>\n                <div id=\"tooltip-highlight\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Toggle highlight\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCodeButton\" type=\"button\" data-tooltip-target=\"tooltip-code\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/>\n                    </svg>\n                    <span class=\"sr-only\">Code</span>\n                </button>\n                <div id=\"tooltip-code\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Format code\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleTextSizeButton\" data-dropdown-toggle=\"textSizeDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-size\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 6.2V5h11v1.2M8 5v14m-3 0h6m2-6.8V11h8v1.2M17 11v8m-1.5 0h3\"/>\n                    </svg>\n                    <span class=\"sr-only\">Text size</span>\n                </button>\n                <div id=\"tooltip-text-size\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Text size\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textSizeDropdown\" class=\"z-10 hidden w-72 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"toggleTextSizeButton\">\n                        <li>\n                            <button data-text-size=\"16px\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">16px (Default) \n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"12px\" type=\"button\" class=\"flex justify-between items-center w-full text-xs rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">12px (Tiny)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"14px\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">14px (Small)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"18px\" type=\"button\" class=\"flex justify-between items-center w-full text-lg rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">18px (Lead)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"24px\" type=\"button\" class=\"flex justify-between items-center w-full text-2xl rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">24px (Large)\n                            </button>\n                        </li>\n                        <li>\n                            <button data-text-size=\"36px\" type=\"button\" class=\"flex justify-between items-center w-full text-4xl rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">36px (Huge)\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n                <button id=\"toggleTextColorButton\" data-dropdown-toggle=\"textColorDropdown\" type=\"button\" data-tooltip-target=\"tooltip-text-color\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"24\" fill=\"none\" viewBox=\"0 0 25 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"m6.532 15.982 1.573-4m-1.573 4h-1.1m1.1 0h1.65m-.077-4 2.725-6.93a.11.11 0 0 1 .204 0l2.725 6.93m-5.654 0H8.1m.006 0h5.654m0 0 .617 1.569m5.11 4.453c0 1.102-.854 1.996-1.908 1.996-1.053 0-1.907-.894-1.907-1.996 0-1.103 1.907-4.128 1.907-4.128s1.909 3.025 1.909 4.128Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Text color</span>\n                </button>\n                <div id=\"tooltip-text-color\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Text color\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"textColorDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <div class=\"grid grid-cols-6 gap-2 group mb-3 items-center p-1.5 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-600\">\n                        <input type=\"color\" id=\"color\" value=\"#e66465\" class=\"border-gray-200 border bg-gray-50 dark:bg-gray-700 dark:border-gray-600 rounded-md p-px px-1 hover:bg-gray-50 group-hover:bg-gray-50 dark:group-hover:bg-gray-700 w-full h-8 col-span-3\" />\n                        <label for=\"color\" class=\"text-gray-500 dark:text-gray-400 text-sm font-medium col-span-3 group-hover:text-gray-900 dark:group-hover:text-white\">Pick a color</label>\n                    </div>\n                    <div class=\"grid grid-cols-6 gap-1 mb-3\">\n                        <button type=\"button\" data-hex-color=\"#1A56DB\" style=\"background-color: #1A56DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#0E9F6E\" style=\"background-color: #0E9F6E\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#FACA15\" style=\"background-color: #FACA15\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#F05252\" style=\"background-color: #F05252\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Red</span></button>\n                        <button type=\"button\" data-hex-color=\"#FF8A4C\" style=\"background-color: #FF8A4C\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#0694A2\" style=\"background-color: #0694A2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Teal</span></button>\n                        <button type=\"button\" data-hex-color=\"#B4C6FC\" style=\"background-color: #B4C6FC\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#8DA2FB\" style=\"background-color: #8DA2FB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Indigo</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#771D1D\" style=\"background-color: #771D1D\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCD9BD\" style=\"background-color: #FCD9BD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light orange</span></button>\n                        <button type=\"button\" data-hex-color=\"#99154B\" style=\"background-color: #99154B\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Bordo</span></button>\n                        <button type=\"button\" data-hex-color=\"#7E3AF2\" style=\"background-color: #7E3AF2\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#CABFFD\" style=\"background-color: #CABFFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light</span></button>\n                        <button type=\"button\" data-hex-color=\"#D61F69\" style=\"background-color: #D61F69\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F8B4D9\" style=\"background-color: #F8B4D9\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#F6C196\" style=\"background-color: #F6C196\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cream</span></button>\n                        <button type=\"button\" data-hex-color=\"#A4CAFE\" style=\"background-color: #A4CAFE\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#5145CD\" style=\"background-color: #5145CD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Dark Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#B43403\" style=\"background-color: #B43403\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Orange Brown</span></button>\n                        <button type=\"button\" data-hex-color=\"#FCE96A\" style=\"background-color: #FCE96A\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Yellow</span></button>\n                        <button type=\"button\" data-hex-color=\"#1E429F\" style=\"background-color: #1E429F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Navy Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#768FFD\" style=\"background-color: #768FFD\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Purple</span></button>\n                        <button type=\"button\" data-hex-color=\"#BCF0DA\" style=\"background-color: #BCF0DA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#EBF5FF\" style=\"background-color: #EBF5FF\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#16BDCA\" style=\"background-color: #16BDCA\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cyan</span></button>\n                        <button type=\"button\" data-hex-color=\"#E74694\" style=\"background-color: #E74694\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Pink</span></button>\n                        <button type=\"button\" data-hex-color=\"#83B0ED\" style=\"background-color: #83B0ED\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Darker Sky Blue</span></button>\n                        <button type=\"button\" data-hex-color=\"#03543F\" style=\"background-color: #03543F\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Forest Green</span></button>\n                        <button type=\"button\" data-hex-color=\"#111928\" style=\"background-color: #111928\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Black</span></button>\n                        <button type=\"button\" data-hex-color=\"#4B5563\" style=\"background-color: #4B5563\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Stone</span></button>\n                        <button type=\"button\" data-hex-color=\"#6B7280\" style=\"background-color: #6B7280\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#D1D5DB\" style=\"background-color: #D1D5DB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Light Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F3F4F6\" style=\"background-color: #F3F4F6\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Cloud Gray</span></button>\n                        <button type=\"button\" data-hex-color=\"#F9FAFB\" style=\"background-color: #F9FAFB\" class=\"w-6 h-6 rounded-md\"><span class=\"sr-only\">Heaven Gray</span></button>\n                    </div>\n                    <button type=\"button\" id=\"reset-color\" class=\"py-1.5 text-sm font-medium text-gray-500 focus:outline-none bg-white rounded-lg hover:bg-gray-100 hover:text-gray-900 focus:z-10 focus:ring-4 focus:ring-gray-100 dark:focus:ring-gray-700 dark:bg-gray-700 dark:text-gray-400 dark:hover:text-white w-full dark:hover:bg-gray-600\">Reset color</button>\n                </div>\n                <button id=\"toggleFontFamilyButton\" data-dropdown-toggle=\"fontFamilyDropdown\" type=\"button\" data-tooltip-target=\"tooltip-font-family\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m10.6 19 4.298-10.93a.11.11 0 0 1 .204 0L19.4 19m-8.8 0H9.5m1.1 0h1.65m7.15 0h-1.65m1.65 0h1.1m-7.7-3.985h4.4M3.021 16l1.567-3.985m0 0L7.32 5.07a.11.11 0 0 1 .205 0l2.503 6.945h-5.44Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">Font family</span>\n                </button>\n                <div id=\"tooltip-font-family\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Font Family\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <div id=\"fontFamilyDropdown\" class=\"z-10 hidden w-48 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n                    <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"toggleFontFamilyButton\">\n                        <li>\n                            <button data-font-family=\"Inter, ui-sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm font-sans rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Default\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Arial, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Arial, sans-serif;\">Arial\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Courier New', monospace\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Courier New', monospace;\">Courier New\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Georgia, serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Georgia, serif;\">Georgia\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Lucida Sans Unicode', sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Lucida Sans Unicode', sans-serif;\">Lucida Sans Unicode\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Tahoma, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Tahoma, sans-serif;\">Tahoma\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Times New Roman', serif;\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Times New Roman', serif;\">Times New Roman\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"'Trebuchet MS', sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: 'Trebuchet MS', sans-serif;\">Trebuchet MS\n                            </button>\n                        </li>\n                        <li>\n                            <button data-font-family=\"Verdana, sans-serif\" type=\"button\" class=\"flex justify-between items-center w-full text-sm rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\" style=\"font-family: Verdana, sans-serif;\">Verdana\n                            </button>\n                        </li>\n                    </ul>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-text-example\" class=\"sr-only\">Write comment</label>\n    <div id=\"wysiwyg-text-example\" class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\n##### Text alignment\n\nEnable text alignment to the left, center, right, and justify for the content inside of the WYSIWYG component.\n\n{{< example id=\"default-wysiwyg-alignment-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Highlight from 'https://esm.sh/@tiptap/extension-highlight@2.6.6';\nimport Underline from 'https://esm.sh/@tiptap/extension-underline@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\nimport TextAlign from 'https://esm.sh/@tiptap/extension-text-align@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-alignment-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-alignment-example'),\n        extensions: [\n            StarterKit,\n            Highlight,\n            Underline,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            }),\n            TextAlign.configure({\n                types: ['heading', 'paragraph'],\n            }),\n            Image,\n            YouTube\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleLeftAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('left').run();\n    });\n    document.getElementById('toggleCenterAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('center').run();\n    });\n    document.getElementById('toggleRightAlignButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('right').run();\n    });\n    document.getElementById('toggleJustifyButton').addEventListener('click', () => {\n        editor.chain().focus().setTextAlign('justify').run();\n    });\n    }\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleLeftAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-left-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 6h8m-8 4h12M6 14h8m-8 4h12\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align left</span>\n                </button>\n                <div id=\"tooltip-left-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align left\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleCenterAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-center-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 6h8M6 10h12M8 14h8M6 18h12\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align center</span>\n                </button>\n                <div id=\"tooltip-center-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align center\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRightAlignButton\" type=\"button\" data-tooltip-target=\"tooltip-right-align\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6h-8m8 4H6m12 4h-8m8 4H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Align right</span>\n                </button>\n                <div id=\"tooltip-right-align\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Align right\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleJustifyButton\" type=\"button\" data-tooltip-target=\"tooltip-justify\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6H6m12 4H6m12 4H6m12 4H6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Justify</span>\n                </button>\n                <div id=\"tooltip-justify\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Justify text\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-alignment-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-alignment-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\n##### Typography elements\n\nUse this example to create typography elements like bullet lists, ordered lists, blockquotes, horizontal rules, paragraphs, headings, code blocks based on Tailwind CSS utility classees and the Flowbite API.\n\n{{< example id=\"default-wysiwyg-typography-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-typography-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-typography-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><ul><li>Over 600+ open-source UI components</li><li>Supports dark mode and RTL</li><li>Available in React, Vue, Svelte frameworks</li></ul><p>Here is an example of a button component:</p><pre><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code></pre><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleListButton').addEventListener('click', () => {\n       editor.chain().focus().toggleBulletList().run();\n    });\n    document.getElementById('toggleOrderedListButton').addEventListener('click', () => {\n        editor.chain().focus().toggleOrderedList().run();\n    });\n    document.getElementById('toggleBlockquoteButton').addEventListener('click', () => {\n        editor.chain().focus().toggleBlockquote().run();\n    });\n    document.getElementById('toggleHRButton').addEventListener('click', () => {\n        editor.chain().focus().setHorizontalRule().run();\n    });\n    document.getElementById('toggleCodeBlockButton').addEventListener('click', () => {\n        editor.chain().focus().toggleCodeBlock().run();\n    });\n\n    // typography dropdown\n    const typographyDropdown = FlowbiteInstances.getInstance('Dropdown', 'typographyDropdown');\n\n    document.getElementById('toggleParagraphButton').addEventListener('click', () => {\n        editor.chain().focus().setParagraph().run();\n        typographyDropdown.hide();\n    });\n    \n    document.querySelectorAll('[data-heading-level]').forEach((button) => {\n        button.addEventListener('click', () => {\n            const level = button.getAttribute('data-heading-level');\n            editor.chain().focus().toggleHeading({ level: parseInt(level) }).run()\n            typographyDropdown.hide();\n        });\n    });\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n    <div class=\"flex items-center gap-2\">\n        <button id=\"typographyDropdownButton\" data-dropdown-toggle=\"typographyDropdown\" class=\"flex items-center justify-center rounded-lg bg-gray-100 px-3 py-1.5 text-sm font-medium text-gray-500 hover:bg-gray-200 hover:text-gray-900 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-50 dark:bg-gray-600 dark:text-gray-400 dark:hover:bg-gray-500 dark:hover:text-white dark:focus:ring-gray-600\" type=\"button\">\n            Format\n            <svg class=\"-me-0.5 ms-1.5 h-3.5 w-3.5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9-7 7-7-7\" />\n            </svg>\n        </button>\n        <div class=\"ps-1.5\">\n            <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n        </div>\n        <!-- Heading Dropdown -->\n        <div id=\"typographyDropdown\" class=\"z-10 hidden w-72 rounded-sm bg-white p-2 shadow-sm dark:bg-gray-700\">\n            <ul class=\"space-y-1 text-sm font-medium\" aria-labelledby=\"typographyDropdownButton\">\n                <li>\n                    <button id=\"toggleParagraphButton\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Paragraph \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">0</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"1\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 1 \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">1</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"2\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 2 \n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">2</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"3\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 3\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">3</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"4\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 4\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">4</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button data-heading-level=\"5\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 5\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">5</kbd>\n                        </div>\n                    </button>\n                </li>\n                <li>\n                    <button  data-heading-level=\"6\" type=\"button\" class=\"flex justify-between items-center w-full text-base rounded-sm px-3 py-2 hover:bg-gray-100 text-gray-900 dark:hover:bg-gray-600 dark:text-white\">Heading 6\n                        <div class=\"space-x-1.5\">\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Cmd</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">Alt</kbd>\n                            <kbd class=\"px-2 py-1 text-xs font-semibold text-gray-500 bg-gray-100 border border-gray-200 rounded-lg dark:bg-gray-600 dark:text-gray-400 dark:border-gray-500\">6</kbd>\n                        </div>\n                    </button>\n                </li>\n            </ul>\n        </div>\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"toggleCodeBlockButton\" type=\"button\" data-tooltip-target=\"tooltip-code-block\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 8-4 4 4 4m8 0 4-4-4-4m-2-3-4 14\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle code block</span>\n            </button>\n            <div id=\"tooltip-code-block\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle code block\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleListButton\" type=\"button\" data-tooltip-target=\"tooltip-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M9 8h10M9 12h10M9 16h10M4.99 8H5m-.02 4h.01m0 4H5\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle list</span>\n            </button>\n            <div id=\"tooltip-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle list\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleOrderedListButton\" type=\"button\" data-tooltip-target=\"tooltip-ordered-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6h8m-8 6h8m-8 6h8M4 16a2 2 0 1 1 3.321 1.5L4 20h5M4 5l2-1v6m-2 0h4\"/>\n                </svg>\n                <span class=\"sr-only\">Create ordered list</span>\n            </button>\n            <div id=\"tooltip-ordered-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle ordered list\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleBlockquoteButton\" type=\"button\" data-tooltip-target=\"tooltip-blockquote-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M6 6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3H5a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2H6Zm9 0a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h3a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1a5 5 0 0 0 5-5V8a2 2 0 0 0-2-2h-3Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle blockquote</span>\n            </button>\n            <div id=\"tooltip-blockquote-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle blockquote\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"toggleHRButton\" type=\"button\" data-tooltip-target=\"tooltip-hr-list\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M5 12h14\"/>\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" d=\"M6 9.5h12m-12 9h12M6 7.5h12m-12 9h12M6 5.5h12m-12 9h12\"/>\n                </svg>\n                <span class=\"sr-only\">Toggle Horizontal Rule</span>\n            </button>\n            <div id=\"tooltip-hr-list\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Toggle Horizontal Rule\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-typography-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-typography-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\n##### Configuring links\n\nUse this example to add and remove anchor links for the content inside of the WYSIWYG text editor.\n\n{{< example id=\"default-wysiwyg-links-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Link from 'https://esm.sh/@tiptap/extension-link@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-links-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-links-example'),\n        extensions: [\n            StarterKit,\n            Link.configure({\n                openOnClick: false,\n                autolink: true,\n                defaultProtocol: 'https',\n            })\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleLinkButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n        editor.chain().focus().toggleLink({ href: url }).run();\n    });\n    document.getElementById('removeLinkButton').addEventListener('click', () => {\n        editor.chain().focus().unsetLink().run()\n    });\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleLinkButton\" data-tooltip-target=\"tooltip-link\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.213 9.787a3.391 3.391 0 0 0-4.795 0l-3.425 3.426a3.39 3.39 0 0 0 4.795 4.794l.321-.304m-.321-4.49a3.39 3.39 0 0 0 4.795 0l3.424-3.426a3.39 3.39 0 0 0-4.794-4.795l-1.028.961\"/>\n                    </svg>\n                    <span class=\"sr-only\">Link</span>\n                </button>\n                <div id=\"tooltip-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Add link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"removeLinkButton\" data-tooltip-target=\"tooltip-remove-link\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"2\" d=\"M13.2 9.8a3.4 3.4 0 0 0-4.8 0L5 13.2A3.4 3.4 0 0 0 9.8 18l.3-.3m-.3-4.5a3.4 3.4 0 0 0 4.8 0L18 9.8A3.4 3.4 0 0 0 13.2 5l-1 1m7.4 14-1.8-1.8m0 0L16 16.4m1.8 1.8 1.8-1.8m-1.8 1.8L16 20\"/>\n                    </svg>\n                    <span class=\"sr-only\">Remove link</span>\n                </button>\n                <div id=\"tooltip-remove-link\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Remove link\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-links-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-links-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\n##### Using images\n\nUse this example to learn how to add images inside of the WYSIWYG text editor and configure settings such as the image URL, image alt attribute which is important for SEO and accessibility and the image title.\n\n{{< example id=\"default-wysiwyg-image-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Image from 'https://esm.sh/@tiptap/extension-image@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-images-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-images-example'),\n        extensions: [\n            StarterKit,\n            Image\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><img src=\"https://placehold.co/600x400\" contenteditable=\"false\" draggable=\"true\"><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addImageButton').addEventListener('click', () => {\n        const url = window.prompt('Enter image URL:', 'https://placehold.co/600x400');\n        if (url) {\n            editor.chain().focus().setImage({ src: url }).run();\n        }\n    });\n\n    const advancedImageModal = FlowbiteInstances.getInstance('Modal', 'advanced-image-modal');\n    \n    document.getElementById('advancedImageForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const imageUrl = document.getElementById('URL').value;\n        const imageAlt = document.getElementById('alt').value;\n        const imageTitle = document.getElementById('title').value;\n\n        if (imageUrl) {\n            editor.chain().focus().setImage({ src: imageUrl, alt: imageAlt ? imageAlt : '', title: imageTitle ? imageTitle: '' }).run();\n            document.getElementById('advancedImageForm').reset();\n            advancedImageModal.hide();\n        }\n    });\n    \n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addImageButton\" type=\"button\" data-tooltip-target=\"tooltip-image\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                <path fill-rule=\"evenodd\" d=\"M13 10a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H14a1 1 0 0 1-1-1Z\" clip-rule=\"evenodd\"/>\n                <path fill-rule=\"evenodd\" d=\"M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12c0 .556-.227 1.06-.593 1.422A.999.999 0 0 1 20.5 20H4a2.002 2.002 0 0 1-2-2V6Zm6.892 12 3.833-5.356-3.99-4.322a1 1 0 0 0-1.549.097L4 12.879V6h16v9.95l-3.257-3.619a1 1 0 0 0-1.557.088L11.2 18H8.892Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Add image</span>\n            </button>\n            <div id=\"tooltip-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add image\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button type=\"button\" data-tooltip-target=\"tooltip-advanced-image\" data-modal-target=\"advanced-image-modal\" data-modal-toggle=\"advanced-image-modal\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Zm.394 9.553a1 1 0 0 0-1.817.062l-2.5 6A1 1 0 0 0 8 19h8a1 1 0 0 0 .894-1.447l-2-4A1 1 0 0 0 13.2 13.4l-.53.706-1.276-2.553ZM13 9.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Insert advanced image</span>\n            </button>\n            <div id=\"tooltip-advanced-image\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Image with settings\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-images-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-images-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n\n<!-- Main modal -->\n<div id=\"advanced-image-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Insert advanced image\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"advanced-image-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <form id=\"advancedImageForm\" class=\"space-y-4\" action=\"#\">\n                    <div>\n                        <label for=\"URL\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Image URL</label>\n                        <input type=\"url\" name=\"url\" id=\"URL\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" value=\"https://placehold.co/600x400\" required />\n                    </div>\n                    <div>\n                        <label for=\"alt\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Image alt</label>\n                        <input type=\"text\" name=\"alt\" id=\"alt\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" />\n                    </div>\n                    <div>\n                        <label for=\"title\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Image title</label>\n                        <input type=\"text\" name=\"title\" id=\"title\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" />\n                    </div>\n                    <button type=\"submit\" id=\"addAdvancedImageButton\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Add image</button>\n                </form>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Adding videos\n\nUse this example to embed videos inside the WYSIWYG text editor based on a YouTube URL source and set the width and height of the video by using the Flowbite modal component API.\n\n{{< example id=\"default-wysiwyg-video-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport YouTube from 'https://esm.sh/@tiptap/extension-youtube@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-video-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-video-example'),\n        extensions: [\n            StarterKit,\n            YouTube\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><img src=\"https://placehold.co/600x400\" contenteditable=\"false\" draggable=\"true\"><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addVideoButton').addEventListener('click', () => {\n        const url = window.prompt('Enter YouTube URL:', 'https://www.youtube.com/watch?v=KaLxCiilHns');\n        if (url) {\n            editor.commands.setYoutubeVideo({\n                src: url,\n                width: 640,\n                height: 480,\n            })\n        }\n    });\n\n    const advancedVideoModal = FlowbiteInstances.getInstance('Modal', 'advanced-video-modal');\n    \n    document.getElementById('advancedVideoForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const videoUrl = document.getElementById('URL').value;\n        const videoWidth = document.getElementById('width').value;\n        const videoHeight = document.getElementById('height').value;\n\n        if (videoUrl) {\n            editor.commands.setYoutubeVideo({ src: videoUrl, width: videoWidth ? videoWidth : 640, height: videoHeight ? videoHeight: 480 });\n            document.getElementById('advancedVideoForm').reset();\n            advancedVideoModal.hide();\n        }\n    });\n    \n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addVideoButton\" type=\"button\" data-tooltip-target=\"tooltip-video\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Add video</span>\n            </button>\n            <div id=\"tooltip-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add video\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button type=\"button\" data-tooltip-target=\"tooltip-advanced-video\" data-modal-target=\"advanced-video-modal\" data-modal-toggle=\"advanced-video-modal\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                    <path fill-rule=\"evenodd\" d=\"M9 7V2.221a2 2 0 0 0-.5.365L4.586 6.5a2 2 0 0 0-.365.5H9Zm2 0V2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9h5a2 2 0 0 0 2-2Zm-2 4a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H9Zm0 2h2v2H9v-2Zm7.965-.557a1 1 0 0 0-1.692-.72l-1.268 1.218a1 1 0 0 0-.308.721v.733a1 1 0 0 0 .37.776l1.267 1.032a1 1 0 0 0 1.631-.776v-2.984Z\" clip-rule=\"evenodd\"/>\n                </svg>\n                <span class=\"sr-only\">Insert advanced video</span>\n            </button>\n            <div id=\"tooltip-advanced-video\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Video with settings\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-video-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-video-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n\n\n<!-- Main modal -->\n<div id=\"advanced-video-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Insert advanced video\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"advanced-video-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <form id=\"advancedVideoForm\" class=\"space-y-4\" action=\"#\">\n                    <div>\n                        <label for=\"URL\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">YouTube URL</label>\n                        <input type=\"url\" name=\"url\" id=\"URL\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" value=\"https://www.youtube.com/watch?v=KaLxCiilHns\" required />\n                    </div>\n                    <div class=\"grid grid-cols-2 gap-4\">\n                        <div>\n                            <label for=\"width\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Video width</label>\n                            <input type=\"number\" name=\"width\" id=\"width\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" />\n                        </div>\n                        <div>\n                            <label for=\"height\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Video height</label>\n                            <input type=\"number\" name=\"height\" id=\"height\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" />\n                        </div>\n                    </div>\n                    <button type=\"submit\" id=\"addAdvancedVideoButton\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Add video</button>\n                </form>\n            </div>\n        </div>\n    </div>\n</div> \n{{< /example >}}\n\n##### Editing tables\n\nUse this example to edit table data inside the WYSIWYG text editor by adding and removing table column, rows, and cells and use other features to navigate through the table data for a convenient editing process.\n\n{{< example id=\"default-wysiwyg-tables-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\nimport Table from 'https://esm.sh/@tiptap/extension-table@2.6.6';\nimport TableCell from 'https://esm.sh/@tiptap/extension-table-cell@2.6.6';\nimport TableHeader from 'https://esm.sh/@tiptap/extension-table-header@2.6.6';\nimport TableRow from 'https://esm.sh/@tiptap/extension-table-row@2.6.6';\n\nconst TipTapExtensionTableCell = TableCell.extend({\n\taddAttributes() {\n\t\treturn {\n\t\t\t...this.parent?.(),\n\t\t\tbackgroundColor: {\n\t\t\t\tdefault: null,\n\t\t\t\trenderHTML: (attributes) => {\n\t\t\t\t\tif (!attributes.backgroundColor) {\n\t\t\t\t\t\treturn {}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn {\n\t\t\t\t\t\tstyle: 'background-color: ' + attributes.backgroundColor,\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tparseHTML: (element) => {\n\t\t\t\t\treturn element.style.backgroundColor.replace(/['\"]+/g, '')\n\t\t\t\t},\n\t\t\t},\n\t\t}\n\t},\n});\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-tables-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-tables-example'),\n        extensions: [\n            StarterKit,\n            Table.configure({\n                resizable: true,\n            }),\n            TableRow,\n            TableHeader,\n            TableCell,\n            TipTapExtensionTableCell\n        ],\n        content: '<p>Understanding global <strong>population growth trends</strong> is essential for analyzing the development and future of nations. Population growth rates provide insights into economic prospects, resource allocation, and potential challenges for countries worldwide.</p><p>Here is an example of population data:</p><div class=tableWrapper><table style=min-width:75px><col><col><col><tr><th colspan=1 rowspan=1><p>Country<th colspan=1 rowspan=1><p>Population<th colspan=1 rowspan=1><p>Growth rate<tr><td colspan=1 rowspan=1><p>United States<td colspan=1 rowspan=1><p>333 million<td colspan=1 rowspan=1><p>0.4%<tr><td colspan=1 rowspan=1><p>China<td colspan=1 rowspan=1><p>1.41 billion<td colspan=1 rowspan=1><p>0%<tr><td colspan=1 rowspan=1><p>Germany<td colspan=1 rowspan=1><p>83.8 million<td colspan=1 rowspan=1><p>0.7%<tr><td colspan=1 rowspan=1><p>India<td colspan=1 rowspan=1><p>1.42 billion<td colspan=1 rowspan=1><p>1.0%<tr><td colspan=1 rowspan=1><p>Brazil<td colspan=1 rowspan=1><p>214 million<td colspan=1 rowspan=1><p>0.6%<tr><td colspan=1 rowspan=1><p>Indonesia<td colspan=1 rowspan=1><p>273 million<td colspan=1 rowspan=1><p>1.1%<tr><td colspan=1 rowspan=1><p>Pakistan<td colspan=1 rowspan=1><p>231 million<td colspan=1 rowspan=1><p>2.0%<tr><td colspan=1 rowspan=1><p>Nigeria<td colspan=1 rowspan=1><p>223 million<td colspan=1 rowspan=1><p>2.5%</table></div><p>Learn more about global population trends from reliable sources like the <a href=https://www.worldpopulationreview.com>World Population Review</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('addTableButton').addEventListener('click', () => {\n        editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();\n    });\n\n    // add column before\n    document.getElementById('addColumnBeforeButton').addEventListener('click', () => {\n        editor.chain().focus().addColumnBefore().run();\n    });\n\n    // add column after\n    document.getElementById('addColumnAfterButton').addEventListener('click', () => {\n        editor.chain().focus().addColumnAfter().run();\n    });\n\n    // remove column\n    document.getElementById('removeColumnButton').addEventListener('click', () => {\n        editor.chain().focus().deleteColumn().run();\n    });\n\n    // add row before\n    document.getElementById('addRowBeforeButton').addEventListener('click', () => {\n        editor.chain().focus().addRowBefore().run();\n    });\n\n    // add row after\n    document.getElementById('addRowAfterButton').addEventListener('click', () => {\n        editor.chain().focus().addRowAfter().run();\n    });\n\n    // remove row\n    document.getElementById('removeRowButton').addEventListener('click', () => {\n        editor.chain().focus().deleteRow().run();\n    });\n\n    // delete table\n    document.getElementById('deleteTableButton').addEventListener('click', () => {\n        editor.chain().focus().deleteTable().run();\n    });\n\n    // merge cells\n    document.getElementById('mergeCellsButton').addEventListener('click', () => {\n        editor.chain().focus().mergeCells().run();\n    });\n\n    // split cells\n    document.getElementById('splitCellsButton').addEventListener('click', () => {\n        editor.chain().focus().splitCell().run();\n    });\n\n    // merge or split\n    document.getElementById('mergeOrSplitButton').addEventListener('click', () => {\n        editor.chain().focus().mergeOrSplit().run();\n    });\n\n    // toggle header column\n    document.getElementById('toggleHeaderColumnButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderColumn().run();\n    });\n\n    // toggle header row\n    document.getElementById('toggleHeaderRowButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderRow().run();\n    });\n\n    // toggle header cell\n    document.getElementById('toggleHeaderCellButton').addEventListener('click', () => {\n        editor.chain().focus().toggleHeaderCell().run();\n    });\n\n    const cellAttributeModal = FlowbiteInstances.getInstance('Modal', 'cell-attribute-modal');\n    \n    document.getElementById('addCellAttributeForm').addEventListener('submit', (e) => {\n\n        e.preventDefault();\n        \n        const attributeName = document.getElementById('attribute-name').value;\n        const attributeValue = document.getElementById('attribute-value').value;\n\n        if (attributeName && attributeValue) {\n            const result = editor.commands.setCellAttribute(attributeName ? attributeName : '', attributeValue ? attributeValue : '');\n            document.getElementById('addCellAttributeForm').reset();\n            cellAttributeModal.hide();\n        }\n    });\n\n    // fix tables\n    document.getElementById('fixTablesButton').addEventListener('click', () => {\n       editor.commands.fixTables();\n    });\n\n    // go to previous cell\n    document.getElementById('previousCellButton').addEventListener('click', () => {\n        editor.chain().focus().goToPreviousCell().run();\n    });\n\n    // go to the next cell\n    document.getElementById('nextCellButton').addEventListener('click', () => {\n        editor.chain().focus().goToNextCell().run();\n    });\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n    <div class=\"flex items-center gap-2\">\n        <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n            <button id=\"addTableButton\" type=\"button\" data-tooltip-target=\"tooltip-table\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15v3c0 .5523.44772 1 1 1h10.5M3 15v-4m0 4h11M3 11V6c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5M3 11h18m0 0v1M8 11v8m4-8v8m4-8v2m1 4h2m0 0h2m-2 0v2m0-2v-2\"/>\n                </svg>\n                <span class=\"sr-only\">Add table</span>\n            </button>\n            <div id=\"tooltip-table\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add table\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"deleteTableButton\" type=\"button\" data-tooltip-target=\"tooltip-delete-table\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h10.5M3 15.5v-4m0 4h11m-11-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5m-18 0h18m0 0v1m-13-1v8m4-8v8m4-8v2m1.8956 5.9528 1.5047-1.5047m0 0 1.5048-1.5048m-1.5048 1.5048 1.4605 1.4604m-1.4605-1.4604-1.4604-1.4605\"/>\n                </svg>\n                <span class=\"sr-only\">Delete table</span>\n            </button>\n            <div id=\"tooltip-delete-table\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Delete table\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <div class=\"px-1\">\n                <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n            </div>\n            <button id=\"addColumnBeforeButton\" type=\"button\" data-tooltip-target=\"tooltip-add-column-before\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5.5v14m-8-7h2m0 0h2m-2 0v2m0-2v-2m12 1h-6m6 4h-6m-11 4h16c.5523 0 1-.4477 1-1v-12c0-.55228-.4477-1-1-1H4c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Add column before</span>\n            </button>\n            <div id=\"tooltip-add-column-before\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add column before\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addColumnAfterButton\" type=\"button\" data-tooltip-target=\"tooltip-add-column-after\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5.5v14m8-7h-2m0 0h-2m2 0v2m0-2v-2m-12 1h6m-6 4h6m11 4H4c-.55228 0-1-.4477-1-1v-12c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v12c0 .5523-.4477 1-1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Add column after</span>\n            </button>\n            <div id=\"tooltip-add-column-after\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add column after\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"removeColumnButton\" type=\"button\" data-tooltip-target=\"tooltip-remove-column\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 5.5v14m-6-8h6m-6 4h6m4.5061-1.4939L15.0123 12.5m0 0 1.5061-1.5061M15.0123 12.5l1.5061 1.5061M15.0123 12.5l-1.5062-1.5061M20 19.5H4c-.55228 0-1-.4477-1-1v-12c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v12c0 .5523-.4477 1-1 1Z\"/>\n                </svg>\n                <span class=\"sr-only\">Remove column</span>\n            </button>\n            <div id=\"tooltip-remove-column\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Remove column\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <div class=\"px-1\">\n                <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n            </div>\n            <button id=\"addRowBeforeButton\" type=\"button\" data-tooltip-target=\"tooltip-add-row-before\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-6-9h2m0 0h2m-2 0v2m0-2v-2\"/>\n                </svg>\n                <span class=\"sr-only\">Add row before</span>\n            </button>\n            <div id=\"tooltip-add-row-before\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add row before\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"addRowAfterButton\" type=\"button\" data-tooltip-target=\"tooltip-add-row-after\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 9.5v-3c0-.55228.44772-1 1-1h16c.5523 0 1 .44771 1 1v3m-18 0v9c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-9m-18 0h18m-13 0v-4m4 4v-4m4 4v-4m-6 9h2m0 0h2m-2 0v-2m0 2v2\"/>\n                </svg>\n                <span class=\"sr-only\">Add row after</span>\n            </button>\n            <div id=\"tooltip-add-row-after\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Add row after\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n            <button id=\"removeRowButton\" type=\"button\" data-tooltip-target=\"tooltip-remove-row\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                    <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-5.5061-7.4939L12 10.5m0 0 1.5061-1.50614M12 10.5l1.5061 1.5061M12 10.5l-1.5061-1.50614\"/>\n                </svg>\n                <span class=\"sr-only\">Remove row</span>\n            </button>\n            <div id=\"tooltip-remove-row\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                Remove row\n                <div class=\"tooltip-arrow\" data-popper-arrow></div>\n            </div>\n        </div>\n    </div>\n    <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n        <button id=\"mergeCellsButton\" type=\"button\" data-tooltip-target=\"tooltip-merge-cells\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 18.5v2H4v-16h6v2m4 12v2h6v-16h-6v2m-6.49543 8.4954L10 12.5m0 0-2.49543-2.4954M10 12.5H4.05191m12.50199 2.5539L14 12.5m0 0 2.5539-2.55392M14 12.5h5.8319\"/>\n            </svg>\n            <span class=\"sr-only\">Merge cells</span>\n        </button>\n        <div id=\"tooltip-merge-cells\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Merge cells\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"splitCellsButton\" type=\"button\" data-tooltip-target=\"tooltip-split-cells\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"h-5 w-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 18.5v2h6v-16H4v2m16 12v2h-6v-16h6v2M6.49545 14.9954 4.00003 12.5m0 0 2.49542-2.4954M4.00003 12.5h5.94809m7.49798 2.5539L20 12.5m0 0-2.5539-2.55392M20 12.5h-5.8319\"/>\n            </svg>\n            <span class=\"sr-only\">Split cells</span>\n        </button>\n        <div id=\"tooltip-split-cells\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Split cells\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"mergeOrSplitButton\" type=\"button\" data-tooltip-target=\"tooltip-merge-or-split\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18.5045 14.9954 21 12.5m0 0-2.4955-2.4954M21 12.5h-5.9481m-9.49798 2.5539L3 12.5m0 0 2.55392-2.55392M3 12.5h5.83192m.16807 7v-14H15v14H8.99999Z\"/>\n            </svg>\n            <span class=\"sr-only\">Merge or split</span>\n        </button>\n        <div id=\"tooltip-merge-or-split\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Merge or split\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"px-1\">\n            <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n        </div>\n        <button id=\"toggleHeaderColumnButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-column\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M15 5.5v14m6-8h-6m6 4h-6m-9-3h1.99093M4 19.5h16c.5523 0 1-.4477 1-1v-12c0-.55228-.4477-1-1-1H4c-.55228 0-1 .44772-1 1v12c0 .5523.44772 1 1 1Zm8-7c0 1.1046-.8954 2-2 2-1.10457 0-2-.8954-2-2s.89543-2 2-2c1.1046 0 2 .8954 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header column</span>\n        </button>\n        <div id=\"tooltip-toggle-header-column\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle header column\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHeaderRowButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-row\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-7-9h1.9909M15 10.5c0 1.1046-.8954 2-2 2s-2-.8954-2-2c0-1.10457.8954-2 2-2s2 .89543 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header row</span>\n        </button>\n        <div id=\"tooltip-toggle-header-row\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle header row\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"toggleHeaderCellButton\" type=\"button\" data-tooltip-target=\"tooltip-toggle-header-cell\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h16c.5523 0 1-.4477 1-1v-3m-18 0v-9c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v9m-18 0h18m-13 0v4m4-4v4m4-4v4m-7-9h1.9909M15 10.5c0 1.1046-.8954 2-2 2s-2-.8954-2-2c0-1.10457.8954-2 2-2s2 .89543 2 2Z\"/>\n            </svg>\n            <span class=\"sr-only\">Toggle header cell</span>\n        </button>\n        <div id=\"tooltip-toggle-header-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Toggle header cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button data-modal-toggle=\"cell-attribute-modal\" data-modal-target=\"cell-attribute-modal\" type=\"button\" data-tooltip-target=\"tooltip-add-cell-attribute\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h8v-8m-9 4v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v4m-18 1h11m6.25 5c0 1.2426-1.0073 2.25-2.25 2.25m2.25-2.25c0-1.2426-1.0073-2.25-2.25-2.25m2.25 2.25H21m-3 2.25c-1.2426 0-2.25-1.0074-2.25-2.25M18 18.75v.75m-2.25-3c0-1.2426 1.0074-2.25 2.25-2.25m-2.25 2.25H15m3-2.25v-.75m-1.591 1.409-.5303-.5303m4.2426 4.2426-.5303-.5303m-3.182 0-.5303.5303m4.2426-4.2426-.5303.5303\"/>\n            </svg>\n            <span class=\"sr-only\">Add cell attribute</span>\n        </button>\n        <div id=\"tooltip-add-cell-attribute\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Add cell attribute\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <div class=\"px-1\">\n            <span class=\"block w-px h-4 bg-gray-300 dark:bg-gray-600\"></span>\n        </div>\n        <button id=\"fixTablesButton\" type=\"button\" data-tooltip-target=\"tooltip-fix-tables\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h4v-4m-5 0v-4m0 4h5m-5-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v1.98935M3 11.5h5v4m9.4708 4.1718-.8696-1.4388-2.8164-.235-2.573-4.2573 1.4873-2.8362 1.4441 2.3893c.3865.6396 1.2183.8447 1.8579.4582.6396-.3866.8447-1.2184.4582-1.858l-1.444-2.38925h3.1353l2.6101 4.27715-1.0713 2.5847.8695 1.4388\"/>\n            </svg>\n            <span class=\"sr-only\">Fix tables</span>\n        </button>\n        <div id=\"tooltip-fix-tables\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Fix tables\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"previousCellButton\" type=\"button\" data-tooltip-target=\"tooltip-previous-cell\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h9.5M3 15.5v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5H3Zm5 0v8m4-8v8m5.9001-1.0999L16 16.5m0 0 1.9001-1.9001M16 16.5h5\"/>\n            </svg>\n            <span class=\"sr-only\">Previous cell</span>\n        </button>\n        <div id=\"tooltip-previous-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Previous cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n        <button id=\"nextCellButton\" type=\"button\" data-tooltip-target=\"tooltip-next-cell\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n            <svg class=\"w-5 h-5\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 15.5v3c0 .5523.44772 1 1 1h9.5M3 15.5v-4m0 4h9m-9-4v-5c0-.55228.44772-1 1-1h16c.5523 0 1 .44772 1 1v5H3Zm5 0v8m4-8v8m7.0999-1.0999L21 16.5m0 0-1.9001-1.9001M21 16.5h-5\"/>\n            </svg>\n            <span class=\"sr-only\">Next cell</span>\n        </button>\n        <div id=\"tooltip-next-cell\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n            Next cell\n            <div class=\"tooltip-arrow\" data-popper-arrow></div>\n        </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-tables-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-tables-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n\n<div id=\"cell-attribute-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-md max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    Add cell attribute\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"cell-attribute-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5\">\n                <form id=\"addCellAttributeForm\" class=\"space-y-4\" action=\"#\">\n                    <div>\n                        <label for=\"attribute-name\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Attribute name</label>\n                        <input type=\"text\" name=\"attribute-name\" id=\"attribute-name\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" value=\"backgroundColor\" placeholder=\"eg. backgroundColor\" />\n                    </div>\n                    <div>\n                        <label for=\"attribute-value\" class=\"block mb-2 text-sm font-medium text-gray-900 dark:text-white\">Attribute value</label>\n                        <input type=\"text\" name=\"attribute-value\" id=\"attribute-value\" class=\"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-600 dark:border-gray-500 dark:placeholder-gray-400 dark:text-white\" value=\"#E1EFFE;\" placeholder=\"#E1EFFE;\" />\n                    </div>\n                    <button type=\"submit\" id=\"addCellAttributeButton\" class=\"w-full text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800\">Set attribute</button>\n                </form>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Undo and redo\n\nUse the history functionality from the WYSIWYG text editor component to integrate undo and redo actions.\n\n{{< example id=\"default-wysiwyg-history-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-history-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-history-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleUndoButton').addEventListener('click', () => {\n        editor.chain().focus().undo().run();\n    });\n    document.getElementById('toggleRedoButton').addEventListener('click', () => {\n        editor.chain().focus().redo().run()\n    });\n\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleUndoButton\" data-tooltip-target=\"tooltip-undo\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 9h13a5 5 0 0 1 0 10H7M3 9l4-4M3 9l4 4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Undo</span>\n                </button>\n                <div id=\"tooltip-undo\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Undo\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleRedoButton\" data-tooltip-target=\"tooltip-redo\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 9H8a5 5 0 0 0 0 10h9m4-10-4-4m4 4-4 4\"/>\n                    </svg>\n                    <span class=\"sr-only\">Redo</span>\n                </button>\n                <div id=\"tooltip-redo\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Redo\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-history-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-history-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n{{< /example >}}\n\n##### Exporting data\n\nUse the `editor.getJSON()` and the `editor.getHTML()` functions to export the text content inside of the WYSIWYG text editor in JSON or raw HTML format to persist into your database or API structure.\n\n{{< example id=\"default-wysiwyg-export-example\" class=\"flex justify-center dark:bg-gray-900\" github=\"plugins/wysiwyg.md\" show_dark=true wysiwyg=true script_module=true  disable_init_js=true javascript=`\nimport { Editor } from 'https://esm.sh/@tiptap/core@2.6.6';\nimport StarterKit from 'https://esm.sh/@tiptap/starter-kit@2.6.6';\n\nwindow.addEventListener('load', function() {\n    if (document.getElementById(\"wysiwyg-export-example\")) {\n\n    // tip tap editor setup\n    const editor = new Editor({\n        element: document.querySelector('#wysiwyg-export-example'),\n        extensions: [\n            StarterKit\n        ],\n        content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Here is an example of a button component:</p><code>&#x3C;button type=&#x22;button&#x22; class=&#x22;text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800&#x22;&#x3E;Default&#x3C;/button&#x3E;</code><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n        editorProps: {\n            attributes: {\n                class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n            },\n        }\n    });\n\n    const sourceCodeModal = FlowbiteInstances.getInstance('Modal', 'source-code-modal');\n    const sourceCodeWrapper = document.getElementById('sourceCode');\n\n    // set up custom event listeners for the buttons\n    document.getElementById('toggleHTMLButton').addEventListener('click', () => {\n\n        // basically just use editor.getHTML(); to get the raw html\n\n        sourceCodeWrapper.innerHTML = editor.getHTML()\n            .replace(/&/g, \"&amp;\") // Escape & character\n            .replace(/</g, \"&lt;\")  // Escape < character\n            .replace(/>/g, \"&gt;\")  // Escape > character\n            .replace(/\"/g, \"&quot;\") // Escape \" character\n            .replace(/'/g, \"&#039;\"); // Escape ' character\n    });\n\n    document.getElementById('toggleJSONButton').addEventListener('click', () => {\n\n        // basically just use editor.getJSON(); to get the raw json\n\n        sourceCode.innerHTML = JSON.stringify(editor.getJSON(), null, 2)\n            .replace(/&/g, \"&amp;\")\n            .replace(/</g, \"&lt;\")\n            .replace(/>/g, \"&gt;\");\n    });\n}\n})\n` >}}\n<div class=\"w-full border border-gray-200 rounded-lg bg-gray-50 dark:bg-gray-700 dark:border-gray-600\">\n    <div class=\"px-3 py-2 border-b border-gray-200 dark:border-gray-600\">\n        <div class=\"flex flex-wrap items-center\">\n            <div class=\"flex items-center space-x-1 rtl:space-x-reverse flex-wrap\">\n                <button id=\"toggleJSONButton\" data-tooltip-target=\"tooltip-json\" data-modal-target=\"source-code-modal\" data-modal-toggle=\"source-code-modal\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 8v8m0-8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm6-2a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm0 0h-1a5 5 0 0 1-5-5v-.5\"/>\n                    </svg>\n                    <span class=\"sr-only\">JSON</span>\n                </button>\n                <div id=\"tooltip-json\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Get JSON\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n                <button id=\"toggleHTMLButton\" data-tooltip-target=\"tooltip-html\" data-modal-target=\"source-code-modal\" data-modal-toggle=\"source-code-modal\" type=\"button\" class=\"p-1.5 text-gray-500 rounded-sm cursor-pointer hover:text-gray-900 hover:bg-gray-100 dark:text-gray-400 dark:hover:text-white dark:hover:bg-gray-600\">\n                    <svg class=\"w-5 h-5\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"currentColor\" viewBox=\"0 0 24 24\">\n                        <path d=\"m3 2 1.578 17.824L12 22l7.467-2.175L21 2H3Zm14.049 6.048H9.075l.172 2.016h7.697l-.626 6.565-4.246 1.381-4.281-1.455-.288-2.932h2.024l.16 1.411 2.4.815 2.346-.763.297-3.005H7.416l-.562-6.05h10.412l-.217 2.017Z\"/>\n                    </svg>\n                    <span class=\"sr-only\">HTML</span>\n                </button>\n                <div id=\"tooltip-html\" role=\"tooltip\" class=\"absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700\">\n                    Get HTML\n                    <div class=\"tooltip-arrow\" data-popper-arrow></div>\n                </div>\n            </div>\n    </div>\n</div>\n<div class=\"px-4 py-2 bg-white rounded-b-lg dark:bg-gray-800\">\n    <label for=\"wysiwyg-export-example\" class=\"sr-only\">Publish post</label>\n    <div id=\"wysiwyg-export-example\"class=\"block w-full px-0 text-sm text-gray-800 bg-white border-0 dark:bg-gray-800 focus:ring-0 dark:text-white dark:placeholder-gray-400\"></div>\n</div>\n</div>\n\n<div id=\"source-code-modal\" tabindex=\"-1\" aria-hidden=\"true\" class=\"hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 justify-center items-center w-full md:inset-0 h-[calc(100%-1rem)] max-h-full\">\n    <div class=\"relative p-4 w-full max-w-xl max-h-full\">\n        <!-- Modal content -->\n        <div class=\"relative bg-white rounded-lg shadow-sm dark:bg-gray-700\">\n            <!-- Modal header -->\n            <div class=\"flex items-center justify-between p-4 md:p-5 border-b rounded-t dark:border-gray-600 border-gray-200\">\n                <h3 class=\"text-xl font-semibold text-gray-900 dark:text-white\">\n                    JSON/HTML data export result\n                </h3>\n                <button type=\"button\" class=\"end-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm w-8 h-8 ms-auto inline-flex justify-center items-center dark:hover:bg-gray-600 dark:hover:text-white\" data-modal-hide=\"source-code-modal\">\n                    <svg class=\"w-3 h-3\" aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 14 14\">\n                        <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6\"/>\n                    </svg>\n                    <span class=\"sr-only\">Close modal</span>\n                </button>\n            </div>\n            <!-- Modal body -->\n            <div class=\"p-4 md:p-5 format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none\">\n                <pre><code id=\"sourceCode\"></code></pre>\n            </div>\n        </div>\n    </div>\n</div>\n{{< /example >}}\n\n##### Javascript behaviour\n\nLearn more about how you can programmatically use the WYSIWYG editor using Javascript by creating a new instance of the object, setting options, method, event listeners, and more to integrate with your code base.\n\nAfter you have installed Tip Tap via NPM or CDN you can create a new `Editor` object:\n\n```javascript\nimport { Editor } from '@tiptap/core';\nimport StarterKit from '@tiptap/starter-kit';\n\nnew Editor({\n  element: document.getElementById('wysiwyg'),\n  extensions: [StarterKit],\n  content: '<p>Welcome to Flowbite!</p>',\n})\n```\n\nMake sure that you also have an empty `div` element with the appropiate ID:\n\n```html\n<div id=\"wysiwyg\"></div>\n```\n\nThis code will automatically set up the markup needed inside of the WYSIWYG component. Please note the fact that the Tip Tap library is headless so you need to style the elements yourself, but you can copy-paste the examples from Flowbite on this page.\n\n###### Content styling\n\nWe also recommend adding custom typography classes from the [Flowbite Typography](https://flowbite.com/docs/components/typography/) package so that the content inside of the text editor will be correctly styled:\n\n```javascript\nnew Editor({\n  element: document.getElementById('wysiwyg'),\n  extensions: [StarterKit],\n  content: '<p>Welcome to Flowbite!</p>',\n  editorProps: {\n        attributes: {\n            class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n        },\n    }\n})\n```\n\n###### Extensions\n\nTip Tap is a modular library meaning that if you want to introduce images, videos, links and other elements inside the WYSIWYG component you need to specifically import that resources from the library and set it as an extension when initialising the `Editor` object.\n\nHere is one example where we add the link extension:\n\n```javascript\nimport { Editor } from '@tiptap/core';\nimport StarterKit from '@tiptap/starter-kit';\nimport Link from '@tiptap/extension-link';\n\nconst editor = new Editor({\n    element: document.querySelector('#wysiwyg-links-example'),\n    extensions: [\n        StarterKit,\n        Link.configure({\n            openOnClick: false,\n            autolink: true,\n            defaultProtocol: 'https',\n        })\n    ],\n    content: '<p>Flowbite is an <strong>open-source library of UI components</strong> based on the utility-first Tailwind CSS framework featuring dark mode support, a Figma design system, and more.</p><p>It includes all of the commonly used components that a website requires, such as buttons, dropdowns, navigation bars, modals, datepickers, advanced charts and the list goes on.</p><p>Learn more about all components from the <a href=\"https://flowbite.com/docs/getting-started/introduction/\">Flowbite Docs</a>.</p>',\n    editorProps: {\n        attributes: {\n            class: 'format lg:format-lg dark:format-invert focus:outline-none format-blue max-w-none',\n        },\n    }\n});\n```\n\nLinks will now be available inside the WYSIWYG component. Learn more about all of the <a href=\"https://tiptap.dev/docs/editor/extensions/overview\" target=\"_blank\" rel=\"nofollow\">extensions API</a>.\n\n###### Methods\n\nYou can easily call the methods from the `Editor` object to set text styles, links, images, and more. Here is one example where based upon a click event on a button you will be prompted with the URL of the link and it will add it to the currently selected text:\n\n```javascript\n// set up custom event listeners for the buttons\ndocument.getElementById('toggleLinkButton').addEventListener('click', () => {\n    const url = window.prompt('Enter image URL:', 'https://flowbite.com');\n    editor.chain().focus().toggleLink({ href: url }).run();\n});\n```\n\nAnd here's another example where you can unset a link:\n\n```javascript\n// unset the links based on a button click\ndocument.getElementById('removeLinkButton').addEventListener('click', () => {\n    editor.chain().focus().unsetLink().run()\n});\n```\n\nExamples from this page have functional elements so you can check the JavaScript tab for the source code.\n\n##### License\n\nResources from this page are licensed under the MIT License, including the Flowbite examples and Tip Tap.\n\n### Other resources\n\n- [Flowbite Figma](https://flowbite.com/figma/)\n- [Flowbite Icons](https://flowbite.com/icons/)\n- [Flowbite Illustrations](https://flowbite.com/illustrations/)\n- [Flowbite Pro](https://flowbite.com/pro/)\n"
  },
  {
    "path": "llms.txt",
    "content": "# Flowbite Documentation\n\n> Flowbite is a free and open-source UI component library based on Tailwind CSS and it provides ready-to-use HTML components with data attributes to enable interactive components and plugins for building modern and responsive websites.\n\nThis documentation covers all basic aspects and components of Flowbite.\n\n## Documentation sections\n\n### Getting started\n\n- [Introduction](https://flowbite.com/docs/getting-started/introduction/)\n- [Quickstart](https://flowbite.com/docs/getting-started/quickstart/)\n- [JavaScript](https://flowbite.com/docs/getting-started/javascript/)\n- [TypeScript](https://flowbite.com/docs/getting-started/typescript/)\n- [License](https://flowbite.com/docs/getting-started/license/)\n\n### Integration guides\n\n- [React](https://flowbite.com/docs/getting-started/react/)\n- [Next.js](https://flowbite.com/docs/getting-started/next-js/)\n- [Vue](https://flowbite.com/docs/getting-started/vue/)\n- [Nuxt](https://flowbite.com/docs/getting-started/nuxt-js/)\n- [Svelte](https://flowbite.com/docs/getting-started/svelte/)\n- [Angular](https://flowbite.com/docs/getting-started/angular/)\n- [Astro](https://flowbite.com/docs/getting-started/astro/)\n- [Remix](https://flowbite.com/docs/getting-started/remix/)\n- [Meteor.js](https://flowbite.com/docs/getting-started/meteor-js/)\n- [Gatsby](https://flowbite.com/docs/getting-started/gatsby/)\n- [SolidJS](https://flowbite.com/docs/getting-started/solid-js/)\n- [Qwik](https://flowbite.com/docs/getting-started/qwik/)\n- [Laravel](https://flowbite.com/docs/getting-started/laravel/)\n- [Symfony](https://flowbite.com/docs/getting-started/symfony/)\n- [Ruby on Rails](https://flowbite.com/docs/getting-started/rails/)\n- [Phoenix](https://flowbite.com/docs/getting-started/phoenix/)\n- [Django](https://flowbite.com/docs/getting-started/django/)\n- [Flask](https://flowbite.com/docs/getting-started/flask/)\n- [Blazor](https://flowbite.com/docs/getting-started/blazor/)\n- [Hugo](https://flowbite.com/docs/getting-started/hugo/)\n\n### Customization\n\n- [Configuration](https://flowbite.com/docs/customize/configuration/)\n- [Dark mode](https://flowbite.com/docs/customize/dark-mode/)\n- [Theming](https://flowbite.com/docs/customize/theming/)\n- [Colors](https://flowbite.com/docs/customize/colors/)\n- [Icons](https://flowbite.com/docs/customize/icons/)\n- [RTL Mode](https://flowbite.com/docs/customize/rtl/)\n\n### Components\n\n- [Accordion](https://flowbite.com/docs/components/accordion/)\n- [Alert](https://flowbite.com/docs/components/alerts/)\n- [Avatar](https://flowbite.com/docs/components/avatar/)\n- [Badge](https://flowbite.com/docs/components/badge/)\n- [Banner](https://flowbite.com/docs/components/banner/)\n- [Bottom navigation](https://flowbite.com/docs/components/bottom-navigation/)\n- [Breadcrumb](https://flowbite.com/docs/components/breadcrumb/)\n- [Buttons](https://flowbite.com/docs/components/buttons/)\n- [Button group](https://flowbite.com/docs/components/button-group/)\n- [Card](https://flowbite.com/docs/components/card/)\n- [Carousel](https://flowbite.com/docs/components/carousel/)\n- [Chat bubble](https://flowbite.com/docs/components/chat-bubble/)\n- [Clipboard](https://flowbite.com/docs/components/clipboard/)\n- [Datepicker](https://flowbite.com/docs/components/datepicker/)\n- [Device mockups](https://flowbite.com/docs/components/device-mockups/)\n- [Drawer](https://flowbite.com/docs/components/drawer/)\n- [Dropdown](https://flowbite.com/docs/components/dropdowns/)\n- [Footer](https://flowbite.com/docs/components/footer/)\n- [Forms](https://flowbite.com/docs/components/forms/)\n- [Gallery](https://flowbite.com/docs/components/gallery/)\n- [Indicators](https://flowbite.com/docs/components/indicators/)\n- [Jumbotron](https://flowbite.com/docs/components/jumbotron/)\n- [KBD](https://flowbite.com/docs/components/kbd/)\n- [List group](https://flowbite.com/docs/components/list-group/)\n- [Mega menu](https://flowbite.com/docs/components/mega-menu/)\n- [Modal](https://flowbite.com/docs/components/modal/)\n- [Navbar](https://flowbite.com/docs/components/navbar/)\n- [Pagination](https://flowbite.com/docs/components/pagination/)\n- [Popover](https://flowbite.com/docs/components/popover/)\n- [Progress](https://flowbite.com/docs/components/progress/)\n- [Rating](https://flowbite.com/docs/components/rating/)\n- [Sidebar](https://flowbite.com/docs/components/sidebar/)\n- [Skeleton](https://flowbite.com/docs/components/skeleton/)\n- [Speed dial](https://flowbite.com/docs/components/speed-dial/)\n- [Spinner](https://flowbite.com/docs/components/spinner/)\n- [Stepper](https://flowbite.com/docs/components/stepper/)\n- [Tables](https://flowbite.com/docs/components/tables/)\n- [Tabs](https://flowbite.com/docs/components/tabs/)\n- [Timeline](https://flowbite.com/docs/components/timeline/)\n- [Toast](https://flowbite.com/docs/components/toast/)\n- [Tooltip](https://flowbite.com/docs/components/tooltips/)\n- [Typography](https://flowbite.com/docs/components/typography/)\n- [Video](https://flowbite.com/docs/components/video/)\n\n### Forms\n\n- [Input field](https://flowbite.com/docs/forms/input-field/)\n- [File input](https://flowbite.com/docs/forms/file-input/)\n- [Search input](https://flowbite.com/docs/forms/search-input/)\n- [Number input](https://flowbite.com/docs/forms/number-input/)\n- [Phone input](https://flowbite.com/docs/forms/phone-input/)\n- [Select](https://flowbite.com/docs/forms/select/)\n- [Textarea](https://flowbite.com/docs/forms/textarea/)\n- [Timepicker](https://flowbite.com/docs/forms/timepicker/)\n- [Checkbox](https://flowbite.com/docs/forms/checkbox/)\n- [Radio](https://flowbite.com/docs/forms/radio/)\n- [Toggle](https://flowbite.com/docs/forms/toggle/)\n- [Range](https://flowbite.com/docs/forms/range/)\n- [Floating label](https://flowbite.com/docs/forms/floating-label/)\n\n### Typography\n\n- [Headings](https://flowbite.com/docs/typography/headings/)\n- [Paragraphs](https://flowbite.com/docs/typography/paragraphs/)\n- [Blockquote](https://flowbite.com/docs/typography/blockquote/)\n- [Image](https://flowbite.com/docs/typography/images/)\n- [Lists](https://flowbite.com/docs/typography/lists/)\n- [Links](https://flowbite.com/docs/typography/links/)\n- [Text](https://flowbite.com/docs/typography/text/)\n- [HR](https://flowbite.com/docs/typography/hr/)\n\n### Plugins\n\n- [Charts](https://flowbite.com/docs/plugins/charts/)\n- [Datatables](https://flowbite.com/docs/plugins/datatables/)\n- [WYSIWYG](https://flowbite.com/docs/plugins/wysiwyg/)\n\n### Other resources\n\n- [Flowbite Figma](https://flowbite.com/figma/)\n- [Flowbite Icons](https://flowbite.com/icons/)\n- [Flowbite Illustrations](https://flowbite.com/illustrations/)\n- [Flowbite Pro](https://flowbite.com/pro/)\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"flowbite\",\n  \"version\": \"4.0.1\",\n  \"mcpName\": \"io.github.themesberg/flowbite-mcp\",\n  \"description\": \"The most popular library of interactive components built with Tailwind CSS\",\n  \"keywords\": [\n    \"flowbite\",\n    \"typescript\",\n    \"javascript\",\n    \"webpack\",\n    \"html\",\n    \"css\",\n    \"component library\",\n    \"ui components\",\n    \"tailwind\",\n    \"tailwind css\",\n    \"tailwind components\",\n    \"tailwind elements\",\n    \"tailwind library\",\n    \"tailwind sections\",\n    \"tailwind css\",\n    \"tailwind ui\",\n    \"tailwind react\",\n    \"tailwind vue\",\n    \"tailwind angular\",\n    \"tailwind svelte\",\n    \"tailwind django\",\n    \"tailwind ruby on rails\",\n    \"tailwind laravel\",\n    \"tailwind nuxt\",\n    \"tailwind next\",\n    \"tailwind astro\",\n    \"tailwind flask\",\n    \"eslint\",\n    \"prettier\",\n    \"cjs\",\n    \"esm\",\n    \"umd\"\n  ],\n  \"license\": \"MIT\",\n  \"main\": \"lib/cjs/index.js\",\n  \"module\": \"lib/esm/index.js\",\n  \"types\": \"lib/esm/index.d.ts\",\n  \"style\": \"dist/flowbite.min.css\",\n  \"repository\": \"https://github.com/themesberg/flowbite.git\",\n  \"bugs\": \"https://github.com/themesberg/flowbite/issues\",\n  \"homepage\": \"https://flowbite.com\",\n  \"contributors\": [\n    \"Zoltán Szőgyényi (https://x.com/zoltanszogyenyi)\",\n    \"Robert Tanislav (https://x.com/roberttanislav)\"\n  ],\n  \"author\": \"Bergside Inc.\",\n  \"scripts\": {\n    \"start\": \"cross-env NODE_ENV=development run-p start:*\",\n    \"start:hugo\": \"hugo server -D\",\n    \"start:webpack\": \"webpack --mode=development --watch\",\n    \"start:css\": \"cross-env NPM_ENV=development npx @tailwindcss/cli -i src/flowbite.css -o static/flowbite.css --watch\",\n    \"start:css-docs\": \"cross-env NPM_ENV=development run-p start:css-docs:*\",\n    \"start:css-docs:main\": \"npx @tailwindcss/cli -i src/main.css -o static/main.css --watch\",\n    \"start:css-docs:minimal\": \"npx @tailwindcss/cli -i src/minimal.css -o static/minimal.css --watch\",\n    \"start:css-docs:enterprise\": \"npx @tailwindcss/cli -i src/enterprise.css -o static/enterprise.css --watch\",\n    \"start:css-docs:playful\": \"npx @tailwindcss/cli -i src/playful.css -o static/playful.css --watch\",\n    \"start:css-docs:mono\": \"npx @tailwindcss/cli -i src/mono.css -o static/mono.css --watch\",\n    \"build\": \"cross-env NODE_ENV=production && HUGO_ENV=production && run-s build:css:docs:min build:webpack build:hugo\",\n    \"build:hugo\": \"hugo\",\n    \"build:webpack\": \"webpack --mode=production\",\n    \"build:css:min\": \"cross-env NPM_ENV=production npx @tailwindcss/cli -i src/flowbite.css -o dist/flowbite.min.css --minify\",\n    \"build:css\": \"cross-env NPM_ENV=development npx @tailwindcss/cli -i src/flowbite.css -o dist/flowbite.css\",\n    \"build:css:docs:min\": \"cross-env NPM_ENV=production npx @tailwindcss/cli -i src/main.css -o static/main.css --minify\",\n    \"build:css-docs\": \"cross-env NPM_ENV=development npx @tailwindcss/cli -i src/main.css -o static/main.css\",\n    \"build:js\": \"run-s build:webpack\",\n    \"copy:js:dist\": \"copyfiles --flat static/flowbite.js dist && copyfiles --flat static/flowbite.js.map dist && copyfiles --flat static/flowbite.min.js.map dist && copyfiles --flat static/flowbite.min.js dist && copyfiles --flat static/flowbite.turbo.js dist && copyfiles --flat static/flowbite.turbo.min.js dist && copyfiles --flat static/flowbite.turbo.js.map dist && copyfiles --flat static/flowbite.turbo.min.js.map dist && copyfiles --flat static/flowbite.phoenix.js dist && copyfiles --flat static/flowbite.phoenix.min.js dist && copyfiles --flat static/flowbite.phoenix.js.map dist && copyfiles --flat static/flowbite.phoenix.min.js.map dist\",\n    \"build:dist\": \"mkdir -p dist && run-s build:css:min build:css build:js copy:js:dist\",\n    \"build:lib\": \"tsc --outDir lib/cjs && tsc -m es6 --outDir lib/esm\",\n    \"clean:lib\": \"shx rm -rf lib\",\n    \"clean:dist\": \"shx rm -rf dist\",\n    \"build:npm\": \"run-s clean:lib build:lib clean:dist build:dist\",\n    \"lint\": \"eslint . --ext .js,.jsx,.ts,.tsx --ignore-path .gitignore\"\n  },\n  \"devDependencies\": {\n    \"@babel/core\": \"^7.14.8\",\n    \"@babel/preset-env\": \"^7.14.8\",\n    \"@docsearch/js\": \"^3.0.0-alpha.42\",\n    \"@tailwindcss/cli\": \"^4.0.0\",\n    \"@tailwindcss/postcss\": \"^4.0.0\",\n    \"@typescript-eslint/eslint-plugin\": \"^5.46.1\",\n    \"@typescript-eslint/parser\": \"^5.46.1\",\n    \"autoprefixer\": \"^10.3.3\",\n    \"babel-loader\": \"^8.2.2\",\n    \"copyfiles\": \"^2.4.1\",\n    \"core-js\": \"^3.8.1\",\n    \"cross-env\": \"^7.0.3\",\n    \"css-loader\": \"^5.2.7\",\n    \"css-minimizer-webpack-plugin\": \"^3.0.2\",\n    \"cssnano\": \"^5.0.8\",\n    \"eslint\": \"^8.29.0\",\n    \"eslint-config-prettier\": \"^8.0.0\",\n    \"eslint-plugin-prettier\": \"^4.2.1\",\n    \"eslint-plugin-tailwindcss\": \"^3.7.1\",\n    \"file-loader\": \"^6.2.0\",\n    \"flowbite-typography\": \"^1.0.5\",\n    \"mini-css-extract-plugin\": \"^1.3.3\",\n    \"npm-run-all\": \"^4.1.5\",\n    \"prettier\": \"^2.8.1\",\n    \"prettier-plugin-tailwindcss\": \"^0.2.1\",\n    \"qrcode\": \"^1.5.4\",\n    \"shiki\": \"^3.13.0\",\n    \"shx\": \"^0.3.4\",\n    \"source-map-loader\": \"^2.0.0\",\n    \"style-loader\": \"^2.0.0\",\n    \"terser-webpack-plugin\": \"^5.3.6\",\n    \"ts-loader\": \"^9.4.2\",\n    \"typescript\": \"^4.9.4\",\n    \"webpack\": \"^5.47.0\",\n    \"webpack-cli\": \"^4.7.2\",\n    \"webpack-dev-server\": \"^4.11.1\",\n    \"windicss\": \"^3.5.6\",\n    \"yarn\": \"^1.22.10\"\n  },\n  \"dependencies\": {\n    \"@popperjs/core\": \"^2.9.3\",\n    \"flowbite-datepicker\": \"^2.0.0\",\n    \"mini-svg-data-uri\": \"^1.4.3\",\n    \"postcss\": \"^8.5.1\",\n    \"tailwindcss\": \"^4.1.12\"\n  },\n  \"files\": [\n    \"lib\",\n    \"dist\",\n    \"src/themes\",\n    \"types\",\n    \"plugin.d.ts\",\n    \"plugin.js\",\n    \"plugin-windicss.js\"\n  ]\n}\n"
  },
  {
    "path": "plugin-windicss.js",
    "content": "/* eslint-disable @typescript-eslint/no-var-requires */\nconst svgToDataUri = require('mini-svg-data-uri');\nconst plugin = require('windicss/plugin');\nconst defaultTheme = require('windicss/defaultTheme');\nconst colors = require('windicss/colors');\nconst [baseFontSize, { lineHeight: baseLineHeight }] =\n    defaultTheme.fontSize.base;\nconst { spacing, borderWidth, borderRadius } = defaultTheme;\n\nmodule.exports = plugin(\n    function ({ addBase, theme }) {\n        addBase({\n            [[\n                \"[type='text']\",\n                \"[type='email']\",\n                \"[type='url']\",\n                \"[type='password']\",\n                \"[type='number']\",\n                \"[type='date']\",\n                \"[type='datetime-local']\",\n                \"[type='month']\",\n                \"[type='search']\",\n                \"[type='tel']\",\n                \"[type='time']\",\n                \"[type='week']\",\n                '[multiple]',\n                'textarea',\n                'select',\n            ]]: {\n                appearance: 'none',\n                'background-color': '#fff',\n                'border-color': theme('colors.gray.500', colors.gray[500]),\n                'border-width': borderWidth['DEFAULT'],\n                'border-radius': borderRadius.none,\n                'padding-top': spacing[2],\n                'padding-right': spacing[3],\n                'padding-bottom': spacing[2],\n                'padding-left': spacing[3],\n                'font-size': baseFontSize,\n                'line-height': baseLineHeight,\n                '--tw-shadow': '0 0 #0000',\n                '&:focus': {\n                    outline: '2px solid transparent',\n                    'outline-offset': '2px',\n                    '--tw-ring-inset': 'var(--tw-empty,/*!*/ /*!*/)',\n                    '--tw-ring-offset-width': '0px',\n                    '--tw-ring-offset-color': '#fff',\n                    '--tw-ring-color': theme(\n                        'colors.blue.600',\n                        colors.blue[600]\n                    ),\n                    '--tw-ring-offset-shadow': `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,\n                    '--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)`,\n                    'box-shadow': `var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)`,\n                    'border-color': theme('colors.blue.600', colors.blue[600]),\n                },\n            },\n            [['input::placeholder', 'textarea::placeholder']]: {\n                color: theme('colors.gray.500', colors.gray[500]),\n                opacity: '1',\n            },\n            ['::-webkit-datetime-edit-fields-wrapper']: {\n                padding: '0',\n            },\n            ['::-webkit-date-and-time-value']: {\n                'min-height': '1.5em',\n            },\n            ['select']: {\n                'background-image': `url(\"${svgToDataUri(\n                    `<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 20 20\"><path stroke=\"${theme(\n                        'colors.gray.500',\n                        colors.gray[500]\n                    )}\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6 8l4 4 4-4\"/></svg>`\n                )}\")`,\n                'background-position': `right ${spacing[2]} center`,\n                'background-repeat': `no-repeat`,\n                'background-size': `1.5em 1.5em`,\n                'padding-right': spacing[10],\n                'print-color-adjust': `exact`,\n            },\n            ['[multiple]']: {\n                'background-image': 'initial',\n                'background-position': 'initial',\n                'background-repeat': 'unset',\n                'background-size': 'initial',\n                'padding-right': spacing[3],\n                'print-color-adjust': 'unset',\n            },\n            [[`[type='checkbox']`, `[type='radio']`]]: {\n                appearance: 'none',\n                padding: '0',\n                'print-color-adjust': 'exact',\n                display: 'inline-block',\n                'vertical-align': 'middle',\n                'background-origin': 'border-box',\n                'user-select': 'none',\n                'flex-shrink': '0',\n                height: spacing[4],\n                width: spacing[4],\n                color: theme('colors.blue.600', colors.blue[600]),\n                'background-color': '#fff',\n                'border-color': theme('colors.gray.500', colors.gray[500]),\n                'border-width': borderWidth['DEFAULT'],\n                '--tw-shadow': '0 0 #0000',\n            },\n            [`[type='checkbox']`]: {\n                'border-radius': borderRadius['none'],\n            },\n            [`[type='radio']`]: {\n                'border-radius': '100%',\n            },\n            [[`[type='checkbox']:focus`, `[type='radio']:focus`]]: {\n                outline: '2px solid transparent',\n                'outline-offset': '2px',\n                '--tw-ring-inset': 'var(--tw-empty,/*!*/ /*!*/)',\n                '--tw-ring-offset-width': '2px',\n                '--tw-ring-offset-color': '#fff',\n                '--tw-ring-color': theme('colors.blue.600', colors.blue[600]),\n                '--tw-ring-offset-shadow': `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,\n                '--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)`,\n                'box-shadow': `var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)`,\n            },\n            [[\n                `[type='checkbox']:checked`,\n                `[type='radio']:checked`,\n                `.dark [type='checkbox']:checked`,\n                `.dark [type='radio']:checked`,\n            ]]: {\n                'border-color': `transparent`,\n                'background-color': `var(--color-brand)`,\n                'background-size': `100% 100%`,\n                'background-position': `center`,\n                'background-repeat': `no-repeat`,\n            },\n            [`[type='checkbox']:checked`]: {\n                'background-image': `url(\"${svgToDataUri(\n                    `<svg viewBox=\"0 0 16 16\" fill=\"#ccc\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z\"/></svg>`\n                )}\")`,\n            },\n            [`[type='radio']:checked`]: {\n                'background-image': `url(\"${svgToDataUri(\n                    `<svg viewBox=\"0 0 16 16\" fill=\"#ccc\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"8\" cy=\"8\" r=\"3\"/></svg>`\n                )}\")`,\n            },\n            [`[type='checkbox']:indeterminate`]: {\n                'background-image': `url(\"${svgToDataUri(\n                    `<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 16\"><path stroke=\"white\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 8h8\"/></svg>`\n                )}\")`,\n                'border-color': `transparent`,\n                'background-color': `var(--color-brand)`,\n                'background-size': `100% 100%`,\n                'background-position': `center`,\n                'background-repeat': `no-repeat`,\n            },\n            [[\n                `[type='checkbox']:indeterminate:hover`,\n                `[type='checkbox']:indeterminate:focus`,\n            ]]: {\n                'border-color': 'transparent',\n                'background-color': 'var(--color-brand)',\n            },\n            [`[type='file']`]: {\n                background: 'unset',\n                'border-color': 'inherit',\n                'border-width': '0',\n                'border-radius': '0',\n                padding: '0',\n                'font-size': 'unset',\n                'line-height': 'inherit',\n            },\n            [`[type='file']:focus`]: {\n                outline: `1px auto inherit`,\n            },\n            [[`input[type=file]::file-selector-button`]]: {\n                color: 'white',\n                background: theme('colors.gray.800', colors.gray[800]),\n                border: 0,\n                'font-weight': theme('fontWeight.medium'),\n                'font-size': theme('fontSize.sm'),\n                cursor: 'pointer',\n                'padding-top': spacing[2.5],\n                'padding-bottom': spacing[2.5],\n                'padding-left': spacing[8],\n                'padding-right': spacing[4],\n                'margin-inline-start': '-1rem',\n                'margin-inline-end': '1rem',\n                '&:hover': {\n                    background: theme('colors.gray.700', colors.gray[700]),\n                },\n            },\n            [[`.dark input[type=file]::file-selector-button`]]: {\n                color: 'white',\n                background: theme('colors.gray.600', colors.gray[600]),\n                '&:hover': {\n                    background: theme('colors.gray.500', colors.gray[500]),\n                },\n            },\n            [[`input[type=\"range\"]::-webkit-slider-thumb`]]: {\n                height: spacing[5],\n                width: spacing[5],\n                background: theme('colors.blue.600', colors.blue[600]),\n                'border-radius': borderRadius.full,\n                border: 0,\n                appearance: 'none',\n                '-moz-appearance': 'none',\n                '-webkit-appearance': 'none',\n                cursor: 'pointer',\n            },\n            [[`input[type=\"range\"]:disabled::-webkit-slider-thumb`]]: {\n                background: theme('colors.gray.400', colors.gray[400]),\n            },\n            [[`.dark input[type=\"range\"]:disabled::-webkit-slider-thumb`]]: {\n                background: theme('colors.gray.500', colors.gray[500]),\n            },\n            [[`input[type=\"range\"]:focus::-webkit-slider-thumb`]]: {\n                outline: '2px solid transparent',\n                'outline-offset': '2px',\n                '--tw-ring-offset-shadow':\n                    'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',\n                '--tw-ring-shadow':\n                    'var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)',\n                'box-shadow':\n                    'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',\n                '--tw-ring-opacity': 1,\n                '--tw-ring-color': 'rgb(164 202 254 / var(--tw-ring-opacity))',\n            },\n            [[`input[type=\"range\"]::-moz-range-thumb`]]: {\n                height: spacing[5],\n                width: spacing[5],\n                background: theme('colors.blue.600', colors.blue[600]),\n                'border-radius': borderRadius.full,\n                border: 0,\n                appearance: 'none',\n                '-moz-appearance': 'none',\n                '-webkit-appearance': 'none',\n                cursor: 'pointer',\n            },\n            [[`input[type=\"range\"]:disabled::-moz-range-thumb`]]: {\n                background: theme('colors.gray.400', colors.gray[400]),\n            },\n            [[`.dark input[type=\"range\"]:disabled::-moz-range-thumb`]]: {\n                background: theme('colors.gray.500', colors.gray[500]),\n            },\n            [[`input[type=\"range\"]::-moz-range-progress`]]: {\n                background: theme('colors.blue.500', colors.blue[500]),\n            },\n            [[`input[type=\"range\"]::-ms-fill-lower`]]: {\n                background: theme('colors.blue.500', colors.blue[500]),\n            },\n            [[`input[type=\"range\"].range-sm::-webkit-slider-thumb`]]: {\n                height: spacing[4],\n                width: spacing[4],\n            },\n            [[`input[type=\"range\"].range-lg::-webkit-slider-thumb`]]: {\n                height: spacing[6],\n                width: spacing[6],\n            },\n            [[`input[type=\"range\"].range-sm::-moz-range-thumb`]]: {\n                height: spacing[4],\n                width: spacing[4],\n            },\n            [[`input[type=\"range\"].range-lg::-moz-range-thumb`]]: {\n                height: spacing[6],\n                width: spacing[6],\n            },\n            // remove from v2.x+\n            ['.toggle-bg:after']: {\n                content: '\"\"',\n                position: 'absolute',\n                top: spacing[0.5],\n                left: spacing[0.5],\n                background: 'white',\n                'border-color': theme('colors.gray.300', colors.gray[300]),\n                'border-width': borderWidth['DEFAULT'],\n                'border-radius': borderRadius.full,\n                height: theme('height.5'),\n                width: theme('width.5'),\n                'transition-property':\n                    'background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter',\n                'transition-duration': '.15s',\n                'box-shadow':\n                    'var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)',\n            },\n            ['input:checked + .toggle-bg:after']: {\n                transform: 'translateX(100%);',\n                'border-color': 'white',\n            },\n            ['input:checked + .toggle-bg']: {\n                background: theme('colors.blue.600', colors.gray[600]),\n                'border-color': theme('colors.blue.600', colors.gray[600]),\n            },\n            // remove from v2.x+ END\n            [['.tooltip-arrow', '.tooltip-arrow:before']]: {\n                position: 'absolute',\n                width: '8px',\n                height: '8px',\n                background: 'inherit',\n            },\n            ['.tooltip-arrow']: {\n                visibility: 'hidden',\n            },\n            ['.tooltip-arrow:before']: {\n                content: '\"\"',\n                visibility: 'visible',\n                transform: 'rotate(45deg)',\n            },\n            [`[data-tooltip-style^='light'] + .tooltip > .tooltip-arrow:before`]:\n                {\n                    'border-style': 'solid',\n                    'border-color': colors.gray[200],\n                },\n            [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='top'] > .tooltip-arrow:before`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='right'] > .tooltip-arrow:before`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='bottom'] > .tooltip-arrow:before`]:\n                {\n                    'border-top-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='left'] > .tooltip-arrow:before`]:\n                {\n                    'border-top-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`.tooltip[data-popper-placement^='top'] > .tooltip-arrow`]: {\n                bottom: '-4px',\n            },\n            [`.tooltip[data-popper-placement^='bottom'] > .tooltip-arrow`]: {\n                top: '-4px',\n            },\n            [`.tooltip[data-popper-placement^='left'] > .tooltip-arrow`]: {\n                right: '-4px',\n            },\n            [`.tooltip[data-popper-placement^='right'] > .tooltip-arrow`]: {\n                left: '-4px',\n            },\n            ['.tooltip.invisible > .tooltip-arrow:before']: {\n                visibility: 'hidden',\n            },\n            [['[data-popper-arrow]', '[data-popper-arrow]:before']]: {\n                position: 'absolute',\n                width: '8px',\n                height: '8px',\n                background: 'inherit',\n            },\n            ['[data-popper-arrow]']: {\n                visibility: 'hidden',\n            },\n            ['[data-popper-arrow]:before']: {\n                content: '\"\"',\n                visibility: 'visible',\n                transform: 'rotate(45deg)',\n            },\n            ['[data-popper-arrow]:after']: {\n                content: '\"\"',\n                visibility: 'visible',\n                transform: 'rotate(45deg)',\n                position: 'absolute',\n                width: '9px',\n                height: '9px',\n                background: 'inherit',\n            },\n            [`[role=\"tooltip\"] > [data-popper-arrow]:before`]: {\n                'border-style': 'solid',\n                'border-color': colors.gray[200],\n            },\n            [`.dark [role=\"tooltip\"] > [data-popper-arrow]:before`]: {\n                'border-style': 'solid',\n                'border-color': colors.gray[600],\n            },\n            [`[role=\"tooltip\"] > [data-popper-arrow]:after`]: {\n                'border-style': 'solid',\n                'border-color': colors.gray[200],\n            },\n            [`.dark [role=\"tooltip\"] > [data-popper-arrow]:after`]: {\n                'border-style': 'solid',\n                'border-color': colors.gray[600],\n            },\n            [`[role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]:before`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]:after`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]:before`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]:after`]:\n                {\n                    'border-bottom-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]:before`]:\n                {\n                    'border-top-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]:after`]:\n                {\n                    'border-top-width': '1px',\n                    'border-left-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]:before`]:\n                {\n                    'border-top-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]:after`]:\n                {\n                    'border-top-width': '1px',\n                    'border-right-width': '1px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]`]:\n                {\n                    bottom: '-5px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]`]:\n                {\n                    top: '-5px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]`]:\n                {\n                    right: '-5px',\n                },\n            [`[role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]`]:\n                {\n                    left: '-5px',\n                },\n            ['[role=\"tooltip\"].invisible > [data-popper-arrow]:before']: {\n                visibility: 'hidden',\n            },\n            ['[role=\"tooltip\"].invisible > [data-popper-arrow]:after']: {\n                visibility: 'hidden',\n            },\n        });\n    },\n    {\n        darkMode: 'class', // or 'media' or 'class',\n        theme: {\n            extend: {\n                height: {\n                    modal: 'calc(100% - 2rem)',\n                },\n                boxShadow: {\n                    'sm-light': '0 2px 5px 0px rgba(255, 255, 255, 0.08)',\n                },\n                colors: {\n                    transparent: 'transparent',\n                    white: '#ffffff',\n                    black: '#000000',\n                    gray: {\n                        50: '#F9FAFB',\n                        100: '#F3F4F6',\n                        200: '#E5E7EB',\n                        300: '#D1D5DB',\n                        400: '#9CA3AF',\n                        500: '#6B7280',\n                        600: '#4B5563',\n                        700: '#374151',\n                        800: '#1F2937',\n                        900: '#111827',\n                    },\n                    red: {\n                        50: '#FDF2F2',\n                        100: '#FDE8E8',\n                        200: '#FBD5D5',\n                        300: '#F8B4B4',\n                        400: '#F98080',\n                        500: '#F05252',\n                        600: '#E02424',\n                        700: '#C81E1E',\n                        800: '#9B1C1C',\n                        900: '#771D1D',\n                    },\n                    orange: {\n                        50: '#FFF8F1',\n                        100: '#FEECDC',\n                        200: '#FCD9BD',\n                        300: '#FDBA8C',\n                        400: '#FF8A4C',\n                        500: '#FF5A1F',\n                        600: '#D03801',\n                        700: '#B43403',\n                        800: '#8A2C0D',\n                        900: '#771D1D',\n                    },\n                    yellow: {\n                        50: '#FDFDEA',\n                        100: '#FDF6B2',\n                        200: '#FCE96A',\n                        300: '#FACA15',\n                        400: '#E3A008',\n                        500: '#C27803',\n                        600: '#9F580A',\n                        700: '#8E4B10',\n                        800: '#723B13',\n                        900: '#633112',\n                    },\n                    green: {\n                        50: '#F3FAF7',\n                        100: '#DEF7EC',\n                        200: '#BCF0DA',\n                        300: '#84E1BC',\n                        400: '#31C48D',\n                        500: '#0E9F6E',\n                        600: '#057A55',\n                        700: '#046C4E',\n                        800: '#03543F',\n                        900: '#014737',\n                    },\n                    teal: {\n                        50: '#EDFAFA',\n                        100: '#D5F5F6',\n                        200: '#AFECEF',\n                        300: '#7EDCE2',\n                        400: '#16BDCA',\n                        500: '#0694A2',\n                        600: '#047481',\n                        700: '#036672',\n                        800: '#05505C',\n                        900: '#014451',\n                    },\n                    blue: {\n                        50: '#EBF5FF',\n                        100: '#E1EFFE',\n                        200: '#C3DDFD',\n                        300: '#A4CAFE',\n                        400: '#76A9FA',\n                        500: '#3F83F8',\n                        600: '#1C64F2',\n                        700: '#1A56DB',\n                        800: '#1E429F',\n                        900: '#233876',\n                    },\n                    indigo: {\n                        50: '#F0F5FF',\n                        100: '#E5EDFF',\n                        200: '#CDDBFE',\n                        300: '#B4C6FC',\n                        400: '#8DA2FB',\n                        500: '#6875F5',\n                        600: '#5850EC',\n                        700: '#5145CD',\n                        800: '#42389D',\n                        900: '#362F78',\n                    },\n                    purple: {\n                        50: '#F6F5FF',\n                        100: '#EDEBFE',\n                        200: '#DCD7FE',\n                        300: '#CABFFD',\n                        400: '#AC94FA',\n                        500: '#9061F9',\n                        600: '#7E3AF2',\n                        700: '#6C2BD9',\n                        800: '#5521B5',\n                        900: '#4A1D96',\n                    },\n                    pink: {\n                        50: '#FDF2F8',\n                        100: '#FCE8F3',\n                        200: '#FAD1E8',\n                        300: '#F8B4D9',\n                        400: '#F17EB8',\n                        500: '#E74694',\n                        600: '#D61F69',\n                        700: '#BF125D',\n                        800: '#99154B',\n                        900: '#751A3D',\n                    },\n                },\n            },\n        },\n    }\n);\n"
  },
  {
    "path": "plugin.d.ts",
    "content": "declare const plugin: { handler: () => void };\nexport = plugin;\n"
  },
  {
    "path": "plugin.js",
    "content": "/* eslint-disable @typescript-eslint/no-var-requires */\nconst svgToDataUri = require('mini-svg-data-uri');\nconst plugin = require('tailwindcss/plugin');\nconst defaultTheme = require('tailwindcss/defaultTheme');\nconst colors = require('tailwindcss/colors');\nconst [baseFontSize, { lineHeight: baseLineHeight }] =\n    defaultTheme.fontSize.base;\nconst { spacing, borderWidth, borderRadius, boxShadow } = defaultTheme;\n\nmodule.exports = plugin.withOptions(function (options = {}) {\n    // Enable forms and tooltip by default if not specified in options\n    const {\n        charts = true,\n        datatables = true,\n        forms = true,\n        tooltips = true,\n        wysiwyg = true,\n    } = options;\n\n    return function ({ addBase, addComponents, theme }) {\n        // tooltip and popover styles\n        if (tooltips) {\n            addBase({\n                // remove from v2.x+ END\n                [['.tooltip-arrow', '.tooltip-arrow:before']]: {\n                    position: 'absolute',\n                    width: '8px',\n                    height: '8px',\n                    background: 'inherit',\n                },\n                [['.tooltip-arrow']]: {\n                    visibility: 'hidden',\n                },\n                [['.tooltip-arrow:before']]: {\n                    content: '\"\"',\n                    visibility: 'visible',\n                    transform: 'rotate(45deg)',\n                },\n                [`[data-tooltip-style^='light'] + .tooltip > .tooltip-arrow:before`]:\n                    {\n                        'border-style': 'solid',\n                        'border-color': 'var(--color-neutral-tertiary)',\n                    },\n                [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='top'] > .tooltip-arrow:before`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='right'] > .tooltip-arrow:before`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='bottom'] > .tooltip-arrow:before`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-tooltip-style^='light'] + .tooltip[data-popper-placement^='left'] > .tooltip-arrow:before`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`.tooltip[data-popper-placement^='top'] > .tooltip-arrow`]: {\n                    bottom: '-3px',\n                },\n                [`.tooltip[data-popper-placement^='bottom'] > .tooltip-arrow`]:\n                    {\n                        top: '-3px',\n                    },\n                [`.tooltip[data-popper-placement^='left'] > .tooltip-arrow`]: {\n                    right: '-3px',\n                },\n                [`.tooltip[data-popper-placement^='right'] > .tooltip-arrow`]: {\n                    left: '-3px',\n                },\n                ['.tooltip.invisible > .tooltip-arrow:before']: {\n                    visibility: 'hidden',\n                },\n                [['[data-popper-arrow]', '[data-popper-arrow]:before']]: {\n                    position: 'absolute',\n                    width: '8px',\n                    height: '8px',\n                    background: 'inherit',\n                },\n                ['[data-popper-arrow]']: {\n                    visibility: 'hidden',\n                },\n                ['[data-popper-arrow]:before']: {\n                    content: '\"\"',\n                    visibility: 'visible',\n                    transform: 'rotate(45deg)',\n                },\n                ['[data-popper-arrow]:after']: {\n                    content: '\"\"',\n                    visibility: 'visible',\n                    transform: 'rotate(45deg)',\n                    position: 'absolute',\n                    width: '9px',\n                    height: '9px',\n                    background: 'inherit',\n                },\n                [`[role=\"tooltip\"] > [data-popper-arrow]:before`]: {\n                    'border-style': 'solid',\n                    'border-color': 'var(--color-neutral-tertiary)',\n                },\n                [`.dark [role=\"tooltip\"] > [data-popper-arrow]:before`]: {\n                    'border-style': 'solid',\n                    'border-color': 'var(--color-dark)',\n                },\n                [`[role=\"tooltip\"] > [data-popper-arrow]:after`]: {\n                    'border-style': 'solid',\n                    'border-color': 'var(--color-neutral-tertiary)',\n                },\n                [`.dark [role=\"tooltip\"] > [data-popper-arrow]:after`]: {\n                    'border-style': 'solid',\n                    'border-color': 'var(--color-dark)',\n                },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]:before`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]:after`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]:before`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]:after`]:\n                    {\n                        'border-bottom-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]:before`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]:after`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-left-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]:before`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]:after`]:\n                    {\n                        'border-top-width': '1px',\n                        'border-right-width': '1px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='top'] > [data-popper-arrow]`]:\n                    {\n                        bottom: '-4px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='bottom'] > [data-popper-arrow]`]:\n                    {\n                        top: '-4px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='left'] > [data-popper-arrow]`]:\n                    {\n                        right: '-4px',\n                    },\n                [`[data-popover][role=\"tooltip\"][data-popper-placement^='right'] > [data-popper-arrow]`]:\n                    {\n                        left: '-4px',\n                    },\n                ['[role=\"tooltip\"].invisible > [data-popper-arrow]:before']: {\n                    visibility: 'hidden',\n                },\n                ['[role=\"tooltip\"].invisible > [data-popper-arrow]:after']: {\n                    visibility: 'hidden',\n                },\n            });\n        }\n\n        // form styles\n        if (forms) {\n            addBase({\n                [[\n                    \"[type='text']\",\n                    \"[type='email']\",\n                    \"[type='url']\",\n                    \"[type='password']\",\n                    \"[type='number']\",\n                    \"[type='date']\",\n                    \"[type='datetime-local']\",\n                    \"[type='month']\",\n                    \"[type='search']\",\n                    \"[type='tel']\",\n                    \"[type='time']\",\n                    \"[type='week']\",\n                    '[multiple]',\n                    'textarea',\n                    'select',\n                ]]: {\n                    appearance: 'none',\n                    'background-color': '#fff',\n                    'border-color': 'var(--color-body)',\n                    'border-width': borderWidth['DEFAULT'],\n                    'border-radius': borderRadius.none,\n                    'padding-top': spacing[2],\n                    'padding-right': spacing[3],\n                    'padding-bottom': spacing[2],\n                    'padding-left': spacing[3],\n                    'font-size': baseFontSize,\n                    'line-height': baseLineHeight,\n                    '--tw-shadow': '0 0 #0000',\n                    '&:focus': {\n                        outline: '2px solid transparent',\n                        'outline-offset': '2px',\n                        '--tw-ring-inset': 'var(--tw-empty,/*!*/ /*!*/)',\n                        '--tw-ring-offset-width': '0px',\n                        '--tw-ring-offset-color': '#fff',\n                        '--tw-ring-color': 'var(--color-brand)',\n                        '--tw-ring-offset-shadow': `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,\n                        '--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)`,\n                        'box-shadow': `var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)`,\n                        'border-color': 'var(--color-brand)',\n                    },\n                },\n                [['input::placeholder', 'textarea::placeholder']]: {\n                    color: 'var(--color-body)',\n                    opacity: '1',\n                },\n                ['::-webkit-datetime-edit-fields-wrapper']: {\n                    padding: '0',\n                },\n                ['input[type=\"time\"]::-webkit-calendar-picker-indicator']: {\n                    background: 'none',\n                },\n                ['select:not([size])']: {\n                    'background-image': `url(\"${svgToDataUri(\n                        `<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 10 6\">\n                            <path stroke=\"${theme(\n                                'colors.gray.500',\n                                colors.gray[500]\n                            )}\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m1 1 4 4 4-4\"/>\n                          </svg>`\n                    )}\")`,\n                    'background-position': `right ${spacing[3]} center`,\n                    'background-repeat': `no-repeat`,\n                    'background-size': `0.75em 0.75em`,\n                    'padding-right': spacing[10],\n                    'print-color-adjust': `exact`,\n                },\n                [[`:is([dir=rtl]) select:not([size])`]]: {\n                    backgroundPosition: `left ${spacing[3]} center`,\n                    paddingRight: spacing[3],\n                    paddingLeft: 0,\n                },\n                ['[multiple]']: {\n                    'background-image': 'initial',\n                    'background-position': 'initial',\n                    'background-repeat': 'unset',\n                    'background-size': 'initial',\n                    'padding-right': spacing[3],\n                    'print-color-adjust': 'unset',\n                },\n                [[`[type='checkbox']`, `[type='radio']`]]: {\n                    position: 'relative',\n                    appearance: 'none',\n                    padding: '0',\n                    'print-color-adjust': 'exact',\n                    display: 'inline-block',\n                    'vertical-align': 'middle',\n                    'background-origin': 'border-box',\n                    'user-select': 'none',\n                    'flex-shrink': '0',\n                    height: spacing[4],\n                    width: spacing[4],\n                    color: 'var(--color-brand)',\n                    'background-color': '#fff',\n                    'border-color': 'var(--color-default)',\n                    'border-width': borderWidth['DEFAULT'],\n                    '--tw-shadow': '0 0 #0000',\n                },\n                [`[type='checkbox']`]: {\n                    'border-radius': borderRadius['none'],\n                },\n                [`[type='radio']`]: {\n                    'border-radius': '100%',\n                },\n                [[`[type='checkbox']:focus`, `[type='radio']:focus`]]: {\n                    outline: '1px solid transparent',\n                    // TODO: conflict with radio\n                    // 'outline-offset': '1px',\n                    '--tw-ring-inset': 'var(--tw-empty,/*!*/ /*!*/)',\n                    // TODO: conflict with radio\n                    // '--tw-ring-offset-width': '1px',\n                    '--tw-ring-offset-color': '#fff',\n                    '--tw-ring-color': 'var(--color-brand)',\n                    '--tw-ring-offset-shadow': `var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)`,\n                    '--tw-ring-shadow': `var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)`,\n                    'box-shadow': `var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)`,\n                },\n                [[\n                    `[type='checkbox']:checked`,\n                    `.dark [type='checkbox']:checked`,\n                ]]: {\n                    'border-color': `currentColor !important`,\n                },\n                [[\n                    `[type='checkbox']:checked`,\n                    `[type='radio']:checked`,\n                    `.dark [type='checkbox']:checked`,\n                    `.dark [type='radio']:checked`,\n                ]]: {\n                    // TODO: conflict with radio\n                    // 'border-color': `currentColor !important`,\n                    'background-color': `currentColor !important`,\n                    'background-size': `0.85em 0.85em !important`,\n                    'background-position': `center`,\n                    'background-repeat': `no-repeat`,\n                },\n                [`[type='checkbox']:checked`]: {\n                    'background-image': `url(\"${svgToDataUri(\n                        `<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" fill=\"none\" viewBox=\"0 0 24 24\">\n                            <path stroke=\"#ffffff\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 11.917 9.724 16.5 19 7.5\"/>\n                        </svg>`\n                    )}\")`,\n                    'background-repeat': `no-repeat`,\n                    'background-size': `0.75em 0.75em`,\n                    'print-color-adjust': `exact`,\n                },\n                [`[type='radio']:checked:before, [type='radio']:disabled:checked:before`]:\n                    {\n                        content: `''`,\n                        position: 'absolute',\n                        top: '50%',\n                        left: '50%',\n                        transform: 'translate(-50%, -50%)',\n                        'border-radius': '100%',\n                        'background-color': 'var(--color-brand)',\n                        width: `.9em !important`,\n                        height: `.9em !important`,\n                    },\n                [`[type='radio']:checked:after, [type='radio']:disabled:checked:after`]:\n                    {\n                        content: `''`,\n                        position: 'absolute',\n                        top: '50%',\n                        left: '50%',\n                        transform: 'translate(-50%, -50%)',\n                        'border-radius': '100%',\n                        'background-color': 'var(--color-white)',\n                        width: `.35em !important`,\n                        height: `.35em !important`,\n                    },\n                [`.dark [type='radio']:checked:before, .dark [type='radio']:disabled:checked:before`]:\n                    {\n                        content: `''`,\n                        position: 'absolute',\n                        top: '50%',\n                        left: '50%',\n                        transform: 'translate(-50%, -50%)',\n                        'border-radius': '100%',\n                        'background-color': 'var(--color-brand)',\n                        width: `.9em !important`,\n                        height: `.9em !important`,\n                    },\n                [`.dark [type='radio']:checked:after, .dark [type='radio']:disabled:checked:after`]:\n                    {\n                        content: `''`,\n                        position: 'absolute',\n                        top: '50%',\n                        left: '50%',\n                        transform: 'translate(-50%, -50%)',\n                        'border-radius': '100%',\n                        'background-color': 'var(--color-white)',\n                        width: `.35em !important`,\n                        height: `.35em !important`,\n                    },\n                [`[type='checkbox']:indeterminate`]: {\n                    'background-image': `url(\"${svgToDataUri(\n                        `<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 16 12\">\n                            <path stroke=\"white\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"3\" d=\"M0.5 6h14\"/>\n                            </svg>`\n                    )}\")`,\n                    'background-color': `currentColor !important`,\n                    'border-color': `transparent !important`,\n                    'background-position': `center`,\n                    'background-repeat': `no-repeat`,\n                    'background-size': `1.55em 1.55em`,\n                    'print-color-adjust': `exact`,\n                },\n                [[\n                    `[type='checkbox']:indeterminate:hover`,\n                    `[type='checkbox']:indeterminate:focus`,\n                ]]: {\n                    'border-color': 'transparent !important',\n                    'background-color': 'currentColor !important',\n                },\n                [`[type='file']`]: {\n                    background: 'unset',\n                    'border-color': 'inherit',\n                    'border-width': '0',\n                    'border-radius': '0',\n                    padding: '0',\n                    'font-size': 'unset',\n                    'line-height': 'inherit',\n                },\n                [`[type='file']:focus`]: {\n                    outline: `1px auto inherit`,\n                },\n                [[`input[type=file]::file-selector-button`]]: {\n                    color: 'var(--color-body)',\n                    background: 'var(--color-neutral-quaternary)',\n                    border: 0,\n                    'font-weight': theme('fontWeight.medium'),\n                    'font-size': theme('fontSize.sm')[0],\n                    cursor: 'pointer',\n                    'padding-top': spacing[2.5],\n                    'padding-bottom': spacing[2.5],\n                    'padding-left': spacing[8],\n                    'padding-right': spacing[4],\n                    'margin-inline-start': '-1rem',\n                    'margin-inline-end': '1rem',\n                    '&:hover': {\n                        background: 'var(--color-neutral-quaternary)',\n                    },\n                },\n                [[`:is([dir=rtl]) input[type=file]::file-selector-button`]]: {\n                    paddingRight: spacing[8],\n                    paddingLeft: spacing[4],\n                },\n                [[`.dark input[type=file]::file-selector-button`]]: {\n                    color: 'var(--color-body)',\n                    background: 'var(--color-neutral-quaternary)',\n                    '&:hover': {\n                        background: 'var(--color-neutral-quaternary)',\n                    },\n                },\n                [[`input[type=\"range\"]::-webkit-slider-thumb`]]: {\n                    height: spacing[5],\n                    width: spacing[5],\n                    background: 'var(--color-brand)',\n                    'border-radius': borderRadius.full,\n                    border: 0,\n                    appearance: 'none',\n                    '-moz-appearance': 'none',\n                    '-webkit-appearance': 'none',\n                    cursor: 'pointer',\n                },\n                [[`input[type=\"range\"]:disabled::-webkit-slider-thumb`]]: {\n                    background: 'var(--color-body)',\n                },\n                [[`.dark input[type=\"range\"]:disabled::-webkit-slider-thumb`]]:\n                    {\n                        background: 'var(--color-body)',\n                    },\n                [[`input[type=\"range\"]:focus::-webkit-slider-thumb`]]: {\n                    outline: '2px solid transparent',\n                    'outline-offset': '2px',\n                    '--tw-ring-offset-shadow':\n                        'var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)',\n                    '--tw-ring-shadow':\n                        'var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)',\n                    'box-shadow':\n                        'var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)',\n                    '--tw-ring-opacity': 1,\n                    '--tw-ring-color':\n                        'rgb(164 202 254 / var(--tw-ring-opacity))',\n                },\n                [[`input[type=\"range\"]::-moz-range-thumb`]]: {\n                    height: spacing[5],\n                    width: spacing[5],\n                    background: 'var(--color-brand)',\n                    'border-radius': borderRadius.full,\n                    border: 0,\n                    appearance: 'none',\n                    '-moz-appearance': 'none',\n                    '-webkit-appearance': 'none',\n                    cursor: 'pointer',\n                },\n                [[`input[type=\"range\"]:disabled::-moz-range-thumb`]]: {\n                    background: 'var(--color-body)',\n                },\n                [[`.dark input[type=\"range\"]:disabled::-moz-range-thumb`]]: {\n                    background: 'var(--color-body)',\n                },\n                [[`input[type=\"range\"]::-moz-range-progress`]]: {\n                    background: 'var(--color-brand)',\n                },\n                [[`input[type=\"range\"]::-ms-fill-lower`]]: {\n                    background: 'var(--color-brand)',\n                },\n                [[`input[type=\"range\"].range-sm::-webkit-slider-thumb`]]: {\n                    height: spacing[4],\n                    width: spacing[4],\n                },\n                [[`input[type=\"range\"].range-lg::-webkit-slider-thumb`]]: {\n                    height: spacing[6],\n                    width: spacing[6],\n                },\n                [[`input[type=\"range\"].range-sm::-moz-range-thumb`]]: {\n                    height: spacing[4],\n                    width: spacing[4],\n                },\n                [[`input[type=\"range\"].range-lg::-moz-range-thumb`]]: {\n                    height: spacing[6],\n                    width: spacing[6],\n                },\n                // remove from v2.x+\n                [['.toggle-bg:after']]: {\n                    content: '\"\"',\n                    position: 'absolute',\n                    top: spacing[0.5],\n                    left: spacing[0.5],\n                    background: 'white',\n                    'border-color': 'var(--color-default)',\n                    'border-width': borderWidth['DEFAULT'],\n                    'border-radius': borderRadius.full,\n                    height: theme('height.5'),\n                    width: theme('width.5'),\n                    'transition-property':\n                        'background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter',\n                    'transition-duration': '.15s',\n                    'box-shadow':\n                        'var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color)',\n                },\n                [['input:checked + .toggle-bg:after']]: {\n                    transform: 'translateX(100%);',\n                    'border-color': 'white',\n                },\n                [['input:checked + .toggle-bg']]: {\n                    background: 'var(--color-brand)',\n                    'border-color': 'var(--color-brand)',\n                },\n            });\n        }\n\n        if (wysiwyg) {\n            addComponents({\n                '.selectedCell': {\n                    backgroundColor: 'var(--color-neutral-secondary-medium)',\n                },\n                '.dark .selectedCell': {\n                    backgroundColor: 'var(--color-neutral-secondary-medium)',\n                },\n            });\n        }\n\n        // datatable styles\n        if (datatables) {\n            addComponents({\n                '.datatable-wrapper': {\n                    width: '100%',\n                },\n                '.datatable-wrapper .datatable-top': {\n                    display: 'flex',\n                    justifyContent: 'space-between',\n                    flexDirection: 'column-reverse',\n                    alignItems: 'start',\n                    gap: `${theme('spacing.4', spacing[4])}`,\n                    marginBottom: `${theme('spacing.4', spacing[4])}`,\n                    '@media (min-width: 640px)': {\n                        flexDirection: 'row-reverse',\n                        alignItems: 'center',\n                    },\n                },\n                '.datatable-wrapper .datatable-search .datatable-input, .datatable-wrapper .datatable-input':\n                    {\n                        color: 'var(--color-heading)',\n                        fontSize: `${theme('fontSize.sm')[0]}`,\n                        border: `1px solid var(--color-default)`,\n                        borderRadius: `var(--radius-base)`,\n                        backgroundColor: 'var(--color-neutral-secondary-soft)',\n                        minWidth: '16rem',\n                    },\n                '.datatable-wrapper thead th .datatable-input': {\n                    backgroundColor: 'var(--color-neutral-primary)',\n                    fontWeight: `${theme('fontWeight.normal')}`,\n                    color: 'var(--color-heading)',\n                    paddingTop: `.35rem`,\n                    paddingBottom: `.35rem`,\n                    minWidth: '0',\n                },\n                '.datatable-wrapper .datatable-top .datatable-dropdown': {\n                    color: 'var(--color-body)',\n                    fontSize: `${theme('fontSize.sm')[0]}`,\n                },\n                '.datatable-wrapper .datatable-top .datatable-dropdown .datatable-selector':\n                    {\n                        backgroundColor: 'var(--color-neutral-secondary-soft)',\n                        color: 'var(--color-heading)',\n                        fontSize: `${theme('fontSize.sm')[0]}`,\n                        border: `1px solid var(--color-default)`,\n                        borderRadius: `var(--radius-base)`,\n                        marginRight: `${theme('spacing.1', spacing[1])}`,\n                        minWidth: '4rem',\n                    },\n                '.datatable-wrapper .datatable-container thead tr.search-filtering-row th':\n                    {\n                        paddingTop: '0',\n                    },\n                '.datatable-wrapper .datatable-search .datatable-input:focus': {\n                    borderColor: 'var(--color-brand)',\n                },\n                '.datatable-wrapper .datatable-container': {\n                    overflowX: 'auto',\n                    border: '1px solid var(--color-default)',\n                    borderRadius: 'var(--radius-base)',\n                },\n                '.datatable-wrapper .datatable-table': {\n                    width: '100%',\n                    fontSize: `${theme('fontSize.sm')[0]}`,\n                    color: 'var(--color-body)',\n                    textAlign: 'left',\n                },\n                '.datatable-wrapper .datatable-table thead': {\n                    fontSize: `${theme('fontSize.xs')[0]}`,\n                    color: 'var(--color-body)',\n                    backgroundColor: 'var(--color-neutral-secondary-medium)',\n                    borderBottom: '1px solid var(--color-default)',\n                },\n                '.datatable-wrapper .datatable-table thead th': {\n                    whiteSpace: 'nowrap',\n                },\n                '.datatable-wrapper .datatable-table thead th, .datatable-wrapper .datatable-table tbody th, .datatable-wrapper .datatable-table tbody td':\n                    {\n                        width: 'auto !important',\n                        paddingTop: `${theme('spacing.3', spacing[3])}`,\n                        paddingBottom: `${theme('spacing.3', spacing[3])}`,\n                        paddingLeft: `${theme('spacing.6', spacing[6])}`,\n                        paddingRight: `${theme('spacing.6', spacing[6])}`,\n                    },\n                '.datatable-wrapper .datatable-table thead th .datatable-sorter, .datatable-wrapper .datatable-table thead th':\n                    {\n                        textTransform: 'uppercase',\n                    },\n                '.datatable-wrapper .datatable-table thead th .datatable-sorter:hover, .datatable-wrapper .datatable-table thead th.datatable-ascending .datatable-sorter, .datatable-wrapper .datatable-table thead th.datatable-descending .datatable-sorter':\n                    {\n                        color: 'var(--color-heading)',\n                    },\n                '.datatable-wrapper .datatable-table tbody tr.selected': {\n                    backgroundColor: 'var(--color-neutral-secondary)',\n                },\n                '.datatable-wrapper .datatable-table tbody tr': {\n                    borderBottom: `1px solid var(--color-default)`,\n                },\n                '.datatable-wrapper .datatable-table tbody tr:last-child': {\n                    borderBottom: 0,\n                },\n                '.datatable-wrapper .datatable-table .datatable-empty': {\n                    textAlign: 'center',\n                },\n                '.datatable-wrapper .datatable-bottom': {\n                    display: 'flex',\n                    flexDirection: 'column',\n                    justifyContent: 'space-between',\n                    alignItems: 'start',\n                    marginTop: `${theme('spacing.4', spacing[4])}`,\n                    gap: `${theme('spacing.4', spacing[4])}`,\n                    '@media (min-width: 640px)': {\n                        flexDirection: 'row',\n                        alignItems: 'center',\n                    },\n                },\n                '.datatable-wrapper .datatable-bottom .datatable-info': {\n                    color: 'var(--color-body)',\n                    fontSize: `${theme('fontSize.sm')[0]}`,\n                },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list':\n                    {\n                        display: 'flex',\n                        alignItems: 'center',\n                        height: spacing[8],\n                        fontSize: `${theme('fontSize.sm')[0]}`,\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item-link':\n                    {\n                        display: 'flex',\n                        alignItems: 'center',\n                        color: 'var(--color-body)',\n                        backgroundColor:\n                            'var(--color-neutral-secondary-medium)',\n                        fontWeight: `${theme('fontWeight.medium')}`,\n                        paddingLeft: `${theme('spacing.3', spacing[3])}`,\n                        paddingRight: `${theme('spacing.3', spacing[3])}`,\n                        height: spacing[8],\n                        fontSize: `${theme('fontSize.sm')[0]}`,\n                        borderTop: `1px solid var(--color-default)`,\n                        borderBottom: `1px solid var(--color-default)`,\n                        borderRight: `1px solid var(--color-default)`,\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item:hover .datatable-pagination-list-item-link':\n                    {\n                        color: 'var(--color-heading)',\n                        backgroundColor: 'var(--color-neutral-tertiary-medium)',\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item:first-of-type, .datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item:last-of-type':\n                    {\n                        position: 'relative',\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item.datatable-active .datatable-pagination-list-item-link':\n                    {\n                        color: 'var(--color-fg-brand)',\n                        backgroundColor: 'var(--color-neutral-tertiary-medium)',\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item:first-of-type .datatable-pagination-list-item-link':\n                    {\n                        borderTopLeftRadius: `var(--radius-base)`,\n                        borderBottomLeftRadius: `var(--radius-base)`,\n                        borderLeft: `1px solid var(--color-default)`,\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item:last-of-type .datatable-pagination-list-item-link':\n                    {\n                        borderTopRightRadius: `var(--radius-base)`,\n                        borderBottomRightRadius: `var(--radius-base)`,\n                        borderLeft: 0,\n                    },\n                '.datatable-wrapper .datatable-bottom .datatable-pagination .datatable-pagination-list-item-link:hover':\n                    {\n                        backgroundColor:\n                            'var(--color-neutral-secondary-medium)',\n                        color: 'var(--color-body)',\n                    },\n            });\n        }\n\n        // chart styles\n        if (charts) {\n            addComponents({\n                '.apexcharts-canvas .apexcharts-tooltip': {\n                    backgroundColor: 'primary !important',\n                    color: `var(--color-body) !important`,\n                    border: '0 !important',\n                    borderRadius: `var(--radius-base) !important`,\n                    // padding: `${theme('spacing.3', spacing[3])}`,\n                    boxShadow: `${theme(\n                        'boxShadow.md',\n                        boxShadow.md\n                    )} !important`,\n                },\n                '.dark .apexcharts-canvas .apexcharts-tooltip': {\n                    backgroundColor: `var(--color-neutral-secondary-medium) !important`,\n                    color: `var(--color-body) !important`,\n                    borderColor: `var(--color-default) !important`,\n                    boxShadow: `${theme(\n                        'boxShadow.md',\n                        boxShadow.md\n                    )} !important`,\n                },\n                '.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title':\n                    {\n                        paddingTop: `${theme(\n                            'spacing.2',\n                            spacing[2]\n                        )} !important`,\n                        paddingBottom: `${theme(\n                            'spacing.2',\n                            spacing[2]\n                        )} !important`,\n                        paddingRight: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        paddingLeft: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        marginBottom: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        backgroundColor: `var(--color-neutral-tertiary-medium) !important`,\n                        borderColor: `var(--color-light) !important`,\n                        fontSize: `${theme('fontSize.sm')[0]} !important`,\n                        fontWeight: `${theme(\n                            'fontWeight.semibold',\n                            defaultTheme.fontWeight.semibold\n                        )} !important`,\n                        color: `var(--color-heading) !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title':\n                    {\n                        backgroundColor: `var(--color-neutral-tertiary-medium) !important`,\n                        borderColor: `var(--color-light) !important`,\n                        color: `var(--color-heading) !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-xaxistooltip': {\n                    color: `var(--color-body) !important`,\n                    paddingTop: `${theme('spacing.2', spacing[2])} !important`,\n                    paddingBottom: `${theme(\n                        'spacing.2',\n                        spacing[2]\n                    )} !important`,\n                    paddingRight: `${theme(\n                        'spacing.3',\n                        spacing[3]\n                    )} !important`,\n                    paddingLeft: `${theme('spacing.3', spacing[3])} !important`,\n                    borderColor: `transparent !important`,\n                    backgroundColor: 'white !important',\n                    borderRadius: `${theme(\n                        'borderRadius.DEFAULT',\n                        borderRadius.DEFAULT\n                    )} !important`,\n                    boxShadow: `${theme(\n                        'boxShadow.md',\n                        boxShadow.md\n                    )} !important`,\n                },\n                '.dark .apexcharts-canvas .apexcharts-xaxistooltip': {\n                    color: `var(--color-body) !important`,\n                    backgroundColor: `var(--color-neutral-secondary-medium) !important`,\n                },\n                '.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-label':\n                    {\n                        color: `var(--color-body) !important`,\n                        fontSize: `${theme('fontSize.sm')[0]} !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-label':\n                    {\n                        color: `var(--color-body) !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-value':\n                    {\n                        color: 'var(--color-heading)',\n                        fontSize: `${theme('fontSize.sm')[0]} !important`,\n                    },\n                ':is([dir=rtl]) .apexcharts-tooltip .apexcharts-tooltip-marker':\n                    {\n                        marginRight: `${theme(\n                            'spacing.0',\n                            spacing[0]\n                        )} !important`,\n                        marginLeft: `${theme(\n                            'spacing.1.5',\n                            spacing[1.5]\n                        )} !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-text-y-value':\n                    {\n                        color: 'white !important',\n                    },\n                '.apexcharts-canvas .apexcharts-xaxistooltip-text': {\n                    fontWeight: `${theme(\n                        'fontWeight.normal',\n                        defaultTheme.fontWeight.normal\n                    )} !important`,\n                    fontSize: `${theme('fontSize.sm')[0]} !important`,\n                },\n                '.apexcharts-canvas .apexcharts-xaxistooltip:after, .apexcharts-canvas .apexcharts-xaxistooltip:before':\n                    {\n                        borderBottomColor:\n                            'var(--color-neutral-primary-medium) !important',\n                    },\n                '.apexcharts-canvas .apexcharts-xaxistooltip:after': {\n                    borderWidth: '8px !important',\n                    marginLeft: '-8px !important',\n                },\n                '.apexcharts-canvas .apexcharts-xaxistooltip:before': {\n                    borderWidth: '10px !important',\n                    marginLeft: '-10px !important',\n                },\n                '.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active .apexcharts-tooltip-y-group':\n                    {\n                        padding: '0 !important',\n                    },\n                '.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active':\n                    {\n                        paddingLeft: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        paddingRight: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        paddingBottom: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                        backgroundColor:\n                            'var(--color-neutral-primary-medium) !important',\n                        color: `var(--color-body) !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active':\n                    {\n                        backgroundColor: `var(--color-neutral-secondary-medium) !important`,\n                        color: `var(--color-body) !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-tooltip-series-group.apexcharts-active:first-of-type':\n                    {\n                        paddingTop: `${theme(\n                            'spacing.3',\n                            spacing[3]\n                        )} !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-legend': {\n                    padding: '0 !important',\n                },\n                '.apexcharts-canvas .apexcharts-legend-text': {\n                    fontSize: `${theme('fontSize.xs')[0]} !important`,\n                    fontWeight: `${theme(\n                        'fontWeight.medium',\n                        defaultTheme.fontWeight.medium\n                    )} !important`,\n                    paddingLeft: `${theme('spacing.5', spacing[5])} !important`,\n                    color: `var(--color-body) !important`,\n                },\n                ':is([dir=rtl]) .apexcharts-canvas .apexcharts-legend-text': {\n                    paddingRight: `${theme(\n                        'spacing.2',\n                        spacing[2]\n                    )} !important`,\n                },\n                '.apexcharts-canvas .apexcharts-legend-text:not(.apexcharts-inactive-legend):hover':\n                    {\n                        color: `var(--color-heading) !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-legend-text': {\n                    color: `var(--color-body) !important`,\n                },\n                '.dark .apexcharts-canvas .apexcharts-legend-text:not(.apexcharts-inactive-legend):hover':\n                    {\n                        color: `heading !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-legend-series': {\n                    marginLeft: `${theme('spacing.2', spacing[2])} !important`,\n                    marginRight: `${theme('spacing.2', spacing[2])} !important`,\n                    marginBottom: `${theme(\n                        'spacing.1',\n                        spacing[1]\n                    )} !important`,\n                    display: 'flex !important',\n                    alignItems: 'center !important',\n                },\n                '.apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-value':\n                    {\n                        fill: `var(--color-heading) !important`,\n                        fontSize: `${theme('fontSize.3xl')} !important`,\n                        fontWeight: `${theme(\n                            'fontWeight.bold',\n                            defaultTheme.fontWeight.bold\n                        )} !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-value':\n                    {\n                        fill: `white !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-label':\n                    {\n                        fill: `var(--color-body) !important`,\n                        fontSize: `${theme('fontSize.base')} !important`,\n                        fontWeight: `${theme(\n                            'fontWeight.normal',\n                            defaultTheme.fontWeight.normal\n                        )} !important`,\n                    },\n                '.dark .apexcharts-canvas .apexcharts-datalabels-group .apexcharts-text.apexcharts-datalabel-label':\n                    {\n                        fill: `var(--color-body) !important`,\n                    },\n                '.apexcharts-canvas .apexcharts-datalabels .apexcharts-text.apexcharts-pie-label':\n                    {\n                        fontSize: `${theme('fontSize.xs')} !important`,\n                        fontWeight: `${theme(\n                            'fontWeight.semibold',\n                            defaultTheme.fontWeight.semibold\n                        )} !important`,\n                        textShadow: `${theme(\n                            'boxShadow.none',\n                            boxShadow.none\n                        )} !important`,\n                        filter: `none !important`,\n                    },\n                '.apexcharts-gridline, .apexcharts-xcrosshairs, .apexcharts-ycrosshairs':\n                    {\n                        stroke: `var(--color-default) !important`,\n                    },\n                '.dark .apexcharts-gridline, .dark .apexcharts-xcrosshairs, .dark .apexcharts-ycrosshairs':\n                    {\n                        stroke: `var(--color-default) !important`,\n                    },\n            });\n        }\n    };\n});\n"
  },
  {
    "path": "postcss.config.js",
    "content": "/* eslint-disable @typescript-eslint/no-var-requires */\nmodule.exports = {\n    plugins: {\n        '@tailwindcss/postcss': {},\n        'cssnano':\n            process.env.NPM_ENV === 'production'\n                ? { preset: 'default' }\n                : false,\n    },\n};\n"
  },
  {
    "path": "safelist.txt",
    "content": "datatable-wrapper\ndatatable-top\ndatatable-search\ndatatable-input\ndatatable-container\ndatatable-table\ndatatable-empty\ndatatable-bottom\ndatatable-info\ndatatable-pagination\ndatatable-pagination-list\ndatatable-pagination-list-item\ndatatable-pagination-list-item-link\ndatatable-dropdown\ndatatable-selector\nsearch-filtering-row\ndatatable-sorter\ndatatable-ascending\ndatatable-descending\nselected\nselectedCell\napexcharts-canvas\napexcharts-datalabels\napexcharts-text\napexcharts-pie-label\napexcharts-datalabels-group\napexcharts-datalabel-label\napexcharts-legend\napexcharts-legend-series\napexcharts-legend-text\napexcharts-legend-text:not(apexcharts-inactive-legend):hover\napexcharts-tooltip\napexcharts-tooltip-text-y-label\napexcharts-tooltip-text-y-value\napexcharts-tooltip-title\napexcharts-tooltip-series-group\napexcharts-active\napexcharts-tooltip-y-group\napexcharts-active:first-of-type\napexcharts-xaxistooltip\napexcharts-xaxistooltip-text\napexcharts-xaxistooltip:after\napexcharts-xaxistooltip:before\napexcharts-datalabel-value\napexcharts-gridline\napexcharts-xcrosshairs\napexcharts-ycrosshairs\napexcharts-tooltip-marker\nz-40\nw-64\nw-1/2\nrounded-l-lg\nrounded-r-lg\nrounded-s-lg\nrounded-e-lg\nbg-gray-200\ngrid-cols-4\ngrid-cols-7\nh-6\nleading-6\nh-9\nleading-9\nshadow-lg\n!bg-gray-50\ndark:!bg-gray-700\n!bg-primary-600\ndark:!bg-primary-600"
  },
  {
    "path": "src/components/accordion/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { AccordionItem, AccordionOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { AccordionInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: AccordionOptions = {\n    alwaysOpen: false,\n    activeClasses: 'bg-neutral-secondary-medium text-heading',\n    inactiveClasses: 'bg-neutral-primary text-body',\n    onOpen: () => {},\n    onClose: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Accordion implements AccordionInterface {\n    _instanceId: string;\n    _accordionEl: HTMLElement;\n    _items: AccordionItem[];\n    _options: AccordionOptions;\n    _clickHandler: EventListenerOrEventListenerObject;\n    _initialized: boolean;\n\n    constructor(\n        accordionEl: HTMLElement | null = null,\n        items: AccordionItem[] = [],\n        options: AccordionOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : accordionEl.id;\n        this._accordionEl = accordionEl;\n        this._items = items;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Accordion',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._items.length && !this._initialized) {\n            // show accordion item based on click\n            this._items.forEach((item) => {\n                if (item.active) {\n                    this.open(item.id);\n                }\n\n                const clickHandler = () => {\n                    this.toggle(item.id);\n                };\n\n                item.triggerEl.addEventListener('click', clickHandler);\n\n                // Store the clickHandler in a property of the item for removal later\n                item.clickHandler = clickHandler;\n            });\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._items.length && this._initialized) {\n            this._items.forEach((item) => {\n                item.triggerEl.removeEventListener('click', item.clickHandler);\n\n                // Clean up by deleting the clickHandler property from the item\n                delete item.clickHandler;\n            });\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Accordion', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getItem(id: string) {\n        return this._items.filter((item) => item.id === id)[0];\n    }\n\n    open(id: string) {\n        const item = this.getItem(id);\n\n        // don't hide other accordions if always open\n        if (!this._options.alwaysOpen) {\n            this._items.map((i) => {\n                if (i !== item) {\n                    i.triggerEl.classList.remove(\n                        ...this._options.activeClasses.split(' ')\n                    );\n                    i.triggerEl.classList.add(\n                        ...this._options.inactiveClasses.split(' ')\n                    );\n                    i.targetEl.classList.add('hidden');\n                    i.triggerEl.setAttribute('aria-expanded', 'false');\n                    i.active = false;\n\n                    // rotate icon if set\n                    if (i.iconEl) {\n                        i.iconEl.classList.add('rotate-180');\n                    }\n                }\n            });\n        }\n\n        // show active item\n        item.triggerEl.classList.add(...this._options.activeClasses.split(' '));\n        item.triggerEl.classList.remove(\n            ...this._options.inactiveClasses.split(' ')\n        );\n        item.triggerEl.setAttribute('aria-expanded', 'true');\n        item.targetEl.classList.remove('hidden');\n        item.active = true;\n\n        // rotate icon if set\n        if (item.iconEl) {\n            item.iconEl.classList.remove('rotate-180');\n        }\n\n        // callback function\n        this._options.onOpen(this, item);\n    }\n\n    toggle(id: string) {\n        const item = this.getItem(id);\n\n        if (item.active) {\n            this.close(id);\n        } else {\n            this.open(id);\n        }\n\n        // callback function\n        this._options.onToggle(this, item);\n    }\n\n    close(id: string) {\n        const item = this.getItem(id);\n\n        item.triggerEl.classList.remove(\n            ...this._options.activeClasses.split(' ')\n        );\n        item.triggerEl.classList.add(\n            ...this._options.inactiveClasses.split(' ')\n        );\n        item.targetEl.classList.add('hidden');\n        item.triggerEl.setAttribute('aria-expanded', 'false');\n        item.active = false;\n\n        // rotate icon if set\n        if (item.iconEl) {\n            item.iconEl.classList.add('rotate-180');\n        }\n\n        // callback function\n        this._options.onClose(this, item);\n    }\n\n    updateOnOpen(callback: () => void) {\n        this._options.onOpen = callback;\n    }\n\n    updateOnClose(callback: () => void) {\n        this._options.onClose = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initAccordions() {\n    document.querySelectorAll('[data-accordion]').forEach(($accordionEl) => {\n        const alwaysOpen = $accordionEl.getAttribute('data-accordion');\n        const activeClasses = $accordionEl.getAttribute('data-active-classes');\n        const inactiveClasses = $accordionEl.getAttribute(\n            'data-inactive-classes'\n        );\n\n        const items = [] as AccordionItem[];\n        $accordionEl\n            .querySelectorAll('[data-accordion-target]')\n            .forEach(($triggerEl) => {\n                // Consider only items that directly belong to $accordionEl\n                // (to make nested accordions work).\n                if ($triggerEl.closest('[data-accordion]') === $accordionEl) {\n                    const item = {\n                        id: $triggerEl.getAttribute('data-accordion-target'),\n                        triggerEl: $triggerEl,\n                        targetEl: document.querySelector(\n                            $triggerEl.getAttribute('data-accordion-target')\n                        ),\n                        iconEl: $triggerEl.querySelector(\n                            '[data-accordion-icon]'\n                        ),\n                        active:\n                            $triggerEl.getAttribute('aria-expanded') === 'true'\n                                ? true\n                                : false,\n                    } as AccordionItem;\n                    items.push(item);\n                }\n            });\n\n        new Accordion($accordionEl as HTMLElement, items, {\n            alwaysOpen: alwaysOpen === 'open' ? true : false,\n            activeClasses: activeClasses\n                ? activeClasses\n                : Default.activeClasses,\n            inactiveClasses: inactiveClasses\n                ? inactiveClasses\n                : Default.inactiveClasses,\n        } as AccordionOptions);\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Accordion = Accordion;\n    window.initAccordions = initAccordions;\n}\n\nexport default Accordion;\n"
  },
  {
    "path": "src/components/accordion/interface.ts",
    "content": "// Import the AccordionItem and AccordionOptions interfaces\nimport { AccordionItem, AccordionOptions } from './types';\n\n// Define the Accordion interface\nexport declare interface AccordionInterface {\n    _items: AccordionItem[];\n    _options: AccordionOptions;\n\n    getItem(id: string): AccordionItem | undefined;\n    open(id: string): void;\n    toggle(id: string): void;\n    close(id: string): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/accordion/types.ts",
    "content": "import { AccordionInterface } from './interface';\n\nexport declare type AccordionItem = {\n    id: string;\n    triggerEl: HTMLElement;\n    targetEl: HTMLElement;\n    iconEl?: HTMLElement | null;\n    active?: boolean;\n    clickHandler?: EventListenerOrEventListenerObject;\n};\n\nexport declare type AccordionOptions = {\n    alwaysOpen?: boolean;\n    activeClasses?: string;\n    inactiveClasses?: string;\n    onOpen?: (accordion: AccordionInterface, item: AccordionItem) => void;\n    onClose?: (accordion: AccordionInterface, item: AccordionItem) => void;\n    onToggle?: (accordion: AccordionInterface, item: AccordionItem) => void;\n};\n"
  },
  {
    "path": "src/components/carousel/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type {\n    CarouselOptions,\n    CarouselItem,\n    IndicatorItem,\n    RotationItems,\n} from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { CarouselInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: CarouselOptions = {\n    defaultPosition: 0,\n    indicators: {\n        items: [],\n        activeClasses: 'bg-white dark:bg-gray-800',\n        inactiveClasses:\n            'bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800',\n    },\n    interval: 3000,\n    onNext: () => {},\n    onPrev: () => {},\n    onChange: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Carousel implements CarouselInterface {\n    _instanceId: string;\n    _carouselEl: HTMLElement;\n    _items: CarouselItem[];\n    _indicators: IndicatorItem[];\n    _activeItem: CarouselItem;\n    _intervalDuration: number;\n    _intervalInstance: number;\n    _options: CarouselOptions;\n    _initialized: boolean;\n\n    constructor(\n        carouselEl: HTMLElement | null = null,\n        items: CarouselItem[] = [],\n        options: CarouselOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : carouselEl.id;\n        this._carouselEl = carouselEl;\n        this._items = items;\n        this._options = {\n            ...Default,\n            ...options,\n            indicators: { ...Default.indicators, ...options.indicators },\n        };\n        this._activeItem = this.getItem(this._options.defaultPosition);\n        this._indicators = this._options.indicators.items;\n        this._intervalDuration = this._options.interval;\n        this._intervalInstance = null;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Carousel',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    /**\n     * initialize carousel and items based on active one\n     */\n    init() {\n        if (this._items.length && !this._initialized) {\n            this._items.map((item: CarouselItem) => {\n                item.el.classList.add(\n                    'absolute',\n                    'inset-0',\n                    'transition-transform',\n                    'transform'\n                );\n            });\n\n            // if no active item is set then first position is default\n            if (this.getActiveItem()) {\n                this.slideTo(this.getActiveItem().position);\n            } else {\n                this.slideTo(0);\n            }\n\n            this._indicators.map((indicator, position) => {\n                indicator.el.addEventListener('click', () => {\n                    this.slideTo(position);\n                });\n            });\n\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Carousel', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getItem(position: number) {\n        return this._items[position];\n    }\n\n    /**\n     * Slide to the element based on id\n     * @param {*} position\n     */\n    slideTo(position: number) {\n        const nextItem: CarouselItem = this._items[position];\n        const rotationItems: RotationItems = {\n            left:\n                nextItem.position === 0\n                    ? this._items[this._items.length - 1]\n                    : this._items[nextItem.position - 1],\n            middle: nextItem,\n            right:\n                nextItem.position === this._items.length - 1\n                    ? this._items[0]\n                    : this._items[nextItem.position + 1],\n        };\n        this._rotate(rotationItems);\n        this._setActiveItem(nextItem);\n        if (this._intervalInstance) {\n            this.pause();\n            this.cycle();\n        }\n\n        this._options.onChange(this);\n    }\n\n    /**\n     * Based on the currently active item it will go to the next position\n     */\n    next() {\n        const activeItem = this.getActiveItem();\n        let nextItem = null;\n\n        // check if last item\n        if (activeItem.position === this._items.length - 1) {\n            nextItem = this._items[0];\n        } else {\n            nextItem = this._items[activeItem.position + 1];\n        }\n\n        this.slideTo(nextItem.position);\n\n        // callback function\n        this._options.onNext(this);\n    }\n\n    /**\n     * Based on the currently active item it will go to the previous position\n     */\n    prev() {\n        const activeItem = this.getActiveItem();\n        let prevItem = null;\n\n        // check if first item\n        if (activeItem.position === 0) {\n            prevItem = this._items[this._items.length - 1];\n        } else {\n            prevItem = this._items[activeItem.position - 1];\n        }\n\n        this.slideTo(prevItem.position);\n\n        // callback function\n        this._options.onPrev(this);\n    }\n\n    /**\n     * This method applies the transform classes based on the left, middle, and right rotation carousel items\n     * @param {*} rotationItems\n     */\n    _rotate(rotationItems: RotationItems) {\n        // reset\n        this._items.map((item: CarouselItem) => {\n            item.el.classList.add('hidden');\n        });\n\n        // Handling the case when there is only one item\n        if (this._items.length === 1) {\n            rotationItems.middle.el.classList.remove(\n                '-translate-x-full',\n                'translate-x-full',\n                'translate-x-0',\n                'hidden',\n                'z-10'\n            );\n            rotationItems.middle.el.classList.add('translate-x-0', 'z-20');\n            return;\n        }\n\n        // left item (previously active)\n        rotationItems.left.el.classList.remove(\n            '-translate-x-full',\n            'translate-x-full',\n            'translate-x-0',\n            'hidden',\n            'z-20'\n        );\n\n        rotationItems.left.el.classList.add('-translate-x-full', 'z-10');\n\n        // currently active item\n        rotationItems.middle.el.classList.remove(\n            '-translate-x-full',\n            'translate-x-full',\n            'translate-x-0',\n            'hidden',\n            'z-10'\n        );\n        rotationItems.middle.el.classList.add('translate-x-0', 'z-30');\n\n        // right item (upcoming active)\n        rotationItems.right.el.classList.remove(\n            '-translate-x-full',\n            'translate-x-full',\n            'translate-x-0',\n            'hidden',\n            'z-30'\n        );\n        rotationItems.right.el.classList.add('translate-x-full', 'z-20');\n    }\n\n    /**\n     * Set an interval to cycle through the carousel items\n     */\n    cycle() {\n        if (typeof window !== 'undefined') {\n            this._intervalInstance = window.setInterval(() => {\n                this.next();\n            }, this._intervalDuration);\n        }\n    }\n\n    /**\n     * Clears the cycling interval\n     */\n    pause() {\n        clearInterval(this._intervalInstance);\n    }\n\n    /**\n     * Get the currently active item\n     */\n    getActiveItem() {\n        return this._activeItem;\n    }\n\n    /**\n     * Set the currently active item and data attribute\n     * @param {*} position\n     */\n    _setActiveItem(item: CarouselItem) {\n        this._activeItem = item;\n        const position = item.position;\n\n        // update the indicators if available\n        if (this._indicators.length) {\n            this._indicators.map((indicator) => {\n                indicator.el.setAttribute('aria-current', 'false');\n                indicator.el.classList.remove(\n                    ...this._options.indicators.activeClasses.split(' ')\n                );\n                indicator.el.classList.add(\n                    ...this._options.indicators.inactiveClasses.split(' ')\n                );\n            });\n            this._indicators[position].el.classList.add(\n                ...this._options.indicators.activeClasses.split(' ')\n            );\n            this._indicators[position].el.classList.remove(\n                ...this._options.indicators.inactiveClasses.split(' ')\n            );\n            this._indicators[position].el.setAttribute('aria-current', 'true');\n        }\n    }\n\n    updateOnNext(callback: () => void) {\n        this._options.onNext = callback;\n    }\n\n    updateOnPrev(callback: () => void) {\n        this._options.onPrev = callback;\n    }\n\n    updateOnChange(callback: () => void) {\n        this._options.onChange = callback;\n    }\n}\n\nexport function initCarousels() {\n    document.querySelectorAll('[data-carousel]').forEach(($carouselEl) => {\n        const interval = $carouselEl.getAttribute('data-carousel-interval');\n        const slide =\n            $carouselEl.getAttribute('data-carousel') === 'slide'\n                ? true\n                : false;\n\n        const items: CarouselItem[] = [];\n        let defaultPosition = 0;\n        if ($carouselEl.querySelectorAll('[data-carousel-item]').length) {\n            Array.from(\n                $carouselEl.querySelectorAll('[data-carousel-item]')\n            ).map(($carouselItemEl: HTMLElement, position: number) => {\n                items.push({\n                    position: position,\n                    el: $carouselItemEl,\n                });\n\n                if (\n                    $carouselItemEl.getAttribute('data-carousel-item') ===\n                    'active'\n                ) {\n                    defaultPosition = position;\n                }\n            });\n        }\n\n        const indicators: IndicatorItem[] = [];\n        if ($carouselEl.querySelectorAll('[data-carousel-slide-to]').length) {\n            Array.from(\n                $carouselEl.querySelectorAll('[data-carousel-slide-to]')\n            ).map(($indicatorEl: HTMLElement) => {\n                indicators.push({\n                    position: parseInt(\n                        $indicatorEl.getAttribute('data-carousel-slide-to')\n                    ),\n                    el: $indicatorEl,\n                });\n            });\n        }\n\n        const carousel = new Carousel($carouselEl as HTMLElement, items, {\n            defaultPosition: defaultPosition,\n            indicators: {\n                items: indicators,\n            },\n            interval: interval ? interval : Default.interval,\n        } as CarouselOptions);\n\n        if (slide) {\n            carousel.cycle();\n        }\n\n        // check for controls\n        const carouselNextEl = $carouselEl.querySelector(\n            '[data-carousel-next]'\n        );\n        const carouselPrevEl = $carouselEl.querySelector(\n            '[data-carousel-prev]'\n        );\n\n        if (carouselNextEl) {\n            carouselNextEl.addEventListener('click', () => {\n                carousel.next();\n            });\n        }\n\n        if (carouselPrevEl) {\n            carouselPrevEl.addEventListener('click', () => {\n                carousel.prev();\n            });\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Carousel = Carousel;\n    window.initCarousels = initCarousels;\n}\n\nexport default Carousel;\n"
  },
  {
    "path": "src/components/carousel/interface.ts",
    "content": "import {\n    CarouselOptions,\n    CarouselItem,\n    IndicatorItem,\n    RotationItems,\n} from './types';\n\nexport declare interface CarouselInterface {\n    _items: CarouselItem[];\n    _indicators: IndicatorItem[];\n    _activeItem: CarouselItem;\n    _intervalDuration: number;\n    _intervalInstance: number;\n    _options: CarouselOptions;\n\n    init(): void;\n\n    getItem(position: number): CarouselItem;\n    getActiveItem(): CarouselItem;\n\n    _setActiveItem(item: CarouselItem): void;\n\n    slideTo(position: number): void;\n\n    next(): void;\n    prev(): void;\n\n    _rotate(rotationItems: RotationItems): void;\n    cycle(): void;\n    pause(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/carousel/types.ts",
    "content": "import { CarouselInterface } from './interface';\n\nexport declare type CarouselItem = {\n    position: number;\n    el: HTMLElement;\n};\n\nexport declare type IndicatorItem = {\n    position: number;\n    el: HTMLElement;\n};\n\nexport declare type RotationItems = {\n    left: CarouselItem;\n    middle: CarouselItem;\n    right: CarouselItem;\n};\n\nexport declare type CarouselOptions = {\n    defaultPosition?: number;\n    indicators?: {\n        items?: IndicatorItem[];\n        activeClasses?: string;\n        inactiveClasses?: string;\n    };\n    interval?: number;\n    onNext?: (carousel: CarouselInterface) => void;\n    onPrev?: (carousel: CarouselInterface) => void;\n    onChange?: (carousel: CarouselInterface) => void;\n};\n"
  },
  {
    "path": "src/components/clipboard/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { CopyClipboardOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { CopyClipboardInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: CopyClipboardOptions = {\n    htmlEntities: false,\n    contentType: 'input',\n    onCopy: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass CopyClipboard implements CopyClipboardInterface {\n    _instanceId: string;\n    _triggerEl: HTMLElement | null;\n    _targetEl: HTMLInputElement | null;\n    _options: CopyClipboardOptions;\n    _initialized: boolean;\n    _triggerElClickHandler: EventListenerOrEventListenerObject;\n    _inputHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        triggerEl: HTMLElement | null = null,\n        targetEl: HTMLInputElement | null = null,\n        options: CopyClipboardOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n\n        this._triggerEl = triggerEl;\n        this._targetEl = targetEl;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n\n        this.init();\n        instances.addInstance(\n            'CopyClipboard',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._targetEl && this._triggerEl && !this._initialized) {\n            this._triggerElClickHandler = () => {\n                this.copy();\n            };\n\n            // clicking on the trigger element should copy the value of the target element\n            if (this._triggerEl) {\n                this._triggerEl.addEventListener(\n                    'click',\n                    this._triggerElClickHandler\n                );\n            }\n\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._triggerEl && this._targetEl && this._initialized) {\n            if (this._triggerEl) {\n                this._triggerEl.removeEventListener(\n                    'click',\n                    this._triggerElClickHandler\n                );\n            }\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('CopyClipboard', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getTargetValue() {\n        if (this._options.contentType === 'input') {\n            return this._targetEl.value;\n        }\n\n        if (this._options.contentType === 'innerHTML') {\n            return this._targetEl.innerHTML;\n        }\n\n        if (this._options.contentType === 'textContent') {\n            return this._targetEl.textContent.replace(/\\s+/g, ' ').trim();\n        }\n    }\n\n    copy() {\n        let textToCopy = this.getTargetValue();\n\n        // Check if HTMLEntities option is enabled\n        if (this._options.htmlEntities) {\n            // Encode the text using HTML entities\n            textToCopy = this.decodeHTML(textToCopy);\n        }\n\n        // Create a temporary textarea element\n        const tempTextArea = document.createElement('textarea');\n        tempTextArea.value = textToCopy;\n        document.body.appendChild(tempTextArea);\n\n        // Select the text inside the textarea and copy it to the clipboard\n        tempTextArea.select();\n        document.execCommand('copy');\n\n        // Remove the temporary textarea\n        document.body.removeChild(tempTextArea);\n\n        // Callback function\n        this._options.onCopy(this);\n\n        return textToCopy;\n    }\n\n    // Function to encode text into HTML entities\n    decodeHTML(html: string) {\n        const textarea = document.createElement('textarea');\n        textarea.innerHTML = html;\n        return textarea.textContent;\n    }\n\n    updateOnCopyCallback(callback: () => void) {\n        this._options.onCopy = callback;\n    }\n}\n\nexport function initCopyClipboards() {\n    document\n        .querySelectorAll('[data-copy-to-clipboard-target]')\n        .forEach(($triggerEl) => {\n            const targetId = $triggerEl.getAttribute(\n                'data-copy-to-clipboard-target'\n            );\n            const $targetEl = document.getElementById(targetId);\n            const contentType = $triggerEl.getAttribute(\n                'data-copy-to-clipboard-content-type'\n            );\n            const htmlEntities = $triggerEl.getAttribute(\n                'data-copy-to-clipboard-html-entities'\n            );\n\n            // check if the target element exists\n            if ($targetEl) {\n                if (\n                    !instances.instanceExists(\n                        'CopyClipboard',\n                        $targetEl.getAttribute('id')\n                    )\n                ) {\n                    new CopyClipboard(\n                        $triggerEl as HTMLElement,\n                        $targetEl as HTMLInputElement,\n                        {\n                            htmlEntities:\n                                htmlEntities && htmlEntities === 'true'\n                                    ? true\n                                    : Default.htmlEntities,\n                            contentType: contentType\n                                ? contentType\n                                : Default.contentType,\n                        } as CopyClipboardOptions\n                    );\n                }\n            } else {\n                console.error(\n                    `The target element with id \"${targetId}\" does not exist. Please check the data-copy-to-clipboard-target attribute.`\n                );\n            }\n        });\n}\n\nif (typeof window !== 'undefined') {\n    window.CopyClipboard = CopyClipboard;\n    window.initClipboards = initCopyClipboards;\n}\n\nexport default CopyClipboard;\n"
  },
  {
    "path": "src/components/clipboard/interface.ts",
    "content": "import { CopyClipboardOptions } from './types';\n\nexport declare interface CopyClipboardInterface {\n    _triggerEl: HTMLElement | null;\n    _targetEl: HTMLElement | HTMLInputElement | null;\n    _options: CopyClipboardOptions;\n\n    init(): void;\n    copy(): string;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/clipboard/types.ts",
    "content": "import { CopyClipboardInterface } from './interface';\n\nexport declare type CopyClipboardOptions = {\n    htmlEntities: boolean;\n    contentType?: string;\n    onCopy?: (clipboard: CopyClipboardInterface) => void;\n};\n"
  },
  {
    "path": "src/components/collapse/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { CollapseOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { CollapseInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: CollapseOptions = {\n    onCollapse: () => {},\n    onExpand: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Collapse implements CollapseInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: CollapseOptions;\n    _visible: boolean;\n    _initialized: boolean;\n    _clickHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        triggerEl: HTMLElement | null = null,\n        options: CollapseOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._triggerEl = triggerEl;\n        this._options = { ...Default, ...options };\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Collapse',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            if (this._triggerEl.hasAttribute('aria-expanded')) {\n                this._visible =\n                    this._triggerEl.getAttribute('aria-expanded') === 'true';\n            } else {\n                // fix until v2 not to break previous single collapses which became dismiss\n                this._visible = !this._targetEl.classList.contains('hidden');\n            }\n\n            this._clickHandler = () => {\n                this.toggle();\n            };\n\n            this._triggerEl.addEventListener('click', this._clickHandler);\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._triggerEl && this._initialized) {\n            this._triggerEl.removeEventListener('click', this._clickHandler);\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Collapse', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    collapse() {\n        this._targetEl.classList.add('hidden');\n        if (this._triggerEl) {\n            this._triggerEl.setAttribute('aria-expanded', 'false');\n        }\n        this._visible = false;\n\n        // callback function\n        this._options.onCollapse(this);\n    }\n\n    expand() {\n        this._targetEl.classList.remove('hidden');\n        if (this._triggerEl) {\n            this._triggerEl.setAttribute('aria-expanded', 'true');\n        }\n        this._visible = true;\n\n        // callback function\n        this._options.onExpand(this);\n    }\n\n    toggle() {\n        if (this._visible) {\n            this.collapse();\n        } else {\n            this.expand();\n        }\n        // callback function\n        this._options.onToggle(this);\n    }\n\n    updateOnCollapse(callback: () => void) {\n        this._options.onCollapse = callback;\n    }\n\n    updateOnExpand(callback: () => void) {\n        this._options.onExpand = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initCollapses() {\n    document\n        .querySelectorAll('[data-collapse-toggle]')\n        .forEach(($triggerEl) => {\n            const targetId = $triggerEl.getAttribute('data-collapse-toggle');\n            const $targetEl = document.getElementById(targetId);\n\n            // check if the target element exists\n            if ($targetEl) {\n                if (\n                    !instances.instanceExists(\n                        'Collapse',\n                        $targetEl.getAttribute('id')\n                    )\n                ) {\n                    new Collapse(\n                        $targetEl as HTMLElement,\n                        $triggerEl as HTMLElement\n                    );\n                } else {\n                    // if instance exists already for the same target element then create a new one with a different trigger element\n                    new Collapse(\n                        $targetEl as HTMLElement,\n                        $triggerEl as HTMLElement,\n                        {},\n                        {\n                            id:\n                                $targetEl.getAttribute('id') +\n                                '_' +\n                                instances._generateRandomId(),\n                        }\n                    );\n                }\n            } else {\n                console.error(\n                    `The target element with id \"${targetId}\" does not exist. Please check the data-collapse-toggle attribute.`\n                );\n            }\n        });\n}\n\nif (typeof window !== 'undefined') {\n    window.Collapse = Collapse;\n    window.initCollapses = initCollapses;\n}\n\nexport default Collapse;\n"
  },
  {
    "path": "src/components/collapse/interface.ts",
    "content": "import { CollapseOptions } from './types';\n\nexport declare interface CollapseInterface {\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: CollapseOptions;\n    _visible: boolean;\n\n    init(): void;\n    collapse(): void;\n    expand(): void;\n    toggle(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/collapse/types.ts",
    "content": "import { CollapseInterface } from './interface';\n\nexport declare type CollapseOptions = {\n    onCollapse?: (collapse: CollapseInterface) => void;\n    onExpand?: (collapse: CollapseInterface) => void;\n    onToggle?: (collapse: CollapseInterface) => void;\n};\n"
  },
  {
    "path": "src/components/datepicker/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { DatepickerOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { DatepickerInterface } from './interface';\nimport instances from '../../dom/instances';\n\nimport {\n    Datepicker as FlowbiteDatepicker,\n    DateRangePicker as FlowbiteDateRangePicker,\n} from 'flowbite-datepicker';\n\nconst Default: DatepickerOptions = {\n    defaultDatepickerId: null,\n    autohide: false,\n    format: 'mm/dd/yyyy',\n    maxDate: null,\n    minDate: null,\n    orientation: 'bottom',\n    buttons: false,\n    autoSelectToday: 0,\n    title: null,\n    language: 'en',\n    rangePicker: false,\n    onShow: () => {},\n    onHide: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Datepicker implements DatepickerInterface {\n    _instanceId: string;\n    _datepickerEl: HTMLElement;\n    _datepickerInstance: FlowbiteDatepicker | FlowbiteDateRangePicker | null;\n    _options: DatepickerOptions;\n    _initialized: boolean;\n\n    constructor(\n        datepickerEl: HTMLElement | null = null,\n        options: DatepickerOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : datepickerEl.id;\n        this._datepickerEl = datepickerEl;\n        this._datepickerInstance = null;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Datepicker',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._datepickerEl && !this._initialized) {\n            if (this._options.rangePicker) {\n                this._datepickerInstance = new FlowbiteDateRangePicker(\n                    this._datepickerEl,\n                    this._getDatepickerOptions(this._options)\n                );\n            } else {\n                this._datepickerInstance = new FlowbiteDatepicker(\n                    this._datepickerEl,\n                    this._getDatepickerOptions(this._options)\n                );\n            }\n\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            this._initialized = false;\n            this._datepickerInstance.destroy();\n        }\n    }\n\n    removeInstance() {\n        this.destroy();\n        instances.removeInstance('Datepicker', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getDatepickerInstance() {\n        return this._datepickerInstance;\n    }\n\n    getDate() {\n        if (\n            this._options.rangePicker &&\n            this._datepickerInstance instanceof FlowbiteDateRangePicker\n        ) {\n            return this._datepickerInstance.getDates();\n        }\n\n        if (\n            !this._options.rangePicker &&\n            this._datepickerInstance instanceof FlowbiteDatepicker\n        ) {\n            return this._datepickerInstance.getDate();\n        }\n    }\n\n    setDate(date: any) {\n        if (\n            this._options.rangePicker &&\n            this._datepickerInstance instanceof FlowbiteDateRangePicker\n        ) {\n            return this._datepickerInstance.setDates(date);\n        }\n\n        if (\n            !this._options.rangePicker &&\n            this._datepickerInstance instanceof FlowbiteDatepicker\n        ) {\n            return this._datepickerInstance.setDate(date);\n        }\n    }\n\n    show() {\n        this._datepickerInstance.show();\n        this._options.onShow(this);\n    }\n\n    hide() {\n        this._datepickerInstance.hide();\n        this._options.onHide(this);\n    }\n\n    _getDatepickerOptions(options: DatepickerOptions) {\n        const datepickerOptions = {} as any;\n\n        if (options.buttons) {\n            datepickerOptions.todayBtn = true;\n            datepickerOptions.clearBtn = true;\n\n            if (options.autoSelectToday) {\n                datepickerOptions.todayBtnMode = 1;\n            }\n        }\n\n        if (options.autohide) {\n            datepickerOptions.autohide = true;\n        }\n\n        if (options.format) {\n            datepickerOptions.format = options.format;\n        }\n\n        if (options.maxDate) {\n            datepickerOptions.maxDate = options.maxDate;\n        }\n\n        if (options.minDate) {\n            datepickerOptions.minDate = options.minDate;\n        }\n\n        if (options.orientation) {\n            datepickerOptions.orientation = options.orientation;\n        }\n\n        if (options.title) {\n            datepickerOptions.title = options.title;\n        }\n\n        if (options.language) {\n            datepickerOptions.language = options.language;\n        }\n\n        return datepickerOptions;\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n}\n\nexport function initDatepickers() {\n    document\n        .querySelectorAll(\n            '[datepicker], [inline-datepicker], [date-rangepicker]'\n        )\n        .forEach(($datepickerEl) => {\n            if ($datepickerEl) {\n                const buttons =\n                    $datepickerEl.hasAttribute('datepicker-buttons');\n                const autoselectToday = $datepickerEl.hasAttribute(\n                    'datepicker-autoselect-today'\n                );\n                const autohide = $datepickerEl.hasAttribute(\n                    'datepicker-autohide'\n                );\n                const format = $datepickerEl.getAttribute('datepicker-format');\n                const maxDate = $datepickerEl.getAttribute(\n                    'datepicker-max-date'\n                );\n                const minDate = $datepickerEl.getAttribute(\n                    'datepicker-min-date'\n                );\n                const orientation = $datepickerEl.getAttribute(\n                    'datepicker-orientation'\n                );\n                const title = $datepickerEl.getAttribute('datepicker-title');\n                const language = $datepickerEl.getAttribute(\n                    'datepicker-language'\n                );\n                const rangePicker =\n                    $datepickerEl.hasAttribute('date-rangepicker');\n                new Datepicker(\n                    $datepickerEl as HTMLElement,\n                    {\n                        buttons: buttons ? buttons : Default.buttons,\n                        autoSelectToday: autoselectToday\n                            ? autoselectToday\n                            : Default.autoSelectToday,\n                        autohide: autohide ? autohide : Default.autohide,\n                        format: format ? format : Default.format,\n                        maxDate: maxDate ? maxDate : Default.maxDate,\n                        minDate: minDate ? minDate : Default.minDate,\n                        orientation: orientation\n                            ? orientation\n                            : Default.orientation,\n                        title: title ? title : Default.title,\n                        language: language ? language : Default.language,\n                        rangePicker: rangePicker\n                            ? rangePicker\n                            : Default.rangePicker,\n                    } as DatepickerOptions\n                );\n            } else {\n                console.error(\n                    `The datepicker element does not exist. Please check the datepicker attribute.`\n                );\n            }\n        });\n}\n\nif (typeof window !== 'undefined') {\n    window.Datepicker = Datepicker;\n    window.initDatepickers = initDatepickers;\n}\n\nexport default Datepicker;\n"
  },
  {
    "path": "src/components/datepicker/interface.ts",
    "content": "/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DatepickerOptions } from './types';\n\nexport declare interface DatepickerInterface {\n    _datepickerEl: HTMLElement;\n    _datepickerInstance: any | null;\n    _options: DatepickerOptions;\n\n    init(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/datepicker/types.ts",
    "content": "/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { DatepickerInterface } from './interface';\n\nexport interface DatepickerOptions {\n    defaultDatepickerId?: string | null;\n    autohide?: boolean;\n    format?: string;\n    maxDate?: string | null;\n    minDate?: string | null;\n    orientation?: string;\n    buttons?: boolean;\n    autoSelectToday?: number;\n    title?: string | null;\n    language?: string;\n    locales?: { [key: string]: any };\n    rangePicker?: boolean | false;\n    onShow?: (Datepicker: DatepickerInterface) => void;\n    onHide?: (Datepicker: DatepickerInterface) => void;\n}\n"
  },
  {
    "path": "src/components/dial/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { DialOptions, DialTriggerType } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { DialInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: DialOptions = {\n    triggerType: 'hover',\n    onShow: () => {},\n    onHide: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Dial implements DialInterface {\n    _instanceId: string;\n    _parentEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _targetEl: HTMLElement;\n    _options: DialOptions;\n    _visible: boolean;\n    _initialized: boolean;\n    _showEventHandler: EventListenerOrEventListenerObject;\n    _hideEventHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        parentEl: HTMLElement | null = null,\n        triggerEl: HTMLElement | null = null,\n        targetEl: HTMLElement | null = null,\n        options: DialOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._parentEl = parentEl;\n        this._triggerEl = triggerEl;\n        this._targetEl = targetEl;\n        this._options = { ...Default, ...options };\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Dial',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            const triggerEventTypes = this._getTriggerEventTypes(\n                this._options.triggerType\n            );\n\n            this._showEventHandler = () => {\n                this.show();\n            };\n\n            triggerEventTypes.showEvents.forEach((ev: string) => {\n                this._triggerEl.addEventListener(ev, this._showEventHandler);\n                this._targetEl.addEventListener(ev, this._showEventHandler);\n            });\n\n            this._hideEventHandler = () => {\n                if (!this._parentEl.matches(':hover')) {\n                    this.hide();\n                }\n            };\n\n            triggerEventTypes.hideEvents.forEach((ev: string) => {\n                this._parentEl.addEventListener(ev, this._hideEventHandler);\n            });\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            const triggerEventTypes = this._getTriggerEventTypes(\n                this._options.triggerType\n            );\n\n            triggerEventTypes.showEvents.forEach((ev: string) => {\n                this._triggerEl.removeEventListener(ev, this._showEventHandler);\n                this._targetEl.removeEventListener(ev, this._showEventHandler);\n            });\n\n            triggerEventTypes.hideEvents.forEach((ev: string) => {\n                this._parentEl.removeEventListener(ev, this._hideEventHandler);\n            });\n\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Dial', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    hide() {\n        this._targetEl.classList.add('hidden');\n        if (this._triggerEl) {\n            this._triggerEl.setAttribute('aria-expanded', 'false');\n        }\n        this._visible = false;\n\n        // callback function\n        this._options.onHide(this);\n    }\n\n    show() {\n        this._targetEl.classList.remove('hidden');\n        if (this._triggerEl) {\n            this._triggerEl.setAttribute('aria-expanded', 'true');\n        }\n        this._visible = true;\n\n        // callback function\n        this._options.onShow(this);\n    }\n\n    toggle() {\n        if (this._visible) {\n            this.hide();\n        } else {\n            this.show();\n        }\n    }\n\n    isHidden() {\n        return !this._visible;\n    }\n\n    isVisible() {\n        return this._visible;\n    }\n\n    _getTriggerEventTypes(triggerType: DialTriggerType) {\n        switch (triggerType) {\n            case 'hover':\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n            case 'click':\n                return {\n                    showEvents: ['click', 'focus'],\n                    hideEvents: ['focusout', 'blur'],\n                };\n            case 'none':\n                return {\n                    showEvents: [],\n                    hideEvents: [],\n                };\n            default:\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n        }\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initDials() {\n    document.querySelectorAll('[data-dial-init]').forEach(($parentEl) => {\n        const $triggerEl = $parentEl.querySelector('[data-dial-toggle]');\n\n        if ($triggerEl) {\n            const dialId = $triggerEl.getAttribute('data-dial-toggle');\n            const $dialEl = document.getElementById(dialId);\n\n            if ($dialEl) {\n                const triggerType =\n                    $triggerEl.getAttribute('data-dial-trigger');\n                new Dial(\n                    $parentEl as HTMLElement,\n                    $triggerEl as HTMLElement,\n                    $dialEl as HTMLElement,\n                    {\n                        triggerType: triggerType\n                            ? triggerType\n                            : Default.triggerType,\n                    } as DialOptions\n                );\n            } else {\n                console.error(\n                    `Dial with id ${dialId} does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?`\n                );\n            }\n        } else {\n            console.error(\n                `Dial with id ${$parentEl.id} does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Dial = Dial;\n    window.initDials = initDials;\n}\n\nexport default Dial;\n"
  },
  {
    "path": "src/components/dial/interface.ts",
    "content": "import { DialOptions, DialTriggerEventTypes, DialTriggerType } from './types';\n\nexport declare interface DialInterface {\n    _parentEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _targetEl: HTMLElement;\n    _options: DialOptions;\n    _visible: boolean;\n\n    init(): void;\n    isVisible(): boolean;\n    isHidden(): boolean;\n    hide(): void;\n    show(): void;\n    toggle(): void;\n    _getTriggerEventTypes(triggerType: DialTriggerType): DialTriggerEventTypes;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/dial/types.ts",
    "content": "import { DialInterface } from './interface';\n\nexport declare type DialTriggerType = 'click' | 'hover' | 'none';\n\nexport declare type DialTriggerEventTypes = {\n    showEvents: string[];\n    hideEvents: string[];\n};\n\nexport declare type DialOptions = {\n    triggerType?: DialTriggerType;\n    onShow?: (dial: DialInterface) => void;\n    onHide?: (dial: DialInterface) => void;\n    onToggle?: (dial: DialInterface) => void;\n};\n"
  },
  {
    "path": "src/components/dismiss/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { DismissOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { DismissInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: DismissOptions = {\n    transition: 'transition-opacity',\n    duration: 300,\n    timing: 'ease-out',\n    onHide: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Dismiss implements DismissInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: DismissOptions;\n    _initialized: boolean;\n    _clickHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        triggerEl: HTMLElement | null = null,\n        options: DismissOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._triggerEl = triggerEl;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Dismiss',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            this._clickHandler = () => {\n                this.hide();\n            };\n            this._triggerEl.addEventListener('click', this._clickHandler);\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._triggerEl && this._initialized) {\n            this._triggerEl.removeEventListener('click', this._clickHandler);\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Dismiss', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    hide() {\n        this._targetEl.classList.add(\n            this._options.transition,\n            `duration-${this._options.duration}`,\n            this._options.timing,\n            'opacity-0'\n        );\n        setTimeout(() => {\n            this._targetEl.classList.add('hidden');\n        }, this._options.duration);\n\n        // callback function\n        this._options.onHide(this, this._targetEl);\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n}\n\nexport function initDismisses() {\n    document.querySelectorAll('[data-dismiss-target]').forEach(($triggerEl) => {\n        const targetId = $triggerEl.getAttribute('data-dismiss-target');\n        const $dismissEl = document.querySelector(targetId);\n\n        if ($dismissEl) {\n            new Dismiss($dismissEl as HTMLElement, $triggerEl as HTMLElement);\n        } else {\n            console.error(\n                `The dismiss element with id \"${targetId}\" does not exist. Please check the data-dismiss-target attribute.`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Dismiss = Dismiss;\n    window.initDismisses = initDismisses;\n}\n\nexport default Dismiss;\n"
  },
  {
    "path": "src/components/dismiss/interface.ts",
    "content": "import { DismissOptions } from './types';\n\nexport declare interface DismissInterface {\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: DismissOptions;\n\n    init(): void;\n    hide(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/dismiss/types.ts",
    "content": "import { DismissInterface } from './interface';\n\nexport declare type DismissOptions = {\n    transition?: string;\n    duration?: number;\n    timing?: string;\n    onHide?: (dismiss: DismissInterface, targetEl: HTMLElement) => void;\n};\n"
  },
  {
    "path": "src/components/drawer/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { DrawerOptions, PlacementClasses } from './types';\nimport type { InstanceOptions, EventListenerInstance } from '../../dom/types';\nimport { DrawerInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: DrawerOptions = {\n    placement: 'left',\n    bodyScrolling: false,\n    backdrop: true,\n    edge: false,\n    edgeOffset: 'bottom-[60px]',\n    backdropClasses: 'bg-dark-backdrop/70 fixed inset-0 z-30',\n    onShow: () => {},\n    onHide: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Drawer implements DrawerInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _options: DrawerOptions;\n    _visible: boolean;\n    _eventListenerInstances: EventListenerInstance[] = [];\n    _handleEscapeKey: EventListenerOrEventListenerObject;\n    _initialized: boolean;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        options: DrawerOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._options = { ...Default, ...options };\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Drawer',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        // set initial accessibility attributes\n        if (this._targetEl && !this._initialized) {\n            this._targetEl.setAttribute('aria-hidden', 'true');\n            this._targetEl.classList.add('transition-transform');\n\n            // set base placement classes\n            this._getPlacementClasses(this._options.placement).base.map((c) => {\n                this._targetEl.classList.add(c);\n            });\n\n            this._handleEscapeKey = (event: KeyboardEvent) => {\n                if (event.key === 'Escape') {\n                    // if 'Escape' key is pressed\n                    if (this.isVisible()) {\n                        // if the Drawer is visible\n                        this.hide(); // hide the Drawer\n                    }\n                }\n            };\n\n            // add keyboard event listener to document\n            document.addEventListener('keydown', this._handleEscapeKey);\n\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            this.removeAllEventListenerInstances();\n            this._destroyBackdropEl();\n\n            // Remove the keyboard event listener\n            document.removeEventListener('keydown', this._handleEscapeKey);\n\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Drawer', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    hide() {\n        // based on the edge option show placement classes\n        if (this._options.edge) {\n            this._getPlacementClasses(\n                this._options.placement + '-edge'\n            ).active.map((c) => {\n                this._targetEl.classList.remove(c);\n            });\n            this._getPlacementClasses(\n                this._options.placement + '-edge'\n            ).inactive.map((c) => {\n                this._targetEl.classList.add(c);\n            });\n        } else {\n            this._getPlacementClasses(this._options.placement).active.map(\n                (c) => {\n                    this._targetEl.classList.remove(c);\n                }\n            );\n            this._getPlacementClasses(this._options.placement).inactive.map(\n                (c) => {\n                    this._targetEl.classList.add(c);\n                }\n            );\n        }\n\n        // set accessibility attributes\n        this._targetEl.setAttribute('aria-hidden', 'true');\n        this._targetEl.removeAttribute('aria-modal');\n        this._targetEl.removeAttribute('role');\n\n        // enable body scroll\n        if (!this._options.bodyScrolling) {\n            document.body.classList.remove('overflow-hidden');\n        }\n\n        // destroy backdrop\n        if (this._options.backdrop) {\n            this._destroyBackdropEl();\n        }\n\n        this._visible = false;\n\n        // callback function\n        this._options.onHide(this);\n    }\n\n    show() {\n        if (this._options.edge) {\n            this._getPlacementClasses(\n                this._options.placement + '-edge'\n            ).active.map((c) => {\n                this._targetEl.classList.add(c);\n            });\n            this._getPlacementClasses(\n                this._options.placement + '-edge'\n            ).inactive.map((c) => {\n                this._targetEl.classList.remove(c);\n            });\n        } else {\n            this._getPlacementClasses(this._options.placement).active.map(\n                (c) => {\n                    this._targetEl.classList.add(c);\n                }\n            );\n            this._getPlacementClasses(this._options.placement).inactive.map(\n                (c) => {\n                    this._targetEl.classList.remove(c);\n                }\n            );\n        }\n\n        // set accessibility attributes\n        this._targetEl.setAttribute('aria-modal', 'true');\n        this._targetEl.setAttribute('role', 'dialog');\n        this._targetEl.removeAttribute('aria-hidden');\n\n        // disable body scroll\n        if (!this._options.bodyScrolling) {\n            document.body.classList.add('overflow-hidden');\n        }\n\n        // show backdrop\n        if (this._options.backdrop) {\n            this._createBackdrop();\n        }\n\n        this._visible = true;\n\n        // callback function\n        this._options.onShow(this);\n    }\n\n    toggle() {\n        if (this.isVisible()) {\n            this.hide();\n        } else {\n            this.show();\n        }\n    }\n\n    _createBackdrop() {\n        if (!this._visible) {\n            const backdropEl = document.createElement('div');\n            backdropEl.setAttribute('drawer-backdrop', '');\n            backdropEl.classList.add(\n                ...this._options.backdropClasses.split(' ')\n            );\n            document.querySelector('body').append(backdropEl);\n            backdropEl.addEventListener('click', () => {\n                this.hide();\n            });\n        }\n    }\n\n    _destroyBackdropEl() {\n        if (\n            this._visible &&\n            document.querySelector('[drawer-backdrop]') !== null\n        ) {\n            document.querySelector('[drawer-backdrop]').remove();\n        }\n    }\n\n    _getPlacementClasses(placement: string): PlacementClasses {\n        switch (placement) {\n            case 'top':\n                return {\n                    base: ['top-0', 'left-0', 'right-0'],\n                    active: ['transform-none'],\n                    inactive: ['-translate-y-full'],\n                };\n            case 'right':\n                return {\n                    base: ['right-0', 'top-0'],\n                    active: ['transform-none'],\n                    inactive: ['translate-x-full'],\n                };\n            case 'bottom':\n                return {\n                    base: ['bottom-0', 'left-0', 'right-0'],\n                    active: ['transform-none'],\n                    inactive: ['translate-y-full'],\n                };\n            case 'left':\n                return {\n                    base: ['left-0', 'top-0'],\n                    active: ['transform-none'],\n                    inactive: ['-translate-x-full'],\n                };\n            case 'bottom-edge':\n                return {\n                    base: ['left-0', 'top-0'],\n                    active: ['transform-none'],\n                    inactive: ['translate-y-full', this._options.edgeOffset],\n                };\n            default:\n                return {\n                    base: ['left-0', 'top-0'],\n                    active: ['transform-none'],\n                    inactive: ['-translate-x-full'],\n                };\n        }\n    }\n\n    isHidden() {\n        return !this._visible;\n    }\n\n    isVisible() {\n        return this._visible;\n    }\n\n    addEventListenerInstance(\n        element: HTMLElement,\n        type: string,\n        handler: EventListenerOrEventListenerObject\n    ) {\n        this._eventListenerInstances.push({\n            element: element,\n            type: type,\n            handler: handler,\n        });\n    }\n\n    removeAllEventListenerInstances() {\n        this._eventListenerInstances.map((eventListenerInstance) => {\n            eventListenerInstance.element.removeEventListener(\n                eventListenerInstance.type,\n                eventListenerInstance.handler\n            );\n        });\n        this._eventListenerInstances = [];\n    }\n\n    getAllEventListenerInstances() {\n        return this._eventListenerInstances;\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initDrawers() {\n    document.querySelectorAll('[data-drawer-target]').forEach(($triggerEl) => {\n        // mandatory\n        const drawerId = $triggerEl.getAttribute('data-drawer-target');\n        const $drawerEl = document.getElementById(drawerId);\n\n        if ($drawerEl) {\n            const placement = $triggerEl.getAttribute('data-drawer-placement');\n            const bodyScrolling = $triggerEl.getAttribute(\n                'data-drawer-body-scrolling'\n            );\n            const backdrop = $triggerEl.getAttribute('data-drawer-backdrop');\n            const edge = $triggerEl.getAttribute('data-drawer-edge');\n            const edgeOffset = $triggerEl.getAttribute(\n                'data-drawer-edge-offset'\n            );\n\n            new Drawer($drawerEl, {\n                placement: placement ? placement : Default.placement,\n                bodyScrolling: bodyScrolling\n                    ? bodyScrolling === 'true'\n                        ? true\n                        : false\n                    : Default.bodyScrolling,\n                backdrop: backdrop\n                    ? backdrop === 'true'\n                        ? true\n                        : false\n                    : Default.backdrop,\n                edge: edge ? (edge === 'true' ? true : false) : Default.edge,\n                edgeOffset: edgeOffset ? edgeOffset : Default.edgeOffset,\n            } as DrawerOptions);\n        } else {\n            console.error(\n                `Drawer with id ${drawerId} not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?`\n            );\n        }\n    });\n\n    document.querySelectorAll('[data-drawer-toggle]').forEach(($triggerEl) => {\n        const drawerId = $triggerEl.getAttribute('data-drawer-toggle');\n        const $drawerEl = document.getElementById(drawerId);\n\n        if ($drawerEl) {\n            const drawer: DrawerInterface = instances.getInstance(\n                'Drawer',\n                drawerId\n            );\n\n            if (drawer) {\n                const toggleDrawer = () => {\n                    drawer.toggle();\n                };\n                $triggerEl.addEventListener('click', toggleDrawer);\n                drawer.addEventListenerInstance(\n                    $triggerEl as HTMLElement,\n                    'click',\n                    toggleDrawer\n                );\n            } else {\n                console.error(\n                    `Drawer with id ${drawerId} has not been initialized. Please initialize it using the data-drawer-target attribute.`\n                );\n            }\n        } else {\n            console.error(\n                `Drawer with id ${drawerId} not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?`\n            );\n        }\n    });\n\n    document\n        .querySelectorAll('[data-drawer-dismiss], [data-drawer-hide]')\n        .forEach(($triggerEl) => {\n            const drawerId = $triggerEl.getAttribute('data-drawer-dismiss')\n                ? $triggerEl.getAttribute('data-drawer-dismiss')\n                : $triggerEl.getAttribute('data-drawer-hide');\n            const $drawerEl = document.getElementById(drawerId);\n\n            if ($drawerEl) {\n                const drawer: DrawerInterface = instances.getInstance(\n                    'Drawer',\n                    drawerId\n                );\n\n                if (drawer) {\n                    const hideDrawer = () => {\n                        drawer.hide();\n                    };\n                    $triggerEl.addEventListener('click', hideDrawer);\n                    drawer.addEventListenerInstance(\n                        $triggerEl as HTMLElement,\n                        'click',\n                        hideDrawer\n                    );\n                } else {\n                    console.error(\n                        `Drawer with id ${drawerId} has not been initialized. Please initialize it using the data-drawer-target attribute.`\n                    );\n                }\n            } else {\n                console.error(\n                    `Drawer with id ${drawerId} not found. Are you sure that the data-drawer-target attribute points to the correct drawer id`\n                );\n            }\n        });\n\n    document.querySelectorAll('[data-drawer-show]').forEach(($triggerEl) => {\n        const drawerId = $triggerEl.getAttribute('data-drawer-show');\n        const $drawerEl = document.getElementById(drawerId);\n\n        if ($drawerEl) {\n            const drawer: DrawerInterface = instances.getInstance(\n                'Drawer',\n                drawerId\n            );\n\n            if (drawer) {\n                const showDrawer = () => {\n                    drawer.show();\n                };\n                $triggerEl.addEventListener('click', showDrawer);\n                drawer.addEventListenerInstance(\n                    $triggerEl as HTMLElement,\n                    'click',\n                    showDrawer\n                );\n            } else {\n                console.error(\n                    `Drawer with id ${drawerId} has not been initialized. Please initialize it using the data-drawer-target attribute.`\n                );\n            }\n        } else {\n            console.error(\n                `Drawer with id ${drawerId} not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Drawer = Drawer;\n    window.initDrawers = initDrawers;\n}\n\nexport default Drawer;\n"
  },
  {
    "path": "src/components/drawer/interface.ts",
    "content": "import { DrawerOptions, PlacementClasses } from './types';\n\nexport declare interface DrawerInterface {\n    // properties\n    _targetEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _options: DrawerOptions;\n    _visible: boolean;\n\n    // methods\n    init(): void;\n    isVisible(): boolean;\n    isHidden(): boolean;\n    hide(): void;\n    show(): void;\n    toggle(): void;\n    _createBackdrop(): void;\n    _destroyBackdropEl(): void;\n    _getPlacementClasses(placement: string): PlacementClasses;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n\n    addEventListenerInstance(\n        element: HTMLElement,\n        type: string,\n        handler: EventListenerOrEventListenerObject\n    ): void;\n    removeAllEventListenerInstances(): void;\n    getAllEventListenerInstances(): void;\n}\n"
  },
  {
    "path": "src/components/drawer/types.ts",
    "content": "import { DrawerInterface } from './interface';\n\nexport declare type DrawerOptions = {\n    placement?: string;\n    bodyScrolling?: boolean;\n    backdrop?: boolean;\n    edge?: boolean;\n    edgeOffset?: string;\n    backdropClasses?: string;\n    onShow?: (drawer: DrawerInterface) => void;\n    onHide?: (drawer: DrawerInterface) => void;\n    onToggle?: (drawer: DrawerInterface) => void;\n};\n\nexport declare type PlacementClasses = {\n    base: string[];\n    active: string[];\n    inactive: string[];\n};\n"
  },
  {
    "path": "src/components/dropdown/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport { createPopper } from '@popperjs/core';\nimport type {\n    Options as PopperOptions,\n    Instance as PopperInstance,\n} from '@popperjs/core';\nimport type { DropdownOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { DropdownInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: DropdownOptions = {\n    placement: 'bottom',\n    triggerType: 'click',\n    offsetSkidding: 0,\n    offsetDistance: 10,\n    delay: 300,\n    ignoreClickOutsideClass: false,\n    onShow: () => {},\n    onHide: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Dropdown implements DropdownInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _options: DropdownOptions;\n    _visible: boolean;\n    _popperInstance: PopperInstance;\n    _initialized: boolean;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _hoverShowTriggerElHandler: EventListenerOrEventListenerObject;\n    _hoverShowTargetElHandler: EventListenerOrEventListenerObject;\n    _hoverHideHandler: EventListenerOrEventListenerObject;\n    _clickHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetElement: HTMLElement | null = null,\n        triggerElement: HTMLElement | null = null,\n        options: DropdownOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetElement.id;\n        this._targetEl = targetElement;\n        this._triggerEl = triggerElement;\n        this._options = { ...Default, ...options };\n        this._popperInstance = null;\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Dropdown',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            this._popperInstance = this._createPopperInstance();\n            this._setupEventListeners();\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        const triggerEvents = this._getTriggerEvents();\n\n        // Remove click event listeners for trigger element\n        if (this._options.triggerType === 'click') {\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._clickHandler);\n            });\n        }\n\n        // Remove hover event listeners for trigger and target elements\n        if (this._options.triggerType === 'hover') {\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(\n                    ev,\n                    this._hoverShowTriggerElHandler\n                );\n                this._targetEl.removeEventListener(\n                    ev,\n                    this._hoverShowTargetElHandler\n                );\n            });\n\n            triggerEvents.hideEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._hoverHideHandler);\n                this._targetEl.removeEventListener(ev, this._hoverHideHandler);\n            });\n        }\n\n        this._popperInstance.destroy();\n        this._initialized = false;\n    }\n\n    removeInstance() {\n        instances.removeInstance('Dropdown', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    _setupEventListeners() {\n        const triggerEvents = this._getTriggerEvents();\n\n        this._clickHandler = () => {\n            this.toggle();\n        };\n\n        // click event handling for trigger element\n        if (this._options.triggerType === 'click') {\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.addEventListener(ev, this._clickHandler);\n            });\n        }\n\n        this._hoverShowTriggerElHandler = (ev) => {\n            if (ev.type === 'click') {\n                this.toggle();\n            } else {\n                setTimeout(() => {\n                    this.show();\n                }, this._options.delay);\n            }\n        };\n        this._hoverShowTargetElHandler = () => {\n            this.show();\n        };\n\n        this._hoverHideHandler = () => {\n            setTimeout(() => {\n                if (!this._targetEl.matches(':hover')) {\n                    this.hide();\n                }\n            }, this._options.delay);\n        };\n\n        // hover event handling for trigger element\n        if (this._options.triggerType === 'hover') {\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.addEventListener(\n                    ev,\n                    this._hoverShowTriggerElHandler\n                );\n                this._targetEl.addEventListener(\n                    ev,\n                    this._hoverShowTargetElHandler\n                );\n            });\n\n            triggerEvents.hideEvents.forEach((ev) => {\n                this._triggerEl.addEventListener(ev, this._hoverHideHandler);\n                this._targetEl.addEventListener(ev, this._hoverHideHandler);\n            });\n        }\n    }\n\n    _createPopperInstance() {\n        return createPopper(this._triggerEl, this._targetEl, {\n            placement: this._options.placement,\n            modifiers: [\n                {\n                    name: 'offset',\n                    options: {\n                        offset: [\n                            this._options.offsetSkidding,\n                            this._options.offsetDistance,\n                        ],\n                    },\n                },\n            ],\n        });\n    }\n\n    _setupClickOutsideListener() {\n        this._clickOutsideEventListener = (ev: MouseEvent) => {\n            this._handleClickOutside(ev, this._targetEl);\n        };\n        document.body.addEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _removeClickOutsideListener() {\n        document.body.removeEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _handleClickOutside(ev: Event, targetEl: HTMLElement) {\n        const clickedEl = ev.target as Node;\n\n        // Ignore clicks on the trigger element (ie. a datepicker input)\n        const ignoreClickOutsideClass = this._options.ignoreClickOutsideClass;\n\n        let isIgnored = false;\n        if (ignoreClickOutsideClass) {\n            const ignoredClickOutsideEls = document.querySelectorAll(\n                `.${ignoreClickOutsideClass}`\n            );\n            ignoredClickOutsideEls.forEach((el) => {\n                if (el.contains(clickedEl)) {\n                    isIgnored = true;\n                    return;\n                }\n            });\n        }\n\n        // Ignore clicks on the target element (ie. dropdown itself)\n        if (\n            clickedEl !== targetEl &&\n            !targetEl.contains(clickedEl) &&\n            !this._triggerEl.contains(clickedEl) &&\n            !isIgnored &&\n            this.isVisible()\n        ) {\n            this.hide();\n        }\n    }\n\n    _getTriggerEvents() {\n        switch (this._options.triggerType) {\n            case 'hover':\n                return {\n                    showEvents: ['mouseenter', 'click'],\n                    hideEvents: ['mouseleave'],\n                };\n            case 'click':\n                return {\n                    showEvents: ['click'],\n                    hideEvents: [],\n                };\n            case 'none':\n                return {\n                    showEvents: [],\n                    hideEvents: [],\n                };\n            default:\n                return {\n                    showEvents: ['click'],\n                    hideEvents: [],\n                };\n        }\n    }\n\n    toggle() {\n        if (this.isVisible()) {\n            this.hide();\n        } else {\n            this.show();\n        }\n        this._options.onToggle(this);\n    }\n\n    isVisible() {\n        return this._visible;\n    }\n\n    show() {\n        this._targetEl.classList.remove('hidden');\n        this._targetEl.classList.add('block');\n        this._targetEl.removeAttribute('aria-hidden');\n\n        // Enable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: true },\n            ],\n        }));\n\n        this._setupClickOutsideListener();\n\n        // Update its position\n        this._popperInstance.update();\n        this._visible = true;\n\n        // callback function\n        this._options.onShow(this);\n    }\n\n    hide() {\n        this._targetEl.classList.remove('block');\n        this._targetEl.classList.add('hidden');\n        this._targetEl.setAttribute('aria-hidden', 'true');\n\n        // Disable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: false },\n            ],\n        }));\n\n        this._visible = false;\n\n        this._removeClickOutsideListener();\n\n        // callback function\n        this._options.onHide(this);\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initDropdowns() {\n    document\n        .querySelectorAll('[data-dropdown-toggle]')\n        .forEach(($triggerEl) => {\n            const dropdownId = $triggerEl.getAttribute('data-dropdown-toggle');\n            const $dropdownEl = document.getElementById(dropdownId);\n\n            if ($dropdownEl) {\n                const placement = $triggerEl.getAttribute(\n                    'data-dropdown-placement'\n                );\n                const offsetSkidding = $triggerEl.getAttribute(\n                    'data-dropdown-offset-skidding'\n                );\n                const offsetDistance = $triggerEl.getAttribute(\n                    'data-dropdown-offset-distance'\n                );\n                const triggerType = $triggerEl.getAttribute(\n                    'data-dropdown-trigger'\n                );\n                const delay = $triggerEl.getAttribute('data-dropdown-delay');\n                const ignoreClickOutsideClass = $triggerEl.getAttribute(\n                    'data-dropdown-ignore-click-outside-class'\n                );\n\n                new Dropdown(\n                    $dropdownEl as HTMLElement,\n                    $triggerEl as HTMLElement,\n                    {\n                        placement: placement ? placement : Default.placement,\n                        triggerType: triggerType\n                            ? triggerType\n                            : Default.triggerType,\n                        offsetSkidding: offsetSkidding\n                            ? parseInt(offsetSkidding)\n                            : Default.offsetSkidding,\n                        offsetDistance: offsetDistance\n                            ? parseInt(offsetDistance)\n                            : Default.offsetDistance,\n                        delay: delay ? parseInt(delay) : Default.delay,\n                        ignoreClickOutsideClass: ignoreClickOutsideClass\n                            ? ignoreClickOutsideClass\n                            : Default.ignoreClickOutsideClass,\n                    } as DropdownOptions\n                );\n            } else {\n                console.error(\n                    `The dropdown element with id \"${dropdownId}\" does not exist. Please check the data-dropdown-toggle attribute.`\n                );\n            }\n        });\n}\n\nif (typeof window !== 'undefined') {\n    window.Dropdown = Dropdown;\n    window.initDropdowns = initDropdowns;\n}\n\nexport default Dropdown;\n"
  },
  {
    "path": "src/components/dropdown/interface.ts",
    "content": "import {\n    DropdownOptions,\n    DropdownTriggerType,\n    DropdownTriggerEventTypes,\n} from './types';\nimport type { Instance as PopperInstance } from '@popperjs/core';\n\nexport declare interface DropdownInterface {\n    _targetEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _options: DropdownOptions;\n    _visible: boolean;\n    _popperInstance: PopperInstance;\n    _initialized: boolean;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n\n    init(): void;\n    _createPopperInstance(): PopperInstance;\n    _setupEventListeners(): void;\n    _setupClickOutsideListener(): void;\n    _removeClickOutsideListener(): void;\n    _handleClickOutside(ev: Event, targetEl: HTMLElement): void;\n    _getTriggerEvents(\n        triggerType: DropdownTriggerType\n    ): DropdownTriggerEventTypes;\n    isVisible(): boolean;\n    toggle(): void;\n    show(): void;\n    hide(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/dropdown/types.ts",
    "content": "import { DropdownInterface } from './interface';\nimport type { Placement } from '@popperjs/core';\n\nexport declare type DropdownTriggerType = 'click' | 'hover' | 'none';\n\nexport declare type DropdownTriggerEventTypes = {\n    showEvents: string[];\n    hideEvents: string[];\n};\n\nexport declare type DropdownOptions = {\n    placement?: Placement;\n    triggerType?: DropdownTriggerType;\n    offsetSkidding?: number;\n    offsetDistance?: number;\n    ignoreClickOutsideClass?: string | boolean;\n    delay?: number;\n    onShow?: (tooltip: DropdownInterface) => void;\n    onHide?: (tooltip: DropdownInterface) => void;\n    onToggle?: (tooltip: DropdownInterface) => void;\n};\n"
  },
  {
    "path": "src/components/index.ts",
    "content": "import { initAccordions } from './accordion';\nimport { initCarousels } from './carousel';\nimport { initCopyClipboards } from './clipboard';\nimport { initCollapses } from './collapse';\nimport { initDials } from './dial';\nimport { initDismisses } from './dismiss';\nimport { initDrawers } from './drawer';\nimport { initDropdowns } from './dropdown';\nimport { initInputCounters } from './input-counter';\nimport { initModals } from './modal';\nimport { initPopovers } from './popover';\nimport { initTabs } from './tabs';\nimport { initTooltips } from './tooltip';\nimport { initDatepickers } from './datepicker';\n\nexport function initFlowbite() {\n    initAccordions();\n    initCollapses();\n    initCarousels();\n    initDismisses();\n    initDropdowns();\n    initModals();\n    initDrawers();\n    initTabs();\n    initTooltips();\n    initPopovers();\n    initDials();\n    initInputCounters();\n    initCopyClipboards();\n    initDatepickers();\n}\n\nif (typeof window !== 'undefined') {\n    window.initFlowbite = initFlowbite;\n}\n"
  },
  {
    "path": "src/components/input-counter/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { InputCounterOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { InputCounterInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: InputCounterOptions = {\n    minValue: null,\n    maxValue: null,\n    onIncrement: () => {},\n    onDecrement: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass InputCounter implements InputCounterInterface {\n    _instanceId: string;\n    _targetEl: HTMLInputElement | null;\n    _incrementEl: HTMLElement | null;\n    _decrementEl: HTMLElement | null;\n    _options: InputCounterOptions;\n    _initialized: boolean;\n    _incrementClickHandler: EventListenerOrEventListenerObject;\n    _decrementClickHandler: EventListenerOrEventListenerObject;\n    _inputHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetEl: HTMLInputElement | null = null,\n        incrementEl: HTMLElement | null = null,\n        decrementEl: HTMLElement | null = null,\n        options: InputCounterOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n\n        this._targetEl = targetEl;\n        this._incrementEl = incrementEl;\n        this._decrementEl = decrementEl;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n\n        this.init();\n        instances.addInstance(\n            'InputCounter',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._targetEl && !this._initialized) {\n            this._inputHandler = (event) => {\n                {\n                    const target = event.target as HTMLInputElement;\n\n                    // check if the value is numeric\n                    if (!/^\\d*$/.test(target.value)) {\n                        // Regex to check if the value is numeric\n                        target.value = target.value.replace(/[^\\d]/g, ''); // Remove non-numeric characters\n                    }\n\n                    // check for max value\n                    if (\n                        this._options.maxValue !== null &&\n                        parseInt(target.value) > this._options.maxValue\n                    ) {\n                        target.value = this._options.maxValue.toString();\n                    }\n\n                    // check for min value\n                    if (\n                        this._options.minValue !== null &&\n                        parseInt(target.value) < this._options.minValue\n                    ) {\n                        target.value = this._options.minValue.toString();\n                    }\n                }\n            };\n\n            this._incrementClickHandler = () => {\n                this.increment();\n            };\n\n            this._decrementClickHandler = () => {\n                this.decrement();\n            };\n\n            // Add event listener to restrict input to numeric values only\n            this._targetEl.addEventListener('input', this._inputHandler);\n\n            if (this._incrementEl) {\n                this._incrementEl.addEventListener(\n                    'click',\n                    this._incrementClickHandler\n                );\n            }\n\n            if (this._decrementEl) {\n                this._decrementEl.addEventListener(\n                    'click',\n                    this._decrementClickHandler\n                );\n            }\n\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._targetEl && this._initialized) {\n            this._targetEl.removeEventListener('input', this._inputHandler);\n\n            if (this._incrementEl) {\n                this._incrementEl.removeEventListener(\n                    'click',\n                    this._incrementClickHandler\n                );\n            }\n            if (this._decrementEl) {\n                this._decrementEl.removeEventListener(\n                    'click',\n                    this._decrementClickHandler\n                );\n            }\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('InputCounter', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getCurrentValue() {\n        return parseInt(this._targetEl.value) || 0;\n    }\n\n    increment() {\n        // don't increment if the value is already at the maximum value\n        if (\n            this._options.maxValue !== null &&\n            this.getCurrentValue() >= this._options.maxValue\n        ) {\n            return;\n        }\n\n        this._targetEl.value = (this.getCurrentValue() + 1).toString();\n        this._options.onIncrement(this);\n    }\n\n    decrement() {\n        // don't decrement if the value is already at the minimum value\n        if (\n            this._options.minValue !== null &&\n            this.getCurrentValue() <= this._options.minValue\n        ) {\n            return;\n        }\n\n        this._targetEl.value = (this.getCurrentValue() - 1).toString();\n        this._options.onDecrement(this);\n    }\n\n    updateOnIncrement(callback: () => void) {\n        this._options.onIncrement = callback;\n    }\n\n    updateOnDecrement(callback: () => void) {\n        this._options.onDecrement = callback;\n    }\n}\n\nexport function initInputCounters() {\n    document.querySelectorAll('[data-input-counter]').forEach(($targetEl) => {\n        const targetId = $targetEl.id;\n\n        const $incrementEl = document.querySelector(\n            '[data-input-counter-increment=\"' + targetId + '\"]'\n        );\n\n        const $decrementEl = document.querySelector(\n            '[data-input-counter-decrement=\"' + targetId + '\"]'\n        );\n\n        const minValue = $targetEl.getAttribute('data-input-counter-min');\n        const maxValue = $targetEl.getAttribute('data-input-counter-max');\n\n        // check if the target element exists\n        if ($targetEl) {\n            if (\n                !instances.instanceExists(\n                    'InputCounter',\n                    $targetEl.getAttribute('id')\n                )\n            ) {\n                new InputCounter(\n                    $targetEl as HTMLInputElement,\n                    $incrementEl ? ($incrementEl as HTMLElement) : null,\n                    $decrementEl ? ($decrementEl as HTMLElement) : null,\n                    {\n                        minValue: minValue ? parseInt(minValue) : null,\n                        maxValue: maxValue ? parseInt(maxValue) : null,\n                    } as InputCounterOptions\n                );\n            }\n        } else {\n            console.error(\n                `The target element with id \"${targetId}\" does not exist. Please check the data-input-counter attribute.`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.InputCounter = InputCounter;\n    window.initInputCounters = initInputCounters;\n}\n\nexport default InputCounter;\n"
  },
  {
    "path": "src/components/input-counter/interface.ts",
    "content": "import { InputCounterOptions } from './types';\n\nexport declare interface InputCounterInterface {\n    _targetEl: HTMLElement | null;\n    _incrementEl: HTMLElement | null;\n    _decrementEl: HTMLElement | null;\n    _options: InputCounterOptions;\n\n    init(): void;\n    increment(): void;\n    decrement(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/input-counter/types.ts",
    "content": "import { InputCounterInterface } from './interface';\n\nexport declare type InputCounterOptions = {\n    minValue?: number | null;\n    maxValue?: number | null;\n    onIncrement?: (InputCounter: InputCounterInterface) => void;\n    onDecrement?: (InputCounter: InputCounterInterface) => void;\n};\n"
  },
  {
    "path": "src/components/modal/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { ModalOptions } from './types';\nimport type { InstanceOptions, EventListenerInstance } from '../../dom/types';\nimport { ModalInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: ModalOptions = {\n    placement: 'center',\n    backdropClasses: 'bg-dark-backdrop/70 fixed inset-0 z-40',\n    backdrop: 'dynamic',\n    closable: true,\n    onHide: () => {},\n    onShow: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Modal implements ModalInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement | null;\n    _options: ModalOptions;\n    _isHidden: boolean;\n    _backdropEl: HTMLElement | null;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _keydownEventListener: EventListenerOrEventListenerObject;\n    _eventListenerInstances: EventListenerInstance[] = [];\n    _initialized: boolean;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        options: ModalOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._options = { ...Default, ...options };\n        this._isHidden = true;\n        this._backdropEl = null;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Modal',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._targetEl && !this._initialized) {\n            this._getPlacementClasses().map((c) => {\n                this._targetEl.classList.add(c);\n            });\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            this.removeAllEventListenerInstances();\n            this._destroyBackdropEl();\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Modal', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    _createBackdrop() {\n        if (this._isHidden) {\n            const backdropEl = document.createElement('div');\n            backdropEl.classList.add(\n                ...this._options.backdropClasses.split(' ')\n            );\n            document.querySelector('body').append(backdropEl);\n            this._backdropEl = backdropEl;\n        }\n    }\n\n    _destroyBackdropEl() {\n        if (!this._isHidden && this._backdropEl) {\n            this._backdropEl.remove();\n            this._backdropEl = null;\n        }\n    }\n\n    _setupModalCloseEventListeners() {\n        if (this._options.backdrop === 'dynamic') {\n            this._clickOutsideEventListener = (ev: MouseEvent) => {\n                this._handleOutsideClick(ev.target);\n            };\n            this._targetEl.addEventListener(\n                'click',\n                this._clickOutsideEventListener,\n                true\n            );\n        }\n\n        this._keydownEventListener = (ev: KeyboardEvent) => {\n            if (ev.key === 'Escape') {\n                this.hide();\n            }\n        };\n        document.body.addEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _removeModalCloseEventListeners() {\n        if (this._options.backdrop === 'dynamic') {\n            this._targetEl.removeEventListener(\n                'click',\n                this._clickOutsideEventListener,\n                true\n            );\n        }\n        document.body.removeEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _handleOutsideClick(target: EventTarget) {\n        if (\n            target === this._targetEl ||\n            (target === this._backdropEl && this.isVisible())\n        ) {\n            this.hide();\n        }\n    }\n\n    _getPlacementClasses() {\n        switch (this._options.placement) {\n            // top\n            case 'top-left':\n                return ['justify-start', 'items-start'];\n            case 'top-center':\n                return ['justify-center', 'items-start'];\n            case 'top-right':\n                return ['justify-end', 'items-start'];\n\n            // center\n            case 'center-left':\n                return ['justify-start', 'items-center'];\n            case 'center':\n                return ['justify-center', 'items-center'];\n            case 'center-right':\n                return ['justify-end', 'items-center'];\n\n            // bottom\n            case 'bottom-left':\n                return ['justify-start', 'items-end'];\n            case 'bottom-center':\n                return ['justify-center', 'items-end'];\n            case 'bottom-right':\n                return ['justify-end', 'items-end'];\n\n            default:\n                return ['justify-center', 'items-center'];\n        }\n    }\n\n    toggle() {\n        if (this._isHidden) {\n            this.show();\n        } else {\n            this.hide();\n        }\n\n        // callback function\n        this._options.onToggle(this);\n    }\n\n    show() {\n        if (this.isHidden()) {\n            this._targetEl.classList.add('flex');\n            this._targetEl.classList.remove('hidden');\n            this._targetEl.setAttribute('aria-modal', 'true');\n            this._targetEl.setAttribute('role', 'dialog');\n            this._targetEl.removeAttribute('aria-hidden');\n            this._createBackdrop();\n            this._isHidden = false;\n\n            // Add keyboard event listener to the document\n            if (this._options.closable) {\n                this._setupModalCloseEventListeners();\n            }\n\n            // prevent body scroll\n            document.body.classList.add('overflow-hidden');\n\n            // callback function\n            this._options.onShow(this);\n        }\n    }\n\n    hide() {\n        if (this.isVisible()) {\n            this._targetEl.classList.add('hidden');\n            this._targetEl.classList.remove('flex');\n            this._targetEl.setAttribute('aria-hidden', 'true');\n            this._targetEl.removeAttribute('aria-modal');\n            this._targetEl.removeAttribute('role');\n            this._destroyBackdropEl();\n            this._isHidden = true;\n\n            // re-apply body scroll\n            document.body.classList.remove('overflow-hidden');\n\n            if (this._options.closable) {\n                this._removeModalCloseEventListeners();\n            }\n\n            // callback function\n            this._options.onHide(this);\n        }\n    }\n\n    isVisible() {\n        return !this._isHidden;\n    }\n\n    isHidden() {\n        return this._isHidden;\n    }\n\n    addEventListenerInstance(\n        element: HTMLElement,\n        type: string,\n        handler: EventListenerOrEventListenerObject\n    ) {\n        this._eventListenerInstances.push({\n            element: element,\n            type: type,\n            handler: handler,\n        });\n    }\n\n    removeAllEventListenerInstances() {\n        this._eventListenerInstances.map((eventListenerInstance) => {\n            eventListenerInstance.element.removeEventListener(\n                eventListenerInstance.type,\n                eventListenerInstance.handler\n            );\n        });\n        this._eventListenerInstances = [];\n    }\n\n    getAllEventListenerInstances() {\n        return this._eventListenerInstances;\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initModals() {\n    // initiate modal based on data-modal-target\n    document.querySelectorAll('[data-modal-target]').forEach(($triggerEl) => {\n        const modalId = $triggerEl.getAttribute('data-modal-target');\n        const $modalEl = document.getElementById(modalId);\n\n        if ($modalEl) {\n            const placement = $modalEl.getAttribute('data-modal-placement');\n            const backdrop = $modalEl.getAttribute('data-modal-backdrop');\n            new Modal(\n                $modalEl as HTMLElement,\n                {\n                    placement: placement ? placement : Default.placement,\n                    backdrop: backdrop ? backdrop : Default.backdrop,\n                } as ModalOptions\n            );\n        } else {\n            console.error(\n                `Modal with id ${modalId} does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?.`\n            );\n        }\n    });\n\n    // toggle modal visibility\n    document.querySelectorAll('[data-modal-toggle]').forEach(($triggerEl) => {\n        const modalId = $triggerEl.getAttribute('data-modal-toggle');\n        const $modalEl = document.getElementById(modalId);\n\n        if ($modalEl) {\n            const modal: ModalInterface = instances.getInstance(\n                'Modal',\n                modalId\n            );\n\n            if (modal) {\n                const toggleModal = () => {\n                    modal.toggle();\n                };\n                $triggerEl.addEventListener('click', toggleModal);\n                modal.addEventListenerInstance(\n                    $triggerEl as HTMLElement,\n                    'click',\n                    toggleModal\n                );\n            } else {\n                console.error(\n                    `Modal with id ${modalId} has not been initialized. Please initialize it using the data-modal-target attribute.`\n                );\n            }\n        } else {\n            console.error(\n                `Modal with id ${modalId} does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?`\n            );\n        }\n    });\n\n    // show modal on click if exists based on id\n    document.querySelectorAll('[data-modal-show]').forEach(($triggerEl) => {\n        const modalId = $triggerEl.getAttribute('data-modal-show');\n        const $modalEl = document.getElementById(modalId);\n\n        if ($modalEl) {\n            const modal: ModalInterface = instances.getInstance(\n                'Modal',\n                modalId\n            );\n\n            if (modal) {\n                const showModal = () => {\n                    modal.show();\n                };\n                $triggerEl.addEventListener('click', showModal);\n                modal.addEventListenerInstance(\n                    $triggerEl as HTMLElement,\n                    'click',\n                    showModal\n                );\n            } else {\n                console.error(\n                    `Modal with id ${modalId} has not been initialized. Please initialize it using the data-modal-target attribute.`\n                );\n            }\n        } else {\n            console.error(\n                `Modal with id ${modalId} does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?`\n            );\n        }\n    });\n\n    // hide modal on click if exists based on id\n    document.querySelectorAll('[data-modal-hide]').forEach(($triggerEl) => {\n        const modalId = $triggerEl.getAttribute('data-modal-hide');\n        const $modalEl = document.getElementById(modalId);\n\n        if ($modalEl) {\n            const modal: ModalInterface = instances.getInstance(\n                'Modal',\n                modalId\n            );\n\n            if (modal) {\n                const hideModal = () => {\n                    modal.hide();\n                };\n                $triggerEl.addEventListener('click', hideModal);\n                modal.addEventListenerInstance(\n                    $triggerEl as HTMLElement,\n                    'click',\n                    hideModal\n                );\n            } else {\n                console.error(\n                    `Modal with id ${modalId} has not been initialized. Please initialize it using the data-modal-target attribute.`\n                );\n            }\n        } else {\n            console.error(\n                `Modal with id ${modalId} does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Modal = Modal;\n    window.initModals = initModals;\n}\n\nexport default Modal;\n"
  },
  {
    "path": "src/components/modal/interface.ts",
    "content": "import { ModalOptions } from './types';\n\nexport declare interface ModalInterface {\n    // The HTMLElement that will be used as the modal container\n    _targetEl: HTMLElement | null;\n\n    // An object that defines the options for the modal, such as its placement and backdrop\n    _options: ModalOptions;\n\n    // A boolean that indicates whether the modal is currently hidden\n    _isHidden: boolean;\n\n    // The HTMLElement that will be used as the modal's backdrop\n    _backdropEl: HTMLElement | null;\n\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n\n    _keydownEventListener: EventListenerOrEventListenerObject;\n\n    // Initializes the modal and sets up its event listeners\n    init(): void;\n\n    // Creates the modal's backdrop element and adds it to the DOM\n    _createBackdrop(): void;\n\n    // Removes the modal's backdrop element from the DOM\n    _destroyBackdropEl(): void;\n\n    // Sets up event listeners for the modal to allow it to be closed when clicked outside or the Escape key is pressed\n    _setupModalCloseEventListeners(): void;\n\n    // Handles clicks outside the modal and hides it if necessary\n    _handleOutsideClick(target: EventTarget): void;\n\n    // Returns an array of CSS classes that should be applied to the modal based on its placement option\n    _getPlacementClasses(): string[];\n\n    // Toggles the visibility of the modal and calls the onToggle callback function\n    toggle(): void;\n\n    // Shows the modal and calls the onShow callback function\n    show(): void;\n\n    // Hides the modal and calls the onHide callback function\n    hide(): void;\n\n    // return true if modal is hidden\n    isHidden(): boolean;\n\n    // return true if modal is visible\n    isVisible(): boolean;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n    addEventListenerInstance(\n        element: HTMLElement,\n        type: string,\n        handler: EventListenerOrEventListenerObject\n    ): void;\n    removeAllEventListenerInstances(): void;\n    getAllEventListenerInstances(): void;\n}\n"
  },
  {
    "path": "src/components/modal/types.ts",
    "content": "import { ModalInterface } from './interface';\n\nexport declare type modalBackdrop = 'static' | 'dynamic';\nexport declare type modalPlacement =\n    | 'top-left'\n    | 'top-center'\n    | 'top-right'\n    | 'center-left'\n    | 'center'\n    | 'center-right'\n    | 'bottom-left'\n    | 'bottom-center'\n    | 'bottom-right';\n\nexport declare type ModalOptions = {\n    placement?: modalPlacement;\n    backdropClasses?: string;\n    backdrop?: modalBackdrop;\n    closable?: boolean;\n    onShow?: (modal: ModalInterface) => void;\n    onHide?: (modal: ModalInterface) => void;\n    onToggle?: (modal: ModalInterface) => void;\n};\n"
  },
  {
    "path": "src/components/popover/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport { createPopper } from '@popperjs/core';\nimport type {\n    Options as PopperOptions,\n    Instance as PopperInstance,\n} from '@popperjs/core';\nimport type { PopoverOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { PopoverInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: PopoverOptions = {\n    placement: 'top',\n    offset: 10,\n    triggerType: 'hover',\n    onShow: () => {},\n    onHide: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Popover implements PopoverInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement;\n    _triggerEl: HTMLElement;\n    _options: PopoverOptions;\n    _popperInstance: PopperInstance;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _keydownEventListener: EventListenerOrEventListenerObject;\n    _visible: boolean;\n    _initialized: boolean;\n    _showHandler: EventListenerOrEventListenerObject;\n    _hideHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        triggerEl: HTMLElement | null = null,\n        options: PopoverOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._triggerEl = triggerEl;\n        this._options = { ...Default, ...options };\n        this._popperInstance = null;\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Popover',\n            this,\n            instanceOptions.id ? instanceOptions.id : this._targetEl.id,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            this._setupEventListeners();\n            this._popperInstance = this._createPopperInstance();\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            // remove event listeners associated with the trigger element and target element\n            const triggerEvents = this._getTriggerEvents();\n\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._showHandler);\n                this._targetEl.removeEventListener(ev, this._showHandler);\n            });\n\n            triggerEvents.hideEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._hideHandler);\n                this._targetEl.removeEventListener(ev, this._hideHandler);\n            });\n\n            // remove event listeners for keydown\n            this._removeKeydownListener();\n\n            // remove event listeners for click outside\n            this._removeClickOutsideListener();\n\n            // destroy the Popper instance if you have one (assuming this._popperInstance is the Popper instance)\n            if (this._popperInstance) {\n                this._popperInstance.destroy();\n            }\n\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Popover', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    _setupEventListeners() {\n        const triggerEvents = this._getTriggerEvents();\n\n        this._showHandler = () => {\n            this.show();\n        };\n\n        this._hideHandler = () => {\n            setTimeout(() => {\n                if (!this._targetEl.matches(':hover')) {\n                    this.hide();\n                }\n            }, 100);\n        };\n\n        triggerEvents.showEvents.forEach((ev) => {\n            this._triggerEl.addEventListener(ev, this._showHandler);\n            this._targetEl.addEventListener(ev, this._showHandler);\n        });\n\n        triggerEvents.hideEvents.forEach((ev) => {\n            this._triggerEl.addEventListener(ev, this._hideHandler);\n            this._targetEl.addEventListener(ev, this._hideHandler);\n        });\n    }\n\n    _createPopperInstance() {\n        return createPopper(this._triggerEl, this._targetEl, {\n            placement: this._options.placement,\n            modifiers: [\n                {\n                    name: 'offset',\n                    options: {\n                        offset: [0, this._options.offset],\n                    },\n                },\n            ],\n        });\n    }\n\n    _getTriggerEvents() {\n        switch (this._options.triggerType) {\n            case 'hover':\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n            case 'click':\n                return {\n                    showEvents: ['click', 'focus'],\n                    hideEvents: ['focusout', 'blur'],\n                };\n            case 'none':\n                return {\n                    showEvents: [],\n                    hideEvents: [],\n                };\n            default:\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n        }\n    }\n\n    _setupKeydownListener() {\n        this._keydownEventListener = (ev: KeyboardEvent) => {\n            if (ev.key === 'Escape') {\n                this.hide();\n            }\n        };\n        document.body.addEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _removeKeydownListener() {\n        document.body.removeEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _setupClickOutsideListener() {\n        this._clickOutsideEventListener = (ev: MouseEvent) => {\n            this._handleClickOutside(ev, this._targetEl);\n        };\n        document.body.addEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _removeClickOutsideListener() {\n        document.body.removeEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _handleClickOutside(ev: Event, targetEl: HTMLElement) {\n        const clickedEl = ev.target as Node;\n        if (\n            clickedEl !== targetEl &&\n            !targetEl.contains(clickedEl) &&\n            !this._triggerEl.contains(clickedEl) &&\n            this.isVisible()\n        ) {\n            this.hide();\n        }\n    }\n\n    isVisible() {\n        return this._visible;\n    }\n\n    toggle() {\n        if (this.isVisible()) {\n            this.hide();\n        } else {\n            this.show();\n        }\n        this._options.onToggle(this);\n    }\n\n    show() {\n        this._targetEl.classList.remove('opacity-0', 'invisible');\n        this._targetEl.classList.add('opacity-100', 'visible');\n\n        // Enable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: true },\n            ],\n        }));\n\n        // handle click outside\n        this._setupClickOutsideListener();\n\n        // handle esc keydown\n        this._setupKeydownListener();\n\n        // Update its position\n        this._popperInstance.update();\n\n        // set visibility to true\n        this._visible = true;\n\n        // callback function\n        this._options.onShow(this);\n    }\n\n    hide() {\n        this._targetEl.classList.remove('opacity-100', 'visible');\n        this._targetEl.classList.add('opacity-0', 'invisible');\n\n        // Disable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: false },\n            ],\n        }));\n\n        // handle click outside\n        this._removeClickOutsideListener();\n\n        // handle esc keydown\n        this._removeKeydownListener();\n\n        // set visibility to false\n        this._visible = false;\n\n        // callback function\n        this._options.onHide(this);\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initPopovers() {\n    document.querySelectorAll('[data-popover-target]').forEach(($triggerEl) => {\n        const popoverID = $triggerEl.getAttribute('data-popover-target');\n        const $popoverEl = document.getElementById(popoverID);\n\n        if ($popoverEl) {\n            const triggerType = $triggerEl.getAttribute('data-popover-trigger');\n            const placement = $triggerEl.getAttribute('data-popover-placement');\n            const offset = $triggerEl.getAttribute('data-popover-offset');\n\n            new Popover(\n                $popoverEl as HTMLElement,\n                $triggerEl as HTMLElement,\n                {\n                    placement: placement ? placement : Default.placement,\n                    offset: offset ? parseInt(offset) : Default.offset,\n                    triggerType: triggerType\n                        ? triggerType\n                        : Default.triggerType,\n                } as PopoverOptions\n            );\n        } else {\n            console.error(\n                `The popover element with id \"${popoverID}\" does not exist. Please check the data-popover-target attribute.`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Popover = Popover;\n    window.initPopovers = initPopovers;\n}\n\nexport default Popover;\n"
  },
  {
    "path": "src/components/popover/interface.ts",
    "content": "import {\n    PopoverOptions,\n    PopoverTriggerType,\n    PopoverTriggerEventTypes,\n} from './types';\nimport type { Instance as PopperInstance } from '@popperjs/core';\n\nexport declare interface PopoverInterface {\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: PopoverOptions;\n    _popperInstance: PopperInstance;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _keydownEventListener: EventListenerOrEventListenerObject;\n\n    init(): void;\n    _setupEventListeners(): void;\n    _setupClickOutsideListener(): void;\n    _removeClickOutsideListener(): void;\n    _setupKeydownListener(): void;\n    _removeKeydownListener(): void;\n    _handleClickOutside(ev: Event, targetEl: HTMLElement): void;\n    _getTriggerEvents(\n        triggerType: PopoverTriggerType\n    ): PopoverTriggerEventTypes;\n    isVisible(): boolean;\n    show(): void;\n    hide(): void;\n    toggle(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/popover/types.ts",
    "content": "import { PopoverInterface } from './interface';\nimport type { Placement } from '@popperjs/core';\n\nexport declare type PopoverTriggerType = 'click' | 'hover' | 'none';\n\nexport declare type PopoverTriggerEventTypes = {\n    showEvents: string[];\n    hideEvents: string[];\n};\n\nexport declare type PopoverOptions = {\n    placement?: Placement;\n    offset?: number;\n    triggerType?: PopoverTriggerType;\n    onShow?: (tooltip: PopoverInterface) => void;\n    onHide?: (tooltip: PopoverInterface) => void;\n    onToggle?: (tooltip: PopoverInterface) => void;\n};\n"
  },
  {
    "path": "src/components/tabs/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport type { TabItem, TabsOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { TabsInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: TabsOptions = {\n    defaultTabId: null,\n    activeClasses: 'text-fg-brand hover:text-fg-brand border-brand',\n    inactiveClasses:\n        'border-transparent text-body hover:text-heading border-soft hover:border-default',\n    onShow: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Tabs implements TabsInterface {\n    _instanceId: string;\n    _tabsEl: HTMLElement;\n    _items: TabItem[];\n    _activeTab: TabItem;\n    _options: TabsOptions;\n    _initialized: boolean;\n\n    constructor(\n        tabsEl: HTMLElement | null = null,\n        items: TabItem[] = [],\n        options: TabsOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id ? instanceOptions.id : tabsEl.id;\n        this._tabsEl = tabsEl;\n        this._items = items;\n        this._activeTab = options ? this.getTab(options.defaultTabId) : null;\n        this._options = { ...Default, ...options };\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Tabs',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._items.length && !this._initialized) {\n            // set the first tab as active if not set by explicitly\n            if (!this._activeTab) {\n                this.setActiveTab(this._items[0]);\n            }\n\n            // force show the first default tab\n            this.show(this._activeTab.id, true);\n\n            // show tab content based on click\n            this._items.map((tab) => {\n                tab.triggerEl.addEventListener('click', (event) => {\n                    event.preventDefault();\n                    this.show(tab.id);\n                });\n            });\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        this.destroy();\n        instances.removeInstance('Tabs', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    getActiveTab() {\n        return this._activeTab;\n    }\n\n    setActiveTab(tab: TabItem) {\n        this._activeTab = tab;\n    }\n\n    getTab(id: string) {\n        return this._items.filter((t) => t.id === id)[0];\n    }\n\n    show(id: string, forceShow = false) {\n        const tab = this.getTab(id);\n\n        // don't do anything if already active\n        if (tab === this._activeTab && !forceShow) {\n            return;\n        }\n\n        // hide other tabs\n        this._items.map((t: TabItem) => {\n            if (t !== tab) {\n                t.triggerEl.classList.remove(\n                    ...this._options.activeClasses.split(' ')\n                );\n                t.triggerEl.classList.add(\n                    ...this._options.inactiveClasses.split(' ')\n                );\n                t.targetEl.classList.add('hidden');\n                t.triggerEl.setAttribute('aria-selected', 'false');\n            }\n        });\n\n        // show active tab\n        tab.triggerEl.classList.add(...this._options.activeClasses.split(' '));\n        tab.triggerEl.classList.remove(\n            ...this._options.inactiveClasses.split(' ')\n        );\n        tab.triggerEl.setAttribute('aria-selected', 'true');\n        tab.targetEl.classList.remove('hidden');\n\n        this.setActiveTab(tab);\n\n        // callback function\n        this._options.onShow(this, tab);\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n}\n\nexport function initTabs() {\n    document.querySelectorAll('[data-tabs-toggle]').forEach(($parentEl) => {\n        const tabItems: TabItem[] = [];\n        const activeClasses = $parentEl.getAttribute(\n            'data-tabs-active-classes'\n        );\n        const inactiveClasses = $parentEl.getAttribute(\n            'data-tabs-inactive-classes'\n        );\n        let defaultTabId = null;\n        $parentEl\n            .querySelectorAll('[role=\"tab\"]')\n            .forEach(($triggerEl: HTMLElement) => {\n                const isActive =\n                    $triggerEl.getAttribute('aria-selected') === 'true';\n                const tab: TabItem = {\n                    id: $triggerEl.getAttribute('data-tabs-target'),\n                    triggerEl: $triggerEl,\n                    targetEl: document.querySelector(\n                        $triggerEl.getAttribute('data-tabs-target')\n                    ),\n                };\n                tabItems.push(tab);\n\n                if (isActive) {\n                    defaultTabId = tab.id;\n                }\n            });\n\n        new Tabs($parentEl as HTMLElement, tabItems, {\n            defaultTabId: defaultTabId,\n            activeClasses: activeClasses\n                ? activeClasses\n                : Default.activeClasses,\n            inactiveClasses: inactiveClasses\n                ? inactiveClasses\n                : Default.inactiveClasses,\n        } as TabsOptions);\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Tabs = Tabs;\n    window.initTabs = initTabs;\n}\n\nexport default Tabs;\n"
  },
  {
    "path": "src/components/tabs/interface.ts",
    "content": "import { TabItem, TabsOptions } from './types';\n\nexport declare interface TabsInterface {\n    _tabsEl: HTMLElement;\n    _items: TabItem[];\n    _activeTab: TabItem;\n    _options: TabsOptions;\n\n    init(): void;\n    setActiveTab(tab: TabItem): void;\n    getActiveTab(): TabItem;\n    getTab(id: string): TabItem;\n    show(id: string, forceShow?: boolean): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/tabs/types.ts",
    "content": "import { TabsInterface } from './interface';\n\nexport declare type TabsOptions = {\n    defaultTabId?: string;\n    activeClasses?: string;\n    inactiveClasses?: string;\n    onShow?: (tabs: TabsInterface, tab: TabItem) => void;\n};\n\nexport declare type TabItem = {\n    id: string;\n    triggerEl: HTMLElement;\n    targetEl: HTMLElement;\n};\n"
  },
  {
    "path": "src/components/tooltip/index.ts",
    "content": "/* eslint-disable @typescript-eslint/no-empty-function */\nimport { createPopper } from '@popperjs/core';\nimport type {\n    Options as PopperOptions,\n    Instance as PopperInstance,\n} from '@popperjs/core';\nimport type { TooltipOptions } from './types';\nimport type { InstanceOptions } from '../../dom/types';\nimport { TooltipInterface } from './interface';\nimport instances from '../../dom/instances';\n\nconst Default: TooltipOptions = {\n    placement: 'top',\n    triggerType: 'hover',\n    onShow: () => {},\n    onHide: () => {},\n    onToggle: () => {},\n};\n\nconst DefaultInstanceOptions: InstanceOptions = {\n    id: null,\n    override: true,\n};\n\nclass Tooltip implements TooltipInterface {\n    _instanceId: string;\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: TooltipOptions;\n    _popperInstance: PopperInstance;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _keydownEventListener: EventListenerOrEventListenerObject;\n    _visible: boolean;\n    _initialized: boolean;\n    _showHandler: EventListenerOrEventListenerObject;\n    _hideHandler: EventListenerOrEventListenerObject;\n\n    constructor(\n        targetEl: HTMLElement | null = null,\n        triggerEl: HTMLElement | null = null,\n        options: TooltipOptions = Default,\n        instanceOptions: InstanceOptions = DefaultInstanceOptions\n    ) {\n        this._instanceId = instanceOptions.id\n            ? instanceOptions.id\n            : targetEl.id;\n        this._targetEl = targetEl;\n        this._triggerEl = triggerEl;\n        this._options = { ...Default, ...options };\n        this._popperInstance = null;\n        this._visible = false;\n        this._initialized = false;\n        this.init();\n        instances.addInstance(\n            'Tooltip',\n            this,\n            this._instanceId,\n            instanceOptions.override\n        );\n    }\n\n    init() {\n        if (this._triggerEl && this._targetEl && !this._initialized) {\n            this._setupEventListeners();\n            this._popperInstance = this._createPopperInstance();\n            this._initialized = true;\n        }\n    }\n\n    destroy() {\n        if (this._initialized) {\n            // remove event listeners associated with the trigger element\n            const triggerEvents = this._getTriggerEvents();\n\n            triggerEvents.showEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._showHandler);\n            });\n\n            triggerEvents.hideEvents.forEach((ev) => {\n                this._triggerEl.removeEventListener(ev, this._hideHandler);\n            });\n\n            // remove event listeners for keydown\n            this._removeKeydownListener();\n\n            // remove event listeners for click outside\n            this._removeClickOutsideListener();\n\n            // destroy the Popper instance if you have one (assuming this._popperInstance is the Popper instance)\n            if (this._popperInstance) {\n                this._popperInstance.destroy();\n            }\n            this._initialized = false;\n        }\n    }\n\n    removeInstance() {\n        instances.removeInstance('Tooltip', this._instanceId);\n    }\n\n    destroyAndRemoveInstance() {\n        this.destroy();\n        this.removeInstance();\n    }\n\n    _setupEventListeners() {\n        const triggerEvents = this._getTriggerEvents();\n\n        this._showHandler = () => {\n            this.show();\n        };\n\n        this._hideHandler = () => {\n            this.hide();\n        };\n\n        triggerEvents.showEvents.forEach((ev) => {\n            this._triggerEl.addEventListener(ev, this._showHandler);\n        });\n\n        triggerEvents.hideEvents.forEach((ev) => {\n            this._triggerEl.addEventListener(ev, this._hideHandler);\n        });\n    }\n\n    _createPopperInstance() {\n        return createPopper(this._triggerEl, this._targetEl, {\n            placement: this._options.placement,\n            modifiers: [\n                {\n                    name: 'offset',\n                    options: {\n                        offset: [0, 8],\n                    },\n                },\n            ],\n        });\n    }\n\n    _getTriggerEvents() {\n        switch (this._options.triggerType) {\n            case 'hover':\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n            case 'click':\n                return {\n                    showEvents: ['click', 'focus'],\n                    hideEvents: ['focusout', 'blur'],\n                };\n            case 'none':\n                return {\n                    showEvents: [],\n                    hideEvents: [],\n                };\n            default:\n                return {\n                    showEvents: ['mouseenter', 'focus'],\n                    hideEvents: ['mouseleave', 'blur'],\n                };\n        }\n    }\n\n    _setupKeydownListener() {\n        this._keydownEventListener = (ev: KeyboardEvent) => {\n            if (ev.key === 'Escape') {\n                this.hide();\n            }\n        };\n        document.body.addEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _removeKeydownListener() {\n        document.body.removeEventListener(\n            'keydown',\n            this._keydownEventListener,\n            true\n        );\n    }\n\n    _setupClickOutsideListener() {\n        this._clickOutsideEventListener = (ev: MouseEvent) => {\n            this._handleClickOutside(ev, this._targetEl);\n        };\n        document.body.addEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _removeClickOutsideListener() {\n        document.body.removeEventListener(\n            'click',\n            this._clickOutsideEventListener,\n            true\n        );\n    }\n\n    _handleClickOutside(ev: Event, targetEl: HTMLElement) {\n        const clickedEl = ev.target as Node;\n        if (\n            clickedEl !== targetEl &&\n            !targetEl.contains(clickedEl) &&\n            !this._triggerEl.contains(clickedEl) &&\n            this.isVisible()\n        ) {\n            this.hide();\n        }\n    }\n\n    isVisible() {\n        return this._visible;\n    }\n\n    toggle() {\n        if (this.isVisible()) {\n            this.hide();\n        } else {\n            this.show();\n        }\n    }\n\n    show() {\n        this._targetEl.classList.remove('opacity-0', 'invisible');\n        this._targetEl.classList.add('opacity-100', 'visible');\n\n        // Enable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: true },\n            ],\n        }));\n\n        // handle click outside\n        this._setupClickOutsideListener();\n\n        // handle esc keydown\n        this._setupKeydownListener();\n\n        // Update its position\n        this._popperInstance.update();\n\n        // set visibility\n        this._visible = true;\n\n        // callback function\n        this._options.onShow(this);\n    }\n\n    hide() {\n        this._targetEl.classList.remove('opacity-100', 'visible');\n        this._targetEl.classList.add('opacity-0', 'invisible');\n\n        // Disable the event listeners\n        this._popperInstance.setOptions((options: PopperOptions) => ({\n            ...options,\n            modifiers: [\n                ...options.modifiers,\n                { name: 'eventListeners', enabled: false },\n            ],\n        }));\n\n        // handle click outside\n        this._removeClickOutsideListener();\n\n        // handle esc keydown\n        this._removeKeydownListener();\n\n        // set visibility\n        this._visible = false;\n\n        // callback function\n        this._options.onHide(this);\n    }\n\n    updateOnShow(callback: () => void) {\n        this._options.onShow = callback;\n    }\n\n    updateOnHide(callback: () => void) {\n        this._options.onHide = callback;\n    }\n\n    updateOnToggle(callback: () => void) {\n        this._options.onToggle = callback;\n    }\n}\n\nexport function initTooltips() {\n    document.querySelectorAll('[data-tooltip-target]').forEach(($triggerEl) => {\n        const tooltipId = $triggerEl.getAttribute('data-tooltip-target');\n        const $tooltipEl = document.getElementById(tooltipId);\n\n        if ($tooltipEl) {\n            const triggerType = $triggerEl.getAttribute('data-tooltip-trigger');\n            const placement = $triggerEl.getAttribute('data-tooltip-placement');\n\n            new Tooltip(\n                $tooltipEl as HTMLElement,\n                $triggerEl as HTMLElement,\n                {\n                    placement: placement ? placement : Default.placement,\n                    triggerType: triggerType\n                        ? triggerType\n                        : Default.triggerType,\n                } as TooltipOptions\n            );\n        } else {\n            console.error(\n                `The tooltip element with id \"${tooltipId}\" does not exist. Please check the data-tooltip-target attribute.`\n            );\n        }\n    });\n}\n\nif (typeof window !== 'undefined') {\n    window.Tooltip = Tooltip;\n    window.initTooltips = initTooltips;\n}\n\nexport default Tooltip;\n"
  },
  {
    "path": "src/components/tooltip/interface.ts",
    "content": "import {\n    TooltipOptions,\n    TooltipTriggerType,\n    TooltipTriggerEventTypes,\n} from './types';\nimport type { Instance as PopperInstance } from '@popperjs/core';\n\nexport declare interface TooltipInterface {\n    _targetEl: HTMLElement | null;\n    _triggerEl: HTMLElement | null;\n    _options: TooltipOptions;\n    _popperInstance: PopperInstance;\n    _clickOutsideEventListener: EventListenerOrEventListenerObject;\n    _keydownEventListener: EventListenerOrEventListenerObject;\n\n    init(): void;\n    _setupEventListeners(): void;\n    _setupClickOutsideListener(): void;\n    _removeClickOutsideListener(): void;\n    _setupKeydownListener(): void;\n    _removeKeydownListener(): void;\n    _handleClickOutside(ev: Event, targetEl: HTMLElement): void;\n    _getTriggerEvents(\n        triggerType: TooltipTriggerType\n    ): TooltipTriggerEventTypes;\n    isVisible(): boolean;\n    show(): void;\n    hide(): void;\n    toggle(): void;\n\n    destroy(): void;\n    removeInstance(): void;\n    destroyAndRemoveInstance(): void;\n}\n"
  },
  {
    "path": "src/components/tooltip/types.ts",
    "content": "import { TooltipInterface } from './interface';\nimport type { Placement } from '@popperjs/core';\n\nexport declare type TooltipTriggerType = 'click' | 'hover' | 'none';\n\nexport declare type TooltipTriggerEventTypes = {\n    showEvents: string[];\n    hideEvents: string[];\n};\n\nexport declare type TooltipOptions = {\n    placement?: Placement;\n    triggerType?: TooltipTriggerType;\n    onShow?: (tooltip: TooltipInterface) => void;\n    onHide?: (tooltip: TooltipInterface) => void;\n    onToggle?: (tooltip: TooltipInterface) => void;\n};\n"
  },
  {
    "path": "src/config/global.ts",
    "content": "import Accordion from '../components/accordion';\nimport Carousel from '../components/carousel';\nimport Collapse from '../components/collapse';\nimport Dial from '../components/dial';\nimport Dismiss from '../components/dismiss';\nimport Drawer from '../components/drawer';\nimport Dropdown from '../components/dropdown';\nimport Modal from '../components/modal';\nimport Popover from '../components/popover';\nimport Tabs from '../components/tabs';\nimport Tooltip from '../components/tooltip';\nimport InputCounter from '../components/input-counter';\nimport Clipboard from '../components/clipboard';\nimport Datepicker from '../components/datepicker';\n\ndeclare global {\n    interface Window {\n        Accordion: typeof Accordion;\n        Carousel: typeof Carousel;\n        Collapse: typeof Collapse;\n        Dial: typeof Dial;\n        Dismiss: typeof Dismiss;\n        Drawer: typeof Drawer;\n        Dropdown: typeof Dropdown;\n        Modal: typeof Modal;\n        Popover: typeof Popover;\n        Tabs: typeof Tabs;\n        Tooltip: typeof Tooltip;\n        InputCounter: typeof InputCounter;\n        CopyClipboard: typeof Clipboard;\n        Datepicker: typeof Datepicker;\n        initAccordions: () => void;\n        initCarousels: () => void;\n        initCollapses: () => void;\n        initDials: () => void;\n        initDismisses: () => void;\n        initDrawers: () => void;\n        initDropdowns: () => void;\n        initModals: () => void;\n        initPopovers: () => void;\n        initTabs: () => void;\n        initTooltips: () => void;\n        initInputCounters: () => void;\n        initClipboards: () => void;\n        initDatepickers: () => void;\n        initFlowbite: () => void;\n        FlowbiteInstances: any;\n    }\n}\n"
  },
  {
    "path": "src/docs.css",
    "content": "\n:root {\n    --shiki-foreground: #e1e4e8;               /* General editor foreground */\n    --shiki-background: #24292e;               /* Editor background */\n\n    --shiki-token-constant: var(--color-shiki-fg-brand);           /* constants, numbers, enums #79b8ff */\n    --shiki-token-string: var(--color-shiki-fg-brand-subtle);             /* #9ecbff string literals */\n    --shiki-token-comment: #6a737d;            /* comments */\n    --shiki-token-keyword: #f97583;            /* keywords (if, return, etc.) */\n    --shiki-token-parameter: #e1e4e8;          /* function parameters */\n    --shiki-token-function: #b392f0;           /* function & entity names */\n    --shiki-token-string-expression: var(--color-shiki-fg-brand);  /* string interpolation / embedded expressions #79b8ff */\n    --shiki-token-punctuation: #e1e4e8;        /* default text / punctuation */\n    --shiki-token-link: var(--color-shiki-fg-brand);               /* links and URLs #79b8ff */\n}\n\n.yt-video {\n    height: 250px;\n}\n\n@media only screen and (min-width: 768px) {\n\t.yt-video {\n\t\theight: 350px;\n\t}\n}\n\n@media only screen and (min-width: 1024px) {\n\t.yt-video {\n\t\theight: 450px;\n\t}\n}\n\n@media only screen and (max-width: 1024px) {\n\t.collapse.collapsed {\n\t\tdisplay: none;\n\t}\n}\n\n#TableOfContents > ul {\n\t@apply overflow-x-hidden font-medium;\n}\n\n#TableOfContents > ul > li {\n\t@apply py-2;\n}\n\n#TableOfContents > ul > li > a {\n\t@apply block pl-2.5 font-medium border-l text-body hover:text-heading border-transparent duration-200 transition-none hover:border-default after:content-['#'] after:text-fg-brand after:ml-2 after:opacity-0 hover:after:opacity-100 after:transition-opacity after:duration-100;\n}\n\n#TableOfContents > ul > li > ul > li > a {\n\t@apply pl-6 border-l border-transparent duration-200 text-body hover:text-heading transition-none hover:border-default after:content-['#'] after:text-fg-brand after:ml-2 after:opacity-0 hover:after:opacity-100 after:transition-opacity after:duration-100;\n}\n\n#TableOfContents > ul > li > ul {\n\t@apply pt-2;\n}\n\n#TableOfContents > ul > li > ul > li {\n\t@apply py-2;\n}\n\n#TableOfContents > ul > li > ul > li:last-of-type {\n\t@apply pb-0;\n}\n\n.highlight {\n\t@apply overflow-hidden;\n}\n\n#mainContent > h2:first-child {\n\t@apply mt-0;\n}\n\n#mainContent > h2 {\n\t@apply mt-8 mb-4 text-2xl font-medium text-heading dark:text-white;\n}\n\n#mainContent > h3,\n#mainContent > h4 {\n\t@apply mt-8 mb-4 text-xl font-medium text-heading dark:text-white;\n}\n\n#mainContent > p {\n\t@apply mb-4 text-base font-normal text-body;\n}\n\n#mainContent > p > a,\n#mainContent > ul > li > a,\n#mainContent > ol > li > a,\n#mainContent > ul > li > p > a,\n#mainContent > ol > li > p > a {\n\t@apply font-medium text-body underline decoration-1 underline-offset-2 decoration-fg-brand;\n}\n\n#mainContent > p > a:hover,\n#mainContent > ul > li > a:hover,\n#mainContent > ol > li > a:hover,\n#mainContent > ul > li > p > a:hover,\n#mainContent > ol > li > p > a:hover {\n\t@apply text-heading decoration-2 dark:text-white;\n}\n\n#mainContent > p > code,\n#mainContent > ul > li > code,\n#mainContent > ol > li > code {\n\t@apply px-2 mx-1 py-1 rounded-base bg-neutral-tertiary-soft font-mono text-sm text-fg-brand break-all inline-block;\n}\n\n#introContent {\n\tbackground-size: 1256px;\n}\n\n#mainContent > ul {\n\tlist-style: disc;\n}\n\n#mainContent > ol {\n\tlist-style: decimal;\n}\n\n#mainContent p > strong {\n\t@apply text-heading dark:text-white;\n}\n\n#mainContent > ul,\n#mainContent > ol {\n\tpadding-left: 1rem;\n}\n\n#mainContent > ul > li,\n#mainContent > ol > li {\n\t@apply mb-4 text-base font-normal text-body;\n}\n\n#carbonads * {\n\tmargin: initial;\n\tpadding: initial;\n}\n#carbonads {\n\tfont-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\",\n\t\tHelvetica, Arial, sans-serif;\n\t@apply m-0;\n}\n#carbonads {\n\tdisplay: flex;\n\tmax-width: 330px;\n\tbox-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, 0.1);\n\tz-index: 100;\n\t@apply bg-neutral-tertiary text-body;\n}\n#carbonads a {\n\tcolor: inherit;\n\ttext-decoration: none;\n}\n#carbonads a:hover {\n\tcolor: inherit;\n}\n#carbonads span {\n\tposition: relative;\n\tdisplay: block;\n\toverflow: hidden;\n}\n#carbonads .carbon-wrap {\n\tdisplay: flex;\n}\n#carbonads .carbon-img {\n\tdisplay: block;\n\tmargin: 0;\n\tline-height: 1;\n}\n#carbonads .carbon-img img {\n\tdisplay: block;\n}\n#carbonads .carbon-text {\n\tfont-size: 13px;\n\tpadding: 10px;\n\tmargin-bottom: 16px;\n\tline-height: 1.5;\n\ttext-align: left;\n}\n#carbonads .carbon-poweredby {\n\t@apply bg-neutral-tertiary;\n\tdisplay: block;\n\tpadding: 6px 8px;\n\ttext-align: center;\n\ttext-transform: uppercase;\n\tletter-spacing: 0.5px;\n\tfont-weight: 600;\n\tfont-size: 8px;\n\tline-height: 1;\n\t/* border-left-radius: 3px; */\n\tposition: absolute;\n\tbottom: 0;\n\tright: 0;\n}\n\n/* Search */\n\n.DocSearch.DocSearch-Button {\n\t@apply p-3 m-0 md:w-32 border-buffer items-center justify-center focus:outline-none focus:ring-4 focus:ring-neutral-tertiary md:justify-between h-[36px] w-[36px] md:bg-neutral-secondary-soft bg-neutral-primary rounded-base border md:border-default md:border-solid shadow-none xl:pl-3 flex hover:bg-neutral-tertiary xl:w-64 hover:shadow-none focus:shadow-none;\n}\n\n.DocSearch-Button-Placeholder {\n\t@apply text-sm font-normal text-body;\n}\n\n.DocSearch-Search-Icon {\n\t@apply text-body w-3 h-3;\n}\n\n.DocSearch-MagnifierLabel .DocSearch-Search-Icon {\n\t@apply w-3 h-3;\n}\n\n.DocSearch-Hit-icon {\n\t@apply text-body-subtle;\n}\n\n.DocSearch-Button-Keys {\n\t@apply items-center min-w-0;\n}\n\n.DocSearch-Button-Key:first-child {\n  @apply mr-px text-base;\n}\n\n.DocSearch-Button-Key {\n\t@apply w-auto pt-1 pb-0 m-0 text-xs font-normal text-body shadow-none bg-none;\n}\n\n.DocSearch-Button .DocSearch-Search-Icon {\n\t@apply text-body w-4 h-4;\n}\n.DocSearch-Hits mark {\n\t@apply text-fg-brand dark:text-white decoration-2 underline-offset-2 decoration-brand dark:decoration-white;\n}\n\n.DocSearch-Hit[aria-selected=true] a {\n\t@apply bg-brand dark:bg-brand;\n}\n\n.DocSearch-Hit-source {\n\t@apply pb-1 text-body bg-neutral-primary-medium;\n}\n\n.DocSearch-Container {\n\t@apply bg-dark/50 dark:bg-dark/80;\n}\n\n.DocSearch-Modal {\n\t@apply mx-auto mt-[1rem] max-h-[calc(100vh-2rem)] w-full max-w-[calc(100vw-2rem)] overflow-hidden shadow-none rounded-lg lg:mt-[4rem] lg:max-h-none lg:max-w-xl bg-transparent;\n}\n\n.DocSearch-SearchBar {\n\t@apply p-0 border-b border-default-medium bg-neutral-primary-medium rounded-t-base;\n}\n\n.DocSearch-Form {\n\t@apply shadow-none bg-neutral-primary-medium;\n}\n\n.DocSearch-Input {\n\t@apply text-sm text-body shadow-none dark:text-white focus:shadow-none focus:ring-0 bg-neutral-primary-medium;\n}\n\n.DocSearch-LoadingIndicator svg, .DocSearch-MagnifierLabel svg {\n\t@apply w-4 h-4;\n}\n\n.DocSearch-Commands {\n\t@apply hidden;\n}\n\n.DocSearch-Footer {\n\t@apply h-12 border-t border-default-medium shadow-none bg-neutral-primary-medium rounded-b-base;\n}\n\n.DocSearch-Dropdown {\n\t@apply bg-neutral-primary-medium;\n}\n\n.DocSearch-Hit {\n\t@apply pb-2 shadow-none;\n}\n\n.DocSearch-Hit a {\n\t@apply rounded-lg shadow-none bg-neutral-secondary-strong dark:hover:bg-brand;\n}\n\n.DocSearch-Hit-path {\n\t@apply text-body-subtle;\n}\n\n.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon,\n.DocSearch-Hit-action-button {\n\t@apply hidden;\n}\n\n.DocSearch-Hit .DocSearch-Hit-action:last-child {\n  @apply w-5 h-5;\n  background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m10 16 4-4-4-4'/%3E%3C/svg%3E\");\n  mask-image: url(\"data:image/svg+xml,%3Csvg ... %3E...%3C/svg%3E\");\n}\n\n\n.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action:last-child {\n\t@apply stroke-body text-body;\n}\n\n.DocSearch-Screen-Icon,\n.DocSearch-NoResults-Prefill-List,\n.DocSearch-Cancel {\n\t@apply hidden;\n}\n\n.DocSearch-Title {\n\t@apply mb-1 text-base font-normal text-body;\n}\n\n.DocSearch-Hit-Container {\n\t@apply text-body;\n}\n\n.DocSearch-Logo svg {\n\t@apply text-body;\n}\n\n.DocSearch-Reset {\n\t@apply text-body hover:text-heading;\n}\n\n.formkit-alert.formkit-alert-success {\n\t@apply p-4 mb-4 text-sm text-green-700 bg-green-100 rounded-lg dark:bg-gray-800 dark:text-green-400 font-medium;\n}\n\n.formkit-alert.formkit-alert-error:not(:empty) {\n\t@apply p-4 mb-4 text-sm text-red-700 bg-red-100 rounded-lg dark:bg-gray-800 dark:text-red-400;\n}\n\n/* html {\n  @apply scroll-smooth;\n} */\n\n#navWrapper::-webkit-scrollbar,\n#toc::-webkit-scrollbar {\n\tdisplay: none; /* Chrome, Safari and Opera */\n}\n\n#navWrapper, #toc {\n\t-ms-overflow-style: none; /* Internet Explorer 10+ */\n  \tscrollbar-width: none; /* Firefox */\n}"
  },
  {
    "path": "src/docs.js",
    "content": "// css for docs\nimport docsearch from '@docsearch/js';\nimport { codeToHtml } from 'shiki';\nimport { createCssVariablesTheme } from 'shiki/core';\nimport QRCode from 'qrcode';\nimport { Octokit } from 'octokit';\n\nconst codeBlockElements = document.getElementsByClassName('shiki-code-block');\n\nconst customShikiTheme = createCssVariablesTheme({\n    name: 'custom-theme',\n    variablePrefix: '--shiki-',\n    variableDefaults: {},\n    fontStyle: true,\n});\n\n// Convert HTMLCollection to Array before using forEach\nArray.from(codeBlockElements).forEach(async (e) => {\n    // Get the text content instead of innerHTML to preserve HTML entities\n    const code = e.textContent;\n    const language = e.getAttribute('data-language');\n    const html = await codeToHtml(code, {\n        lang: language,\n        theme: customShikiTheme,\n    });\n    e.innerHTML = html;\n});\n\n// Algolia docsearch\ndocsearch({\n    container: '#docsearch',\n    appId: 'JUWZAHYJQ9',\n    indexName: 'flowbite',\n    apiKey: '63250f7f96b4ea48c49dbd149aab687c',\n    placeholder: 'Search documentation',\n});\n\ndocsearch({\n    container: '#docsearch-mobile',\n    appId: 'JUWZAHYJQ9',\n    indexName: 'flowbite',\n    apiKey: '63250f7f96b4ea48c49dbd149aab687c',\n    placeholder: 'Search documentation',\n});\n\n// copy to clipboard\nconst fallbackCopyTextToClipboard = (text) => {\n    var textArea = document.createElement('textarea');\n    textArea.value = text;\n\n    // Avoid scrolling to bottom\n    textArea.style.top = '0';\n    textArea.style.left = '0';\n    textArea.style.position = 'fixed';\n\n    document.body.appendChild(textArea);\n    textArea.focus();\n    textArea.select();\n\n    try {\n        var successful = document.execCommand('copy');\n        var msg = successful ? 'successful' : 'unsuccessful';\n        console.log('Fallback: Copying text command was ' + msg);\n    } catch (err) {\n        console.error('Fallback: Oops, unable to copy', err);\n    }\n\n    document.body.removeChild(textArea);\n};\n\nconst copyTextToClipboard = (text) => {\n    if (!navigator.clipboard) {\n        fallbackCopyTextToClipboard(text);\n        return;\n    }\n    navigator.clipboard.writeText(text).then(\n        function () {\n            console.log('Async: Copying to clipboard was successful!');\n        },\n        function (err) {\n            console.error('Async: Could not copy text: ', err);\n        }\n    );\n};\n\nconst initiateCopyToClipboard = (element) => {\n    var button = element.getElementsByClassName('copy-to-clipboard-button')[0];\n    var copyText = button.getElementsByClassName('copy-text')[0];\n    var copyIcon = button.getElementsByClassName('copy-icon')[0];\n    var copiedIcon = button.getElementsByClassName('copied-icon')[0];\n    button.addEventListener('click', function () {\n        var textToCopy = '';\n        if (\n            button.getAttribute('data-clipboard-content-type') === 'javascript'\n        ) {\n            textToCopy = element\n                .querySelector('[data-clipboard-content-javascript]')\n                .getAttribute('data-clipboard-content-javascript');\n        } else {\n            textToCopy = element\n                .querySelector('[data-clipboard-content-html]')\n                .getAttribute('data-clipboard-content-html');\n        }\n        copyTextToClipboard(textToCopy);\n        copyText.innerHTML = 'Copied';\n        copyIcon.classList.add('hidden');\n        copiedIcon.classList.remove('hidden');\n        setTimeout(() => {\n            copyText.innerHTML = 'Copy';\n            copyIcon.classList.remove('hidden');\n            copiedIcon.classList.add('hidden');\n        }, 2000);\n    });\n};\n\nArray.from(document.getElementsByClassName('copy-clipboard-simple')).forEach(\n    (e) => {\n        var copyText = e.getElementsByClassName('copy-text')[0];\n        var copyIcon = e.getElementsByClassName('copy-icon')[0];\n        var copiedIcon = e.getElementsByClassName('copied-icon')[0];\n        var textarea = e.querySelector('textarea[data-clipboard-content]');\n        e.addEventListener('click', () => {\n            var textToCopy = textarea.value;\n            copyTextToClipboard(textToCopy);\n            copyText.innerHTML = 'Copied';\n            copyIcon.classList.add('hidden');\n            copiedIcon.classList.remove('hidden');\n            setTimeout(() => {\n                copyText.innerHTML = 'Copy';\n                copyIcon.classList.remove('hidden');\n                copiedIcon.classList.add('hidden');\n            }, 2000);\n        });\n    }\n);\n\nconst initiateToggleCodeTabs = (element) => {\n    const toggleHTMLCodeButton = element.querySelector(\n        '[data-toggle-html-code'\n    );\n    const toggleJavaScriptCodeButton = element.querySelector(\n        '[data-toggle-javascript-code'\n    );\n    const htmlCodeWrapper = element.querySelector('[data-code-wrapper-html]');\n    const javaScriptCodeWrapper = element.querySelector(\n        '[data-code-wrapper-javascript]'\n    );\n    const copyClipboardButton = element.getElementsByClassName(\n        'copy-to-clipboard-button'\n    )[0];\n\n    if (toggleJavaScriptCodeButton) {\n        toggleHTMLCodeButton.addEventListener('click', () => {\n            javaScriptCodeWrapper.classList.add('hidden');\n            htmlCodeWrapper.classList.remove('hidden');\n            copyClipboardButton.setAttribute(\n                'data-clipboard-content-type',\n                'html'\n            );\n            toggleHTMLCodeButton.classList.add('!bg-neutral-tertiary');\n            toggleJavaScriptCodeButton.classList.remove('!bg-neutral-tertiary');\n            expandCode(element);\n        });\n\n        toggleJavaScriptCodeButton.addEventListener('click', () => {\n            htmlCodeWrapper.classList.add('hidden');\n            javaScriptCodeWrapper.classList.remove('hidden');\n            copyClipboardButton.setAttribute(\n                'data-clipboard-content-type',\n                'javascript'\n            );\n            toggleHTMLCodeButton.classList.remove('!bg-neutral-tertiary');\n            toggleJavaScriptCodeButton.classList.add('!bg-neutral-tertiary');\n            expandCode(element);\n        });\n    }\n};\n\nconst expandCode = (element) => {\n    var expandCodeButton = element.querySelector('[data-expand-code]');\n    var codeWrapperEl = element.querySelector('[data-code-wrapper]');\n\n    expandCodeButton.classList.remove('hidden');\n    codeWrapperEl.classList.remove('max-h-72');\n    expandCodeButton.classList.add('hidden');\n};\n\nconst initiateExpandCode = (element) => {\n    var expandCodeButton = element.querySelector('[data-expand-code]');\n    var codeWrapperEl = element.querySelector('[data-code-wrapper]');\n    var codeWrapperHeight = codeWrapperEl.offsetHeight;\n\n    if (codeWrapperHeight > 250) {\n        expandCodeButton.classList.remove('hidden');\n    }\n\n    expandCodeButton.addEventListener('click', () => {\n        codeWrapperEl.classList.remove('max-h-72');\n        expandCodeButton.classList.add('hidden');\n    });\n};\n\nconst updateiFrameDarkMode = (iFrame, theme) => {\n    if (iFrame.contentDocument && iFrame.contentDocument.documentElement) {\n        let html = iFrame.contentDocument.documentElement;\n\n        if (theme === 'dark') {\n            html.classList.add('dark');\n        } else {\n            html.classList.remove('dark');\n        }\n    }\n};\n\nconst updateiFrameRTL = (iFrame, direction) => {\n    if (iFrame.contentDocument && iFrame.contentDocument.documentElement) {\n        let html = iFrame.contentDocument.documentElement;\n\n        if (direction === 'rtl') {\n            html.setAttribute('dir', 'rtl');\n        } else {\n            html.removeAttribute('dir');\n        }\n    }\n};\n\nconst updatePreviewThemeToggleButton = (darkModeButtonEl, theme) => {\n    const moonIconEl = darkModeButtonEl.querySelector(\n        '[data-toggle-icon=\"moon\"]'\n    );\n    const sunIconEl = darkModeButtonEl.querySelector(\n        '[data-toggle-icon=\"sun\"]'\n    );\n    const tooltipId = darkModeButtonEl.getAttribute('data-tooltip-target');\n    let buttonTextEl = null;\n    if (tooltipId) {\n        buttonTextEl = document.getElementById(\n            darkModeButtonEl.getAttribute('data-tooltip-target')\n        );\n    }\n\n    if (theme === 'dark') {\n        darkModeButtonEl.setAttribute('data-toggle-dark', 'dark');\n        moonIconEl.classList.add('hidden');\n        sunIconEl.classList.remove('hidden');\n        if (tooltipId) {\n            buttonTextEl.querySelector('.tooltip-text').textContent =\n                'Toggle light mode';\n        }\n    } else {\n        darkModeButtonEl.setAttribute('data-toggle-dark', 'light');\n        moonIconEl.classList.remove('hidden');\n        sunIconEl.classList.add('hidden');\n        if (tooltipId) {\n            buttonTextEl.querySelector('.tooltip-text').textContent =\n                'Toggle dark mode';\n        }\n    }\n};\n\nconst initiatePreviewState = (element) => {\n    var codePreviewWrapper = element.getElementsByClassName(\n        'code-preview-wrapper'\n    )[0];\n    var iframeCodeEl = element.getElementsByClassName('iframe-code')[0];\n    var darkModeButton = element.getElementsByClassName(\n        'toggle-dark-state-example'\n    )[0];\n    var fullViewButton = element.getElementsByClassName('toggle-full-view')[0];\n    var tabletViewButton =\n        element.getElementsByClassName('toggle-tablet-view')[0];\n    var mobileViewButton =\n        element.getElementsByClassName('toggle-mobile-view')[0];\n    var RTLButton = element.getElementsByClassName('toggle-rtl')[0];\n\n    if (RTLButton) {\n        RTLButton.addEventListener('click', () => {\n            var RTLstate = RTLButton.getAttribute('data-toggle-direction');\n\n            if (RTLstate === 'ltr') {\n                RTLButton.setAttribute('data-toggle-direction', 'rtl');\n                updateiFrameRTL(iframeCodeEl, 'rtl');\n                RTLButton.textContent = 'LTR';\n                RTLButton.nextElementSibling.querySelector(\n                    '.tooltip-text'\n                ).textContent = 'Toggle LTR mode';\n            }\n\n            if (RTLstate === 'rtl') {\n                RTLButton.setAttribute('data-toggle-direction', 'ltr');\n                updateiFrameRTL(iframeCodeEl, 'ltr');\n                RTLButton.textContent = 'RTL';\n                RTLButton.nextElementSibling.querySelector(\n                    '.tooltip-text'\n                ).textContent = 'Toggle RTL mode';\n            }\n        });\n    }\n\n    if (darkModeButton) {\n        darkModeButton.addEventListener('click', function () {\n            const theme = darkModeButton.getAttribute('data-toggle-dark');\n            const inverseTheme = theme === 'dark' ? 'light' : 'dark';\n            const cssTheme = localStorage.getItem('css-theme');\n            const direction = RTLButton.getAttribute('data-toggle-direction');\n\n            iframeCodeEl.contentWindow.location.reload();\n\n            iframeCodeEl.classList.add('opacity-0');\n            codePreviewWrapper.classList.add(inverseTheme);\n            iframeCodeEl.onload = () => {\n                codePreviewWrapper.classList.remove(theme);\n                updateiFrameHeight(iframeCodeEl);\n                updateiFrameDarkMode(iframeCodeEl, inverseTheme);\n                updateiFrameRTL(iframeCodeEl, direction);\n                updateiFrameTheme(iframeCodeEl, cssTheme);\n                updatePreviewThemeToggleButton(darkModeButton, inverseTheme);\n                setiFrameDataLoaded(iframeCodeEl);\n            };\n\n            setTimeout(() => {\n                iframeCodeEl.classList.remove('opacity-0');\n            }, 500);\n        });\n    }\n\n    if (mobileViewButton) {\n        mobileViewButton.addEventListener('click', () => {\n            const theme = darkModeButton.getAttribute('data-toggle-dark');\n            const cssTheme = localStorage.getItem('css-theme');\n            const direction = RTLButton.getAttribute('data-toggle-direction');\n            iframeCodeEl.classList.add('max-w-sm');\n            iframeCodeEl.classList.add('max-w-lg');\n            iframeCodeEl.contentWindow.location.reload();\n            iframeCodeEl.classList.add('opacity-0');\n            iframeCodeEl.onload = () => {\n                updateiFrameHeight(iframeCodeEl);\n                updateiFrameDarkMode(iframeCodeEl, theme);\n                updateiFrameRTL(iframeCodeEl, direction);\n                updateiFrameTheme(iframeCodeEl, cssTheme);\n                setiFrameDataLoaded(iframeCodeEl);\n            };\n            setTimeout(() => {\n                iframeCodeEl.classList.remove('opacity-0');\n            }, 500);\n        });\n    }\n\n    if (tabletViewButton) {\n        tabletViewButton.addEventListener('click', () => {\n            const theme = darkModeButton.getAttribute('data-toggle-dark');\n            const cssTheme = localStorage.getItem('css-theme');\n            const direction = RTLButton.getAttribute('data-toggle-direction');\n            iframeCodeEl.classList.add('max-w-lg');\n            iframeCodeEl.classList.remove('max-w-sm');\n            iframeCodeEl.contentWindow.location.reload();\n            iframeCodeEl.classList.add('opacity-0');\n            iframeCodeEl.onload = () => {\n                updateiFrameHeight(iframeCodeEl);\n                updateiFrameDarkMode(iframeCodeEl, theme);\n                updateiFrameRTL(iframeCodeEl, direction);\n                updateiFrameTheme(iframeCodeEl, cssTheme);\n                setiFrameDataLoaded(iframeCodeEl);\n            };\n            setTimeout(() => {\n                iframeCodeEl.classList.remove('opacity-0');\n            }, 500);\n        });\n    }\n\n    if (fullViewButton) {\n        fullViewButton.addEventListener('click', () => {\n            const theme = darkModeButton.getAttribute('data-toggle-dark');\n            const cssTheme = localStorage.getItem('css-theme');\n            const direction = RTLButton.getAttribute('data-toggle-direction');\n            iframeCodeEl.classList.remove('max-w-sm', 'max-w-lg');\n            iframeCodeEl.contentWindow.location.reload();\n            iframeCodeEl.classList.add('opacity-0');\n            iframeCodeEl.onload = () => {\n                updateiFrameHeight(iframeCodeEl);\n                updateiFrameDarkMode(iframeCodeEl, theme);\n                updateiFrameRTL(iframeCodeEl, direction);\n                updateiFrameTheme(iframeCodeEl, cssTheme);\n                setiFrameDataLoaded(iframeCodeEl);\n            };\n            setTimeout(() => {\n                iframeCodeEl.classList.remove('opacity-0');\n            }, 500);\n        });\n    }\n};\n\nconst updateiFrameHeight = (iFrame) => {\n    setTimeout(() => {\n        iFrame.nextElementSibling.classList.add('hidden');\n        iFrame.style.height =\n            iFrame.contentWindow.document.body.scrollHeight + 'px';\n    }, 500);\n};\n\nconst updateiFrameCodeElsDarkMode = (theme) => {\n    var iframeCodeEls = document.querySelectorAll('.iframe-code');\n    iframeCodeEls.forEach((iframeCodeEl) => {\n        const cssTheme = localStorage.getItem('css-theme');\n\n        console.log(theme);\n\n        iframeCodeEl.contentWindow.location.reload();\n        iframeCodeEl.classList.add('opacity-0');\n\n        iframeCodeEl.onload = () => {\n            updateiFrameDarkMode(iframeCodeEl, theme);\n            updateiFrameTheme(iframeCodeEl, cssTheme);\n            setiFrameDataLoaded(iframeCodeEl);\n        };\n\n        setTimeout(() => {\n            iframeCodeEl.classList.remove('opacity-0');\n        }, 500);\n    });\n};\n\n/**\n * Updates the theme for a specific iframe element\n * @param {HTMLIFrameElement} iframeEl - The iframe element to update\n * @param {string} themeAttribute - The theme attribute value to apply\n * @returns {boolean} - Whether the update was successful\n */\nconst updateiFrameTheme = (iframeEl, themeAttribute) => {\n    try {\n        // Make sure the iframe has loaded\n        if (\n            iframeEl.contentDocument &&\n            iframeEl.contentDocument.documentElement\n        ) {\n            // Set the data-theme attribute on the iframe's html element\n            iframeEl.contentDocument.documentElement.setAttribute(\n                'data-theme',\n                themeAttribute\n            );\n            console.log('Updated iframe theme attribute:', themeAttribute);\n            return true;\n        }\n        return false;\n    } catch (e) {\n        console.error('Error updating iframe theme:', e);\n        return false;\n    }\n};\n\n/**\n * Updates the theme for all iframe elements\n * @param {string} themeAttribute - The theme attribute value to apply\n */\nconst updateiFrameThemes = (themeAttribute) => {\n    const iframeCodeEls = document.querySelectorAll('.iframe-code');\n    const theme = localStorage.getItem('color-theme');\n\n    iframeCodeEls.forEach((iframeCodeEl) => {\n        iframeCodeEl.contentWindow.location.reload();\n        iframeCodeEl.classList.add('opacity-0');\n\n        iframeCodeEl.onload = () => {\n            updateiFrameDarkMode(iframeCodeEl, theme);\n            updateiFrameTheme(iframeCodeEl, themeAttribute);\n            setiFrameDataLoaded(iframeCodeEl);\n        };\n\n        setTimeout(() => {\n            iframeCodeEl.classList.remove('opacity-0');\n        }, 500);\n    });\n};\n\nconst initializeCodeExamples = (theme) => {\n    const codeExampleEls = document.querySelectorAll('.code-example');\n\n    codeExampleEls.forEach((c) => {\n        const iframe = c.querySelector('.iframe-code');\n        updateiFrameHeight(iframe);\n        updateiFrameDarkMode(iframe, theme);\n        initiateCopyToClipboard(c);\n        initiateExpandCode(c);\n        initiateToggleCodeTabs(c);\n\n        if (localStorage.getItem('css-theme')) {\n            const themeObj = themes.find(\n                (t) => t.name === localStorage.getItem('css-theme')\n            );\n            if (themeObj) {\n                updateiFrameTheme(iframe, themeObj.attribute);\n            }\n        }\n\n        setiFrameDataLoaded(iframe);\n    });\n};\n\nconst setiFrameDataLoaded = (iframe) => {\n    if (iframe.contentDocument && iframe.contentDocument.documentElement) {\n        iframe.contentDocument.documentElement.setAttribute(\n            'data-loaded',\n            'true'\n        );\n    }\n};\n\nconst updateButtonThemeToggleEls = (theme) => {\n    const buttonThemeToggleEls = document.querySelectorAll(\n        '.toggle-dark-state-example'\n    );\n    buttonThemeToggleEls.forEach((b) => {\n        updatePreviewThemeToggleButton(b, theme);\n    });\n};\n\nwindow.addEventListener('load', () => {\n    // set menu item location scroll\n    const currentHref = window.location.href;\n    const sidebarItemEls = document.querySelectorAll('[data-sidebar-item]');\n    const sidenav = document.getElementById('navWrapper');\n    const sidenavHeight = sidenav.clientHeight;\n\n    sidebarItemEls.forEach((s) => {\n        if (s.href === currentHref) {\n            const itemHeight = s.clientHeight;\n            sidenav.scrollTop =\n                s.offsetTop - sidenavHeight / 2 + itemHeight / 2;\n        }\n    });\n\n    // toggle dark mode\n    var themeToggleDarkIcon = document.getElementById('theme-toggle-dark-icon');\n    var themeToggleLightIcon = document.getElementById(\n        'theme-toggle-light-icon'\n    );\n\n    // Change the icons inside the button based on previous settings\n    if (\n        localStorage.getItem('color-theme') === 'dark' ||\n        (!('color-theme' in localStorage) &&\n            window.matchMedia('(prefers-color-scheme: dark)').matches)\n    ) {\n        themeToggleLightIcon.classList.remove('hidden');\n        initializeCodeExamples('dark');\n        updateButtonThemeToggleEls('dark');\n    } else {\n        themeToggleDarkIcon.classList.remove('hidden');\n        initializeCodeExamples('light');\n        updateButtonThemeToggleEls('light');\n    }\n\n    var themeToggleBtn = document.getElementById('theme-toggle');\n\n    themeToggleBtn.addEventListener('click', function () {\n        // toggle icons\n        themeToggleDarkIcon.classList.toggle('hidden');\n        themeToggleLightIcon.classList.toggle('hidden');\n\n        // if set via local storage previously\n        if (localStorage.getItem('color-theme')) {\n            if (localStorage.getItem('color-theme') === 'light') {\n                document.documentElement.classList.add('dark');\n                localStorage.setItem('color-theme', 'dark');\n                updateiFrameCodeElsDarkMode('dark');\n                updateButtonThemeToggleEls('dark');\n            } else {\n                document.documentElement.classList.remove('dark');\n                localStorage.setItem('color-theme', 'light');\n                updateiFrameCodeElsDarkMode('light');\n                updateButtonThemeToggleEls('light');\n            }\n\n            // if NOT set via local storage previously\n        } else {\n            if (document.documentElement.classList.contains('dark')) {\n                document.documentElement.classList.remove('dark');\n                localStorage.setItem('color-theme', 'light');\n                updateiFrameCodeElsDarkMode('light');\n                updateButtonThemeToggleEls('light');\n            } else {\n                document.documentElement.classList.add('dark');\n                localStorage.setItem('color-theme', 'dark');\n                updateiFrameCodeElsDarkMode('dark');\n                updateButtonThemeToggleEls('dark');\n            }\n        }\n    });\n\n    // sidebar functionality\n    const sidebar = document.getElementById('sidebar');\n\n    const toggleSidebarMobile = (\n        sidebar,\n        sidebarBackdrop,\n        toggleSidebarMobileHamburger,\n        toggleSidebarMobileClose\n    ) => {\n        sidebar.classList.toggle('hidden');\n        sidebarBackdrop.classList.toggle('hidden');\n        toggleSidebarMobileHamburger.classList.toggle('hidden');\n        toggleSidebarMobileClose.classList.toggle('hidden');\n    };\n\n    const toggleSidebarMobileEl = document.getElementById(\n        'toggleSidebarMobile'\n    );\n    const sidebarBackdrop = document.getElementById('sidebarBackdrop');\n    const toggleSidebarMobileHamburger = document.getElementById(\n        'toggleSidebarMobileHamburger'\n    );\n    const toggleSidebarMobileClose = document.getElementById(\n        'toggleSidebarMobileClose'\n    );\n\n    toggleSidebarMobileEl.addEventListener('click', () => {\n        toggleSidebarMobile(\n            sidebar,\n            sidebarBackdrop,\n            toggleSidebarMobileHamburger,\n            toggleSidebarMobileClose\n        );\n    });\n\n    sidebarBackdrop.addEventListener('click', () => {\n        toggleSidebarMobile(\n            sidebar,\n            sidebarBackdrop,\n            toggleSidebarMobileHamburger,\n            toggleSidebarMobileClose\n        );\n    });\n\n    // current year\n    document.getElementById('currentYear').textContent =\n        new Date().getFullYear();\n\n    // copy to clipboard\n    var codeExamples = document.querySelectorAll('.code-example');\n    codeExamples.forEach((c) => {\n        initiatePreviewState(c);\n    });\n    // toc menu item activation\n    const deactivateMenuEl = (el) => {\n        el.classList.remove(\n            '!border-brand',\n            '!after:opacity-100',\n            '!text-fg-brand',\n            'dark:!border-fg-brand',\n            'dark:!text-fg-brand'\n        );\n    };\n\n    const allMenuEls = document.querySelectorAll('#TableOfContents [href]');\n    const activateMenuEl = (el) => {\n        allMenuEls.forEach((el) => {\n            deactivateMenuEl(el);\n        });\n        el.classList.add(\n            '!border-brand',\n            '!after:opacity-100',\n            '!text-fg-brand',\n            'dark:!border-fg-brand',\n            'dark:!text-fg-brand'\n        );\n    };\n\n    // anchor change activate menu element\n    let anchorChanged = false;\n    window.addEventListener('hashchange', () => {\n        anchorChanged = true;\n        const menuEl = document.querySelector(\n            `#TableOfContents [href=\"${location.hash}\"]`\n        );\n        activateMenuEl(menuEl);\n        setTimeout(() => {\n            anchorChanged = false;\n        }, 99);\n    });\n\n    // toc on scroll activation\n    const contentAnchorTags = document.querySelectorAll(\n        '#mainContent > h2 > span[id], #mainContent > h3 > span[id], #mainContent > h4 > span[id], #mainContent > h5 > span[id], #mainContent > h6 > span[id]'\n    );\n    contentAnchorTags.forEach((anchorEl) => {\n        window.addEventListener('scroll', () => {\n            var element = anchorEl;\n            var position = element.getBoundingClientRect();\n\n            // checking whether fully visible\n            if (\n                position.top + 140 >= 0 &&\n                position.bottom + 140 <= window.innerHeight\n            ) {\n                const menuEl = document.querySelector(\n                    `#TableOfContents [href=\"#${element.id}\"]`\n                );\n                if (!anchorChanged) {\n                    activateMenuEl(menuEl);\n                }\n            }\n        });\n    });\n});\n\nconst themes = [\n    {\n        name: 'modern',\n        attribute: 'modern',\n    },\n    {\n        name: 'minimal',\n        attribute: 'minimal',\n    },\n    {\n        name: 'enterprise',\n        attribute: 'enterprise',\n    },\n    {\n        name: 'playful',\n        attribute: 'playful',\n    },\n    {\n        name: 'mono',\n        attribute: 'mono',\n    },\n];\n\n// Function to apply a specific CSS theme by changing the data-theme attribute\nconst applyCssTheme = (themeName) => {\n    const themeObj = themes.find((t) => t.name === themeName);\n    if (!themeObj) return;\n\n    // Update main document theme attribute\n    document.documentElement.setAttribute('data-theme', themeObj.attribute);\n\n    // Update iframes\n    updateiFrameThemes(themeObj.attribute);\n\n    // Save the selected theme to localStorage\n    localStorage.setItem('css-theme', themeName);\n};\n\n// Load saved CSS theme on page load\nwindow.addEventListener('DOMContentLoaded', () => {\n    const savedCssTheme = localStorage.getItem('css-theme');\n    if (savedCssTheme) {\n        applyCssTheme(savedCssTheme);\n    }\n});\n\nconst themeSelectorButtons = document.querySelectorAll('.theme-select-button');\nthemeSelectorButtons.forEach((button) => {\n    button.addEventListener('click', () => {\n        const theme = button.getAttribute('data-css-theme');\n        applyCssTheme(theme);\n    });\n});\n\nconst modifyQRCodeSVG = (svgString) => {\n    const parser = new DOMParser();\n    const doc = parser.parseFromString(svgString, 'image/svg+xml');\n    const svg = doc.querySelector('svg');\n\n    if (svg) {\n        svg.classList.add('text-heading');\n        const paths = svg.querySelectorAll('path');\n        paths.forEach((path) => {\n            if (path.hasAttribute('fill')) {\n                path.setAttribute('fill', 'none');\n            }\n            if (path.hasAttribute('stroke')) {\n                path.setAttribute('stroke', 'currentColor');\n            }\n        });\n    }\n\n    return new XMLSerializer().serializeToString(doc);\n};\n\nconst updateQRCodeIframesValue = (value, level = 'M') => {\n    const iframeCodeEls = document.querySelectorAll('.iframe-code');\n    iframeCodeEls.forEach((iframeCodeEl) => {\n        if (iframeCodeEl.contentDocument) {\n            updateQRCodeiFrameValue(iframeCodeEl, value, level);\n        }\n    });\n};\n\nconst updateQRCodeiFrameValue = (iframe, value, level = 'M') => {\n    const iframeQRCodeEl = iframe.contentDocument.getElementById('qrcode');\n    if (iframeQRCodeEl && value) {\n        QRCode.toString(\n            iframeQRCodeEl,\n            value,\n            { errorCorrectionLevel: level },\n            function (_err, svg) {\n                iframeQRCodeEl.innerHTML = modifyQRCodeSVG(svg);\n            }\n        );\n    }\n};\n\nconst QRCodeEl = document.getElementById('qrcode');\nconst QRCodeValInput = document.getElementById('qr_code_value');\nconst QRCodeLevelButtons = document.querySelectorAll('[data-qr-code-level]');\nconst QRCodeCopySVGButton = document.getElementById('copy-qr-code-button');\nconst saveQRCodeButton = document.getElementById('save-qr-code-button');\n\nif (QRCodeEl) {\n    // default value\n    QRCode.toString(\n        QRCodeEl,\n        'https://flowbite.com',\n        { errorCorrectionLevel: 'M' },\n        function (_err, svg) {\n            QRCodeEl.innerHTML = modifyQRCodeSVG(svg);\n        }\n    );\n    updateQRCodeIframesValue('https://flowbite.com', 'M');\n\n    QRCodeValInput.addEventListener('keyup', function () {\n        const value = this.value;\n        const QrCodeLevel = document\n            .querySelector('[data-qr-code-active=\"true\"]')\n            ?.getAttribute('data-qr-code-level');\n        if (value && QrCodeLevel) {\n            QRCode.toString(\n                QRCodeEl,\n                value,\n                { errorCorrectionLevel: QrCodeLevel },\n                function (_err, svg) {\n                    QRCodeEl.innerHTML = modifyQRCodeSVG(svg);\n                }\n            );\n            updateQRCodeIframesValue(value, QrCodeLevel);\n        }\n    });\n\n    QRCodeLevelButtons.forEach((button) => {\n        button.addEventListener('click', function () {\n            const level = this.getAttribute('data-qr-code-level');\n            const value = QRCodeValInput.value || 'https://flowbite.com';\n            const isActive =\n                this.getAttribute('data-qr-code-active') === 'true';\n\n            if (isActive) return;\n\n            button.setAttribute('data-qr-code-active', 'true');\n\n            // Deactivate other buttons\n            QRCodeLevelButtons.forEach((btn) => {\n                if (btn !== button) {\n                    btn.setAttribute('data-qr-code-active', 'false');\n                }\n            });\n\n            QRCode.toString(\n                QRCodeEl,\n                value,\n                { errorCorrectionLevel: level },\n                function (_err, svg) {\n                    QRCodeEl.innerHTML = modifyQRCodeSVG(svg);\n                }\n            );\n            updateQRCodeIframesValue(value, level);\n        });\n    });\n\n    QRCodeCopySVGButton.addEventListener('click', function () {\n        const svgContent = QRCodeEl.innerHTML;\n        navigator.clipboard.writeText(svgContent);\n\n        // Show success state\n        const defaultIcon = QRCodeCopySVGButton.querySelector(\n            '#default-copy-qr-code-icon'\n        );\n        const successIcon = QRCodeCopySVGButton.querySelector(\n            '#success-copy-qr-code-icon'\n        );\n        const copyText =\n            QRCodeCopySVGButton.querySelector('#copy-qr-code-text');\n\n        if (defaultIcon && successIcon && copyText) {\n            defaultIcon.classList.add('hidden');\n            successIcon.classList.remove('hidden');\n            copyText.textContent = 'Copied!';\n\n            // Reset after 2 seconds\n            setTimeout(() => {\n                defaultIcon.classList.remove('hidden');\n                successIcon.classList.add('hidden');\n                copyText.textContent = 'Copy as SVG';\n            }, 2000);\n        }\n    });\n\n    saveQRCodeButton.addEventListener('click', function () {\n        // TODO: Implement save as file functionality\n        console.log('Save QR code as file clicked');\n\n        // Get the SVG content\n        const svgContent = QRCodeEl.innerHTML;\n\n        // Create a blob from the SVG content\n        const blob = new Blob([svgContent], { type: 'image/svg+xml' });\n\n        // Create a download link\n        const url = URL.createObjectURL(blob);\n        const a = document.createElement('a');\n        a.href = url;\n        a.download = 'qrcode.svg';\n\n        // Trigger the download\n        document.body.appendChild(a);\n        a.click();\n\n        // Clean up\n        setTimeout(() => {\n            document.body.removeChild(a);\n            URL.revokeObjectURL(url);\n        }, 100);\n    });\n}\n\n// get github stars\n\n// GitHub API: https://developer.github.com/v3/repos/#get\nlet res = await fetch('https://api.github.com/repos/themesberg/flowbite');\nlet json = await res.json();\n\nconst formatStarCount = (count) => {\n    if (count >= 1000) {\n        const thousands = count / 1000;\n        return thousands % 1 === 0\n            ? `${thousands}k`\n            : `${thousands.toFixed(1)}k`;\n    }\n    return count.toString();\n};\n\ndocument.getElementById('github_stars').textContent = formatStarCount(\n    json.stargazers_count\n);\n"
  },
  {
    "path": "src/dom/events.ts",
    "content": "class Events {\n    private _eventType: string;\n    private _eventFunctions: EventListener[];\n\n    constructor(eventType: string, eventFunctions: EventListener[] = []) {\n        this._eventType = eventType;\n        this._eventFunctions = eventFunctions;\n    }\n\n    init() {\n        this._eventFunctions.forEach((eventFunction) => {\n            if (typeof window !== 'undefined') {\n                window.addEventListener(this._eventType, eventFunction);\n            }\n        });\n    }\n}\n\nexport default Events;\n"
  },
  {
    "path": "src/dom/instances.ts",
    "content": "import { AccordionInterface } from '../components/accordion/interface';\nimport { CarouselInterface } from '../components/carousel/interface';\nimport { CollapseInterface } from '../components/collapse/interface';\nimport { DialInterface } from '../components/dial/interface';\nimport { DismissInterface } from '../components/dismiss/interface';\nimport { DrawerInterface } from '../components/drawer/interface';\nimport { DropdownInterface } from '../components/dropdown/interface';\nimport { ModalInterface } from '../components/modal/interface';\nimport { PopoverInterface } from '../components/popover/interface';\nimport { TabsInterface } from '../components/tabs/interface';\nimport { TooltipInterface } from '../components/tooltip/interface';\nimport { InputCounterInterface } from '../components/input-counter/interface';\nimport { CopyClipboardInterface } from '../components/clipboard/interface';\nimport { DatepickerInterface } from '../components/datepicker/interface';\n\nclass Instances {\n    private _instances: {\n        Accordion: { [id: string]: AccordionInterface };\n        Carousel: { [id: string]: CarouselInterface };\n        Collapse: { [id: string]: CollapseInterface };\n        Dial: { [id: string]: DialInterface };\n        Dismiss: { [id: string]: DismissInterface };\n        Drawer: { [id: string]: DrawerInterface };\n        Dropdown: { [id: string]: DropdownInterface };\n        Modal: { [id: string]: ModalInterface };\n        Popover: { [id: string]: PopoverInterface };\n        Tabs: { [id: string]: TabsInterface };\n        Tooltip: { [id: string]: TooltipInterface };\n        InputCounter: { [id: string]: InputCounterInterface };\n        CopyClipboard: { [id: string]: CopyClipboardInterface };\n        Datepicker: { [id: string]: DatepickerInterface };\n    };\n\n    constructor() {\n        this._instances = {\n            Accordion: {},\n            Carousel: {},\n            Collapse: {},\n            Dial: {},\n            Dismiss: {},\n            Drawer: {},\n            Dropdown: {},\n            Modal: {},\n            Popover: {},\n            Tabs: {},\n            Tooltip: {},\n            InputCounter: {},\n            CopyClipboard: {},\n            Datepicker: {},\n        };\n    }\n\n    addInstance(\n        component: keyof Instances['_instances'],\n        instance: any,\n        id?: string,\n        override = false\n    ) {\n        if (!this._instances[component]) {\n            console.warn(`Flowbite: Component ${component} does not exist.`);\n            return false;\n        }\n\n        if (this._instances[component][id] && !override) {\n            console.warn(`Flowbite: Instance with ID ${id} already exists.`);\n            return;\n        }\n\n        if (override && this._instances[component][id]) {\n            this._instances[component][id].destroyAndRemoveInstance();\n        }\n\n        this._instances[component][id ? id : this._generateRandomId()] =\n            instance;\n    }\n\n    getAllInstances() {\n        return this._instances;\n    }\n\n    getInstances(component: keyof Instances['_instances']) {\n        if (!this._instances[component]) {\n            console.warn(`Flowbite: Component ${component} does not exist.`);\n            return false;\n        }\n        return this._instances[component];\n    }\n\n    getInstance(component: keyof Instances['_instances'], id: string) {\n        if (!this._componentAndInstanceCheck(component, id)) {\n            return;\n        }\n\n        if (!this._instances[component][id]) {\n            console.warn(`Flowbite: Instance with ID ${id} does not exist.`);\n            return;\n        }\n        return this._instances[component][id] as any;\n    }\n\n    destroyAndRemoveInstance(\n        component: keyof Instances['_instances'],\n        id: string\n    ) {\n        if (!this._componentAndInstanceCheck(component, id)) {\n            return;\n        }\n        this.destroyInstanceObject(component, id);\n        this.removeInstance(component, id);\n    }\n\n    removeInstance(component: keyof Instances['_instances'], id: string) {\n        if (!this._componentAndInstanceCheck(component, id)) {\n            return;\n        }\n        delete this._instances[component][id];\n    }\n\n    destroyInstanceObject(\n        component: keyof Instances['_instances'],\n        id: string\n    ) {\n        if (!this._componentAndInstanceCheck(component, id)) {\n            return;\n        }\n        this._instances[component][id].destroy();\n    }\n\n    instanceExists(component: keyof Instances['_instances'], id: string) {\n        if (!this._instances[component]) {\n            return false;\n        }\n\n        if (!this._instances[component][id]) {\n            return false;\n        }\n\n        return true;\n    }\n\n    _generateRandomId() {\n        return Math.random().toString(36).substr(2, 9);\n    }\n\n    private _componentAndInstanceCheck(\n        component: keyof Instances['_instances'],\n        id: string\n    ) {\n        if (!this._instances[component]) {\n            console.warn(`Flowbite: Component ${component} does not exist.`);\n            return false;\n        }\n\n        if (!this._instances[component][id]) {\n            console.warn(`Flowbite: Instance with ID ${id} does not exist.`);\n            return false;\n        }\n\n        return true;\n    }\n}\n\nconst instances = new Instances();\n\nexport default instances;\n\nif (typeof window !== 'undefined') {\n    window.FlowbiteInstances = instances;\n}\n"
  },
  {
    "path": "src/dom/types.ts",
    "content": "export declare type InstanceOptions = {\n    id?: string;\n    override?: boolean;\n};\n\nexport declare type EventListenerInstance = {\n    element: HTMLElement;\n    type: string;\n    handler: EventListenerOrEventListenerObject;\n};\n"
  },
  {
    "path": "src/enterprise.css",
    "content": "@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');\n\n@import \"tailwindcss\";\n@import \"./themes/enterprise.css\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@import \"./docs.css\";\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n\n"
  },
  {
    "path": "src/flowbite.css",
    "content": "@import \"tailwindcss\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n    --spacing-2xl: 16rem;\n    --spacing-8xl: 90rem; \n    --text-2xs: 0.625rem;\n}\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n"
  },
  {
    "path": "src/index.phoenix.ts",
    "content": "// core components\nimport Accordion, { initAccordions } from './components/accordion';\nimport Carousel, { initCarousels } from './components/carousel';\nimport Collapse, { initCollapses } from './components/collapse';\nimport Dial, { initDials } from './components/dial';\nimport Dismiss, { initDismisses } from './components/dismiss';\nimport Drawer, { initDrawers } from './components/drawer';\nimport Dropdown, { initDropdowns } from './components/dropdown';\nimport Modal, { initModals } from './components/modal';\nimport Popover, { initPopovers } from './components/popover';\nimport Tabs, { initTabs } from './components/tabs';\nimport Tooltip, { initTooltips } from './components/tooltip';\nimport InputCounter, { initInputCounters } from './components/input-counter';\nimport CopyClipboard, { initCopyClipboards } from './components/clipboard';\nimport Datepicker, { initDatepickers } from './components/datepicker';\nimport './components/index';\nimport Events from './dom/events';\n\nconst liveViewLoadEvents = new Events('phx:page-loading-stop', [\n    initAccordions,\n    initCollapses,\n    initCarousels,\n    initDismisses,\n    initDropdowns,\n    initModals,\n    initDrawers,\n    initTabs,\n    initTooltips,\n    initPopovers,\n    initDials,\n    initInputCounters,\n    initCopyClipboards,\n    initDatepickers,\n]);\nliveViewLoadEvents.init();\n\nconst regularViewLoadEvents = new Events('load', [\n    initAccordions,\n    initCollapses,\n    initCarousels,\n    initDismisses,\n    initDropdowns,\n    initModals,\n    initDrawers,\n    initTabs,\n    initTooltips,\n    initPopovers,\n    initDials,\n    initInputCounters,\n    initCopyClipboards,\n    initDatepickers,\n]);\nregularViewLoadEvents.init();\n\nexport default {\n    Accordion,\n    Carousel,\n    Collapse,\n    Dial,\n    Drawer,\n    Dismiss,\n    Dropdown,\n    Modal,\n    Popover,\n    Tabs,\n    Tooltip,\n    InputCounter,\n    CopyClipboard,\n    Datepicker,\n    Events,\n};\n"
  },
  {
    "path": "src/index.ts",
    "content": "import Events from './dom/events';\nimport { initAccordions } from './components/accordion';\nimport { initCollapses } from './components/collapse';\nimport { initCarousels } from './components/carousel';\nimport { initDismisses } from './components/dismiss';\nimport { initDropdowns } from './components/dropdown';\nimport { initModals } from './components/modal';\nimport { initDrawers } from './components/drawer';\nimport { initTabs } from './components/tabs';\nimport { initTooltips } from './components/tooltip';\nimport { initPopovers } from './components/popover';\nimport { initDials } from './components/dial';\nimport { initInputCounters } from './components/input-counter';\nimport { initCopyClipboards } from './components/clipboard';\nimport { initDatepickers } from './components/datepicker';\nimport './components/index';\nimport './types/declarations';\n\n// setup events for data attributes\nconst events = new Events('load', [\n    initAccordions,\n    initCollapses,\n    initCarousels,\n    initDismisses,\n    initDropdowns,\n    initModals,\n    initDrawers,\n    initTabs,\n    initTooltips,\n    initPopovers,\n    initDials,\n    initInputCounters,\n    initCopyClipboards,\n    initDatepickers,\n]);\nevents.init();\n\n// export all components\nexport { default as Accordion } from './components/accordion';\nexport { default as Carousel } from './components/carousel';\nexport { default as Collapse } from './components/collapse';\nexport { default as Dial } from './components/dial';\nexport { default as Dismiss } from './components/dismiss';\nexport { default as Drawer } from './components/drawer';\nexport { default as Dropdown } from './components/dropdown';\nexport { default as Modal } from './components/modal';\nexport { default as Popover } from './components/popover';\nexport { default as Tabs } from './components/tabs';\nexport { default as Tooltip } from './components/tooltip';\nexport { default as InputCounter } from './components/input-counter';\nexport { default as CopyClipboard } from './components/clipboard';\nexport { default as Datepicker } from './components/datepicker';\n\n// export all types\nexport * from './components/accordion/types';\nexport * from './components/carousel/types';\nexport * from './components/collapse/types';\nexport * from './components/dial/types';\nexport * from './components/dismiss/types';\nexport * from './components/drawer/types';\nexport * from './components/dropdown/types';\nexport * from './components/modal/types';\nexport * from './components/popover/types';\nexport * from './components/tabs/types';\nexport * from './components/tooltip/types';\nexport * from './components/input-counter/types';\nexport * from './components/clipboard/types';\nexport * from './components/datepicker/types';\nexport * from './dom/types';\n\n// export all interfaces\nexport * from './components/accordion/interface';\nexport * from './components/carousel/interface';\nexport * from './components/collapse/interface';\nexport * from './components/dial/interface';\nexport * from './components/dismiss/interface';\nexport * from './components/drawer/interface';\nexport * from './components/dropdown/interface';\nexport * from './components/modal/interface';\nexport * from './components/popover/interface';\nexport * from './components/tabs/interface';\nexport * from './components/tooltip/interface';\nexport * from './components/input-counter/interface';\nexport * from './components/clipboard/interface';\nexport * from './components/datepicker/interface';\n\n// export init functions\nexport { initAccordions } from './components/accordion';\nexport { initCarousels } from './components/carousel';\nexport { initCollapses } from './components/collapse';\nexport { initDials } from './components/dial';\nexport { initDismisses } from './components/dismiss';\nexport { initDrawers } from './components/drawer';\nexport { initDropdowns } from './components/dropdown';\nexport { initModals } from './components/modal';\nexport { initPopovers } from './components/popover';\nexport { initTabs } from './components/tabs';\nexport { initTooltips } from './components/tooltip';\nexport { initInputCounters } from './components/input-counter';\nexport { initCopyClipboards } from './components/clipboard';\nexport { initDatepickers } from './components/datepicker';\n\n// export all init functions\nexport { initFlowbite } from './components/index';\n"
  },
  {
    "path": "src/index.turbo.ts",
    "content": "// core components\nimport Accordion from './components/accordion';\nimport Carousel from './components/carousel';\nimport Collapse from './components/collapse';\nimport Dial from './components/dial';\nimport Dismiss from './components/dismiss';\nimport Drawer from './components/drawer';\nimport Dropdown from './components/dropdown';\nimport Modal from './components/modal';\nimport Popover from './components/popover';\nimport Tabs from './components/tabs';\nimport Tooltip from './components/tooltip';\nimport InputCounter from './components/input-counter';\nimport CopyClipboard from './components/clipboard';\nimport Datepicker from './components/datepicker';\nimport { initFlowbite } from './components/index';\nimport Events from './dom/events';\n\n// Since turbo maintainers refuse to add this event, we'll add it ourselves\n// https://discuss.hotwired.dev/t/event-to-know-a-turbo-stream-has-been-rendered/1554/10\nconst afterRenderEvent = new Event('turbo:after-stream-render');\naddEventListener('turbo:before-stream-render', (event: CustomEvent) => {\n    const originalRender = event.detail.render;\n\n    event.detail.render = function (streamElement: Element) {\n        originalRender(streamElement);\n        window.dispatchEvent(afterRenderEvent);\n    };\n});\n\nconst turboLoadEvents = new Events('turbo:load', [initFlowbite]);\nturboLoadEvents.init();\n\nconst turboFrameLoadEvents = new Events('turbo:frame-load', [initFlowbite]);\nturboFrameLoadEvents.init();\n\nconst turboStreamLoadEvents = new Events('turbo:after-stream-render', [\n    initFlowbite,\n]);\nturboStreamLoadEvents.init();\n\nconst turboRenderEvents = new Events('turbo:render', [initFlowbite]);\nturboRenderEvents.init();\n\nexport default {\n    Accordion,\n    Carousel,\n    Collapse,\n    Dial,\n    Drawer,\n    Dismiss,\n    Dropdown,\n    Modal,\n    Popover,\n    Tabs,\n    Tooltip,\n    InputCounter,\n    CopyClipboard,\n    Datepicker,\n    Events,\n};\n"
  },
  {
    "path": "src/index.umd.ts",
    "content": "import './flowbite.css';\n\n// core components\nimport Accordion, { initAccordions } from './components/accordion';\nimport Carousel, { initCarousels } from './components/carousel';\nimport Collapse, { initCollapses } from './components/collapse';\nimport Dial, { initDials } from './components/dial';\nimport Dismiss, { initDismisses } from './components/dismiss';\nimport Drawer, { initDrawers } from './components/drawer';\nimport Dropdown, { initDropdowns } from './components/dropdown';\nimport Modal, { initModals } from './components/modal';\nimport Popover, { initPopovers } from './components/popover';\nimport Tabs, { initTabs } from './components/tabs';\nimport Tooltip, { initTooltips } from './components/tooltip';\nimport InputCounter, { initInputCounters } from './components/input-counter';\nimport CopyClipboard, { initCopyClipboards } from './components/clipboard';\nimport Datepicker, { initDatepickers } from './components/datepicker';\nimport './components/index';\nimport Events from './dom/events';\n\nconst events = new Events('load', [\n    initAccordions,\n    initCollapses,\n    initCarousels,\n    initDismisses,\n    initDropdowns,\n    initModals,\n    initDrawers,\n    initTabs,\n    initTooltips,\n    initPopovers,\n    initDials,\n    initCopyClipboards,\n    initInputCounters,\n    initDatepickers,\n]);\nevents.init();\n\nexport default {\n    Accordion,\n    Carousel,\n    Collapse,\n    Dial,\n    Drawer,\n    Dismiss,\n    Dropdown,\n    Modal,\n    Popover,\n    Tabs,\n    Tooltip,\n    InputCounter,\n    CopyClipboard,\n    Datepicker,\n    Events,\n};\n"
  },
  {
    "path": "src/main.css",
    "content": "@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');\n@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n\n@import \"tailwindcss\";\n@import \"./themes/themes.css\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@import \"./docs.css\";\n\nhtml, :host {\nfont-family: var(--font-sans);\n}\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n"
  },
  {
    "path": "src/minimal.css",
    "content": "@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n\n\n@import \"tailwindcss\";\n@import \"./themes/minimal.css\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@import \"./docs.css\";\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n\n"
  },
  {
    "path": "src/mono.css",
    "content": "@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');\n\n@import \"tailwindcss\";\n@import \"./themes/mono.css\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@import \"./docs.css\";\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n\n"
  },
  {
    "path": "src/playful.css",
    "content": "/* Import Google Font */\n@import url('https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap');\n\n@import \"tailwindcss\";\n@import \"./themes/playful.css\";\n@plugin \"./../plugin.js\";\n@plugin \"flowbite-typography\";\n\n@custom-variant dark (&:where(.dark, .dark *));\n\n@import \"./docs.css\";\n\n/*\n“Have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”\n― Steve Jobs\n*/\n\n"
  },
  {
    "path": "src/themes/default.css",
    "content": "@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n\n    /* TEXT VARIABLES */\n    --text-2xs: 0.625rem;\n    --spacing-8xl: 90rem;\n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n\n    /* BORDER RADIUS VARIABLES */\n    --radius-0: 0px;\n    --radius-xxs: 2px;\n    --radius-xs: 4px;\n    --radius-sm: 6px;\n    --radius: 8px;\n    --radius-base: 12px; \n    --radius-lg: 16px;\n\n    /* BORDER WIDTH VARIABLES */\n    --default-border-width: 1px;\n\n    /* TEXT COLORS VARIABLES */\n    /* main text color */\n    --color-body: var(--color-gray-600);\n    --color-body-subtle: var(--color-gray-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-gray-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-blue-200);\n    --color-fg-brand: var(--color-blue-700);\n    --color-fg-brand-strong: var(--color-blue-900);\n\n    /* used for status colors */\n    --color-fg-success: var(--color-emerald-700);\n    --color-fg-success-strong: var(--color-emerald-900);\n    --color-fg-danger: var(--color-rose-700);\n    --color-fg-danger-strong: var(--color-rose-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-gray-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n\n    /* BACKGROUND COLOR VARIABLES */\n    /* used for neutral colors */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-gray-50);\n    --color-neutral-secondary: var(--color-gray-50);\n    --color-neutral-secondary-medium: var(--color-gray-50);\n    --color-neutral-secondary-strong: var(--color-gray-50);\n    --color-neutral-secondary-strongest: var(--color-gray-50);\n    --color-neutral-tertiary-soft: var(--color-gray-100);\n    --color-neutral-tertiary: var(--color-gray-100);\n    --color-neutral-tertiary-medium: var(--color-gray-100);\n    --color-neutral-quaternary: var(--color-gray-200);\n    --color-neutral-quaternary-medium: var(--color-gray-200);\n    --color-gray: var(--color-gray-300);\n\n    /* used for brand colors */\n    --color-brand-softer: var(--color-blue-50);\n    --color-brand-soft: var(--color-blue-100);\n    --color-brand: var(--color-blue-700);\n    --color-brand-medium: var(--color-blue-200);\n    --color-brand-strong: var(--color-blue-800);\n\n    /* used for status colors */\n    --color-success-soft: var(--color-emerald-50);\n    --color-success: var(--color-emerald-700);\n    --color-success-medium: var(--color-emerald-100);\n    --color-success-strong: var(--color-emerald-800);\n    --color-danger-soft: var(--color-rose-50);\n    --color-danger: var(--color-rose-700);\n    --color-danger-medium: var(--color-rose-100);\n    --color-danger-strong: var(--color-rose-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-gray-800);\n    --color-dark: var(--color-gray-800);\n    --color-dark-strong: var(--color-gray-900);\n    --color-disabled: var(--color-gray-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n\n    /* BORDER COLOR VARIABLES */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-gray-50);\n    --color-light-subtle: var(--color-gray-100);\n    --color-light: var(--color-gray-100);\n    --color-light-medium: var(--color-gray-100);\n    --color-default-subtle: var(--color-gray-200);\n    --color-default: var(--color-gray-200);\n    --color-default-medium: var(--color-gray-200);\n    --color-default-strong: var(--color-gray-200);\n\n    /* used for status colors */\n    --color-success-subtle: var(--color-emerald-200);\n    --color-danger-subtle: var(--color-rose-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-blue-200);\n    --color-brand-light: var(--color-blue-600);\n    --color-dark-subtle: var(--color-gray-800);\n    --color-dark-backdrop: var(--color-gray-950);\n\n    /* shiki variables */\n    --color-shiki-fg-brand: #79b8ff;\n    --color-shiki-fg-brand-subtle: #9ecbff;\n}\n\n.dark {\n  /* text color variables */\n  --color-body: var(--color-gray-400);\n  --color-body-subtle: var(--color-gray-400);\n  --color-heading: var(--color-white);\n  --color-fg-brand-subtle: var(--color-blue-200);\n  --color-fg-brand: var(--color-blue-500);\n  --color-fg-brand-strong: var(--color-blue-400);\n  --color-fg-success: var(--color-emerald-600);\n  --color-fg-success-strong: var(--color-emerald-300);\n  --color-fg-danger: var(--color-rose-500);\n  --color-fg-danger-strong: var(--color-rose-300);\n  --color-fg-warning-subtle: var(--color-orange-500);\n  --color-fg-warning: var(--color-orange-300);\n  --color-fg-yellow: var(--color-yellow-400);\n  --color-fg-disabled: var(--color-gray-600);\n  --color-fg-purple: var(--color-purple-500);\n  --color-fg-cyan: var(--color-cyan-500);\n  --color-fg-indigo: var(--color-indigo-500);\n  --color-fg-pink: var(--color-pink-500);\n  --color-fg-lime: var(--color-lime-500);\n \n   /* background color variables */\n     --color-neutral-primary-soft: var(--color-gray-900);\n     --color-neutral-primary: var(--color-gray-950);\n     --color-neutral-primary-medium: var(--color-gray-800);\n     --color-neutral-primary-strong: var(--color-gray-700);\n     --color-neutral-secondary-soft: var(--color-gray-900);\n     --color-neutral-secondary: var(--color-gray-950);\n     --color-neutral-secondary-medium: var(--color-gray-800);\n     --color-neutral-secondary-strong: var(--color-gray-700);\n     --color-neutral-secondary-strongest: var(--color-gray-600);\n     --color-neutral-tertiary-soft: var(--color-gray-900);\n     --color-neutral-tertiary: var(--color-gray-800);\n     --color-neutral-tertiary-medium: var(--color-gray-700);\n     --color-neutral-quaternary: var(--color-gray-700);\n     --color-neutral-quaternary-medium: var(--color-gray-600);\n     --color-gray: var(--color-gray-600);\n     --color-brand-softer: var(--color-blue-950);\n     --color-brand-soft: var(--color-blue-900);\n     --color-brand: var(--color-blue-600);\n     --color-brand-medium: var(--color-blue-900);\n     --color-brand-strong: var(--color-blue-700);\n     --color-success-soft: var(--color-emerald-950);\n     --color-success: var(--color-emerald-600);\n     --color-success-medium: var(--color-emerald-900);\n     --color-success-strong: var(--color-emerald-700);\n     --color-danger-soft: var(--color-rose-950);\n     --color-danger: var(--color-rose-700);\n     --color-danger-medium: var(--color-rose-900);\n     --color-danger-strong: var(--color-rose-800);\n     --color-warning-soft: var(--color-orange-950);\n     --color-warning: var(--color-orange-600);\n     --color-warning-medium: var(--color-orange-900);\n     --color-warning-strong: var(--color-orange-700);\n     --color-dark-soft: var(--color-gray-700);\n     --color-dark: var(--color-gray-800);\n     --color-dark-strong: var(--color-gray-700);\n     --color-disabled: var(--color-gray-800);\n     --color-purple: var(--color-purple-500);\n     --color-sky: var(--color-sky-500);\n     --color-teal: var(--color-teal-500);\n     --color-pink: var(--color-pink-500);\n     --color-cyan: var(--color-cyan-500);\n     --color-fuchsia: var(--color-fuchsia-500);\n     --color-indigo: var(--color-indigo-500);\n     --color-orange: var(--color-orange-400);\n \n      /* border color variables */\n     --color-buffer: var(--color-gray-950);\n     --color-buffer-medium: var(--color-gray-900);\n     --color-buffer-strong: var(--color-gray-800);\n     --color-muted: var(--color-gray-900);\n     --color-light-subtle: var(--color-gray-900);\n     --color-light: var(--color-gray-800);\n     --color-light-medium: var(--color-gray-700);\n     --color-default-subtle: var(--color-gray-900);\n     --color-default: var(--color-gray-800);\n     --color-default-medium: var(--color-gray-700);\n     --color-default-strong: var(--color-gray-600);\n     --color-success-subtle: var(--color-emerald-900);\n     --color-danger-subtle: var(--color-rose-900);\n     --color-warning-subtle: var(--color-orange-900);\n     --color-brand-subtle: var(--color-blue-900);\n     --color-brand-light: var(--color-blue-600);\n     --color-dark-subtle: var(--color-gray-700);\n     --color-dark-backdrop: var(--color-gray-950);\n}\n"
  },
  {
    "path": "src/themes/enterprise.css",
    "content": "@theme {\n--font-sans: 'STIX Two Text', serif;\n--font-body: 'STIX Two Text', serif;\n    \n/* Flowbite variables */\n\n--leading-9: 36px; /* rem pls */\n--leading-7: 28px;\n--leading-8: 32px;\n--leading-6: 24px;\n--leading-4: 16px;\n--leading-none: 1px;\n--leading-5: 20px;\n--tracking-tighter: -0.8px;\n--leading-heading-none: 60px;\n--tracking-tight: -0.4px;\n\n--text-xs: 0.825rem;\n--text-sm:  0.925rem;\n--text-base: 1.125rem;\n\n/* radius variables */\n--radius-xxs: 1px;\n--radius-xs: 1px;\n--radius-sm: 1px;\n--radius: 4px;\n--radius: 4px;\n--radius-md: 4px;\n--radius-base: 4px; \n--radius-lg: 4px;\n\n/* border width variables */\n--default-border-width: 1px;\n\n/* text color variables */\n--color-body: var(--color-zinc-600);\n--color-body-subtle: var(--color-zinc-500);\n--color-heading: var(--color-zinc-900);\n--color-fg-brand-subtle: var(--color-cyan-200);\n--color-fg-brand: var(--color-cyan-700);\n--color-fg-brand-strong: var(--color-cyan-900);\n--color-fg-success: var(--color-green-700);\n--color-fg-success-strong: var(--color-green-900);\n--color-fg-danger: var(--color-red-700);\n--color-fg-danger-strong: var(--color-red-900);\n--color-fg-warning-subtle: var(--color-orange-600);\n--color-fg-warning: var(--color-orange-900);\n--color-fg-yellow: var(--color-yellow-400);\n--color-fg-disabled: var(--color-zinc-400);\n--color-fg-purple: var(--color-purple-600);\n--color-fg-cyan: var(--color-cyan-600);\n--color-fg-indigo: var(--color-cyan-600);\n--color-fg-pink: var(--color-pink-600);\n--color-fg-lime: var(--color-lime-600);\n\n/* background color variables */\n--color-neutral-primary-soft: var(--color-white);\n--color-neutral-primary: var(--color-white);\n--color-neutral-primary-medium: var(--color-white);\n--color-neutral-primary-strong: var(--color-white);\n--color-neutral-secondary-soft: var(--color-white);\n--color-neutral-secondary: var(--color-white);\n--color-neutral-secondary-medium: var(--color-white);\n--color-neutral-secondary-strong: var(--color-white);\n--color-neutral-secondary-strongest: var(--color-white);\n--color-neutral-tertiary-soft: var(--color-zinc-100);\n--color-neutral-tertiary: var(--color-zinc-100);\n--color-neutral-tertiary-medium: var(--color-zinc-100);\n--color-neutral-quaternary: var(--color-zinc-200);\n--color-neutral-quaternary-medium: var(--color-zinc-200);\n--color-gray: var(--color-zinc-300);\n--color-brand-softer: var(--color-cyan-50);\n--color-brand-soft: var(--color-cyan-100);\n--color-brand: var(--color-cyan-900);\n--color-brand-medium: var(--color-cyan-200);\n--color-brand-strong: var(--color-cyan-800);\n--color-success-soft: var(--color-green-50);\n--color-success: var(--color-green-700);\n--color-success-medium: var(--color-green-100);\n--color-success-strong: var(--color-green-800);\n--color-danger-soft: var(--color-red-50);\n--color-danger: var(--color-red-700);\n--color-danger-medium: var(--color-red-100);\n--color-danger-strong: var(--color-red-800);\n--color-warning-soft: var(--color-orange-50);\n--color-warning: var(--color-orange-500);\n--color-warning-medium: var(--color-orange-100);\n--color-warning-strong: var(--color-orange-700);\n--color-dark-soft: var(--color-zinc-800);\n--color-dark: var(--color-zinc-800);\n--color-dark-strong: var(--color-zinc-900);\n--color-disabled: var(--color-zinc-100);\n--color-purple: var(--color-purple-500);\n--color-sky: var(--color-sky-500);\n--color-teal: var(--color-teal-600);\n--color-pink: var(--color-pink-600);\n--color-cyan: var(--color-cyan-500);\n--color-fuchsia: var(--color-fuchsia-600);\n--color-indigo: var(--color-cyan-600);\n--color-orange: var(--color-orange-400);\n\n/* border color variables */\n--color-buffer: var(--color-white);\n--color-buffer-medium: var(--color-white);\n--color-buffer-strong: var(--color-white);\n--color-muted: var(--color-zinc-50);\n--color-light-subtle: var(--color-zinc-100);\n--color-light: var(--color-zinc-100);\n--color-light-medium: var(--color-zinc-100);\n--color-default-subtle: var(--color-zinc-200);\n--color-default: var(--color-zinc-200);\n--color-default-medium: var(--color-zinc-200);\n--color-default-strong: var(--color-zinc-200);\n--color-success-subtle: var(--color-green-200);\n--color-danger-subtle: var(--color-red-200);\n--color-warning-subtle: var(--color-orange-200);\n--color-brand-subtle: var(--color-cyan-200);\n--color-brand-light: var(--color-cyan-600);\n--color-dark-subtle: var(--color-zinc-800);\n--color-dark-backdrop: var(--color-zinc-950);\n}\n\n.dark {\n/* text color variables */\n--color-body: var(--color-zinc-400);\n--color-body-subtle: var(--color-zinc-400);\n--color-heading: var(--color-white);\n--color-fg-brand-subtle: var(--color-cyan-200);\n--color-fg-brand: var(--color-cyan-500);\n--color-fg-brand-strong: var(--color-cyan-400);\n--color-fg-success: var(--color-green-600);\n--color-fg-success-strong: var(--color-green-300);\n--color-fg-danger: var(--color-red-500);\n--color-fg-danger-strong: var(--color-red-300);\n--color-fg-warning-subtle: var(--color-orange-500);\n--color-fg-warning: var(--color-orange-300);\n--color-fg-yellow: var(--color-yellow-400);\n--color-fg-disabled: var(--color-zinc-600);\n--color-fg-purple: var(--color-purple-500);\n--color-fg-cyan: var(--color-cyan-500);\n--color-fg-indigo: var(--color-cyan-500);\n--color-fg-pink: var(--color-pink-500);\n--color-fg-lime: var(--color-lime-500);\n\n/* background color variables */\n--color-neutral-primary-soft: var(--color-zinc-900);\n--color-neutral-primary: var(--color-zinc-950);\n--color-neutral-primary-medium: var(--color-zinc-800);\n--color-neutral-primary-strong: var(--color-zinc-700);\n--color-neutral-secondary-soft: var(--color-zinc-900);\n--color-neutral-secondary: var(--color-zinc-950);\n--color-neutral-secondary-medium: var(--color-zinc-800);\n--color-neutral-secondary-strong: var(--color-zinc-700);\n--color-neutral-secondary-strongest: var(--color-zinc-600);\n--color-neutral-tertiary-soft: var(--color-zinc-900);\n--color-neutral-tertiary: var(--color-zinc-800);\n--color-neutral-tertiary-medium: var(--color-zinc-700);\n--color-neutral-quaternary: var(--color-zinc-700);\n--color-neutral-quaternary-medium: var(--color-zinc-600);\n--color-gray: var(--color-zinc-600);\n--color-brand-softer: var(--color-cyan-950);\n--color-brand-soft: var(--color-cyan-900);\n--color-brand: var(--color-cyan-600);\n--color-brand-medium: var(--color-cyan-900);\n--color-brand-strong: var(--color-cyan-700);\n--color-success-soft: var(--color-green-950);\n--color-success: var(--color-green-600);\n--color-success-medium: var(--color-green-900);\n--color-success-strong: var(--color-green-700);\n--color-danger-soft: var(--color-red-950);\n--color-danger: var(--color-red-700);\n--color-danger-medium: var(--color-red-900);\n--color-danger-strong: var(--color-red-800);\n--color-warning-soft: var(--color-orange-950);\n--color-warning: var(--color-orange-600);\n--color-warning-medium: var(--color-orange-900);\n--color-warning-strong: var(--color-orange-700);\n--color-dark-soft: var(--color-zinc-700);\n--color-dark: var(--color-zinc-800);\n--color-dark-strong: var(--color-zinc-700);\n--color-disabled: var(--color-zinc-800);\n--color-purple: var(--color-purple-500);\n--color-sky: var(--color-sky-500);\n--color-teal: var(--color-teal-500);\n--color-pink: var(--color-pink-500);\n--color-cyan: var(--color-cyan-500);\n--color-fuchsia: var(--color-fuchsia-500);\n--color-indigo: var(--color-cyan-500);\n--color-orange: var(--color-orange-400);\n\n/* border color variables */\n--color-buffer: var(--color-zinc-950);\n--color-buffer-medium: var(--color-zinc-900);\n--color-buffer-strong: var(--color-zinc-800);\n--color-muted: var(--color-zinc-900);\n--color-light-subtle: var(--color-zinc-900);\n--color-light: var(--color-zinc-800);\n--color-light-medium: var(--color-zinc-700);\n--color-default-subtle: var(--color-zinc-900);\n--color-default: var(--color-zinc-800);\n--color-default-medium: var(--color-zinc-700);\n--color-default-strong: var(--color-zinc-600);\n--color-success-subtle: var(--color-green-900);\n--color-danger-subtle: var(--color-red-900);\n--color-warning-subtle: var(--color-orange-900);\n--color-brand-subtle: var(--color-cyan-900);\n--color-brand-light: var(--color-cyan-600);\n--color-dark-subtle: var(--color-zinc-700);\n--color-dark-backdrop: var(--color-zinc-950);\n}\n"
  },
  {
    "path": "src/themes/minimal.css",
    "content": "@theme {\n    --font-sans: 'Open Sans', sans-serif;\n    --font-body: 'Open Sans', sans-serif;\n\n    /* Flowbite variables */\n\n    /* shadow variables */\n    --shadow-xs: 0;\n    --shadow-sm: 0;\n    --shadow-md: 0;\n    --shadow-lg: 0;\n    --shadow-xl: 0;\n    --shadow: 0;\n    /* text variables */\n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n\n    /* radius variables */\n    --radius-0: 0px;\n    --radius-xxs: 2px;\n    --radius-xs: 2px;\n    --radius-sm: 4px;\n    --radius: 6px;\n    --radius-base: 8px; \n    --radius-lg: 16px;\n\n    /* border width variables */\n    --default-border-width: 1px;\n\n    /* text color variables */\n    --color-body: var(--color-stone-600);\n    --color-body-subtle: var(--color-stone-500);\n    --color-heading: var(--color-stone-900);\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-stone-950);\n    --color-fg-brand-strong: var(--color-stone-900);\n    --color-fg-success: var(--color-green-700);\n    --color-fg-success-strong: var(--color-green-900);\n    --color-fg-danger: var(--color-red-700);\n    --color-fg-danger-strong: var(--color-red-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-stone-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n\n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-stone-100);\n    --color-neutral-secondary: var(--color-stone-100);\n    --color-neutral-secondary-medium: var(--color-stone-100);\n    --color-neutral-secondary-strong: var(--color-stone-100);\n    --color-neutral-secondary-strongest: var(--color-stone-100);\n    --color-neutral-tertiary-soft: var(--color-stone-100);\n    --color-neutral-tertiary: var(--color-stone-100);\n    --color-neutral-tertiary-medium: var(--color-stone-100);\n    --color-neutral-quaternary: var(--color-stone-200);\n    --color-neutral-quaternary-medium: var(--color-stone-200);\n    --color-gray: var(--color-stone-300);\n    --color-brand-softer: var(--color-stone-50);\n    --color-brand-soft: var(--color-stone-100);\n    --color-brand: var(--color-stone-900);\n    --color-brand-medium: var(--color-stone-200);\n    --color-brand-strong: var(--color-stone-800);\n    --color-success-soft: var(--color-green-50);\n    --color-success: var(--color-green-700);\n    --color-success-medium: var(--color-green-100);\n    --color-success-strong: var(--color-green-800);\n    --color-danger-soft: var(--color-red-50);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-100);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-stone-800);\n    --color-dark: var(--color-stone-800);\n    --color-dark-strong: var(--color-stone-900);\n    --color-disabled: var(--color-stone-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n\n    /* border color variables */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-stone-50);\n    --color-light-subtle: var(--color-stone-50);\n    --color-light: var(--color-stone-50);\n    --color-light-medium: var(--color-stone-50);\n    --color-default-subtle: var(--color-stone-100);\n    --color-default: var(--color-stone-100);\n    --color-default-medium: var(--color-stone-100);\n    --color-default-strong: var(--color-stone-100);\n    --color-success-subtle: var(--color-green-200);\n    --color-danger-subtle: var(--color-red-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-stone-200);\n    --color-brand-light: var(--color-stone-600);\n    --color-dark-subtle: var(--color-stone-800);\n    --color-dark-backdrop: var(--color-stone-950);\n}\n\n.dark {\n/* text color variables */\n    --color-body: var(--color-stone-400);\n    --color-body-subtle: var(--color-stone-400);\n    --color-heading: var(--color-white);\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-white);\n    --color-fg-brand-strong: var(--color-stone-200);\n    --color-fg-success: var(--color-green-600);\n    --color-fg-success-strong: var(--color-green-300);\n    --color-fg-danger: var(--color-red-500);\n    --color-fg-danger-strong: var(--color-red-300);\n    --color-fg-warning-subtle: var(--color-orange-500);\n    --color-fg-warning: var(--color-orange-300);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-stone-600);\n    --color-fg-purple: var(--color-purple-500);\n    --color-fg-cyan: var(--color-cyan-500);\n    --color-fg-indigo: var(--color-indigo-500);\n    --color-fg-pink: var(--color-pink-500);\n    --color-fg-lime: var(--color-lime-500);\n    \n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-stone-900);\n    --color-neutral-primary: var(--color-stone-950);\n    --color-neutral-primary-medium: var(--color-stone-800);\n    --color-neutral-primary-strong: var(--color-stone-700);\n    --color-neutral-secondary-soft: var(--color-stone-900);\n    --color-neutral-secondary: var(--color-stone-950);\n    --color-neutral-secondary-medium: var(--color-stone-800);\n    --color-neutral-secondary-strong: var(--color-stone-700);\n    --color-neutral-secondary-strongest: var(--color-stone-600);\n    --color-neutral-tertiary-soft: var(--color-stone-900);\n    --color-neutral-tertiary: var(--color-stone-800);\n    --color-neutral-tertiary-medium: var(--color-stone-700);\n    --color-neutral-quaternary: var(--color-stone-700);\n    --color-neutral-quaternary-medium: var(--color-stone-600);\n    --color-gray: var(--color-stone-600);\n    --color-brand-softer: var(--color-stone-900);\n    --color-brand-soft: var(--color-stone-900);\n    --color-brand: var(--color-stone-600);\n    --color-brand-medium: var(--color-stone-900);\n    --color-brand-strong: var(--color-stone-700);\n    --color-success-soft: var(--color-green-950);\n    --color-success: var(--color-green-600);\n    --color-success-medium: var(--color-green-900);\n    --color-success-strong: var(--color-green-700);\n    --color-danger-soft: var(--color-red-950);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-900);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-950);\n    --color-warning: var(--color-orange-600);\n    --color-warning-medium: var(--color-orange-900);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-stone-700);\n    --color-dark: var(--color-stone-800);\n    --color-dark-strong: var(--color-stone-700);\n    --color-disabled: var(--color-stone-800);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-500);\n    --color-pink: var(--color-pink-500);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-500);\n    --color-indigo: var(--color-indigo-500);\n    --color-orange: var(--color-orange-400);\n    \n    /* border color variables */\n    --color-buffer: var(--color-stone-950);\n    --color-buffer-medium: var(--color-stone-900);\n    --color-buffer-strong: var(--color-stone-800);\n    --color-muted: var(--color-stone-900);\n    --color-light-subtle: var(--color-stone-900);\n    --color-light: var(--color-stone-800);\n    --color-light-medium: var(--color-stone-700);\n    --color-default-subtle: var(--color-stone-900);\n    --color-default: var(--color-stone-900);\n    --color-default-medium: var(--color-stone-800);\n    --color-default-strong: var(--color-stone-700);\n    --color-success-subtle: var(--color-green-900);\n    --color-danger-subtle: var(--color-red-900);\n    --color-warning-subtle: var(--color-orange-900);\n    --color-brand-subtle: var(--color-stone-900);\n    --color-brand-light: var(--color-stone-600);\n    --color-dark-subtle: var(--color-stone-700);\n    --color-dark-backdrop: var(--color-stone-950);\n}\n"
  },
  {
    "path": "src/themes/mono.css",
    "content": "@theme {\n    --font-sans: 'Google Sans Code', monospace;\n    --font-body: 'Google Sans Code', monospace;\n\n    /* Flowbite variables */\n\n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n    --tracking-normal: -0.4px;\n\n    /* radius variables */\n    --radius-xxs: 1px;\n    --radius-xs: 1px;\n    --radius-sm: 1px;\n    --radius: 1px;\n    --radius-md: 1px;\n    --radius-base: 1px; \n    --radius-lg: 1px;\n\n    /* border width variables */\n    --default-border-width: 1px;\n\n    /* text color variables */\n    --color-body: var(--color-neutral-600);\n    --color-body-subtle: var(--color-neutral-500);\n    --color-heading: var(--color-neutral-900);\n    --color-fg-brand-subtle: var(--color-indigo-200);\n    --color-fg-brand: var(--color-indigo-700);\n    --color-fg-brand-strong: var(--color-indigo-900);\n    --color-fg-success: var(--color-green-700);\n    --color-fg-success-strong: var(--color-green-900);\n    --color-fg-danger: var(--color-red-700);\n    --color-fg-danger-strong: var(--color-red-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-neutral-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n\n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-neutral-50);\n    --color-neutral-secondary: var(--color-neutral-50);\n    --color-neutral-secondary-medium: var(--color-neutral-50);\n    --color-neutral-secondary-strong: var(--color-neutral-50);\n    --color-neutral-secondary-strongest: var(--color-neutral-50);\n    --color-neutral-tertiary-soft: var(--color-neutral-100);\n    --color-neutral-tertiary: var(--color-neutral-100);\n    --color-neutral-tertiary-medium: var(--color-neutral-100);\n    --color-neutral-quaternary: var(--color-neutral-200);\n    --color-neutral-quaternary-medium: var(--color-neutral-200);\n    --color-gray: var(--color-neutral-300);\n    --color-brand-softer: var(--color-indigo-50);\n    --color-brand-soft: var(--color-indigo-100);\n    --color-brand: var(--color-indigo-900);\n    --color-brand-medium: var(--color-indigo-200);\n    --color-brand-strong: var(--color-indigo-800);\n    --color-success-soft: var(--color-green-50);\n    --color-success: var(--color-green-700);\n    --color-success-medium: var(--color-green-100);\n    --color-success-strong: var(--color-green-800);\n    --color-danger-soft: var(--color-red-50);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-100);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-neutral-800);\n    --color-dark: var(--color-neutral-800);\n    --color-dark-strong: var(--color-neutral-900);\n    --color-disabled: var(--color-neutral-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n\n    /* border color variables */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-neutral-50);\n    --color-light-subtle: var(--color-neutral-100);\n    --color-light: var(--color-neutral-100);\n    --color-light-medium: var(--color-neutral-100);\n    --color-default-subtle: var(--color-neutral-200);\n    --color-default: var(--color-neutral-200);\n    --color-default-medium: var(--color-neutral-200);\n    --color-default-strong: var(--color-neutral-200);\n    --color-success-subtle: var(--color-green-200);\n    --color-danger-subtle: var(--color-red-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-indigo-200);\n    --color-brand-light: var(--color-indigo-600);\n    --color-dark-subtle: var(--color-neutral-800);\n    --color-dark-backdrop: var(--color-neutral-950);\n}\n\n.dark {\n/* text color variables */\n    --color-body: var(--color-neutral-400);\n    --color-body-subtle: var(--color-neutral-400);\n    --color-heading: var(--color-white);\n    --color-fg-brand-subtle: var(--color-indigo-200);\n    --color-fg-brand: var(--color-indigo-500);\n    --color-fg-brand-strong: var(--color-indigo-400);\n    --color-fg-success: var(--color-green-600);\n    --color-fg-success-strong: var(--color-green-300);\n    --color-fg-danger: var(--color-red-500);\n    --color-fg-danger-strong: var(--color-red-300);\n    --color-fg-warning-subtle: var(--color-orange-500);\n    --color-fg-warning: var(--color-orange-300);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-neutral-600);\n    --color-fg-purple: var(--color-purple-500);\n    --color-fg-cyan: var(--color-cyan-500);\n    --color-fg-indigo: var(--color-indigo-500);\n    --color-fg-pink: var(--color-pink-500);\n    --color-fg-lime: var(--color-lime-500);\n    \n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-neutral-900);\n    --color-neutral-primary: var(--color-neutral-950);\n    --color-neutral-primary-medium: var(--color-neutral-800);\n    --color-neutral-primary-strong: var(--color-neutral-700);\n    --color-neutral-secondary-soft: var(--color-neutral-900);\n    --color-neutral-secondary: var(--color-neutral-950);\n    --color-neutral-secondary-medium: var(--color-neutral-800);\n    --color-neutral-secondary-strong: var(--color-neutral-700);\n    --color-neutral-secondary-strongest: var(--color-neutral-600);\n    --color-neutral-tertiary-soft: var(--color-neutral-900);\n    --color-neutral-tertiary: var(--color-neutral-800);\n    --color-neutral-tertiary-medium: var(--color-neutral-700);\n    --color-neutral-quaternary: var(--color-neutral-700);\n    --color-neutral-quaternary-medium: var(--color-neutral-600);\n    --color-gray: var(--color-neutral-600);\n    --color-brand-softer: var(--color-indigo-950);\n    --color-brand-soft: var(--color-indigo-900);\n    --color-brand: var(--color-indigo-600);\n    --color-brand-medium: var(--color-indigo-900);\n    --color-brand-strong: var(--color-indigo-700);\n    --color-success-soft: var(--color-green-950);\n    --color-success: var(--color-green-600);\n    --color-success-medium: var(--color-green-900);\n    --color-success-strong: var(--color-green-700);\n    --color-danger-soft: var(--color-red-950);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-900);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-950);\n    --color-warning: var(--color-orange-600);\n    --color-warning-medium: var(--color-orange-900);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-neutral-700);\n    --color-dark: var(--color-neutral-800);\n    --color-dark-strong: var(--color-neutral-700);\n    --color-disabled: var(--color-neutral-800);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-500);\n    --color-pink: var(--color-pink-500);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-500);\n    --color-indigo: var(--color-indigo-500);\n    --color-orange: var(--color-orange-400);\n    \n    /* border color variables */\n    --color-buffer: var(--color-neutral-950);\n    --color-buffer-medium: var(--color-neutral-900);\n    --color-buffer-strong: var(--color-neutral-800);\n    --color-muted: var(--color-neutral-900);\n    --color-light-subtle: var(--color-neutral-900);\n    --color-light: var(--color-neutral-800);\n    --color-light-medium: var(--color-neutral-700);\n    --color-default-subtle: var(--color-neutral-900);\n    --color-default: var(--color-neutral-800);\n    --color-default-medium: var(--color-neutral-700);\n    --color-default-strong: var(--color-neutral-600);\n    --color-success-subtle: var(--color-green-900);\n    --color-danger-subtle: var(--color-red-900);\n    --color-warning-subtle: var(--color-orange-900);\n    --color-brand-subtle: var(--color-indigo-900);\n    --color-brand-light: var(--color-indigo-600);\n    --color-dark-subtle: var(--color-neutral-700);\n    --color-dark-backdrop: var(--color-neutral-950);\n}\n"
  },
  {
    "path": "src/themes/playful.css",
    "content": "@theme {\n    --font-sans: 'Shantell Sans', cursive;\n    --font-body: 'Shantell Sans', cursive;\n        \n    /* Flowbite variables */\n\n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n\n    /* radius variables */\n    --radius-xxs: 2px;\n    --radius-xs: 2px;\n    --radius-sm: 10px;\n    --radius: 10px;\n    --radius: 14px;\n    --radius-md: 14px;\n    --radius-base: 20px; \n    --radius-lg: 16px;\n\n    /* border width variables */\n    --default-border-width: 1px;\n\n    /* text color variables */\n    --color-body: var(--color-slate-600);\n    --color-body-subtle: var(--color-slate-500);\n    --color-heading: var(--color-slate-900);\n    --color-fg-brand-subtle: var(--color-pink-200);\n    --color-fg-brand: var(--color-pink-700);\n    --color-fg-brand-strong: var(--color-pink-900);\n    --color-fg-success: var(--color-green-700);\n    --color-fg-success-strong: var(--color-green-900);\n    --color-fg-danger: var(--color-red-700);\n    --color-fg-danger-strong: var(--color-red-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-slate-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n\n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-slate-50);\n    --color-neutral-secondary: var(--color-slate-50);\n    --color-neutral-secondary-medium: var(--color-slate-50);\n    --color-neutral-secondary-strong: var(--color-slate-50);\n    --color-neutral-secondary-strongest: var(--color-slate-50);\n    --color-neutral-tertiary-soft: var(--color-slate-100);\n    --color-neutral-tertiary: var(--color-slate-100);\n    --color-neutral-tertiary-medium: var(--color-slate-100);\n    --color-neutral-quaternary: var(--color-slate-200);\n    --color-neutral-quaternary-medium: var(--color-slate-200);\n    --color-gray: var(--color-slate-300);\n    --color-brand-softer: var(--color-pink-50);\n    --color-brand-soft: var(--color-pink-100);\n    --color-brand: var(--color-pink-900);\n    --color-brand-medium: var(--color-pink-200);\n    --color-brand-strong: var(--color-pink-800);\n    --color-success-soft: var(--color-green-50);\n    --color-success: var(--color-green-700);\n    --color-success-medium: var(--color-green-100);\n    --color-success-strong: var(--color-green-800);\n    --color-danger-soft: var(--color-red-50);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-100);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-slate-800);\n    --color-dark: var(--color-slate-800);\n    --color-dark-strong: var(--color-slate-900);\n    --color-disabled: var(--color-slate-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n\n    /* border color variables */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-slate-50);\n    --color-light-subtle: var(--color-slate-100);\n    --color-light: var(--color-slate-100);\n    --color-light-medium: var(--color-slate-100);\n    --color-default-subtle: var(--color-slate-200);\n    --color-default: var(--color-slate-200);\n    --color-default-medium: var(--color-slate-200);\n    --color-default-strong: var(--color-slate-200);\n    --color-success-subtle: var(--color-green-200);\n    --color-danger-subtle: var(--color-red-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-pink-200);\n    --color-brand-light: var(--color-pink-600);\n    --color-dark-subtle: var(--color-slate-800);\n    --color-dark-backdrop: var(--color-slate-950);\n}\n\n.dark {\n/* text color variables */\n--color-body: var(--color-slate-400);\n--color-body-subtle: var(--color-slate-400);\n--color-heading: var(--color-white);\n--color-fg-brand-subtle: var(--color-pink-200);\n--color-fg-brand: var(--color-pink-500);\n--color-fg-brand-strong: var(--color-pink-400);\n--color-fg-success: var(--color-green-600);\n--color-fg-success-strong: var(--color-green-300);\n--color-fg-danger: var(--color-red-500);\n--color-fg-danger-strong: var(--color-red-300);\n--color-fg-warning-subtle: var(--color-orange-500);\n--color-fg-warning: var(--color-orange-300);\n--color-fg-yellow: var(--color-yellow-400);\n--color-fg-disabled: var(--color-slate-600);\n--color-fg-purple: var(--color-purple-500);\n--color-fg-cyan: var(--color-cyan-500);\n--color-fg-indigo: var(--color-indigo-500);\n--color-fg-pink: var(--color-pink-500);\n--color-fg-lime: var(--color-lime-500);\n\n/* background color variables */\n--color-neutral-primary-soft: var(--color-slate-900);\n--color-neutral-primary: var(--color-slate-950);\n--color-neutral-primary-medium: var(--color-slate-800);\n--color-neutral-primary-strong: var(--color-slate-700);\n--color-neutral-secondary-soft: var(--color-slate-900);\n--color-neutral-secondary: var(--color-slate-950);\n--color-neutral-secondary-medium: var(--color-slate-800);\n--color-neutral-secondary-strong: var(--color-slate-700);\n--color-neutral-secondary-strongest: var(--color-slate-600);\n--color-neutral-tertiary-soft: var(--color-slate-900);\n--color-neutral-tertiary: var(--color-slate-800);\n--color-neutral-tertiary-medium: var(--color-slate-700);\n--color-neutral-quaternary: var(--color-slate-700);\n--color-neutral-quaternary-medium: var(--color-slate-600);\n--color-gray: var(--color-slate-600);\n--color-brand-softer: var(--color-pink-950);\n--color-brand-soft: var(--color-pink-900);\n--color-brand: var(--color-pink-600);\n--color-brand-medium: var(--color-pink-900);\n--color-brand-strong: var(--color-pink-700);\n--color-success-soft: var(--color-green-950);\n--color-success: var(--color-green-600);\n--color-success-medium: var(--color-green-900);\n--color-success-strong: var(--color-green-700);\n--color-danger-soft: var(--color-red-950);\n--color-danger: var(--color-red-700);\n--color-danger-medium: var(--color-red-900);\n--color-danger-strong: var(--color-red-800);\n--color-warning-soft: var(--color-orange-950);\n--color-warning: var(--color-orange-600);\n--color-warning-medium: var(--color-orange-900);\n--color-warning-strong: var(--color-orange-700);\n--color-dark-soft: var(--color-slate-700);\n--color-dark: var(--color-slate-800);\n--color-dark-strong: var(--color-slate-700);\n--color-disabled: var(--color-slate-800);\n--color-purple: var(--color-purple-500);\n--color-sky: var(--color-sky-500);\n--color-teal: var(--color-teal-500);\n--color-pink: var(--color-pink-500);\n--color-cyan: var(--color-cyan-500);\n--color-fuchsia: var(--color-fuchsia-500);\n--color-indigo: var(--color-indigo-500);\n--color-orange: var(--color-orange-400);\n\n/* border color variables */\n--color-buffer: var(--color-slate-950);\n--color-buffer-medium: var(--color-slate-900);\n--color-buffer-strong: var(--color-slate-800);\n--color-muted: var(--color-slate-900);\n--color-light-subtle: var(--color-slate-900);\n--color-light: var(--color-slate-800);\n--color-light-medium: var(--color-slate-700);\n--color-default-subtle: var(--color-slate-900);\n--color-default: var(--color-slate-800);\n--color-default-medium: var(--color-slate-700);\n--color-default-strong: var(--color-slate-600);\n--color-success-subtle: var(--color-green-900);\n--color-danger-subtle: var(--color-red-900);\n--color-warning-subtle: var(--color-orange-900);\n--color-brand-subtle: var(--color-pink-900);\n--color-brand-light: var(--color-pink-600);\n--color-dark-subtle: var(--color-slate-700);\n--color-dark-backdrop: var(--color-slate-950);\n}\n"
  },
  {
    "path": "src/themes/themes.css",
    "content": "@theme {\n    --font-sans: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-body: 'Inter', 'ui-sans-serif', 'system-ui', '-apple-system', 'system-ui', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n    --font-mono: 'ui-monospace', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace';\n\n    /* TEXT VARIABLES */\n    --text-2xs: 0.625rem;\n    --spacing-8xl: 90rem;\n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n\n    /* BORDER RADIUS VARIABLES */\n    --radius-0: 0px;\n    --radius-xxs: 2px;\n    --radius-xs: 4px;\n    --radius-sm: 6px;\n    --radius: 8px;\n    --radius-base: 12px; \n    --radius-lg: 16px;\n\n    /* BORDER WIDTH VARIABLES */\n    --default-border-width: 1px;\n\n    /* TEXT COLORS VARIABLES */\n    /* main text color */\n    --color-body: var(--color-gray-600);\n    --color-body-subtle: var(--color-gray-500);\n\n    /* text heading colors */\n    --color-heading: var(--color-gray-900);\n\n    /* used for custom brand colors */\n    --color-fg-brand-subtle: var(--color-blue-200);\n    --color-fg-brand: var(--color-blue-700);\n    --color-fg-brand-strong: var(--color-blue-900);\n\n    /* used for status colors */\n    --color-fg-success: var(--color-emerald-700);\n    --color-fg-success-strong: var(--color-emerald-900);\n    --color-fg-danger: var(--color-rose-700);\n    --color-fg-danger-strong: var(--color-rose-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-gray-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-indigo-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n\n    /* BACKGROUND COLOR VARIABLES */\n    /* used for neutral colors */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-gray-50);\n    --color-neutral-secondary: var(--color-gray-50);\n    --color-neutral-secondary-medium: var(--color-gray-50);\n    --color-neutral-secondary-strong: var(--color-gray-50);\n    --color-neutral-secondary-strongest: var(--color-gray-50);\n    --color-neutral-tertiary-soft: var(--color-gray-100);\n    --color-neutral-tertiary: var(--color-gray-100);\n    --color-neutral-tertiary-medium: var(--color-gray-100);\n    --color-neutral-quaternary: var(--color-gray-200);\n    --color-neutral-quaternary-medium: var(--color-gray-200);\n    --color-gray: var(--color-gray-300);\n\n    /* used for brand colors */\n    --color-brand-softer: var(--color-blue-50);\n    --color-brand-soft: var(--color-blue-100);\n    --color-brand: var(--color-blue-700);\n    --color-brand-medium: var(--color-blue-200);\n    --color-brand-strong: var(--color-blue-800);\n\n    /* used for status colors */\n    --color-success-soft: var(--color-emerald-50);\n    --color-success: var(--color-emerald-700);\n    --color-success-medium: var(--color-emerald-100);\n    --color-success-strong: var(--color-emerald-800);\n    --color-danger-soft: var(--color-rose-50);\n    --color-danger: var(--color-rose-700);\n    --color-danger-medium: var(--color-rose-100);\n    --color-danger-strong: var(--color-rose-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-gray-800);\n    --color-dark: var(--color-gray-800);\n    --color-dark-strong: var(--color-gray-900);\n    --color-disabled: var(--color-gray-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-indigo-600);\n    --color-orange: var(--color-orange-400);\n\n    /* BORDER COLOR VARIABLES */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-gray-50);\n    --color-light-subtle: var(--color-gray-100);\n    --color-light: var(--color-gray-100);\n    --color-light-medium: var(--color-gray-100);\n    --color-default-subtle: var(--color-gray-200);\n    --color-default: var(--color-gray-200);\n    --color-default-medium: var(--color-gray-200);\n    --color-default-strong: var(--color-gray-200);\n\n    /* used for status colors */\n    --color-success-subtle: var(--color-emerald-200);\n    --color-danger-subtle: var(--color-rose-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-blue-200);\n    --color-brand-light: var(--color-blue-600);\n    --color-dark-subtle: var(--color-gray-800);\n    --color-dark-backdrop: var(--color-gray-950);\n\n    --squares-pattern-light-url: url(/docs/images/patterns/squares.svg);\n    --squares-pattern-dark-url: url(/docs/images/patterns/squares-dark.svg);\n\n    /* shiki variables */\n    --color-shiki-fg-brand: #79b8ff;\n    --color-shiki-fg-brand-subtle: #9ecbff;\n}\n\n@layer theme {\n    [data-theme=\"minimal\"] {\n        --font-sans: 'Open Sans', sans-serif;\n        --font-body: 'Open Sans', sans-serif;\n         \n        /* Flowbite variables */\n        \n        /* shadow variables */\n        --shadow-xs: 0;\n        --shadow-sm: 0;\n        --shadow-md: 0;\n        --shadow-lg: 0;\n        --shadow-xl: 0;\n        --shadow: 0;\n        /* text variables */\n        --leading-9: 36px; /* rem pls */\n        --leading-7: 28px;\n        --leading-8: 32px;\n        --leading-6: 24px;\n        --leading-4: 16px;\n        --leading-none: 1px;\n        --leading-5: 20px;\n        --tracking-tighter: -0.8px;\n        --leading-heading-none: 60px;\n        --tracking-tight: -0.4px;\n        \n        /* radius variables */\n        --radius-0: 0px;\n        --radius-xxs: 2px;\n        --radius-xs: 2px;\n        --radius-sm: 4px;\n        --radius: 6px;\n        --radius-base: 8px; \n        --radius-lg: 16px;\n        \n        /* border width variables */\n        --default-border-width: 1px;\n        \n        /* text color variables */\n        --color-body: var(--color-stone-600);\n        --color-body-subtle: var(--color-stone-500);\n        --color-heading: var(--color-stone-900);\n        --color-fg-brand-subtle: var(--color-stone-200);\n        --color-fg-brand: var(--color-stone-950);\n        --color-fg-brand-strong: var(--color-stone-900);\n        --color-fg-success: var(--color-green-700);\n        --color-fg-success-strong: var(--color-green-900);\n        --color-fg-danger: var(--color-red-700);\n        --color-fg-danger-strong: var(--color-red-900);\n        --color-fg-warning-subtle: var(--color-orange-600);\n        --color-fg-warning: var(--color-orange-900);\n        --color-fg-yellow: var(--color-yellow-400);\n        --color-fg-disabled: var(--color-stone-400);\n        --color-fg-purple: var(--color-purple-600);\n        --color-fg-cyan: var(--color-cyan-600);\n        --color-fg-indigo: var(--color-indigo-600);\n        --color-fg-pink: var(--color-pink-600);\n        --color-fg-lime: var(--color-lime-600);\n        \n        /* background color variables */\n        --color-neutral-primary-soft: var(--color-white);\n        --color-neutral-primary: var(--color-white);\n        --color-neutral-primary-medium: var(--color-white);\n        --color-neutral-primary-strong: var(--color-white);\n        --color-neutral-secondary-soft: var(--color-stone-100);\n        --color-neutral-secondary: var(--color-stone-100);\n        --color-neutral-secondary-medium: var(--color-stone-100);\n        --color-neutral-secondary-strong: var(--color-stone-100);\n        --color-neutral-secondary-strongest: var(--color-stone-100);\n        --color-neutral-tertiary-soft: var(--color-stone-100);\n        --color-neutral-tertiary: var(--color-stone-100);\n        --color-neutral-tertiary-medium: var(--color-stone-100);\n        --color-neutral-quaternary: var(--color-stone-200);\n        --color-neutral-quaternary-medium: var(--color-stone-200);\n        --color-gray: var(--color-stone-300);\n        --color-brand-softer: var(--color-stone-50);\n        --color-brand-soft: var(--color-stone-100);\n        --color-brand: var(--color-stone-900);\n        --color-brand-medium: var(--color-stone-200);\n        --color-brand-strong: var(--color-stone-800);\n        --color-success-soft: var(--color-green-50);\n        --color-success: var(--color-green-700);\n        --color-success-medium: var(--color-green-100);\n        --color-success-strong: var(--color-green-800);\n        --color-danger-soft: var(--color-red-50);\n        --color-danger: var(--color-red-700);\n        --color-danger-medium: var(--color-red-100);\n        --color-danger-strong: var(--color-red-800);\n        --color-warning-soft: var(--color-orange-50);\n        --color-warning: var(--color-orange-500);\n        --color-warning-medium: var(--color-orange-100);\n        --color-warning-strong: var(--color-orange-700);\n        --color-dark-soft: var(--color-stone-800);\n        --color-dark: var(--color-stone-800);\n        --color-dark-strong: var(--color-stone-900);\n        --color-disabled: var(--color-stone-100);\n        --color-purple: var(--color-purple-500);\n        --color-sky: var(--color-sky-500);\n        --color-teal: var(--color-teal-600);\n        --color-pink: var(--color-pink-600);\n        --color-cyan: var(--color-cyan-500);\n        --color-fuchsia: var(--color-fuchsia-600);\n        --color-indigo: var(--color-indigo-600);\n        --color-orange: var(--color-orange-400);\n        \n        /* border color variables */\n        --color-buffer: var(--color-white);\n        --color-buffer-medium: var(--color-white);\n        --color-buffer-strong: var(--color-white);\n        --color-muted: var(--color-stone-50);\n        --color-light-subtle: var(--color-stone-50);\n        --color-light: var(--color-stone-50);\n        --color-light-medium: var(--color-stone-50);\n        --color-default-subtle: var(--color-stone-100);\n        --color-default: var(--color-stone-100);\n        --color-default-medium: var(--color-stone-100);\n        --color-default-strong: var(--color-stone-100);\n        --color-success-subtle: var(--color-green-200);\n        --color-danger-subtle: var(--color-red-200);\n        --color-warning-subtle: var(--color-orange-200);\n        --color-brand-subtle: var(--color-stone-200);\n        --color-brand-light: var(--color-stone-600);\n        --color-dark-subtle: var(--color-stone-800);\n        --color-dark-backdrop: var(--color-stone-950);\n\n        --squares-pattern-light-url: url(/docs/images/patterns/squares-minimal.svg);\n        --squares-pattern-dark-url: url(/docs/images/patterns/squares-minimal-dark.svg);\n\n        /* shiki variables */\n        --color-shiki-fg-brand: white;          /* bright but still readable on dark bg */\n        --color-shiki-fg-brand-subtle: white;   /* softer, pastel-like tint */\n    }\n\n    [data-theme=\"enterprise\"] {\n    --font-sans: 'STIX Two Text', serif;\n    --font-body: 'STIX Two Text', serif;\n        \n    /* Flowbite variables */\n    \n    --leading-9: 36px; /* rem pls */\n    --leading-7: 28px;\n    --leading-8: 32px;\n    --leading-6: 24px;\n    --leading-4: 16px;\n    --leading-none: 1px;\n    --leading-5: 20px;\n    --tracking-tighter: -0.8px;\n    --leading-heading-none: 60px;\n    --tracking-tight: -0.4px;\n    \n    --text-xs: 0.825rem;\n    --text-sm:  0.925rem;\n    --text-base: 1.125rem;\n\n    /* radius variables */\n    --radius-xxs: 1px;\n    --radius-xs: 1px;\n    --radius-sm: 1px;\n    --radius: 4px;\n    --radius: 4px;\n    --radius-md: 4px;\n    --radius-base: 4px; \n    --radius-lg: 4px;\n    \n    /* border width variables */\n    --default-border-width: 1px;\n    \n    /* text color variables */\n    --color-body: var(--color-zinc-600);\n    --color-body-subtle: var(--color-zinc-500);\n    --color-heading: var(--color-zinc-900);\n    --color-fg-brand-subtle: var(--color-cyan-200);\n    --color-fg-brand: var(--color-cyan-700);\n    --color-fg-brand-strong: var(--color-cyan-900);\n    --color-fg-success: var(--color-green-700);\n    --color-fg-success-strong: var(--color-green-900);\n    --color-fg-danger: var(--color-red-700);\n    --color-fg-danger-strong: var(--color-red-900);\n    --color-fg-warning-subtle: var(--color-orange-600);\n    --color-fg-warning: var(--color-orange-900);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-zinc-400);\n    --color-fg-purple: var(--color-purple-600);\n    --color-fg-cyan: var(--color-cyan-600);\n    --color-fg-indigo: var(--color-cyan-600);\n    --color-fg-pink: var(--color-pink-600);\n    --color-fg-lime: var(--color-lime-600);\n    \n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-white);\n    --color-neutral-primary: var(--color-white);\n    --color-neutral-primary-medium: var(--color-white);\n    --color-neutral-primary-strong: var(--color-white);\n    --color-neutral-secondary-soft: var(--color-white);\n    --color-neutral-secondary: var(--color-white);\n    --color-neutral-secondary-medium: var(--color-white);\n    --color-neutral-secondary-strong: var(--color-white);\n    --color-neutral-secondary-strongest: var(--color-white);\n    --color-neutral-tertiary-soft: var(--color-zinc-100);\n    --color-neutral-tertiary: var(--color-zinc-100);\n    --color-neutral-tertiary-medium: var(--color-zinc-100);\n    --color-neutral-quaternary: var(--color-zinc-200);\n    --color-neutral-quaternary-medium: var(--color-zinc-200);\n    --color-gray: var(--color-zinc-300);\n    --color-brand-softer: var(--color-cyan-50);\n    --color-brand-soft: var(--color-cyan-100);\n    --color-brand: var(--color-cyan-900);\n    --color-brand-medium: var(--color-cyan-200);\n    --color-brand-strong: var(--color-cyan-800);\n    --color-success-soft: var(--color-green-50);\n    --color-success: var(--color-green-700);\n    --color-success-medium: var(--color-green-100);\n    --color-success-strong: var(--color-green-800);\n    --color-danger-soft: var(--color-red-50);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-100);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-50);\n    --color-warning: var(--color-orange-500);\n    --color-warning-medium: var(--color-orange-100);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-zinc-800);\n    --color-dark: var(--color-zinc-800);\n    --color-dark-strong: var(--color-zinc-900);\n    --color-disabled: var(--color-zinc-100);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-600);\n    --color-pink: var(--color-pink-600);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-600);\n    --color-indigo: var(--color-cyan-600);\n    --color-orange: var(--color-orange-400);\n    \n    /* border color variables */\n    --color-buffer: var(--color-white);\n    --color-buffer-medium: var(--color-white);\n    --color-buffer-strong: var(--color-white);\n    --color-muted: var(--color-zinc-50);\n    --color-light-subtle: var(--color-zinc-100);\n    --color-light: var(--color-zinc-100);\n    --color-light-medium: var(--color-zinc-100);\n    --color-default-subtle: var(--color-zinc-200);\n    --color-default: var(--color-zinc-200);\n    --color-default-medium: var(--color-zinc-200);\n    --color-default-strong: var(--color-zinc-200);\n    --color-success-subtle: var(--color-green-200);\n    --color-danger-subtle: var(--color-red-200);\n    --color-warning-subtle: var(--color-orange-200);\n    --color-brand-subtle: var(--color-cyan-200);\n    --color-brand-light: var(--color-cyan-600);\n    --color-dark-subtle: var(--color-zinc-800);\n    --color-dark-backdrop: var(--color-zinc-950);\n\n    --squares-pattern-light-url: url(/docs/images/patterns/squares-enterprise.svg);\n    --squares-pattern-dark-url: url(/docs/images/patterns/squares-enterprise-dark.svg);\n\n    /* shiki variables */\n    --color-shiki-fg-brand: #56c0d8;          /* medium-light tint */\n    --color-shiki-fg-brand-subtle: #8ad9e7;   /* lighter, softer tint */\n    }\n\n    [data-theme=\"playful\"] {\n        --font-sans: 'Shantell Sans', cursive;\n        --font-body: 'Shantell Sans', cursive;\n            \n        /* Flowbite variables */\n        \n        --leading-9: 36px; /* rem pls */\n        --leading-7: 28px;\n        --leading-8: 32px;\n        --leading-6: 24px;\n        --leading-4: 16px;\n        --leading-none: 1px;\n        --leading-5: 20px;\n        --tracking-tighter: -0.8px;\n        --leading-heading-none: 60px;\n        --tracking-tight: -0.4px;\n        \n        /* radius variables */\n        --radius-xxs: 2px;\n        --radius-xs: 2px;\n        --radius-sm: 10px;\n        --radius: 10px;\n        --radius: 14px;\n        --radius-md: 14px;\n        --radius-base: 20px; \n        --radius-lg: 16px;\n        \n        /* border width variables */\n        --default-border-width: 1px;\n        \n        /* text color variables */\n        --color-body: var(--color-slate-600);\n        --color-body-subtle: var(--color-slate-500);\n        --color-heading: var(--color-slate-900);\n        --color-fg-brand-subtle: var(--color-pink-200);\n        --color-fg-brand: var(--color-pink-700);\n        --color-fg-brand-strong: var(--color-pink-900);\n        --color-fg-success: var(--color-green-700);\n        --color-fg-success-strong: var(--color-green-900);\n        --color-fg-danger: var(--color-red-700);\n        --color-fg-danger-strong: var(--color-red-900);\n        --color-fg-warning-subtle: var(--color-orange-600);\n        --color-fg-warning: var(--color-orange-900);\n        --color-fg-yellow: var(--color-yellow-400);\n        --color-fg-disabled: var(--color-slate-400);\n        --color-fg-purple: var(--color-purple-600);\n        --color-fg-cyan: var(--color-cyan-600);\n        --color-fg-indigo: var(--color-indigo-600);\n        --color-fg-pink: var(--color-pink-600);\n        --color-fg-lime: var(--color-lime-600);\n        \n        /* background color variables */\n        --color-neutral-primary-soft: var(--color-white);\n        --color-neutral-primary: var(--color-white);\n        --color-neutral-primary-medium: var(--color-white);\n        --color-neutral-primary-strong: var(--color-white);\n        --color-neutral-secondary-soft: var(--color-slate-50);\n        --color-neutral-secondary: var(--color-slate-50);\n        --color-neutral-secondary-medium: var(--color-slate-50);\n        --color-neutral-secondary-strong: var(--color-slate-50);\n        --color-neutral-secondary-strongest: var(--color-slate-50);\n        --color-neutral-tertiary-soft: var(--color-slate-100);\n        --color-neutral-tertiary: var(--color-slate-100);\n        --color-neutral-tertiary-medium: var(--color-slate-100);\n        --color-neutral-quaternary: var(--color-slate-200);\n        --color-neutral-quaternary-medium: var(--color-slate-200);\n        --color-gray: var(--color-slate-300);\n        --color-brand-softer: var(--color-pink-50);\n        --color-brand-soft: var(--color-pink-100);\n        --color-brand: var(--color-pink-900);\n        --color-brand-medium: var(--color-pink-200);\n        --color-brand-strong: var(--color-pink-800);\n        --color-success-soft: var(--color-green-50);\n        --color-success: var(--color-green-700);\n        --color-success-medium: var(--color-green-100);\n        --color-success-strong: var(--color-green-800);\n        --color-danger-soft: var(--color-red-50);\n        --color-danger: var(--color-red-700);\n        --color-danger-medium: var(--color-red-100);\n        --color-danger-strong: var(--color-red-800);\n        --color-warning-soft: var(--color-orange-50);\n        --color-warning: var(--color-orange-500);\n        --color-warning-medium: var(--color-orange-100);\n        --color-warning-strong: var(--color-orange-700);\n        --color-dark-soft: var(--color-slate-800);\n        --color-dark: var(--color-slate-800);\n        --color-dark-strong: var(--color-slate-900);\n        --color-disabled: var(--color-slate-100);\n        --color-purple: var(--color-purple-500);\n        --color-sky: var(--color-sky-500);\n        --color-teal: var(--color-teal-600);\n        --color-pink: var(--color-pink-600);\n        --color-cyan: var(--color-cyan-500);\n        --color-fuchsia: var(--color-fuchsia-600);\n        --color-indigo: var(--color-indigo-600);\n        --color-orange: var(--color-orange-400);\n        \n        /* border color variables */\n        --color-buffer: var(--color-white);\n        --color-buffer-medium: var(--color-white);\n        --color-buffer-strong: var(--color-white);\n        --color-muted: var(--color-slate-50);\n        --color-light-subtle: var(--color-slate-100);\n        --color-light: var(--color-slate-100);\n        --color-light-medium: var(--color-slate-100);\n        --color-default-subtle: var(--color-slate-200);\n        --color-default: var(--color-slate-200);\n        --color-default-medium: var(--color-slate-200);\n        --color-default-strong: var(--color-slate-200);\n        --color-success-subtle: var(--color-green-200);\n        --color-danger-subtle: var(--color-red-200);\n        --color-warning-subtle: var(--color-orange-200);\n        --color-brand-subtle: var(--color-pink-200);\n        --color-brand-light: var(--color-pink-600);\n        --color-dark-subtle: var(--color-slate-800);\n        --color-dark-backdrop: var(--color-slate-950);\n\n        --squares-pattern-light-url: url(/docs/images/patterns/squares-playful.svg);\n        --squares-pattern-dark-url: url(/docs/images/patterns/squares-playful-dark.svg);\n\n        /* shiki variables */\n        --color-shiki-fg-brand: #f06292;          /* vivid but readable on dark bg */\n        --color-shiki-fg-brand-subtle: #f48fb1;   /* lighter and friendlier tone */\n    }\n\n    [data-theme=\"mono\"] {\n        --font-sans: 'Google Sans Code', monospace;\n        --font-body: 'Google Sans Code', monospace;\n        \n        /* Flowbite variables */\n        \n        --leading-9: 36px; /* rem pls */\n        --leading-7: 28px;\n        --leading-8: 32px;\n        --leading-6: 24px;\n        --leading-4: 16px;\n        --leading-none: 1px;\n        --leading-5: 20px;\n        --tracking-tighter: -0.8px;\n        --leading-heading-none: 60px;\n        --tracking-tight: -0.4px;\n        --tracking-normal: -0.4px;\n        \n        /* radius variables */\n        --radius-xxs: 1px;\n        --radius-xs: 1px;\n        --radius-sm: 1px;\n        --radius: 1px;\n        --radius-md: 1px;\n        --radius-base: 1px; \n        --radius-lg: 1px;\n        \n        /* border width variables */\n        --default-border-width: 1px;\n        \n        /* text color variables */\n        --color-body: var(--color-neutral-600);\n        --color-body-subtle: var(--color-neutral-500);\n        --color-heading: var(--color-neutral-900);\n        --color-fg-brand-subtle: var(--color-indigo-200);\n        --color-fg-brand: var(--color-indigo-700);\n        --color-fg-brand-strong: var(--color-indigo-900);\n        --color-fg-success: var(--color-green-700);\n        --color-fg-success-strong: var(--color-green-900);\n        --color-fg-danger: var(--color-red-700);\n        --color-fg-danger-strong: var(--color-red-900);\n        --color-fg-warning-subtle: var(--color-orange-600);\n        --color-fg-warning: var(--color-orange-900);\n        --color-fg-yellow: var(--color-yellow-400);\n        --color-fg-disabled: var(--color-neutral-400);\n        --color-fg-purple: var(--color-purple-600);\n        --color-fg-cyan: var(--color-cyan-600);\n        --color-fg-indigo: var(--color-indigo-600);\n        --color-fg-pink: var(--color-pink-600);\n        --color-fg-lime: var(--color-lime-600);\n        \n        /* background color variables */\n        --color-neutral-primary-soft: var(--color-white);\n        --color-neutral-primary: var(--color-white);\n        --color-neutral-primary-medium: var(--color-white);\n        --color-neutral-primary-strong: var(--color-white);\n        --color-neutral-secondary-soft: var(--color-neutral-50);\n        --color-neutral-secondary: var(--color-neutral-50);\n        --color-neutral-secondary-medium: var(--color-neutral-50);\n        --color-neutral-secondary-strong: var(--color-neutral-50);\n        --color-neutral-secondary-strongest: var(--color-neutral-50);\n        --color-neutral-tertiary-soft: var(--color-neutral-100);\n        --color-neutral-tertiary: var(--color-neutral-100);\n        --color-neutral-tertiary-medium: var(--color-neutral-100);\n        --color-neutral-quaternary: var(--color-neutral-200);\n        --color-neutral-quaternary-medium: var(--color-neutral-200);\n        --color-gray: var(--color-neutral-300);\n        --color-brand-softer: var(--color-indigo-50);\n        --color-brand-soft: var(--color-indigo-100);\n        --color-brand: var(--color-indigo-900);\n        --color-brand-medium: var(--color-indigo-200);\n        --color-brand-strong: var(--color-indigo-800);\n        --color-success-soft: var(--color-green-50);\n        --color-success: var(--color-green-700);\n        --color-success-medium: var(--color-green-100);\n        --color-success-strong: var(--color-green-800);\n        --color-danger-soft: var(--color-red-50);\n        --color-danger: var(--color-red-700);\n        --color-danger-medium: var(--color-red-100);\n        --color-danger-strong: var(--color-red-800);\n        --color-warning-soft: var(--color-orange-50);\n        --color-warning: var(--color-orange-500);\n        --color-warning-medium: var(--color-orange-100);\n        --color-warning-strong: var(--color-orange-700);\n        --color-dark-soft: var(--color-neutral-800);\n        --color-dark: var(--color-neutral-800);\n        --color-dark-strong: var(--color-neutral-900);\n        --color-disabled: var(--color-neutral-100);\n        --color-purple: var(--color-purple-500);\n        --color-sky: var(--color-sky-500);\n        --color-teal: var(--color-teal-600);\n        --color-pink: var(--color-pink-600);\n        --color-cyan: var(--color-cyan-500);\n        --color-fuchsia: var(--color-fuchsia-600);\n        --color-indigo: var(--color-indigo-600);\n        --color-orange: var(--color-orange-400);\n        \n        /* border color variables */\n        --color-buffer: var(--color-white);\n        --color-buffer-medium: var(--color-white);\n        --color-buffer-strong: var(--color-white);\n        --color-muted: var(--color-neutral-50);\n        --color-light-subtle: var(--color-neutral-100);\n        --color-light: var(--color-neutral-100);\n        --color-light-medium: var(--color-neutral-100);\n        --color-default-subtle: var(--color-neutral-200);\n        --color-default: var(--color-neutral-200);\n        --color-default-medium: var(--color-neutral-200);\n        --color-default-strong: var(--color-neutral-200);\n        --color-success-subtle: var(--color-green-200);\n        --color-danger-subtle: var(--color-red-200);\n        --color-warning-subtle: var(--color-orange-200);\n        --color-brand-subtle: var(--color-indigo-200);\n        --color-brand-light: var(--color-indigo-600);\n        --color-dark-subtle: var(--color-neutral-800);\n        --color-dark-backdrop: var(--color-neutral-950);\n        \n        --squares-pattern-light-url: url(/docs/images/patterns/squares-mono.svg);\n        --squares-pattern-dark-url: url(/docs/images/patterns/squares-mono-dark.svg);\n\n        /* shiki variables */\n        --color-shiki-fg-brand: #9387ff;          /* balanced mid-light tint */\n        --color-shiki-fg-brand-subtle: #b4adff;   /* gentle highlight version */\n    }\n}\n\n[data-theme=\"modern\"].dark, [data-theme=\"modern\"] .dark {\n   /* text color variables */\n     --color-body: var(--color-gray-400);\n     --color-body-subtle: var(--color-gray-400);\n     --color-heading: var(--color-white);\n     --color-fg-brand-subtle: var(--color-blue-200);\n     --color-fg-brand: var(--color-blue-500);\n     --color-fg-brand-strong: var(--color-blue-400);\n     --color-fg-success: var(--color-emerald-600);\n     --color-fg-success-strong: var(--color-emerald-300);\n     --color-fg-danger: var(--color-rose-500);\n     --color-fg-danger-strong: var(--color-rose-300);\n     --color-fg-warning-subtle: var(--color-orange-500);\n     --color-fg-warning: var(--color-orange-300);\n     --color-fg-yellow: var(--color-yellow-400);\n     --color-fg-disabled: var(--color-gray-600);\n     --color-fg-purple: var(--color-purple-500);\n     --color-fg-cyan: var(--color-cyan-500);\n     --color-fg-indigo: var(--color-indigo-500);\n     --color-fg-pink: var(--color-pink-500);\n     --color-fg-lime: var(--color-lime-500);\n \n   /* background color variables */\n     --color-neutral-primary-soft: var(--color-gray-900);\n     --color-neutral-primary: var(--color-gray-950);\n     --color-neutral-primary-medium: var(--color-gray-800);\n     --color-neutral-primary-strong: var(--color-gray-700);\n     --color-neutral-secondary-soft: var(--color-gray-900);\n     --color-neutral-secondary: var(--color-gray-950);\n     --color-neutral-secondary-medium: var(--color-gray-800);\n     --color-neutral-secondary-strong: var(--color-gray-700);\n     --color-neutral-secondary-strongest: var(--color-gray-600);\n     --color-neutral-tertiary-soft: var(--color-gray-900);\n     --color-neutral-tertiary: var(--color-gray-800);\n     --color-neutral-tertiary-medium: var(--color-gray-700);\n     --color-neutral-quaternary: var(--color-gray-700);\n     --color-neutral-quaternary-medium: var(--color-gray-600);\n     --color-gray: var(--color-gray-600);\n     --color-brand-softer: var(--color-blue-950);\n     --color-brand-soft: var(--color-blue-900);\n     --color-brand: var(--color-blue-600);\n     --color-brand-medium: var(--color-blue-900);\n     --color-brand-strong: var(--color-blue-700);\n     --color-success-soft: var(--color-emerald-950);\n     --color-success: var(--color-emerald-600);\n     --color-success-medium: var(--color-emerald-900);\n     --color-success-strong: var(--color-emerald-700);\n     --color-danger-soft: var(--color-rose-950);\n     --color-danger: var(--color-rose-700);\n     --color-danger-medium: var(--color-rose-900);\n     --color-danger-strong: var(--color-rose-800);\n     --color-warning-soft: var(--color-orange-950);\n     --color-warning: var(--color-orange-600);\n     --color-warning-medium: var(--color-orange-900);\n     --color-warning-strong: var(--color-orange-700);\n     --color-dark-soft: var(--color-gray-700);\n     --color-dark: var(--color-gray-800);\n     --color-dark-strong: var(--color-gray-700);\n     --color-disabled: var(--color-gray-800);\n     --color-purple: var(--color-purple-500);\n     --color-sky: var(--color-sky-500);\n     --color-teal: var(--color-teal-500);\n     --color-pink: var(--color-pink-500);\n     --color-cyan: var(--color-cyan-500);\n     --color-fuchsia: var(--color-fuchsia-500);\n     --color-indigo: var(--color-indigo-500);\n     --color-orange: var(--color-orange-400);\n \n      /* border color variables */\n     --color-buffer: var(--color-gray-950);\n     --color-buffer-medium: var(--color-gray-900);\n     --color-buffer-strong: var(--color-gray-800);\n     --color-muted: var(--color-gray-900);\n     --color-light-subtle: var(--color-gray-900);\n     --color-light: var(--color-gray-800);\n     --color-light-medium: var(--color-gray-700);\n     --color-default-subtle: var(--color-gray-900);\n     --color-default: var(--color-gray-800);\n     --color-default-medium: var(--color-gray-700);\n     --color-default-strong: var(--color-gray-600);\n     --color-success-subtle: var(--color-emerald-900);\n     --color-danger-subtle: var(--color-rose-900);\n     --color-warning-subtle: var(--color-orange-900);\n     --color-brand-subtle: var(--color-blue-900);\n     --color-brand-light: var(--color-blue-600);\n     --color-dark-subtle: var(--color-gray-700);\n     --color-dark-backdrop: var(--color-gray-950);\n     \n}\n\n[data-theme=\"minimal\"].dark, [data-theme=\"minimal\"] .dark {\n    /* text color variables */\n    --color-body: var(--color-stone-400);\n    --color-body-subtle: var(--color-stone-400);\n    --color-heading: var(--color-white);\n    --color-fg-brand-subtle: var(--color-stone-200);\n    --color-fg-brand: var(--color-white);\n    --color-fg-brand-strong: var(--color-stone-200);\n    --color-fg-success: var(--color-green-600);\n    --color-fg-success-strong: var(--color-green-300);\n    --color-fg-danger: var(--color-red-500);\n    --color-fg-danger-strong: var(--color-red-300);\n    --color-fg-warning-subtle: var(--color-orange-500);\n    --color-fg-warning: var(--color-orange-300);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-stone-600);\n    --color-fg-purple: var(--color-purple-500);\n    --color-fg-cyan: var(--color-cyan-500);\n    --color-fg-indigo: var(--color-indigo-500);\n    --color-fg-pink: var(--color-pink-500);\n    --color-fg-lime: var(--color-lime-500);\n    \n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-stone-900);\n    --color-neutral-primary: var(--color-stone-950);\n    --color-neutral-primary-medium: var(--color-stone-800);\n    --color-neutral-primary-strong: var(--color-stone-700);\n    --color-neutral-secondary-soft: var(--color-stone-900);\n    --color-neutral-secondary: var(--color-stone-950);\n    --color-neutral-secondary-medium: var(--color-stone-800);\n    --color-neutral-secondary-strong: var(--color-stone-700);\n    --color-neutral-secondary-strongest: var(--color-stone-600);\n    --color-neutral-tertiary-soft: var(--color-stone-900);\n    --color-neutral-tertiary: var(--color-stone-800);\n    --color-neutral-tertiary-medium: var(--color-stone-700);\n    --color-neutral-quaternary: var(--color-stone-700);\n    --color-neutral-quaternary-medium: var(--color-stone-600);\n    --color-gray: var(--color-stone-600);\n    --color-brand-softer: var(--color-stone-900);\n    --color-brand-soft: var(--color-stone-900);\n    --color-brand: var(--color-stone-600);\n    --color-brand-medium: var(--color-stone-900);\n    --color-brand-strong: var(--color-stone-700);\n    --color-success-soft: var(--color-green-950);\n    --color-success: var(--color-green-600);\n    --color-success-medium: var(--color-green-900);\n    --color-success-strong: var(--color-green-700);\n    --color-danger-soft: var(--color-red-950);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-900);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-950);\n    --color-warning: var(--color-orange-600);\n    --color-warning-medium: var(--color-orange-900);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-stone-700);\n    --color-dark: var(--color-stone-800);\n    --color-dark-strong: var(--color-stone-700);\n    --color-disabled: var(--color-stone-800);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-500);\n    --color-pink: var(--color-pink-500);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-500);\n    --color-indigo: var(--color-indigo-500);\n    --color-orange: var(--color-orange-400);\n    \n    /* border color variables */\n    --color-buffer: var(--color-stone-950);\n    --color-buffer-medium: var(--color-stone-900);\n    --color-buffer-strong: var(--color-stone-800);\n    --color-muted: var(--color-stone-900);\n    --color-light-subtle: var(--color-stone-900);\n    --color-light: var(--color-stone-800);\n    --color-light-medium: var(--color-stone-700);\n    --color-default-subtle: var(--color-stone-900);\n    --color-default: var(--color-stone-900);\n    --color-default-medium: var(--color-stone-800);\n    --color-default-strong: var(--color-stone-700);\n    --color-success-subtle: var(--color-green-900);\n    --color-danger-subtle: var(--color-red-900);\n    --color-warning-subtle: var(--color-orange-900);\n    --color-brand-subtle: var(--color-stone-900);\n    --color-brand-light: var(--color-stone-600);\n    --color-dark-subtle: var(--color-stone-700);\n    --color-dark-backdrop: var(--color-stone-950);\n    \n}\n\n[data-theme=\"enterprise\"].dark, [data-theme=\"enterprise\"] .dark {\n/* text color variables */\n--color-body: var(--color-zinc-400);\n--color-body-subtle: var(--color-zinc-400);\n--color-heading: var(--color-white);\n--color-fg-brand-subtle: var(--color-cyan-200);\n--color-fg-brand: var(--color-cyan-500);\n--color-fg-brand-strong: var(--color-cyan-400);\n--color-fg-success: var(--color-green-600);\n--color-fg-success-strong: var(--color-green-300);\n--color-fg-danger: var(--color-red-500);\n--color-fg-danger-strong: var(--color-red-300);\n--color-fg-warning-subtle: var(--color-orange-500);\n--color-fg-warning: var(--color-orange-300);\n--color-fg-yellow: var(--color-yellow-400);\n--color-fg-disabled: var(--color-zinc-600);\n--color-fg-purple: var(--color-purple-500);\n--color-fg-cyan: var(--color-cyan-500);\n--color-fg-indigo: var(--color-cyan-500);\n--color-fg-pink: var(--color-pink-500);\n--color-fg-lime: var(--color-lime-500);\n\n/* background color variables */\n--color-neutral-primary-soft: var(--color-zinc-900);\n--color-neutral-primary: var(--color-zinc-950);\n--color-neutral-primary-medium: var(--color-zinc-800);\n--color-neutral-primary-strong: var(--color-zinc-700);\n--color-neutral-secondary-soft: var(--color-zinc-900);\n--color-neutral-secondary: var(--color-zinc-950);\n--color-neutral-secondary-medium: var(--color-zinc-800);\n--color-neutral-secondary-strong: var(--color-zinc-700);\n--color-neutral-secondary-strongest: var(--color-zinc-600);\n--color-neutral-tertiary-soft: var(--color-zinc-900);\n--color-neutral-tertiary: var(--color-zinc-800);\n--color-neutral-tertiary-medium: var(--color-zinc-700);\n--color-neutral-quaternary: var(--color-zinc-700);\n--color-neutral-quaternary-medium: var(--color-zinc-600);\n--color-gray: var(--color-zinc-600);\n--color-brand-softer: var(--color-cyan-950);\n--color-brand-soft: var(--color-cyan-900);\n--color-brand: var(--color-cyan-600);\n--color-brand-medium: var(--color-cyan-900);\n--color-brand-strong: var(--color-cyan-700);\n--color-success-soft: var(--color-green-950);\n--color-success: var(--color-green-600);\n--color-success-medium: var(--color-green-900);\n--color-success-strong: var(--color-green-700);\n--color-danger-soft: var(--color-red-950);\n--color-danger: var(--color-red-700);\n--color-danger-medium: var(--color-red-900);\n--color-danger-strong: var(--color-red-800);\n--color-warning-soft: var(--color-orange-950);\n--color-warning: var(--color-orange-600);\n--color-warning-medium: var(--color-orange-900);\n--color-warning-strong: var(--color-orange-700);\n--color-dark-soft: var(--color-zinc-700);\n--color-dark: var(--color-zinc-800);\n--color-dark-strong: var(--color-zinc-700);\n--color-disabled: var(--color-zinc-800);\n--color-purple: var(--color-purple-500);\n--color-sky: var(--color-sky-500);\n--color-teal: var(--color-teal-500);\n--color-pink: var(--color-pink-500);\n--color-cyan: var(--color-cyan-500);\n--color-fuchsia: var(--color-fuchsia-500);\n--color-indigo: var(--color-cyan-500);\n--color-orange: var(--color-orange-400);\n\n/* border color variables */\n--color-buffer: var(--color-zinc-950);\n--color-buffer-medium: var(--color-zinc-900);\n--color-buffer-strong: var(--color-zinc-800);\n--color-muted: var(--color-zinc-900);\n--color-light-subtle: var(--color-zinc-900);\n--color-light: var(--color-zinc-800);\n--color-light-medium: var(--color-zinc-700);\n--color-default-subtle: var(--color-zinc-900);\n--color-default: var(--color-zinc-800);\n--color-default-medium: var(--color-zinc-700);\n--color-default-strong: var(--color-zinc-600);\n--color-success-subtle: var(--color-green-900);\n--color-danger-subtle: var(--color-red-900);\n--color-warning-subtle: var(--color-orange-900);\n--color-brand-subtle: var(--color-cyan-900);\n--color-brand-light: var(--color-cyan-600);\n--color-dark-subtle: var(--color-zinc-700);\n--color-dark-backdrop: var(--color-zinc-950);\n\n}\n\n[data-theme=\"playful\"].dark, [data-theme=\"playful\"] .dark {\n/* text color variables */\n--color-body: var(--color-slate-400);\n--color-body-subtle: var(--color-slate-400);\n--color-heading: var(--color-white);\n--color-fg-brand-subtle: var(--color-pink-200);\n--color-fg-brand: var(--color-pink-500);\n--color-fg-brand-strong: var(--color-pink-400);\n--color-fg-success: var(--color-green-600);\n--color-fg-success-strong: var(--color-green-300);\n--color-fg-danger: var(--color-red-500);\n--color-fg-danger-strong: var(--color-red-300);\n--color-fg-warning-subtle: var(--color-orange-500);\n--color-fg-warning: var(--color-orange-300);\n--color-fg-yellow: var(--color-yellow-400);\n--color-fg-disabled: var(--color-slate-600);\n--color-fg-purple: var(--color-purple-500);\n--color-fg-cyan: var(--color-cyan-500);\n--color-fg-indigo: var(--color-indigo-500);\n--color-fg-pink: var(--color-pink-500);\n--color-fg-lime: var(--color-lime-500);\n\n/* background color variables */\n--color-neutral-primary-soft: var(--color-slate-900);\n--color-neutral-primary: var(--color-slate-950);\n--color-neutral-primary-medium: var(--color-slate-800);\n--color-neutral-primary-strong: var(--color-slate-700);\n--color-neutral-secondary-soft: var(--color-slate-900);\n--color-neutral-secondary: var(--color-slate-950);\n--color-neutral-secondary-medium: var(--color-slate-800);\n--color-neutral-secondary-strong: var(--color-slate-700);\n--color-neutral-secondary-strongest: var(--color-slate-600);\n--color-neutral-tertiary-soft: var(--color-slate-900);\n--color-neutral-tertiary: var(--color-slate-800);\n--color-neutral-tertiary-medium: var(--color-slate-700);\n--color-neutral-quaternary: var(--color-slate-700);\n--color-neutral-quaternary-medium: var(--color-slate-600);\n--color-gray: var(--color-slate-600);\n--color-brand-softer: var(--color-pink-950);\n--color-brand-soft: var(--color-pink-900);\n--color-brand: var(--color-pink-600);\n--color-brand-medium: var(--color-pink-900);\n--color-brand-strong: var(--color-pink-700);\n--color-success-soft: var(--color-green-950);\n--color-success: var(--color-green-600);\n--color-success-medium: var(--color-green-900);\n--color-success-strong: var(--color-green-700);\n--color-danger-soft: var(--color-red-950);\n--color-danger: var(--color-red-700);\n--color-danger-medium: var(--color-red-900);\n--color-danger-strong: var(--color-red-800);\n--color-warning-soft: var(--color-orange-950);\n--color-warning: var(--color-orange-600);\n--color-warning-medium: var(--color-orange-900);\n--color-warning-strong: var(--color-orange-700);\n--color-dark-soft: var(--color-slate-700);\n--color-dark: var(--color-slate-800);\n--color-dark-strong: var(--color-slate-700);\n--color-disabled: var(--color-slate-800);\n--color-purple: var(--color-purple-500);\n--color-sky: var(--color-sky-500);\n--color-teal: var(--color-teal-500);\n--color-pink: var(--color-pink-500);\n--color-cyan: var(--color-cyan-500);\n--color-fuchsia: var(--color-fuchsia-500);\n--color-indigo: var(--color-indigo-500);\n--color-orange: var(--color-orange-400);\n\n/* border color variables */\n--color-buffer: var(--color-slate-950);\n--color-buffer-medium: var(--color-slate-900);\n--color-buffer-strong: var(--color-slate-800);\n--color-muted: var(--color-slate-900);\n--color-light-subtle: var(--color-slate-900);\n--color-light: var(--color-slate-800);\n--color-light-medium: var(--color-slate-700);\n--color-default-subtle: var(--color-slate-900);\n--color-default: var(--color-slate-800);\n--color-default-medium: var(--color-slate-700);\n--color-default-strong: var(--color-slate-600);\n--color-success-subtle: var(--color-green-900);\n--color-danger-subtle: var(--color-red-900);\n--color-warning-subtle: var(--color-orange-900);\n--color-brand-subtle: var(--color-pink-900);\n--color-brand-light: var(--color-pink-600);\n--color-dark-subtle: var(--color-slate-700);\n--color-dark-backdrop: var(--color-slate-950);\n\n}\n\n[data-theme=\"mono\"].dark, [data-theme=\"mono\"] .dark {\n    /* text color variables */\n    --color-body: var(--color-neutral-400);\n    --color-body-subtle: var(--color-neutral-400);\n    --color-heading: var(--color-white);\n    --color-fg-brand-subtle: var(--color-indigo-200);\n    --color-fg-brand: var(--color-indigo-500);\n    --color-fg-brand-strong: var(--color-indigo-400);\n    --color-fg-success: var(--color-green-600);\n    --color-fg-success-strong: var(--color-green-300);\n    --color-fg-danger: var(--color-red-500);\n    --color-fg-danger-strong: var(--color-red-300);\n    --color-fg-warning-subtle: var(--color-orange-500);\n    --color-fg-warning: var(--color-orange-300);\n    --color-fg-yellow: var(--color-yellow-400);\n    --color-fg-disabled: var(--color-neutral-600);\n    --color-fg-purple: var(--color-purple-500);\n    --color-fg-cyan: var(--color-cyan-500);\n    --color-fg-indigo: var(--color-indigo-500);\n    --color-fg-pink: var(--color-pink-500);\n    --color-fg-lime: var(--color-lime-500);\n    \n    /* background color variables */\n    --color-neutral-primary-soft: var(--color-neutral-900);\n    --color-neutral-primary: var(--color-neutral-950);\n    --color-neutral-primary-medium: var(--color-neutral-800);\n    --color-neutral-primary-strong: var(--color-neutral-700);\n    --color-neutral-secondary-soft: var(--color-neutral-900);\n    --color-neutral-secondary: var(--color-neutral-950);\n    --color-neutral-secondary-medium: var(--color-neutral-800);\n    --color-neutral-secondary-strong: var(--color-neutral-700);\n    --color-neutral-secondary-strongest: var(--color-neutral-600);\n    --color-neutral-tertiary-soft: var(--color-neutral-900);\n    --color-neutral-tertiary: var(--color-neutral-800);\n    --color-neutral-tertiary-medium: var(--color-neutral-700);\n    --color-neutral-quaternary: var(--color-neutral-700);\n    --color-neutral-quaternary-medium: var(--color-neutral-600);\n    --color-gray: var(--color-neutral-600);\n    --color-brand-softer: var(--color-indigo-950);\n    --color-brand-soft: var(--color-indigo-900);\n    --color-brand: var(--color-indigo-600);\n    --color-brand-medium: var(--color-indigo-900);\n    --color-brand-strong: var(--color-indigo-700);\n    --color-success-soft: var(--color-green-950);\n    --color-success: var(--color-green-600);\n    --color-success-medium: var(--color-green-900);\n    --color-success-strong: var(--color-green-700);\n    --color-danger-soft: var(--color-red-950);\n    --color-danger: var(--color-red-700);\n    --color-danger-medium: var(--color-red-900);\n    --color-danger-strong: var(--color-red-800);\n    --color-warning-soft: var(--color-orange-950);\n    --color-warning: var(--color-orange-600);\n    --color-warning-medium: var(--color-orange-900);\n    --color-warning-strong: var(--color-orange-700);\n    --color-dark-soft: var(--color-neutral-700);\n    --color-dark: var(--color-neutral-800);\n    --color-dark-strong: var(--color-neutral-700);\n    --color-disabled: var(--color-neutral-800);\n    --color-purple: var(--color-purple-500);\n    --color-sky: var(--color-sky-500);\n    --color-teal: var(--color-teal-500);\n    --color-pink: var(--color-pink-500);\n    --color-cyan: var(--color-cyan-500);\n    --color-fuchsia: var(--color-fuchsia-500);\n    --color-indigo: var(--color-indigo-500);\n    --color-orange: var(--color-orange-400);\n    \n    /* border color variables */\n    --color-buffer: var(--color-neutral-950);\n    --color-buffer-medium: var(--color-neutral-900);\n    --color-buffer-strong: var(--color-neutral-800);\n    --color-muted: var(--color-neutral-900);\n    --color-light-subtle: var(--color-neutral-900);\n    --color-light: var(--color-neutral-800);\n    --color-light-medium: var(--color-neutral-700);\n    --color-default-subtle: var(--color-neutral-900);\n    --color-default: var(--color-neutral-800);\n    --color-default-medium: var(--color-neutral-700);\n    --color-default-strong: var(--color-neutral-600);\n    --color-success-subtle: var(--color-green-900);\n    --color-danger-subtle: var(--color-red-900);\n    --color-warning-subtle: var(--color-orange-900);\n    --color-brand-subtle: var(--color-indigo-900);\n    --color-brand-light: var(--color-indigo-600);\n    --color-dark-subtle: var(--color-neutral-700);\n    --color-dark-backdrop: var(--color-neutral-950);\n}\n    "
  },
  {
    "path": "src/types/declarations.ts",
    "content": "declare module 'flowbite-datepicker' {\n    export class Datepicker {\n        constructor(element: HTMLElement, options: any);\n        destroy(): void;\n        show(): void;\n        hide(): void;\n        setDate(date: string): void;\n        getDate(): string;\n    }\n\n    export class DateRangePicker {\n        constructor(element: HTMLElement, options: any);\n        destroy(): void;\n        hide(): void;\n        show(): void;\n        setDates(dates: string[]): void;\n        getDates(): string[];\n    }\n}\n"
  },
  {
    "path": "static/browserconfig.xml",
    "content": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<browserconfig><msapplication><tile><square70x70logo src=\"/ms-icon-70x70.png\"/><square150x150logo src=\"/ms-icon-150x150.png\"/><square310x310logo src=\"/ms-icon-310x310.png\"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>"
  },
  {
    "path": "static/manifest.json",
    "content": "{\n \"name\": \"App\",\n \"icons\": [\n  {\n   \"src\": \"\\/android-icon-36x36.png\",\n   \"sizes\": \"36x36\",\n   \"type\": \"image\\/png\",\n   \"density\": \"0.75\"\n  },\n  {\n   \"src\": \"\\/android-icon-48x48.png\",\n   \"sizes\": \"48x48\",\n   \"type\": \"image\\/png\",\n   \"density\": \"1.0\"\n  },\n  {\n   \"src\": \"\\/android-icon-72x72.png\",\n   \"sizes\": \"72x72\",\n   \"type\": \"image\\/png\",\n   \"density\": \"1.5\"\n  },\n  {\n   \"src\": \"\\/android-icon-96x96.png\",\n   \"sizes\": \"96x96\",\n   \"type\": \"image\\/png\",\n   \"density\": \"2.0\"\n  },\n  {\n   \"src\": \"\\/android-icon-144x144.png\",\n   \"sizes\": \"144x144\",\n   \"type\": \"image\\/png\",\n   \"density\": \"3.0\"\n  },\n  {\n   \"src\": \"\\/android-icon-192x192.png\",\n   \"sizes\": \"192x192\",\n   \"type\": \"image\\/png\",\n   \"density\": \"4.0\"\n  }\n ]\n}"
  },
  {
    "path": "static/site.webmanifest",
    "content": "{\n    \"name\": \"Flowbite\",\n    \"short_name\": \"Flowbite\",\n    \"icons\": [\n        {\n            \"src\": \"/android-chrome-192x192.png\",\n            \"sizes\": \"192x192\",\n            \"type\": \"image/png\"\n        },\n        {\n            \"src\": \"/android-chrome-512x512.png\",\n            \"sizes\": \"512x512\",\n            \"type\": \"image/png\"\n        }\n    ],\n    \"theme_color\": \"#ffffff\",\n    \"background_color\": \"#ffffff\",\n    \"display\": \"standalone\"\n}\n"
  },
  {
    "path": "static/sw.js",
    "content": "// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT\n// IT'S ALL JUST JUNK FOR OUR DOCS!\n// ++++++++++++++++++++++++++++++++++++++++++\n\n(function () {\n    'use strict';\n\n    if ('serviceWorker' in navigator) {\n        window.addEventListener('load', function () {\n            navigator.serviceWorker\n                .getRegistrations()\n                .then(function (registrations) {\n                    for (var registration of registrations) {\n                        registration\n                            .unregister()\n                            .then(function () {\n                                return self.clients.matchAll();\n                            })\n                            .then(function (clients) {\n                                clients.forEach(function (client) {\n                                    if (client.url && 'navigate' in client) {\n                                        client.navigate(client.url);\n                                    }\n                                });\n                            });\n                    }\n                });\n        });\n    }\n})();\n"
  },
  {
    "path": "syntax.css",
    "content": "/* Background */ .chroma { color: #272822; background-color: #fafafa }\n/* Other */ .chroma .x {  }\n/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }\n/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }\n/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }\n/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }\n/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }\n/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }\n/* Keyword */ .chroma .k { color: #00a8c8 }\n/* KeywordConstant */ .chroma .kc { color: #00a8c8 }\n/* KeywordDeclaration */ .chroma .kd { color: #00a8c8 }\n/* KeywordNamespace */ .chroma .kn { color: #f92672 }\n/* KeywordPseudo */ .chroma .kp { color: #00a8c8 }\n/* KeywordReserved */ .chroma .kr { color: #00a8c8 }\n/* KeywordType */ .chroma .kt { color: #00a8c8 }\n/* Name */ .chroma .n { color: #111111 }\n/* NameAttribute */ .chroma .na { color: #75af00 }\n/* NameBuiltin */ .chroma .nb { color: #111111 }\n/* NameBuiltinPseudo */ .chroma .bp { color: #111111 }\n/* NameClass */ .chroma .nc { color: #75af00 }\n/* NameConstant */ .chroma .no { color: #00a8c8 }\n/* NameDecorator */ .chroma .nd { color: #75af00 }\n/* NameEntity */ .chroma .ni { color: #111111 }\n/* NameException */ .chroma .ne { color: #75af00 }\n/* NameFunction */ .chroma .nf { color: #75af00 }\n/* NameFunctionMagic */ .chroma .fm { color: #111111 }\n/* NameLabel */ .chroma .nl { color: #111111 }\n/* NameNamespace */ .chroma .nn { color: #111111 }\n/* NameOther */ .chroma .nx { color: #75af00 }\n/* NameProperty */ .chroma .py { color: #111111 }\n/* NameTag */ .chroma .nt { color: #f92672 }\n/* NameVariable */ .chroma .nv { color: #111111 }\n/* NameVariableClass */ .chroma .vc { color: #111111 }\n/* NameVariableGlobal */ .chroma .vg { color: #111111 }\n/* NameVariableInstance */ .chroma .vi { color: #111111 }\n/* NameVariableMagic */ .chroma .vm { color: #111111 }\n/* Literal */ .chroma .l { color: #ae81ff }\n/* LiteralDate */ .chroma .ld { color: #d88200 }\n/* LiteralString */ .chroma .s { color: #d88200 }\n/* LiteralStringAffix */ .chroma .sa { color: #d88200 }\n/* LiteralStringBacktick */ .chroma .sb { color: #d88200 }\n/* LiteralStringChar */ .chroma .sc { color: #d88200 }\n/* LiteralStringDelimiter */ .chroma .dl { color: #d88200 }\n/* LiteralStringDoc */ .chroma .sd { color: #d88200 }\n/* LiteralStringDouble */ .chroma .s2 { color: #d88200 }\n/* LiteralStringEscape */ .chroma .se { color: #8045ff }\n/* LiteralStringHeredoc */ .chroma .sh { color: #d88200 }\n/* LiteralStringInterpol */ .chroma .si { color: #d88200 }\n/* LiteralStringOther */ .chroma .sx { color: #d88200 }\n/* LiteralStringRegex */ .chroma .sr { color: #d88200 }\n/* LiteralStringSingle */ .chroma .s1 { color: #d88200 }\n/* LiteralStringSymbol */ .chroma .ss { color: #d88200 }\n/* LiteralNumber */ .chroma .m { color: #ae81ff }\n/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }\n/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }\n/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }\n/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }\n/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }\n/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }\n/* Operator */ .chroma .o { color: #f92672 }\n/* OperatorWord */ .chroma .ow { color: #f92672 }\n/* Punctuation */ .chroma .p { color: #111111 }\n/* Comment */ .chroma .c { color: #75715e }\n/* CommentHashbang */ .chroma .ch { color: #75715e }\n/* CommentMultiline */ .chroma .cm { color: #75715e }\n/* CommentSingle */ .chroma .c1 { color: #75715e }\n/* CommentSpecial */ .chroma .cs { color: #75715e }\n/* CommentPreproc */ .chroma .cp { color: #75715e }\n/* CommentPreprocFile */ .chroma .cpf { color: #75715e }\n/* Generic */ .chroma .g {  }\n/* GenericDeleted */ .chroma .gd {  }\n/* GenericEmph */ .chroma .ge { font-style: italic }\n/* GenericError */ .chroma .gr {  }\n/* GenericHeading */ .chroma .gh {  }\n/* GenericInserted */ .chroma .gi {  }\n/* GenericOutput */ .chroma .go {  }\n/* GenericPrompt */ .chroma .gp {  }\n/* GenericStrong */ .chroma .gs { font-weight: bold }\n/* GenericSubheading */ .chroma .gu {  }\n/* GenericTraceback */ .chroma .gt {  }\n/* GenericUnderline */ .chroma .gl {  }\n/* TextWhitespace */ .chroma .w {  }\n"
  },
  {
    "path": "tailwind.config.js",
    "content": "/* eslint-disable @typescript-eslint/no-var-requires */\nmodule.exports = {\n    content: [\n        './layouts/**/*.html',\n        './content/**/*.md',\n        './content/**/*.html',\n        './src/**/*.ts',\n        './src/**/*.js',\n    ],\n    darkMode: 'class',\n    theme: {\n        extend: {\n            // sidebar mobile fix\n            maxWidth: {\n                '2xs': '16rem',\n                '8xl': '90rem',\n            },\n            fontFamily: {\n                sans: [\n                    'Inter',\n                    'ui-sans-serif',\n                    'system-ui',\n                    '-apple-system',\n                    'system-ui',\n                    'Segoe UI',\n                    'Roboto',\n                    'Helvetica Neue',\n                    'Arial',\n                    'Noto Sans',\n                    'sans-serif',\n                    'Apple Color Emoji',\n                    'Segoe UI Emoji',\n                    'Segoe UI Symbol',\n                    'Noto Color Emoji',\n                ],\n                body: [\n                    'Inter',\n                    'ui-sans-serif',\n                    'system-ui',\n                    '-apple-system',\n                    'system-ui',\n                    'Segoe UI',\n                    'Roboto',\n                    'Helvetica Neue',\n                    'Arial',\n                    'Noto Sans',\n                    'sans-serif',\n                    'Apple Color Emoji',\n                    'Segoe UI Emoji',\n                    'Segoe UI Symbol',\n                    'Noto Color Emoji',\n                ],\n                mono: [\n                    'ui-monospace',\n                    'SFMono-Regular',\n                    'Menlo',\n                    'Monaco',\n                    'Consolas',\n                    'Liberation Mono',\n                    'Courier New',\n                    'monospace',\n                ],\n            },\n            fontSize: {\n                '2xs': '0.625rem',\n            },\n        },\n    },\n    variants: {\n        extend: {\n            backgroundColor: ['active'],\n        },\n    },\n    plugins: [\n        require('./plugin')({\n            charts: true,\n            forms: true,\n            tooltips: true,\n            datatables: true,\n            wysiwyg: true,\n        }),\n        require('flowbite-typography'),\n    ],\n};\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n    \"compilerOptions\": {\n        \"lib\": [\"dom\", \"es2015\"],\n        \"outDir\": \"./lib/cjs/\",\n        \"rootDir\": \"./src/\",\n        \"sourceMap\": true,\n        \"declaration\": true,\n        \"declarationMap\": true,\n        \"noImplicitAny\": true,\n        \"module\": \"commonjs\",\n        \"target\": \"es5\",\n        \"jsx\": \"react\",\n        \"allowJs\": true,\n        \"moduleResolution\": \"node\"\n    },\n    \"include\": [\"src/**/*.ts\", \"src/**/*.d.ts\", \"src/types/**/*.d.ts\"],\n    \"exclude\": [\"node_modules\", \"dist\", \"lib\"],\n    \"typeRoots\": [\"./node_modules/@types\", \"./src\"]\n}"
  },
  {
    "path": "webpack.config.js",
    "content": "/* eslint-disable @typescript-eslint/no-var-requires */\nconst MiniCssExtractPlugin = require('mini-css-extract-plugin');\nconst CssMinimizerPlugin = require('css-minimizer-webpack-plugin');\nconst TerserPlugin = require('terser-webpack-plugin');\nconst { SourceMapDevToolPlugin } = require('webpack');\nconst path = require('path');\n\nmodule.exports = {\n    entry: {\n        flowbite: path.resolve(__dirname, 'src/index.umd.ts'),\n        'flowbite.min': path.resolve(__dirname, 'src/index.umd.ts'),\n        'flowbite.turbo': path.resolve(__dirname, 'src/index.turbo.ts'),\n        'flowbite.turbo.min': path.resolve(__dirname, 'src/index.turbo.ts'),\n        'flowbite.phoenix': path.resolve(__dirname, 'src/index.phoenix.ts'),\n        'flowbite.phoenix.min': path.resolve(__dirname, 'src/index.phoenix.ts'),\n        docs: path.resolve(__dirname, 'src/docs.js'),\n    },\n    devtool: 'inline-source-map',\n    output: {\n        filename: '[name].js',\n        libraryTarget: 'umd',\n        library: 'Flowbite',\n        umdNamedDefine: true,\n        path: path.resolve(__dirname, 'static/'),\n    },\n    module: {\n        rules: [\n            {\n                test: /\\.js$/,\n                enforce: 'pre',\n                use: ['source-map-loader'],\n            },\n            {\n                test: /\\.js$/,\n                exclude: /node_modules/,\n                use: {\n                    loader: 'babel-loader',\n                    options: {\n                        presets: ['@babel/preset-env'],\n                    },\n                },\n            },\n            {\n                test: /\\.css$/,\n                use: [MiniCssExtractPlugin.loader, 'css-loader'],\n            },\n            {\n                test: /\\.(png|jpg|gif|svg)$/,\n                loader: 'file-loader',\n                options: {\n                    outputPath: 'static/images/',\n                },\n            },\n            {\n                test: /\\.(ttf|eot|svg|gif|woff|woff2)(\\?v=[0-9]\\.[0-9]\\.[0-9])?$/,\n                use: [\n                    {\n                        loader: 'file-loader',\n                    },\n                ],\n            },\n            {\n                test: /\\.ts$/,\n                use: [\n                    {\n                        loader: 'ts-loader',\n                        options: {\n                            transpileOnly: true,\n                        },\n                    },\n                ],\n            },\n        ],\n    },\n    resolve: {\n        extensions: ['.tsx', '.ts', '.js', '.jsx', '.css'],\n    },\n    plugins: [\n        new MiniCssExtractPlugin(),\n        new SourceMapDevToolPlugin({\n            filename: '[file].map',\n        }),\n    ],\n    optimization: {\n        minimize: true,\n        minimizer: [\n            // For webpack@5 you can use the `...` syntax to extend existing minimizers (i.e. `terser-webpack-plugin`), uncomment the next line\n            // `...`,\n            new CssMinimizerPlugin(),\n            new TerserPlugin({\n                include: /\\.min\\.(css|js)$/,\n                extractComments: false,\n                terserOptions: {\n                    format: {\n                        comments: false,\n                    },\n                },\n            }),\n        ],\n    },\n    target: ['web', 'es5'],\n    experiments: {\n        topLevelAwait: true,\n    },\n};\n"
  }
]