4.2.0 • Published 2 months ago

vevet v4.2.0

Weekly downloads
65
License
MIT
Repository
github
Last release
2 months ago

Vevet - a JavaScript Library for Creative Development

Vevet is a flexible JavaScript library designed for creative web development. It offers pre-built solutions like smooth scrolling, text splitting, custom cursors, and other interactive components, allowing developers to enhance the visual and functional aspects of their websites.

Vevet is highly customizable, seamlessly integrates into existing projects, and provides basic and advanced functionalities for developers aiming to boost site interactivity.

Top Language Gzipped Size

Links

Library Contents

Core Features Demo / Docs:

  • Device Detection
    • vevet.isPhone, vevet.isTablet, vevet.isDesktop, vevet.isMobile
  • Browser Information
    • vevet.osName, vevet.browserName, vevet.isWebpSupported (Check WebP support)
  • Page Load Detection
    • vevet.isPageLoaded, vevet.onPageLoad
  • Viewport Management
    • vevet.viewport (Handles resize events efficiently)
      • width, height, vw, vh, isDesktop, isTablet, isPhone, isPortrait, isLandscape, dpr, lowerDpr

Animation:

  • AnimationFrame Demo / Docs: Simplifies the use of requestAnimationFrame, offering custom FPS control.
  • Timeline Demo / Docs: Helps create simple, timeline-based animations.

Graphics:

  • Ctx2D Demo / Docs: Manages canvas creation and 2D context with automatic resizing.
  • Ctx2DPrerender Demo / Docs: Optimizes texture handling by pre-rendering images for better performance.

Events:

  • DraggerDirection Demo / Docs: Detects the direction of swipes.
  • DraggerMove Demo / Docs: Ideal for building custom carousels with easy drag handling.
  • ScrollView Demo / Docs: Manages elements' visibility in and out of the viewport.
  • SectionScrollProgress Demo / Docs: Tracks scroll progress within a specific section.
  • SlideProgress Demo / Docs: Helps you create a draggable carousel.

Components:

  • CustomCursor Demo / Docs: Create a custom, smooth cursor for your website.
  • Marquee Demo / Docs: Efficiently creates continuously running text.
  • Preloader Demo / Docs: Hides content until the page is fully loaded.
  • ProgressPreloader Demo / Docs: A more powerful version, displaying real-time loading progress.
  • ScrollBar Demo / Docs: Customizes scrollbars by hiding default system bars.
  • CustomScroll Demo / Docs: Provides simple and smooth scrolling functionality.
    • CustomScrollDragPlugin: Adds drag-based navigation to smooth scrolling.
    • CustomScrollKeyboardPlugin: Enables keyboard-based scrolling.
  • SplitText Demo / Docs: Splits text into letters, words, or lines, offering high performance for animations, similar to SplitText or SplitType, but free and optimized.

Installation via NPM

To install Vevet, use the following command:

npm install vevet

Importing Styles

To use Vevet's styles, import them as follows:

Base Styles

@import '~vevet/lib/styles/base';

Full Styles

@import '~vevet/lib/styles/index';

Specific Component Styles

For example, to import styles for the custom cursor:

@import '~vevet/lib/styles/components/CustomCursor';

Example: Initializing a Component

Below is an example of how to initialize the CustomCursor component:

import { CustomCursor } from 'vevet';

const instance = new CustomCursor({
  container: document.getElementById('container')!,
});

Development Environment

  • Node.js: v20.17.0

License

This project is licensed under the terms of the MIT license.

4.2.0

2 months ago

4.1.0

2 months ago

4.0.1

3 months ago

4.0.2

2 months ago

3.19.0

3 months ago

3.19.2

3 months ago

3.19.1

3 months ago

4.0.0-beta.2

3 months ago

4.0.0-beta.1

3 months ago

4.0.0-beta.0

3 months ago

3.20.0

3 months ago

3.17.0

4 months ago

3.18.0

4 months ago

3.15.0

4 months ago

3.15.2

4 months ago

3.15.1

4 months ago

3.16.0

4 months ago

3.14.0

4 months ago

3.13.1

9 months ago

3.13.0

