# element | 饿了么前端 | Knowledge Base | Instagit

A Vue.js 2.0 UI Toolkit for Web

GitHub Stars: 54.2k

Repository: https://github.com/ElemeFE/element

---

## Articles

### [How to Optimize Performance with Large Datasets Using Virtual Scrolling in Element UI Table](/ElemeFE/element/how-to-optimize-performance-with-large-datasets-using-virtual-scrolling-in-table)

Optimize Element UI Table performance with large datasets using virtual scrolling. Learn how to slice your data array and render only visible rows to dramatically improve load times and user experience.

- Tags: performance
- Published: 2026-03-07

### [How to Create Custom Components That Integrate with Element UI Patterns](/ElemeFE/element/how-to-create-custom-components-that-integrate-with-element-ui-patterns)

Learn to create custom Vue components that integrate seamlessly with Element UI patterns. Extend ElementUIComponent, implement install, and use BEM for consistent design and functionality.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Migrate from Element UI to Element Plus for Vue 3 Compatibility](/ElemeFE/element/how-to-migrate-from-element-ui-to-element-plus-for-vue-3-compatibility)

Migrate from Element UI to Element Plus for Vue 3 compatibility. Learn to replace packages, update APIs, and adjust CSS imports for a seamless transition.

- Tags: migration-guide
- Published: 2026-03-07

### [How to Register Element UI Components Globally vs Locally for Optimal Bundle Size](/ElemeFE/element/how-to-register-components-globally-vs-locally-for-optimal-bundle-size)

Optimize your Element UI bundle size by registering components globally or locally. Learn how to import only needed modules with Vue.use() or the components option.

- Tags: performance
- Published: 2026-03-07

### [How to Ensure Accessibility Compliance Using ARIA Utilities in Element UI](/ElemeFE/element/how-to-ensure-accessibility-compliance-using-aria-utilities-in-src-utils-aria)

Learn how Element UI ARIA utilities in src/utils/aria-* manage focus and ensure WCAG compliance for accessible web applications. Improve your UI accessibility today.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Implement Drag-and-Drop Functionality with the Element UI Transfer Component](/ElemeFE/element/how-to-implement-drag-and-drop-functionality-with-transfer-component)

Learn to implement drag-and-drop with Element UI Transfer. Extend the component using draggable.js to sync items between panels and enhance user experience.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Use Collapse and Tabs in Element UI for Collapsible Content and Tabbed Navigation](/ElemeFE/element/how-to-use-collapse-and-tabs-for-collapsible-content-and-tabbed-navigation)

Learn how to use Element UI Collapse and Tabs for collapsible content and tabbed navigation. Master v-model binding and event emissions with Vue for dynamic UIs.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Create Custom Tooltips and Popovers Using Element UI Components](/ElemeFE/element/how-to-create-custom-tooltips-and-popovers-using-tooltip-and-popover-components)

Learn to create custom tooltips and popovers in Element UI using the popper mixin, popperClass prop, and v-model bindings for custom styling and control.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Use Element UI Select and Option Components with Remote Data and Filtering](/ElemeFE/element/how-to-use-select-and-option-components-with-remote-data-and-filtering)

Learn how to use Element UI Select with remote data and filtering. Implement the remote prop and a custom remote method to fetch options dynamically and enhance user experience.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Show Loading States with Loading.directive and Loading.service in Element UI](/ElemeFE/element/how-to-show-loading-states-with-loading-directive-and-loading-service)

Master Element UI loading states using v-loading directive and Loading.service. Learn declarative and imperative control for better user experience.

- Tags: how-to-guide
- Published: 2026-03-07

### [Component Communication in Element UI Using the Emitter Mixin: Dispatch and Broadcast Explained](/ElemeFE/element/how-component-communication-works-using-the-emitter-mixin-dispatch-and-broadcast)

Master Element UI component communication with the emitter mixin. Learn how dispatch and broadcast efficiently manage parent-child interactions without a global event bus.

- Tags: internals
- Published: 2026-03-07

