Selecting the locale loads the localized settings and translated UI microcopy
Title
Subtitle
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
Don't forget Jenifer's birthday
Explore the azure depths with a stay at the Manta Resort's underwater room.
import mobiscroll from'@mobiscroll/react';import'@mobiscroll/react/dist/css/mobiscroll.min.css';classAppextendsReact.Component{
action =(txt)=>{
mobiscroll.toast({
message: txt +' clicked'});}render(){return(<div><mobiscroll.Card
theme="ios"themeVariant="light"lang=""><mobiscroll.CardHeader><mobiscroll.CardTitle>Title</mobiscroll.CardTitle><mobiscroll.CardSubtitle>Subtitle</mobiscroll.CardSubtitle></mobiscroll.CardHeader><mobiscroll.CardContent>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</mobiscroll.CardContent><mobiscroll.CardFooter>This is a footer</mobiscroll.CardFooter></mobiscroll.Card><mobiscroll.Card
theme="ios"themeVariant="light"lang=""><mobiscroll.CardContent><mobiscroll.CardTitle>Don't forget Jenifer's birthday</mobiscroll.CardTitle></mobiscroll.CardContent><mobiscroll.CardFooter><button onClick={()=>{this.action('Call')}} className="mbsc-btn-flat" data-icon="phone">Call</button><button onClick={()=>{this.action('Message')}} className="mbsc-btn-flat" data-icon="bubble">Message</button></mobiscroll.CardFooter></mobiscroll.Card><mobiscroll.Card
theme="ios"themeVariant="light"lang=""><img src="https://img.mobiscroll.com/demos/card_5.png"/><mobiscroll.CardContent>
Explore the azure depths with a stay at the Manta Resort's underwater room.</mobiscroll.CardContent><mobiscroll.CardFooter><button className="mbsc-btn-flat">Share</button><button className="mbsc-btn-flat">Explore</button></mobiscroll.CardFooter></mobiscroll.Card></div>);}}
import mobiscroll from '@mobiscroll/react';
import '@mobiscroll/react/dist/css/mobiscroll.min.css';
interface DemoProps {
/* you can define props type definitions here */
}
interface DemoState {
/* you can define state type definitions here */
}
class App extends React.Component< DemoProps, DemoState > {
action:any;
action = (txt: any) => {
mobiscroll.toast({
message: txt + ' clicked'
});
}
render() {
return (
<div>
<mobiscroll.Card
theme="ios"themeVariant="light"lang=""
>
<mobiscroll.CardHeader>
<mobiscroll.CardTitle>Title</mobiscroll.CardTitle>
<mobiscroll.CardSubtitle>Subtitle</mobiscroll.CardSubtitle>
</mobiscroll.CardHeader>
<mobiscroll.CardContent>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
</mobiscroll.CardContent>
<mobiscroll.CardFooter>This is a footer</mobiscroll.CardFooter>
</mobiscroll.Card>
<mobiscroll.Card
theme="ios"themeVariant="light"lang=""
>
<mobiscroll.CardContent>
<mobiscroll.CardTitle>Don't forget Jenifer's birthday</mobiscroll.CardTitle>
</mobiscroll.CardContent>
<mobiscroll.CardFooter>
<button onClick={() => { this.action('Call') }} className="mbsc-btn-flat" data-icon="phone">Call</button>
<button onClick={() => { this.action('Message') }} className="mbsc-btn-flat" data-icon="bubble">Message</button>
</mobiscroll.CardFooter>
</mobiscroll.Card>
<mobiscroll.Card
theme="ios"themeVariant="light"lang=""
>
<img src="https://img.mobiscroll.com/demos/card_5.png" />
<mobiscroll.CardContent>
Explore the azure depths with a stay at the Manta Resort's underwater room.
</mobiscroll.CardContent>
<mobiscroll.CardFooter>
<button className="mbsc-btn-flat">Share</button>
<button className="mbsc-btn-flat">Explore</button>
</mobiscroll.CardFooter>
</mobiscroll.Card>
</div>
);
}
}
<div id="content"></div>
Show more code
Cards - Images
Change demo
Images
Display images inside cards in a couple of different ways. Place it as a cover, make it full-width, inset images or use them as thumbnails.
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!
Thanks for downloading
Customize demos locally
Everything is set up so that you can dig in right away and start exploring.
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
Everything is set up so that you can dig in right away and start exploring.
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
Everything is set up so that you can dig in right away and start exploring.
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! 👍
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 👍