An auto-hiding top navigation bar component for React! ⭐
npm install react-blur-nav
prop | explanation | sample | default |
---|---|---|---|
backgroundColor | A background color for the entire navigation bar. Should be a argb value to allow blur effect |
'rgb(80, 80, 80, 0.5)' | 'rgb(80, 80, 80, 0.5)' |
animationTimeout | The duration of the animation (in ms) | 1000 | 1000 |
children | The children to be displayed inside the top nav, as its elements | - | - |