All Projects → rizmaulana → floating-slideup-sheet

rizmaulana / floating-slideup-sheet

Licence: MIT license
Simple and lightweight UI library for user new experience, combining floating bottom navigation and bottom sheet behaviour. Simple and beautiful.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to floating-slideup-sheet

open-ui
Maintain an open standard for UI and promote its adherence and adoption.
Stars: ✭ 2,539 (+2051.69%)
Mutual labels:  ux
touchclick
Provides immediate visual feedback on touch for native-feeling web apps
Stars: ✭ 42 (-64.41%)
Mutual labels:  ux
List-of-Academic-Research-on-Usability-in-FOSS
No description or website provided.
Stars: ✭ 29 (-75.42%)
Mutual labels:  ux
product-language-framework
A ready-to-go starter kit for product copywriting and style guidelines. Useful guidelines, examples, and an optional static site generator.
Stars: ✭ 20 (-83.05%)
Mutual labels:  ux
ui patterns
[NOTE] Development has moved to https://drupal.org/project/ui_patterns
Stars: ✭ 87 (-26.27%)
Mutual labels:  ux
eufemia
DNB Design System
Stars: ✭ 38 (-67.8%)
Mutual labels:  ux
Typekit Cache
Keeps a site's Typekit in localStorage and injects it on page load, eliminating the Flash Of Invisible/Unstyled Text.
Stars: ✭ 251 (+112.71%)
Mutual labels:  ux
react-spring-bottom-sheet
Accessible ♿️, Delightful ✨, & Fast 🚀
Stars: ✭ 604 (+411.86%)
Mutual labels:  ux
Scribble-Font
Scribble Font for Prototyping & Wireframing
Stars: ✭ 48 (-59.32%)
Mutual labels:  ux
firefox-omni-tweaks
A script that disables the clickSelectsAll behavior of Firefox, and more.
Stars: ✭ 33 (-72.03%)
Mutual labels:  ux
Windows11-betterUX
A non-destructive registry preset to improve the default user-experience with windows 10.
Stars: ✭ 21 (-82.2%)
Mutual labels:  ux
ReactZooApp
ReactZooApp
Stars: ✭ 33 (-72.03%)
Mutual labels:  ux
SPLarkController
Custom transition between controllers. Settings controller for your iOS app.
Stars: ✭ 967 (+719.49%)
Mutual labels:  ux
website
Website source for Jikan.moe
Stars: ✭ 28 (-76.27%)
Mutual labels:  ux
itop-datacenter-view
Extension for iTop: Easily manage & visualize your racks, enclosures and datacenter devices.
Stars: ✭ 24 (-79.66%)
Mutual labels:  ux
hurley
🎧 The Podcast Web Interface
Stars: ✭ 12 (-89.83%)
Mutual labels:  ux
flow-ui
Accessibility oriented design system for developing fast and powerful web interfaces.
Stars: ✭ 89 (-24.58%)
Mutual labels:  ux
VanGogh
💥 Android view animations powered by RxJava 2
Stars: ✭ 95 (-19.49%)
Mutual labels:  ux
KeyCommandAlertController
UIAlertController wrapper to add keyboard shortcuts easily
Stars: ✭ 16 (-86.44%)
Mutual labels:  ux
UX-UI-Navigation
UX / UI Custom NavigationDrawer with Fragment
Stars: ✭ 70 (-40.68%)
Mutual labels:  ux

Floating SlideUp Sheet 🎉

Simple and lightweight UI library for user new experience, combining floating bottom navigation and bottom sheet behaviour. Simple and beautiful.

alt text

Interaction

GitHub forks GitHub contributors GitHub top language Visitor

Installation

allprojects {
    repositories {
	...
	maven { url 'https://jitpack.io' }
	}
}

Add dependency

dependencies {
	implementation 'com.github.rizmaulana:floating-slideup-sheet:0.1.0'
}

How to use

Add FloatingSlideUpLayout to your layout, it will contains two view item for floating menu and expanded panel

 <id.rizmaulana.floatingslideupsheet.view.FloatingSlideUpLayout
        tools:visibility="invisible"
        android:id="@+id/floating_slideup_sheet"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:paddingLeft="16dp"
        android:paddingRight="16dp"
        android:paddingBottom="16dp">
        
        <FrameLayout
           android:id="@+id/container_floating_menu"> 
           ... 
        </FrameLayout>
        
        <LinearLayout
           android:id="@+id/container_expanded_content"> 
           ... 
        </LinearLayout>
</id.rizmaulana.floatingslideupsheet.view.FloatingSlideUpLayout>

Setup FloatingSlideUpPanel on your view class

 val floatingSlideUpSheet = FloatingSlideUpBuilder(this, floating_slideup_sheet)
            .setFloatingMenuRadiusInDp(32)
            .setFloatingMenuColor(android.R.color.white)
            .setFloatingMenu(container_floating_menu)
            .setPanel(container_expanded_content)
            .build()

Now you have awesome floating slideup sheet on your app 🎉

Note : Expandable panel already has NestedScrollView, no need add manually, your content will automatically scrollable.

Expand and Collapse Expandable Panel Programatically

floatingSlideUpSheet.collapseBottomSheet

floatingSlideUpSheet.expandBottomSheet

Todo

  • Support dark mode
  • Build floating menu from menu item
  • Eliminate code smells
  • Add test

Contributing

Pull requests are welcome.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].