React Menustrip Menustrip for React

You are looking at v3 demos, switch to Mobiscroll 4?

Menustrip for React

light
dark

Change the theme setting here

  • Wi-Fi
  • Bluetooth
  • Location
  • Screen
    rotation
  • Sound
  • Data
  • Blocking
    mode
  • Airplane
    mode
  • Power
    saving
  • Alarm
  • Multi
    window
Notifications
    • Connected as a media device

      Touch for other USB options

    • 4 new messages

      hello@mobiscroll.com

    • 1 new message

      support@mobiscroll.com

    • Time to wake up

      8:00 AM

    • Google I/O Keynote

      Moscone West

    • Download finished

      mobiscroll.custom-2.17.0.zip

    This demo should be experienced in full screen
    View in full screen

    Menustrip - Option menu

    Change demo
    Option menu
    var ListItem = React.createClass({
        render: function() {
             return <li data-icon={this.props.item.icon}>
                <p>{this.props.item.text1}</p>
                <p>{this.props.item.text2}</p>
            </li>;
        }
    });
    
    var MenustripDemo = React.createClass({
        getInitialState: function() {
            return {
                items: [{
                    id: 1,
                    icon: "ion-usb",
                    text1: "Connected as a media device",
                    text2: "Touch for other USB options"
                }, {
                    id: 2,
                    icon: "foundation-mail",
                    text1: "4 new messages",
                    text2: "hello@mobiscroll.com"
                }, {
                    id: 3,
                    icon: "foundation-mail",
                    text1: "1 new message",
                    text2: "support@mobiscroll.com"
                }, {
                    id: 4,
                    icon: "alarm2",
                    text1: "Time to wake up",
                    text2: "8:00 AM"
                }, {
                    id: 5,
                    icon: "calendar",
                    text1: "Google I/O Keynote",
                    text2: "Moscone West"
                }, {
                    id: 6,
                    icon: "download",
                    text1: "Download finished",
                    text2: "mobiscroll.custom-2.17.0.zip"
                }]
            };
        },
        stages: function() {
            return {
                left: [{
                    percent: 30,
                    icon: 'remove',
                    text: 'dismiss',
                    action: function (event, inst) {
                        inst.remove(event.target);
                        return false;
                    }
                }],
                right: [{
                    percent: -30,
                    icon: 'remove',
                    text: 'dismiss',
                    action: function (event, inst) {
                        inst.remove(event.target);
                        return false;
                    }
                }]
            };
        },
        render: function() {
            return (
                <div className="md-options">
                    <mobiscroll.Menustrip
                        theme="ios"
                        type="options"
                        onItemTap={function (event, inst) {
                            mobiscroll.toast({
                                message: event.target.textContent + (event.target.classList.contains('mbsc-ms-item-sel') ? ' ON' : ' OFF')
                            });
                        }}
                    >
                        <li data-selected="true" data-icon="connection">Wi-Fi</li>
                        <li data-icon="ion-bluetooth">Bluetooth</li>
                        <li data-icon="location">Location</li>
                        <li data-icon="fa-rotate-left"><span>Screen<br/>rotation</span></li>
                        <li data-selected="true" data-icon="volume-medium">Sound</li>
                        <li data-icon="download">Data</li>
                        <li data-icon="foundation-minus-circle"><span>Blocking<br/>mode</span></li>
                        <li data-icon="airplane"><span>Airplane<br />mode</span></li>
                        <li data-selected="true" data-icon="fa-leaf"><span>Power<br/>saving</span></li>
                        <li data-icon="alarm2">Alarm</li>
                        <li data-icon="ion-android-system-windows"><span>Multi<br/>window</span></li>
                    </mobiscroll.Menustrip>
    
                    <mobiscroll.Form theme="ios" >
                        <label>
                            <input defaultValue="55" type="range" data-role="range" data-icon='{ "left": "brightness-contrast" }'/>
                        </label>
    
                        <label>
                            <input defaultValue="85" type="range" data-role="range" data-icon='{ "left": "volume-medium" }'/>
                        </label>
                    </mobiscroll.Form>
                    <div className="mbsc-form-group">
                        <div className="mbsc-form-group-title">Notifications</div>
                        <mobiscroll.Listview
                            enhance={true}
                            itemType={ListItem} 
                            data={this.state.items}
                            stages={this.stages()}
                            theme="ios"
                        />
                    </div>
                </div>
            );
        }
    });
    
    
    <div id="content"></div>
    .demo-main-cont.demo-comp-menustrip { padding: 0; min-height: 300px; }
    
    .demo-main-cont.demo-comp-menustrip {
        padding: 0;
        min-height: 300px;
    }
    Show more code

    Menustrip - Tab menu

    Change demo

    Menustrip - Navigation

    Change demo
    Navigation

    Menustrip - Prev/Next

    Change demo
    Prev/Next

    Menustrip - Paging

    Change demo

    Menustrip - Cards

    Change demo

    Menustrip - Scroll options

    Change demo
    Scroll options

    Menustrip - Badge

    Change demo

    Menustrip - Show more

    Change demo
    Show more

    Menustrip - Event handlers

    Change demo
    Event handlers
    Clear event log
    EVENTS FIRED: 

    Looking for something you didn't see or have a sales question?
    Ask us about it, we're here to help.

    Customize & try demos locally
    Sign in or start your free trial

    What framework are you using?

    Javascript
    jQuery
    AngularJS
    Angular
    React
    Other
    Ionic Angular
    Email address

    Introducing the next generation of Mobiscroll

    The Mobiscroll 5 Beta 4 includes the brand new Scheduler, Agenda and Event calendar, Date, time, calendar and Range picker components.

    We’ll be gradually adding more components and functionality. If you want to give the new version a go, you can check them out below.

    Other highlights
    • Redesigned event calendar, scheduler with drag & drop
    • A new way of working with recurring events
    • Updated themes with dynamic dark mode
    • New date & time pickers
    • Range picker with advanced customization
    • Dynamic options with global updates
    Read the full blogpost
    Get in touch
    Customize & try this demo locally
    Sign in or start your free trial

    We have to set you up with a trial for this to run 👍

    Email address

    Install demo in your app
    Follow this quick, two minute install guide
    Close window

    Step 1.Install the Mobiscroll CLI from npm

    Copy command
    $ npm install -g @mobiscroll/cli

    The CLI makes configuring your apps super simple 👍

    Step 2.Run the following command in the root folder of your Ionic project

    Copy command
    $ mobiscroll config ionic 

    You will be prompted to log in with your mobiscroll account. Set your password here

    Step 3.Copy the code into your app.

    Copy TS
    Copy HTML
    Copy CSS
    Copy Module

    Step 4.Run ionic serve in the root folder of your app 🎉

    Copy command
    $ ionic serve

    And voilà, everything should be running smoothly.

    Install demo in your app
    Follow this quick, two minute install guide
    Close window

    Step 1.Install the Mobiscroll CLI from npm

    Copy command
    $ npm install -g @mobiscroll/cli

    The CLI makes configuring your apps super simple 👍

    Step 2.Run the following command in the root folder of your Ionic project

    Copy command
    $ mobiscroll config ionic 

    You will be prompted to log in with your mobiscroll account. Set your password here

    Step 3.Copy the code into your app.

    Copy TSX
    Copy CSS

    Step 4.Run ionic serve in the root folder of your app 🎉

    Copy command
    $ ionic serve

    And voilà, everything should be running smoothly.

    Customize & try demos locally
    How would you like to do it?
    Install demo in your app
    Follow this quick, two minute install guide
    Close window

    Step 1.Install the Mobiscroll CLI from npm

    Copy command
    $ npm install -g @mobiscroll/cli

    The CLI makes configuring your apps super simple 👍

    Step 2.Run the following command in the root folder of your Angular project

    Copy command
    $ mobiscroll config angular 

    You will be prompted to log in with your mobiscroll account. Set your password here

    Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

    Copy TS
    Copy HTML
    Copy CSS
    Copy Module

    Step 4.Run ng serve in the root folder of your app 🎉

    Copy command
    $ ng serve

    And voilà, everything should be running smoothly.

    Thanks for downloading
    Try and customize the app locally

    Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

    Step 1. Run in root folder
    $ npm install
    Step 2. Start the app
    $ ionic serve

    Let us know if we can help and enjoy!

    Need to update your password?
    Thanks for downloading
    Customize demos locally

    We have set up a trial so that you can try the demos locally.

    Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


    Let us know if we can help and enjoy! 👍

    Thanks for downloading
    Customize demos locally

    Please extract the zip file and run the project like any Angular CLI app. Make sure to have the Angular CLI installed.

    For installation and usage, extract the zip file and open a terminal window and follow these steps.

    Step 1. Run in root folder
    $ npm install
    Step 2. Start the app
    $ ng serve --open

    Let us know if we can help and enjoy! 👍

    Thanks for downloading
    Customize demos locally

    We have set up a trial so that you can try the demos locally.

    The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy! 👍

    You'll find a fully functional Kitchen-sink Ionic app in the zip file.

    Thanks for downloading
    Customize demos locally

    We have set up a trial so that you can try the demos locally.

    The demos are using Babel's in-browser ES6 and JSX transformer.
    Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


    Let us know if we can help and enjoy! 👍

    Demos
    Theme Select
    Mobiscroll
    Mobiscroll Dark
    Material
    Material Dark
    iOS
    iOS Dark
    Android Holo
    Android Holo Light
    jQuery Mobile
    Windows Phone
    Windows Phone Light
    Language Locale
    See other demos and change options
    Theme
    Locale
    See other demos