### [How to Implement Date and Time Selection with DatePicker and TimePicker in Element UI](/ElemeFE/element/how-to-implement-date-and-time-selection-with-datepicker-and-timepicker-components)

Master date and time selection in Element UI. Learn to implement ElDatePicker and ElTimePicker for single values, ranges, and combined inputs with their dynamic panel selection.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Use the Element UI Cascader Component for Multi-Level Selection and Data Filtering](/ElemeFE/element/how-to-use-cascader-component-for-multi-level-selection-and-data-filtering)

Master the Element UI Cascader for advanced multi-level selection and data filtering. Learn to configure props for dynamic loading, tags, and more to enhance your app's UI.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Implement Infinite Scroll for Large Datasets Using the v-infinite-scroll Directive](/ElemeFE/element/how-to-implement-infinite-scroll-for-large-datasets-using-infinitescroll-directive)

Effortlessly implement infinite scroll for large datasets with the Element UI v-infinite-scroll directive. Load more content seamlessly as users scroll, enhancing user experience and performance.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Display Toast Messages and Notifications Using `$message` and `$notify` in Element UI](/ElemeFE/element/how-to-display-toast-messages-and-notifications-using-message-and-notify)

Learn to display toast messages using $message and $notify in Element UI. Access global methods from any Vue component for toasts and system notifications.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Manage Dialog Visibility and Communication Between Parent and Child Components in Element UI](/ElemeFE/element/how-to-manage-dialog-visibility-and-communication-between-parent-child-components)

Master Element UI dialogs with parent child component communication. Learn to manage ElDialog visibility using .sync modifiers and emitter methods.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Handle File Uploads with Progress Tracking and Custom Upload Behavior in Element UI](/ElemeFE/element/how-to-handle-file-uploads-with-progress-tracking-and-custom-upload-behavior)

Master Element UI file uploads with progress tracking and custom behavior. Learn to leverage XHR requests, hooks, and the httpRequest prop for complete control.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Work with the Element UI Tree Component for Hierarchical Data Display and Operations](/ElemeFE/element/how-to-work-with-tree-component-for-hierarchical-data-display-and-operations)

Master the Element UI Tree component for displaying hierarchical data. Learn about lazy loading, checkboxes, drag-and-drop, and programmatic control for efficient data management.

- Tags: how-to-guide
- Published: 2026-03-07

### [Element UI Table Sorting, Filtering, and Pagination: A Complete Implementation Guide](/ElemeFE/element/how-to-use-advanced-table-features-like-sorting-filtering-and-pagination)

Master Element UI table sorting filtering and pagination. Learn how to implement these advanced features for efficient data management in your application.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Validate Forms with Custom Validation Rules in Element UI](/ElemeFE/element/how-to-validate-forms-with-custom-validation-rules-in-form-and-formitem-components)

Learn to validate forms with custom validation rules in Element UI. Use the rules prop on el-form and el-form-item for powerful form validation.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Customize Element UI Themes Using Theme-Chalk: 4 Methods Explained](/ElemeFE/element/how-to-customize-element-ui-themes-using-theme-chalk)

Customize Element UI themes using theme-chalk with 4 methods: SCSS variables, CLI tool, Theme Roller, or babel-plugin-component. Style your UI efficiently.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Implement Internationalization with Multiple Language Support Using locale.use and locale.i18n in Element UI](/ElemeFE/element/how-to-implement-internationalization-with-multiple-language-support-using-locale-use-and-locale-i18n)

Learn to implement multi-language support in Element UI using locale.use for runtime switching and locale.i18n for custom translation handlers like vue-i18n. Enhance your app's global reach.

- Tags: how-to-guide
- Published: 2026-03-07

### [How to Configure Global Settings in Element UI Using $ELEMENT](/ElemeFE/element/how-to-configure-global-settings-like-component-size-and-z-index-using-element)

Configure Element UI global settings like size and z-index by defining $ELEMENT on Vue prototype. Learn how to customize components easily and efficiently.

- Tags: how-to-guide
- Published: 2026-03-07

