{
 "slug": "tw-elements",
 "name": "TW Elements",
 "author": "MDB (mdbootstrap)",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "Tailwind CSS UI kit with components and 'design blocks' (hero, CTA, features, FAQ, contact, headers); free package MIT, Pro paid.",
 "category": {
  "slug": "ui-sections",
  "name": "Website sections and blocks"
 },
 "tags": [
  "Code library"
 ],
 "styles": [
  "minimal",
  "corporate"
 ],
 "logo_url": "https://agentgid.com/media/avatars/mdbootstrap.png",
 "logo_letter": "T",
 "links": {
  "repo": "https://github.com/mdbootstrap/TW-Elements",
  "website": "https://tw-elements.com",
  "api_docs": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/tw-elements/demo.jpg",
  "alt": "Color buttons, a text field, tabs, a question list with the first answer open, and a plan card, from docs examples rendered with the free package files only.",
  "caption": "Made by AgentGid with tw-elements 2.0.0 (npm, free package; its ready-made CSS and UMD script). The free package is MIT licensed (License.txt in the package and the license page); the texts in the picture are our own."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free tier",
   "status": "info",
   "sub": null,
   "quote": null,
   "note": "Free package MIT; Pro components/blocks paid (which blocks are free not checked).",
   "source": {
    "label": "tw-elements.com/pro",
    "url": "https://tw-elements.com/pro/"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "With conditions",
   "status": "cond",
   "sub": "MIT",
   "quote": "In order to use TWE in your commercial projects without limitations, you need to purchase a commercial license",
   "note": "The free MIT package is free for commercial use; the pricing page's FAQ reads stricter, see know.",
   "source": {
    "label": "tw-elements.com/pro",
    "url": "https://tw-elements.com/pro/"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "No attribution required",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "tw-elements.com/license",
    "url": "https://tw-elements.com/license/"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install tw-elements. No key or account is needed.",
   "source": {
    "label": "github.com/mdbootstrap/TW-Elements",
    "url": "https://github.com/mdbootstrap/TW-Elements"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT (free package)",
  "url": "https://tw-elements.com/license/",
  "summary": "The free package is MIT licensed, free for personal and paid projects, with no credit needed. The paid Pro version has its own license, which forbids sharing its code or putting it in public open-source projects.",
  "pages_read": 2,
  "rules": [
   "Keep the MIT copyright notice in the code if you redistribute it.",
   "No visible credit on the site is required by the licence.",
   "Check MDB's commercial terms before shipping a commercial product on the free package (the license page and Pro FAQ disagree)."
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "With conditions",
    "status": "cond",
    "quote": "In order to use TWE in your commercial projects without limitations, you need to purchase a commercial license",
    "source": {
     "label": "tw-elements.com/pro",
     "url": "https://tw-elements.com/pro/"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "No attribution required",
    "source": {
     "label": "tw-elements.com/license",
     "url": "https://tw-elements.com/license/"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "Free packages are available under the MIT License.",
    "source": {
     "label": "tw-elements.com/license",
     "url": "https://tw-elements.com/license/"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "Allowed",
    "status": "yes",
    "quote": "Free packages are available under the MIT License.",
    "source": {
     "label": "tw-elements.com/license",
     "url": "https://tw-elements.com/license/"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-09",
  "commercial_use_page": "https://agentgid.com/assets/tw-elements/commercial-use/"
 },
 "overview": {
  "heading": "TW Elements: Tailwind buttons, tabs and pop-ups",
  "body": "TW Elements is a set of ready page parts for sites styled with Tailwind CSS, such as buttons, question lists, tabs, menus, form fields and pop-up windows. A small script makes them open and close. The free package is MIT licensed. A paid Pro version adds more parts and page sections."
 },
 "uses": [
  {
   "title": "Question list on a landing page",
   "text": "Add questions whose answers fold open on click, with the first one open. It suits pricing pages and long contact forms.",
   "idea": false,
   "image": null
  },
  {
   "title": "Tabs on an account page",
   "text": "Split a settings or profile page into tabs such as Profile, Messages and Billing, so only one part shows at a time.",
   "idea": false,
   "image": null
  },
  {
   "title": "Pop-up windows in a bundled app",
   "text": "Show a confirm or sign-up window over the page. In an app built with a bundler, you load only the parts you use.",
   "idea": false,
   "image": null
  },
  {
   "title": "Sign-up and contact forms",
   "text": "Build forms with text, email and number fields whose labels sit inside the field and move up when the visitor types.",
   "idea": false,
   "image": null
  },
  {
   "title": "Ready page sections to start from",
   "text": "Browse hero, pricing, FAQ and contact sections as pictures, then open their code in the TW Elements online editor.",
   "idea": false,
   "image": null
  },
  {
   "title": "Admin pages in Django or Laravel",
   "text": "Give server-made admin pages buttons, tabs and pop-ups that work from attributes in the HTML, without writing scripts.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "Install tw-elements 2.0.0 (the free MIT package) in this Tailwind v3 project, add its plugin and the node_modules/tw-elements/js path to tailwind.config.js, load js/tw-elements.umd.min.js, and build the FAQ list and the settings tabs from free components only.",
  "install": "npm install tw-elements",
  "install_note": "In a project with Node.js and Tailwind CSS (set up with a tailwind.config.js file), install the free package.",
  "code": [
   {
    "tab": "Step 1",
    "intro": "Add the plugin and the package's script folder to tailwind.config.js.",
    "source": "module.exports = {\n  content: [\"./src/**/*.{html,js}\", \"./node_modules/tw-elements/js/**/*.js\"],\n  plugins: [require(\"tw-elements/plugin.cjs\")],\n  darkMode: \"class\",\n};"
   },
   {
    "tab": "Step 2",
    "intro": "Load the script before the end of the page, then copy component HTML from the docs.",
    "source": "<script src=\"./TW-ELEMENTS-PATH/js/tw-elements.umd.min.js\"></script>"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "<script src=\"../node_modules/tw-elements/dist/js/tw-elements.umd.min.js\"></script> (path from the quick start page)",
   "fix": "<script src=\"../node_modules/tw-elements/js/tw-elements.umd.min.js\"></script>",
   "why": "In version 2.0.0 the scripts are in js/ at the package root; there is no dist folder, so the docs path gives a missing file.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "import { Datepicker, Chart } from \"tw-elements\"",
   "fix": "Use only the free exports (Button, Carousel, Collapse, Dropdown, Input, Modal, Offcanvas, Popover, Ripple, ScrollSpy, Tab, Tooltip) or a separate date picker or chart library",
   "why": "The free 2.0.0 package does not contain them, although their docs pages say free download.",
   "dont_code": true,
   "fix_code": false
  },
  {
   "dont": "Linking only css/tw-elements.min.css and writing your own Tailwind classes next to the components",
   "fix": "Run Tailwind with the plugin and the node_modules/tw-elements/js content path, so your own classes are built too",
   "why": "The ready-made CSS holds only the classes the components use; in our demo grid, gap-5 and p-5 had no effect.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Importing from \"tw-elements\" in a bundled app and expecting the data-twe-* attributes to work by themselves",
   "fix": "Call initTWE with every component the page uses, for example initTWE({ Collapse, Modal, Ripple })",
   "why": "Only the UMD script starts components automatically; the ES build needs initTWE.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "npm install -g mdb-cli, then mdb login",
   "fix": "npm install tw-elements inside the project",
   "why": "The MDB CLI route installs a global tool and needs an MDB account; the plain package needs neither.",
   "dont_code": true,
   "fix_code": true
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install tw-elements",
  "repo": "https://github.com/mdbootstrap/TW-Elements",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npm install tw-elements, then copy block HTML from tw-elements.com docs; no account for free parts.",
  "formats": [
   "html"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "UI components: TW Elements (MIT)",
  "rules_text": "- TW Elements (Website sections and blocks, UI kits and website templates). Tailwind CSS UI kit with components and 'design blocks' (hero, CTA, features, FAQ, contact, headers); free package MIT, Pro paid. Price: free tier; commercial use with conditions; no credit needed. Style: minimal, corporate.\n  Connect: npm tw-elements.\n  Get files: npm install tw-elements, then copy block HTML from tw-elements.com docs; no account for free parts (html).\n  Not allowed: Some blocks/components are Pro only\n  Rule: Keep the MIT copyright notice in the code if you redistribute it.\n  Rule: No visible credit on the site is required by the licence.\n  Rule: Check MDB's commercial terms before shipping a commercial product on the free package (the license page and Pro FAQ disagree).\n  License: https://tw-elements.com/license/ (checked 2026-11-09; details: https://agentgid.com/assets/tw-elements/)",
  "agent_md": "https://agentgid.com/assets/tw-elements/agent.md",
  "card_json": "https://agentgid.com/assets/tw-elements/card.json"
 },
 "popularity": {
  "gid_score": 38,
  "stars": 13196,
  "downloads_7d": 25791,
  "downloads_7d_label": "25.8K",
  "downloads_change_4w_pct": 3.8,
  "eco": "npm",
  "package": "tw-elements",
  "repo": "mdbootstrap/TW-Elements",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-17",
     28799
    ],
    [
     "2025-11-24",
     23512
    ],
    [
     "2025-12-01",
     27105
    ],
    [
     "2025-12-08",
     26508
    ],
    [
     "2025-12-15",
     28080
    ],
    [
     "2025-12-22",
     12014
    ],
    [
     "2025-12-29",
     12039
    ],
    [
     "2026-01-05",
     23242
    ],
    [
     "2026-01-12",
     24865
    ],
    [
     "2026-01-19",
     22526
    ],
    [
     "2026-01-26",
     21851
    ],
    [
     "2026-02-02",
     24311
    ],
    [
     "2026-02-09",
     24220
    ],
    [
     "2026-02-16",
     22737
    ],
    [
     "2026-02-23",
     28766
    ],
    [
     "2026-03-02",
     26977
    ],
    [
     "2026-03-09",
     25167
    ],
    [
     "2026-03-16",
     29326
    ],
    [
     "2026-03-23",
     27089
    ],
    [
     "2026-03-30",
     27177
    ],
    [
     "2026-04-06",
     31085
    ],
    [
     "2026-04-13",
     30826
    ],
    [
     "2026-04-20",
     26499
    ],
    [
     "2026-04-27",
     27849
    ],
    [
     "2026-05-04",
     26334
    ],
    [
     "2026-05-11",
     36964
    ],
    [
     "2026-05-18",
     29363
    ],
    [
     "2026-05-25",
     26988
    ],
    [
     "2026-06-01",
     29839
    ],
    [
     "2026-06-08",
     33462
    ],
    [
     "2026-06-15",
     34724
    ],
    [
     "2026-06-22",
     31581
    ],
    [
     "2026-06-29",
     39060
    ],
    [
     "2026-07-06",
     35594
    ],
    [
     "2026-07-13",
     33461
    ],
    [
     "2026-07-20",
     36501
    ],
    [
     "2026-07-27",
     32468
    ],
    [
     "2026-08-03",
     30665
    ],
    [
     "2026-08-10",
     32582
    ],
    [
     "2026-08-17",
     31018
    ],
    [
     "2026-08-24",
     28357
    ],
    [
     "2026-08-31",
     30214
    ],
    [
     "2026-09-07",
     18941
    ],
    [
     "2026-09-14",
     28983
    ],
    [
     "2026-09-21",
     32217
    ],
    [
     "2026-09-28",
     32902
    ],
    [
     "2026-10-05",
     22968
    ],
    [
     "2026-10-12",
     18184
    ],
    [
     "2026-10-19",
     19248
    ],
    [
     "2026-10-26",
     31062
    ],
    [
     "2026-11-02",
     34231
    ],
    [
     "2026-11-09",
     25791
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     13190
    ],
    [
     "2026-11-08",
     13190
    ],
    [
     "2026-11-09",
     13191
    ],
    [
     "2026-11-10",
     13191
    ],
    [
     "2026-11-11",
     13192
    ],
    [
     "2026-11-12",
     13193
    ],
    [
     "2026-11-13",
     13193
    ],
    [
     "2026-11-14",
     13194
    ],
    [
     "2026-11-15",
     13194
    ],
    [
     "2026-11-16",
     13194
    ],
    [
     "2026-11-17",
     13196
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-17"
 },
 "alternatives": [
  {
   "slug": "tw-elements",
   "name": "TW Elements",
   "why": null,
   "current": true,
   "price": "Free tier",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "npm"
  },
  {
   "slug": "tailblocks",
   "name": "Tailblocks",
   "why": "Pick Tailblocks for free MIT page sections you copy as HTML, with no script or package to install.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "uiverse",
   "name": "Uiverse",
   "why": "Pick Uiverse for small community-made buttons, cards, loaders and toggles in HTML and Tailwind, all MIT.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "bootstrap-examples",
   "name": "Bootstrap Examples",
   "why": "Pick the official Bootstrap examples if your site uses Bootstrap rather than Tailwind CSS.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "float-ui",
   "name": "Float UI",
   "why": "Free Tailwind CSS components and sections (heroes, pricing, CTA, footers, navbars) plus a few templates, with code for HTML, React, Vue and Svelte.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  },
  {
   "slug": "tailark",
   "name": "Tailark (open-source blocks)",
   "why": "shadcn/ui marketing blocks (hero, features, pricing, testimonials, footer, logo cloud) for Next.js; the free blocks are MIT on GitHub, premium blocks and pages are paid.",
   "current": false,
   "price": "Free tier",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "Download"
  }
 ],
 "faq": [
  {
   "q": "Is TW Elements free?",
   "a": "The free package is, under the MIT license, for personal and commercial use with no credit required. Pro components and design blocks are paid."
  },
  {
   "q": "Do I need to credit TW Elements on my site?",
   "a": "No. The license page lists no attribution required for the free package and for Pro."
  },
  {
   "q": "Can I try it without installing anything?",
   "a": "Yes, with the ready files from a public file server, but that loads files from outside servers on every visit."
  },
  {
   "q": "Can a client reuse a Pro site's files for another site?",
   "a": "No. Under the Pro license the client may use the site you built, but not the Pro files on their own."
  }
 ],
 "at_a_glance": {
  "latest_version": "2.0.0",
  "last_release": "2024-03-04",
  "last_commit": "2026-03-27",
  "runtime": "Tailwind CSS with a tailwind.config.js plugin setup (the ready-made CSS was built with tailwindcss v3.3.0); Node.js for the npm install. The package declares no peer dependencies.",
  "key_needed": false,
  "formats": "html"
 },
 "good_to_know": [
  "TW Elements is set up as a plugin in a tailwind.config.js file, the Tailwind version 3 way. Projects on Tailwind version 4 need extra setup.",
  "The free package holds twelve interactive parts, such as buttons, menus, accordions, carousels, pop-ups, tabs, tooltips and inputs. The date picker and charts from the docs are not in it.",
  "The newest package, version 2.0.0, came out in March 2024, and no newer version has been published since.",
  "The pricing page says commercial use without limits needs a paid license, while the license page calls the free package free for commercial use. Ask the vendor if this matters to you.",
  "Pro is a yearly subscription with project limits by tier. Its license also bans building competing kits, templates or page builders with it."
 ],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-09",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-17",
  "sources": [
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/"
   },
   {
    "label": "tw-elements.com/license",
    "url": "https://tw-elements.com/license/"
   },
   {
    "label": "tw-elements.com/pro",
    "url": "https://tw-elements.com/pro/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/getting-started/quick-start/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/components/accordion/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/components/buttons/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/components/cards/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/components/modal/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/components/alerts/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/navigation/tabs/"
   },
   {
    "label": "tw-elements.com/docs/standard/forms/inputs",
    "url": "https://tw-elements.com/docs/standard/forms/inputs/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/forms/datepicker/"
   },
   {
    "label": "tw-elements.com/docs/standard/data/charts",
    "url": "https://tw-elements.com/docs/standard/data/charts/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/designblocks/hero-sections/"
   },
   {
    "label": "tw-elements.com",
    "url": "https://tw-elements.com/docs/standard/designblocks/pricing/"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/mdbootstrap/TW-Elements/blob/master/README.md"
   },
   {
    "label": "github.com/mdbootstrap/TW-Elements/blob/master/src/js/tw-elements.free.es.js",
    "url": "https://github.com/mdbootstrap/TW-Elements/blob/master/src/js/tw-elements.free.es.js"
   },
   {
    "label": "npm: tw-elements",
    "url": "https://registry.npmjs.org/tw-elements"
   },
   {
    "label": "npm: tw-elements/2.0.0",
    "url": "https://registry.npmjs.org/tw-elements/2.0.0"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/tw-elements/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
