SolidJS header that disappears on scroll down and appears on scroll up.
npm install @sect/solid-hiding-header
    !NPM
A port of Hiding Header React by Filip Chalupa.
Install it:
``bash`
npm i @sect/solid-hiding-headeror
yarn add @sect/solid-hiding-headeror
pnpm add @sect/solid-hiding-header
Import node_modules/hiding-header/dist/style.css to your CSS. It's few lines of code. You can alternatively copy paste it and adjust things like z-index to your needs.
`tsx
import { HidingHeader } from '@sect/solid-hiding-header';
const Header: Component = () => {
return (
Put your content here
);
};
`
tsx
const Header: Component = () => {
return (
Put your content here
);
};
``See Core API docs for more options.
https://github.com/FilipChalupa/hiding-header/blob/main/README.md
See CHANGELOG file.
See LICENSE file.
✌️
A little project by @sectsect