jquery-ui-pack
v1.14.2
Published
A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.
Maintainers
Readme
jquery-ui-pack
A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.
This package provides dual distribution: UMD/CommonJS and modern ES Modules (ESM).
Installation
npm install jquery-ui-packPeer dependency:
You must install jQuery separately.
npm install jqueryUsage
ES Module
import $ from "jquery";
import "jquery-ui-pack";
import "jquery-ui-pack/jquery-ui.css";CommonJS / UMD
const $ = require("jquery");
require("jquery-ui-pack");
require("jquery-ui-pack/jquery-ui.css");Using Themes
The default jQuery UI theme is included in this package.
To style widgets correctly, you must include:
jquery-ui.structure.css– provides the core structural styles.jquery-ui.theme.css– the default theme (or replace with another theme file if desired).
Assets
Images used by the CSS (icons, themes) are available under:
import icon from "jquery-ui-pack/images/ui-icons.png";Features
- Interactions (Draggable, Droppable, Resizable, Selectable, Sortable)
- Widgets (Accordion, Autocomplete, Datepicker, Dialog, Progressbar, Slider, Tabs, Tooltip)
- Effects (Show/Hide, Animate, Class transitions)
- Themes with bundled images/icons
Versioning
This package is based on jQuery UI version 1.14.2 but distributed as ESM + UMD.
License
MIT License © jQuery Foundation and contributors
