X.naive UI

screenshot of X.naive UI
vite
vue

一个对 Naive-UI 组件库的扩展,使 DataTable/Dropdown/Menu/Select/Tree 等组件支持插槽模板式的写法。An extension to Naive-UI component library, that enables slots and template style API for DataTable/Dropdown/Menu/Select/Tree.

Overview

Naive-UI is a popular Vue 3 component library designed with a focus on maintainability. It offers a wide range of components tailored for various needs in modern web applications. Although the official team has chosen not to support Slot or Template-style writing for several components like DataTable, Dropdown, and Menu, a new project aims to provide effective solutions to these limitations, aligning closely with the existing Naive-UI API.

This project enhances existing components by adding necessary support for slots, enabling developers to create more customizable and flexible applications. With its recent updates, it presents an ideal choice for developers looking to integrate well-structured components with comprehensive TypeScript support.

Features

  • Enhanced DataTable Support: Offers column header, cell, and expanded row scope slot writing support, making it more versatile for complex data presentations.

  • Template Writing for DataTable: Allows the definition of columns and summary props directly in the template, simplifying the setup process for tables.

  • Dropdown Customization: Enables scoped slots for menu items and icons, along with template capabilities for menu item groups, facilitating dynamic user interfaces.

  • Menu Flexibility: Supports both template style and scoped slot writing for menu items, allowing for advanced menu configurations.

  • Select Options Handling: Provides scoped slot and template support for options and option groups, making selection UI more customizable.

  • Popselect Capability: Similar to Select, Popselect allows scoped slots for its options, providing flexibility in how choices are displayed to the user.

  • Cascader and Tree Components: Both of these components support scoped slots for optional items, enhancing how hierarchical data can be presented.

  • Button Style Adjustments: Implements a unique style when only an icon is present, displaying as a square, which can help maintain a consistent UI appearance.

vite
Vite

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.