All Projects → webzlodimir → vue-bottom-sheet

webzlodimir / vue-bottom-sheet

Licence: MIT license
🔥 A nice clean and touch-friendly bottom sheet component based on Vue.js and Hammer.js

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-bottom-sheet

Ubottomsheet
iPhone Maps App bottom sheet - A Protocol Oriented Approach
Stars: ✭ 259 (+146.67%)
Mutual labels:  bottom-sheet
Bottomsheetpickers
Third-party date and time pickers for Android.
Stars: ✭ 1,099 (+946.67%)
Mutual labels:  bottom-sheet
React Native Bottom Sheet
A performant interactive bottom sheet with fully configurable options 🚀
Stars: ✭ 2,695 (+2466.67%)
Mutual labels:  bottom-sheet
Rn Swipeable Panel
Zero dependency swipeable bottom panel for React Native 📱
Stars: ✭ 415 (+295.24%)
Mutual labels:  bottom-sheet
React Native Raw Bottom Sheet
Add Your Own Component To Bottom Sheet Whatever You Want (Android and iOS)
Stars: ✭ 771 (+634.29%)
Mutual labels:  bottom-sheet
React Native Bottomsheet Reanimated
React Native bottom sheet with fully native 60 FPS animations and awesome user experience
Stars: ✭ 80 (-23.81%)
Mutual labels:  bottom-sheet
nativescript-vue-multi-drawer
A NativeScript-Vue component for creating multiple side drawers (4 sides supported)
Stars: ✭ 45 (-57.14%)
Mutual labels:  bottom-sheet
react-spring-bottom-sheet
Accessible ♿️, Delightful ✨, & Fast 🚀
Stars: ✭ 604 (+475.24%)
Mutual labels:  bottom-sheet
React Native Js Bottom Sheet
A React Native implementation of Android's bottom sheet
Stars: ✭ 29 (-72.38%)
Mutual labels:  bottom-sheet
Sweetcurtain
A framework that provides CurtainController. CurtainController is a container view controller that implements a content-curtain interface. You can find a similar implementation in applications like Apple Maps, Find My, Stocks, etc. Someone calls it "Pull Up" or "Bottom Sheet".
Stars: ✭ 109 (+3.81%)
Mutual labels:  bottom-sheet
Sliding Panel
Android sliding panel that is part of the view hierarchy, not above it.
Stars: ✭ 433 (+312.38%)
Mutual labels:  bottom-sheet
Bottomdialogs
An Android library that shows a customizable Material-based bottom sheet. API 11+ required.
Stars: ✭ 624 (+494.29%)
Mutual labels:  bottom-sheet
Stickytabbarviewcontroller
Sticky and Collapsible View on top of tab bar
Stars: ✭ 82 (-21.9%)
Mutual labels:  bottom-sheet
React Native Actions Sheet
A Cross Platform(Android & iOS) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
Stars: ✭ 412 (+292.38%)
Mutual labels:  bottom-sheet
Anchor Bottom Sheet Behavior
BottomSheet behavior with collapsed, expanded and anchor states
Stars: ✭ 139 (+32.38%)
Mutual labels:  bottom-sheet
NBBottomSheet
An iOS library that presents a bottom sheet using Auto Layout.
Stars: ✭ 60 (-42.86%)
Mutual labels:  bottom-sheet
React Native Scroll Bottom Sheet
Cross platform scrollable bottom sheet with virtualisation support, native animations at 60 FPS and fully implemented in JS land 🔥
Stars: ✭ 1,226 (+1067.62%)
Mutual labels:  bottom-sheet
BottomSheetBehavior
BottomSheetBehavior is an android library extracted from the Google I/O 2018 application source code.
Stars: ✭ 12 (-88.57%)
Mutual labels:  bottom-sheet
Stpopup
STPopup provides STPopupController, which works just like UINavigationController in popup style, for both iPhone and iPad. It's written in Objective-C and compatible with Swift.
Stars: ✭ 2,517 (+2297.14%)
Mutual labels:  bottom-sheet
Bottomify Navigation View
A nice looking Spotify like bottom navigation view
Stars: ✭ 97 (-7.62%)
Mutual labels:  bottom-sheet

Example

Vue Bottom Sheet

Size Downloads Version

A nice clean and touch-friendly bottom sheet component based on Vue.js and Hammer.js

Installation

NPM

npm install --save @webzlodimir/vue-bottom-sheet

Yarn

yarn add @webzlodimir/vue-bottom-sheet

Usage

<template>
  <vue-bottom-sheet ref="myBottomSheet">
    <h1>Lorem Ipsum</h1>
    <h2>What is Lorem Ipsum?</h2>
    <p>
      <strong>Lorem Ipsum</strong> is simply dummy text
    </p>
  </vue-bottom-sheet>
</template>

<script>
import  VueBottomSheet from "@webzlodimir/vue-bottom-sheet";

export default {
  components: {
    VueBottomSheet
  },
  methods: {
    open() {
      this.$refs.myBottomSheet.open();
    },
    close() {
      this.$refs.myBottomSheet.close();
    }
  }
}
</script>

Or add to main.js for use throughout the project

import VueBottomSheet from "@webzlodimir/vue-bottom-sheet";
import Vue from "vue";

Vue.use(VueBottomSheet);

Props

Prop Type Description Example
overlay Boolean Remove back overlay :overlay="false"
click-to-close Boolean Click outside card to close :click-to-close="false"
max-width String Set max-width of component card max-width="640px"
max-height String Set max-height of component card max-height="90%"
effect String Set effect for component card effect="fx-fadein-scale"
rounded Boolean Round the top two corners of the sheet :rounded="false"
is-full-screen Boolean Enable or disable full-screen mode :is-full-screen="true"
swipe-able Boolean Enable or disable swipe to close :swipe-able="false"
overlay-color String Set overlay color with opacity :overlay-color="#0000004D"
background-scrollable Boolean Enable scroll :background-scrollable="true"
background-clickable Boolean Enable background click, doesn't work if click-to-close=true :background-clickable="true"

Events

Event Description Example
opened Fire when card component is opened @opened=""
closed Fire when card component is closed @closed=""

List of effects

  • fx-default
  • fx-fadein-scale
  • fx-slide-from-right
  • fx-slide-from-left

You can see all the effects on the demo page

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].