# RegisterComponent with a list of item

**URL:** https://forum.builder.io/t/registercomponent-with-a-list-of-item/431
**Category:** CMS
**Created:** [January 29, 2021, 12:14am UTC](https://forum.builder.io/t/registercomponent-with-a-list-of-item/431 "2021-01-29T00:14:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![AlexisMMM](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@AlexisMMM](https://forum.builder.io/u/AlexisMMM)
#### Post date: [January 29, 2021, 12:14am UTC](https://forum.builder.io/t/registercomponent-with-a-list-of-item/431/1 "2021-01-29T00:14:58Z")

</div>

I would like to use Builder.registerComponent to register a slider of images.  
I would like to do something like this. But i cannot find any info or exemple on how i could do that.

```
Builder.registerComponent(Slider, {

```

name: ‘Slider’,  
inputs: [  
{  
name: ‘slides’,  
type: ‘list’,  
inputs: [  
{  
name: ‘test’,  
type: ‘string’,  
}  
]  
}  
],  
});

Can u provide a working exemple.  
Thanks

---

<div class="post-metadata">

### Author: ![kara](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/kara/32/80_2.png) [@kara](https://forum.builder.io/u/kara)
#### Post date: [February 3, 2021, 12:24am UTC](https://forum.builder.io/t/registercomponent-with-a-list-of-item/431/2 "2021-02-03T00:24:14Z")

</div>

Hey Alexis,

If you want to use [custom components](https://www.builder.io/c/docs/custom-react-components) in Builder, you can start with what you already have, but you’ll want to adjust your [inputs](https://www.builder.io/c/docs/custom-react-components#input-type-examples). Since your goal is to create a slider of images, I would recommend using the `file` type instead of `list`. This will allow you to upload a file and provides the value as a url string.

Feel free to reach out if you have any additional questions!
