Skip to content
V

vue-fixed-header

Simple and cross-browser friendly fixed header component for Vue.js

by potato4dOpen source

#1412in UI Libraries
0In stores

Description

vue-fixed-header is a small component for Vue.js that makes a header stick to the top of the page when the user scrolls past a threshold. Th…

Highlights

  • Header sticks when scroll passes a threshold
  • Written in TypeScript
  • Custom class names through props
  • Single file component usage
  • Cross-browser friendly, per the README

Ratings & Reviews

No ratings yet

Be the first to rate vue-fixed-header.

People also visit

V

vue3-simple-typeahead

A simple and lightweight Vue3 typeahead component

UI Libraries
Launch
V

vue-final-modal

Tailwind-friendly, highly customizable, stackable modal component

UI Libraries
Launch
V

vue-navigation-bar

A simple, pretty navbar for your Vue projects

UI Libraries
Launch
V

vuesax

Framework Components for Vue js

UI Libraries
Launch
F

fancy-grid-vue

Vue adaptor for FancyGrid

UI Libraries
Launch
V

vue-scrollactive

Lightweight and simple to use vue component

UI Libraries
Launch

vue-fixed-header FAQ

What is vue-fixed-header?

A Vue component that keeps a header fixed to the top of the page once the user scrolls past a set point.

How do I control when the header becomes fixed?

Use the threshold prop, which sets the scroll value that switches the header into its fixed state.

Can I change the CSS class names?

Yes. Use the headerClass prop for the root element and the fixedClass prop for the fixed state. The defaults are vue-fixed-header and vue-fixed-header--isFixed.

Is it written in TypeScript?

Yes, according to the repository description.

What license applies?

MIT.

What are the best vue-fixed-header alternatives?

Popular alternatives to vue-fixed-header include vue3-simple-typeahead, vue-final-modal and vue-navigation-bar. See all vue-fixed-header alternatives

Developer Stuff

Badges