9 months ago

3.12.0

9 months ago

3.11.0

10 months ago

3.10.0

10 months ago

3.9.1

11 months ago

3.9.0

11 months ago

3.8.0

11 months ago

3.7.2

11 months ago

3.7.1

11 months ago

3.7.0

1 year ago

3.6.0

1 year ago

3.2.3

1 year ago

3.5.1

1 year ago

3.5.0

1 year ago

3.4.0

1 year ago

3.3.1

1 year ago

3.3.0

1 year ago

3.3.2

1 year ago

3.2.2

1 year ago

3.2.1

1 year ago

3.2.0

1 year ago

3.0.0-beta.1

1 year ago

3.0.0-beta.0

1 year ago

3.0.0-beta.3

1 year ago

3.0.0-beta.2

1 year ago

3.0.0-beta.5

1 year ago

3.0.0-beta.4

1 year ago

3.0.0-beta.7

1 year ago

3.0.0-beta.6

1 year ago

3.0.0-beta.9

1 year ago

3.0.0-beta.8

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

3.0.0-beta.10

1 year ago

3.0.0-beta.11

1 year ago

3.0.0-beta.12

1 year ago

3.0.0-beta.13

1 year ago

2.15.2

3 years ago

2.15.3

3 years ago

2.15.0

3 years ago

2.15.1

3 years ago

2.14.0

3 years ago

2.17.0

2 years ago

2.13.0

3 years ago

2.16.1

2 years ago

2.16.0

3 years ago

2.11.0

3 years ago

2.12.0

3 years ago

2.4.0

3 years ago

2.8.0

3 years ago

2.3.0

3 years ago

2.10.0

3 years ago

2.7.0

3 years ago

2.7.1

3 years ago

2.2.0

3 years ago

2.6.0

3 years ago

2.5.0

3 years ago

2.5.1

3 years ago

2.9.0

3 years ago

2.1.0

3 years ago

2.0.1-dev.30

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.1-dev.20

3 years ago

2.0.1-dev.21

3 years ago

2.0.1-dev.22

3 years ago

2.0.1-dev.23

3 years ago

2.0.1-dev.24

3 years ago

2.0.1-dev.25

3 years ago

2.0.1-dev.26

3 years ago

2.0.1-dev.28

3 years ago

2.0.1-dev.29

3 years ago

2.0.11

3 years ago

2.0.10

3 years ago

2.0.1-dev.17

3 years ago

2.0.1-dev.18

3 years ago

2.0.1-dev.19

3 years ago

2.0.1-dev.12

3 years ago

2.0.1-dev.13

3 years ago

2.0.1-dev.14

3 years ago

2.0.1-dev.15

3 years ago

2.0.1-dev.16

3 years ago

2.0.1-dev.9

3 years ago

2.0.1-dev.8

3 years ago

2.0.1-dev.10

3 years ago

2.0.1-dev.11

3 years ago

2.0.1-dev.7

3 years ago

2.0.1-dev.5

3 years ago

2.0.1-dev.4

3 years ago

2.0.1-dev.3

3 years ago

2.0.1-dev.2

3 years ago

2.0.1-dev.0

3 years ago

1.4.28

3 years ago

1.4.27

3 years ago

1.4.26

3 years ago

1.4.25

3 years ago

1.4.24

4 years ago

1.4.23

4 years ago

1.4.22

4 years ago

1.4.21

4 years ago

1.4.20

4 years ago

1.4.19

4 years ago

1.4.18

4 years ago

1.4.17

5 years ago

1.4.16

5 years ago

1.4.15

5 years ago

1.4.14

5 years ago

1.4.13

5 years ago

1.4.11

5 years ago

1.4.12

5 years ago

1.4.10

5 years ago

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.26

5 years ago

1.0.25

5 years ago

1.0.24

5 years ago

1.0.23

5 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.3

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.7

5 years ago

0.4.5

5 years ago

0.4.6

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.1

5 years ago

0.4.2

5 years ago

0.4.0

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.95

5 years ago

0.1.94

5 years ago

0.1.93

5 years ago

0.1.92

5 years ago

0.1.91

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

6 years ago