Coder Social home page Coder Social logo

ondrejlosensky / dynamic-island-header Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 781 KB

Simple header that looks like Apple's dynamic Island on iPhones

Home Page: https://dynamic-island-header.netlify.app/

License: Apache License 2.0

JavaScript 83.70% HTML 1.52% CSS 14.78%
dynamic-island header

dynamic-island-header's Introduction

Dynamic Header

Simple web application made with React.js styled with TailwindCSS. Instead of clasical header I have created this one that looks like Apple's dynamic island on new iPhones. It expands when user hovers over it and displays additional information or controls. I have also added animations, shortcuts, styling and login form, that doesnt have the database implemented yet.

Darkmode shortcut

CTRL + CMD + T - MacOS

CTRL + B - Windows

Installation

You can easily implement this into your project by coyping the component and then just styling the whole component with given options. Also you need to have TailwindCSS installed for it to work

<div className="pt-4 sticky top-0 z-10 ">
    <DynamicIsland/>
</div>

You can find the source code for DynamicIsland here

Preview

Light mode

Snímek obrazovky 2024-02-24 v 11 41 02

Snímek obrazovky 2024-02-24 v 11 41 16

Dark mode

Snímek obrazovky 2024-02-24 v 11 45 57

Snímek obrazovky 2024-02-24 v 11 46 11

Features

  • Dynamic island header
  • Dark mode
  • Keyboard shortcut to toggle on/off dark mode
  • Scroll Progress bar (you can find source code for it here)
  • scroll down button
  • login and register form (only styling)

Bugs

  • The header displays all hidden element when hovering away from browser (for example to menubar) screenshot1

License

This project is licensed under the Apache license 2.0 Link to LICENSE.md

Authors

  • Ondrej Losensky

Languages & Tools Used

Project Creation Date

  • Created on: 19.2.2024

Version

1.1.2.

dynamic-island-header's People

Contributors

ondrejlosensky avatar ondralosi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.