Vant is attending 2021 OSC China Open Source Project Selection , please vote for it!
Vant 2021 OSC China Open Source Project Selection {{projectVoteCount} has been obtained in, please vote for it!
2021 OSC China Open Source Project Selection It is in hot progress. Come and vote for your favorite open source project!
2021 OSC China Open Source Project Selection>>> Midfield Review
Vant won the 2021 OSC China Open Source Project Selection "The Best Popularity Project" !
Authorization Agreement MIT
development language JavaScript View source code »
operating system Cross platform
Software type Open source software
Open source organizations nothing
region domestic
deliverer Wang Lian
intended for unknown
Recording time 2017-09-29

Software Introduction

Vant is Youzan Front end Team The open source mobile component library was opened in 2016 and has been maintained for 4 years. Vant carries all core businesses of Youzan internally and serves more than 100000 developers externally. It is one of the mainstream mobile terminal component libraries in the industry.

At present, Vant officially provides Vue version and WeChat applet version And maintained by the community team React Version

characteristic

  • Excellent performance, the average volume of components is less than 1KB (min+gzip)
  • 65+high-quality components, covering mainstream scenarios on mobile terminals
  • Written using TypeScript to provide complete type definitions
  • Unit test coverage exceeds 90%, providing stability guarantee
  • Provide complete Chinese and English documents and component examples
  • Provide Sketch and Axure design resources
  • Support Vue 2, Vue 3 and WeChat applet
  • Support theme customization, built-in 700+theme variables
  • Support on-demand import and Tree Shaking
  • Support server side rendering
  • Support internationalization and language pack customization

Lightweight

As a mobile component library, Vant Light weight has always been the core development concept. In order to balance the contradiction between increasingly rich functions and lightweight, Vant uses many optimization methods internally, including supporting component loading on demand, common module reuse, component compilation process optimization, etc.

After applying a series of optimization measures Vant The average volume of the component is only 8.8KB, which is about 1KB after Uglify+Gzip.

Rich and practical business components

Vant not only provides basic UI components, but also adds many common business components in mobile malls to facilitate developers to quickly build mobile malls. Similar to address management, coupons, province, city and county selection.

Expand to read the full text

code

Gitee index of is
exceed Items for

comment

Click to join the discussion 🔥 (41) Post and join the discussion 🔥
Published information
2023/11/21 15:29

If you are a maintainer of open source projects, how can you tolerate such responses?

Background: Vant is a lightweight and customizable mobile component library, which is open sourced by Youzan team. Recently, a developer submitted an issue in Vant's GitHub repository: https://github.com/youzan/vant/issues/12453 Go straight to the topic, please read the question and answer interaction between the developer and the maintainer: Vant maintainer first replied to the issue as follows: questioner: project maintainer: questioner (ask the project maintainer whether this is a bug): project maintainer: questioner (don't get the answer you want, start being weird): project maintainer (prepare to

twenty-six
two
Published information
2022/12/12 12:03

Vant 4.0 officially released

Vant 4.0 released its official version last week. According to the announcement, this is the fourth important version of Vant since it was open source in 2017. In this iteration, Vant supported the dark mode, added five new components, improved the tool function API, and reconstructed components such as Picker, while continuing to make improvements in lightweight and ease of use. Vant is a lightweight and reliable mobile component library, which was opened in 2017. At present, Vant officially provides Vue 2, Vue 3 and WeChat applet versions, and the community team maintains the React version and Alipay applet version. Dark mode supported

four
three
Published information
2020/12/23 14:29

Vant 3.0 officially released: Embrace Vue 3

After eight months of development, Vant 3.0 has been officially released. Officially, in this iteration, its main work is to reconstruct the entire code warehouse and surrounding ecology based on Vue 3, and release Vant 3.0, Vant Cli 3.0 and Vant Use 1.0. The specific updates are as follows: Fully embracing Vue 3, Vue 3 has brought many new features, such as Composition API, emits Option and Teleport. Vant 3.0 fully embraced the changes brought about by Vue 3, and completed the following transformation: use the Composition API to reconstruct all components and use the Composition API to rewrite all documents

fourteen
twenty-four
Published information
2020/12/01 08:24

Vant 2.11.1, mobile component library based on Vue

Vant 2.11.1 was released. Vant is a Vue based mobile component library of Youzan Open Source. Vant officially provided Vue 2, Vue 3 and WeChat applet versions, and the React version was maintained by the community team. Through Vant, you can quickly build pages with a unified style and improve development efficiency. Vant currently has more than 60 components, which are widely used in all mobile end businesses of Youzan. This update includes: Feature CheckboxGroup: toggleAll method adds skipDisabled option to skip disabled check box # 7644 DatetimePicker: supports Picker

one
nine
Published information
2019/06/14 07:21

Vant 2.0.0 release, mobile component library based on Vue 2.0

Vant 2.0.0 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build pages with a unified style and improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. This version introduces the four components most popular in the community: Image image component Skeleton skeleton screen component IndexBar, IndexAnchor index bar component DropdownMenu, DropdownItem drop-down menu component. Starting from version 2.0, all components in Vant support sample customization through the Less variable

fifteen
eighteen
Published information
2019/06/06 07:04

Vant 1.6.22 release, lightweight mobile terminal Vue component library

Vant 1.6.22 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Fix the problem that Icon does not support the transfer of local pictures Fix the problem that rendering errors occur when Area dynamically sets columns num Fix the problem that the AddressList select event triggers twice Update the log Download address: Source code (zip) Source code (tar. gz)

four
eight
Published information
2019/05/14 06:56

Vant 1.6.18 release, lightweight mobile terminal Vue component library

Vant 1.6.18 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The new version is a bug repair version, and the updated content is as follows: Remove some redundant styles from AddressEdit, fix the problem that the radio click event does not bubble, fix the problem that the checkbox click event does not bubble, fix the problem that PullRefresh has a transform style when it is still # 3258, fix Prog

four
ten
Published information
2019/05/06 06:57

Vant 1.6.17 release, lightweight mobile terminal Vue component library

Vant 1.6.17 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: improved List: new direction attribute # 3223 Cell: new title style attribute # 3233 Field: new label width attribute # 3235 Bug repair fix the problem that the card image is not centered # 3229 Fix the Icon new, question icon display is incomplete

zero
eight
Published information
2019/04/27 07:14

Vant 1.6.16 released, Youzan lightweight mobile terminal Vue component library

Vant 1.6.16 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Step: Add an active icon slot # 3193 NumberKeyboard: Add a title left slot # 3194 Icon: Update new and hot icons # 3203 Bug fix fix the problem of the offset of the rolling position of the Field on iOS12 # 3204 Fix Ro

zero
seven
Published information
2019/04/25 07:08

Vant 1.6.15 released, Youzan lightweight mobile terminal Vue component library

Vant 1.6.15 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Card: Add Multiple Less Variables # 3167 Swipe: Add Multiple Less Variables # 3169 Field: Add Multiple Less Variables # 3168 ImagePreview: Support Component Call # 3154 ImagePreview: Add Index Slot # 3157 ImageP

two
ten
Published information
2019/04/08 06:28

Vant 1.6.13 released, Youzan lightweight mobile terminal Vue component library

Vant 1.6.13 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Uploader: add name attribute # 3096 Slider: add vertical attribute # 3078 Stepper: add input width attribute # 3076 Tag: add multiple Less variables # 3087 Button: add multiple Less variables # 3093 CellGr

one
eight
Published information
2019/03/24 06:53

Vant 1.6.11 released, Youzan lightweight mobile terminal Vue component library

Vant 1.6.11 was released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Icon: Update store related icons # 3044 Radio: Add click event # 2990 Checkbox: Add click event # 2990 Button: Add hairline attribute # 3031 Button: Add touchstart attribute # 3039 Dialog: Add

zero
twelve
Published information
2019/03/06 07:03

Vant 1.6.8 released, Youzan lightweight mobile terminal Vue component library

Vant 1.6.8 was released. Vant is a mobile component library based on Vue 2.0. Through Vant, you can quickly build pages with a unified style and improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements CouponList: Style with empty optimization list # 2878 Support the use of ref attribute # 2863 Bug Fixes on functional components to fix the problem that the field label slot does not take effect # 2872 Fix the problem that the Icon new icon cannot show # 2887 Fix Ad

seven
eight
Published information
2019/02/25 07:12

Van 1.6.6 release, lightweight mobile terminal Vue component library

Van t 1.6.6 has been released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build pages with a unified style and improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Button: new info type # 2831 Picker: new title slot # 2811 Tab: new lazy render attribute # 2800 Tab: new nav left and nav right slots # 2828 PasswordInput: new mask attribute # 2796 St

four
eleven
Published information
2019/02/11 07:10

Van 1.6.2 release, lightweight mobile terminal Vue component library

Van t 1.6.2 has been released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build pages with a unified style and improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. The updated content of the new version is as follows: Improvements Tag: Add click event # 2693 Swipe: Add click event # 2690 NoticeBar: Add close event # 2692 PullRefresh: Add success text, success duration attribute # 2709 Optimize slot configuration for Vue 2.6

two
thirteen
Published information
2019/02/06 07:10

Van 1.6.1 release, lightweight mobile terminal Vue component library

Van t 1.6.1 has been released. Vant is a mobile component library based on Vue 2.0 of Youzan Open Source. Through Vant, you can quickly build a page with a unified style to improve development efficiency. At present, there are nearly 50 components, which are widely used in all mobile end businesses of Youlike. Van 1.6.1 mainly fixes bugs. The updated content is as follows: [Bug Repair] Function Component Inheritance Context (# 2686) Release Announcement Download Address: Source code (zip) Source code (tar. gz)

zero
ten
Published information
2019/02/05 07:26

Vant 1.6.0 release, lightweight mobile terminal Vue component library

Vant 1.6.0 has been released, and the updated contents are as follows: noteworthy changes Radio: rewritten the component structure, and now provides the same UI and DOM structure as Checkbox # 2651 Optimize and use JSX to rewrite all components Part of the components are now functional components, Better rendering performance Card: New tag slot # 2636 Radio: New icon slot # 2651 Radio: New shape attribute # 2651 Icon: New weapp nav icon # 2682 Toast: New className attribute # 2680 Notify: New className attribute # 2681 Pop: New open/close event

five
four
Published information
2019/01/24 07:10

Vant 1.5.6 release, lightweight mobile terminal Vue component library

Vant 1.5.6 has been released, and the updated content is as follows: Optimization Card: New origin price slot # 2588 Switch: New active value, inactive value attribute # 2590 SwitchCell: New active value, inactive value attribute # 2591 Bug Repair the problem that the card centered attribute does not take effect # 2589 Repair the problem that the icon name attribute incoming URL does not take effect # 2585 Update Log

zero
four
Published information
2019/01/06 07:34

Vant 0.5.0 release, lightweight mobile terminal Vue component library

In the 0.5.0 version of Breaking changes, we unified icon specifications and redrawn all icons, and added about 100 new icons. For the same icon, we will provide two styles: solid background and wireframe. Take the star icon as an example, star represents the stars in solid background style, and star-o represents the stars in wireframe style. At the same time, we also made some adjustments to the original icon. The specific changes are as follows: Remove edit data Remove pending release Remove pending evaluate Remove points mall Remove exchange record Rename warn Rename info Rename check Rename circle

two
seven
Published information
2018/12/23 07:58

Vant 1.5.0 release, lightweight mobile terminal Vue component library

Vant 1.5.0 has been released, and the updated content is as follows: Breaking changes 1.5.0 unified icon specification and redrawn all icons, and added about 100 new icons. For the same icon, there are two styles: solid bottom and wireframe. Take the star icon as an example, star represents the stars in solid bottom style, and star-o represents the stars in wireframe style. At the same time, some adjustments have been made to the original icon. The specific changes are as follows: Remove edit data Remove pending release Remove pending evaluate Remove points mall Remove exchange record Rename warn Rename info Rename chec

zero
fourteen
No more
Loading failed, please refresh the page
Click to load more
Loading
next page
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
Issued a question and answer
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
No content temporarily
forty-one comment
eight hundred and ten Collection
 OSCHINA
Log in to view more high-quality content
 Back to top
Top