Open-source Tailwind CSS UI component library for building modern websites and apps
source availableMIT AND Preline UI Fair Use Licenseself-hostablefree
Preline UI is a library of Tailwind CSS components (buttons, forms, navbars, tables and hundreds more), page blocks and templates in plain HTML, with 27 headless JavaScript plugins for the interactive parts: dropdowns, overlays, tabs, accordions, tree views, an advanced select, combobox, datepicker, range slider, data tables and a carousel. You install the preline npm package, import its variants and a theme into your Tailwind CSS file and load its script, and framework guides cover React, Vue, Next.js, Laravel, Django and others; themes, a Figma design system and agent skills come with it. The code is under MIT together with the Preline UI Fair Use License, which forbids using it to build a competing product. Preline Labs sells Preline Pro, a lifetime licence to the full block catalogue, premium templates, AI prompts and animated icons, with access to its hosted Preline MCP service.
Problems it solves
- I want ready-made Tailwind CSS sections and components I can paste into a landing page
- interactive Tailwind components like dropdowns, modals and tabs that work without React
- an accessible datepicker, advanced select and range slider that match my Tailwind styles
- a data table with sorting and search for a Tailwind dashboard without a heavy grid library
- apply my brand's colours and fonts across every component with a theme
- use the same component markup in a Laravel, Django or Rails app as in a React or Vue one
- a Figma design system that matches the Tailwind components my developers use
- let my coding agent build pages from a real component library's source instead of inventing markup
Features
- 640+ free Tailwind CSS components and around 200 free blocks and sections
- 27 headless JavaScript plugins: dropdown, overlay, tooltip, tabs, accordion, tree view, stepper, scrollspy and more
- form plugins: advanced select, combobox, datepicker, range slider, file upload, PIN input, strong password
- data table, carousel, layout splitter and theme switch plugins
- themes for brand colours, fonts and styles across components
- free templates and a free Figma design system
- framework guides for React, Vue, Next.js, Laravel, Ruby, Django and more
- accessible components with keyboard support and focus management
- agent skills for coding agents (npx skills add htmlstreamofficial/preline)
Alternatives
The same job
These do what Preline UI does.
- Flowbite Build websites even faster with components on top of Tailwind CSS
- Tailwind Plus Components, templates and UI kits from the makers of Tailwind CSS
- shadcn/ui The Foundation for your Design System
- daisyUI The most popular, free and open-source component library for Tailwind CSS
- Aceternity UI The React component library for beautiful landing pages
- Magic UI UI library for design engineers: animated components and effects you can copy and paste into your apps