---
title: "How to create \"Carousel\" in Sencha Touch?"  
description: "How to create \"Carousel\" in Sencha Touch?"  
author: "Anonymous User"  
published: 2013-06-10  
updated: 2013-08-06  
canonical: https://www.mindstick.com/forum/1014/how-to-create-carousel-in-sencha-touch  
category: "sencha touch"  
tags: ["sencha touch"]  
reading_time: 2 minutes  

---

# How to create "Carousel" in Sencha Touch?

Hi [Expert](https://www.mindstick.com/articles/13120/an-expert-financial-advice-will-improve-your-finances),\
I want to create "**[Carousel](https://answers.mindstick.com/qa/93872/how-to-create-a-caption-slides-carousel-with-bootstrap)**" in [Sencha Touch](https://www.mindstick.com/interview/23004/define-class-system-of-sencha-touch), please help me to create this.\
Your help is great appreciated.

## Replies

### Reply by Anonymous User

Hi Zaharias, If you're using Sencha Architect, you can simply drag 'Carousel' control from toolbox to View section in Sencha Inspector but if you not then simply write down the following line of code:\

```
  Ext.create('Ext.Carousel', {            fullscreen: true,            defaults: {                styleHtmlContent: true            }, // defaults            items: [                {                    html: 'red',                    style: 'background-color:#f00;'                }, {                    html: 'orange',                    style: 'background-color:#ffb600;'                }, {                    html: 'yellow',                    style: 'background-color:#ff0;'                }, {                    html: 'green',                    style: 'background-color:#80ff4d;'                }, {                    html: 'blue',                    style: 'background-color:#009dff;'                }            ] // items        }); // create()
```

For more information please check out the following link:http://try.sencha.com/[touch](https://www.mindstick.com/forum/34099/how-to-customize-selected-fields-in-a-list-in-sencha-touch-app)/2.0.0/demos/Ext.Carousel/\
Mark as answer if satisfied with this solution. Thanks!!


---

Original Source: https://www.mindstick.com/forum/1014/how-to-create-carousel-in-sencha-touch

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
