# 스와이프

**스와이프 블록은 언제 사용하나요?**

* 주로 복합메타에서 정해진 값을 가로로 스크롤해 보여줄 때 사용해요.

**스와이프 블록의 특징은 무엇인가요?**

* 스와이프 블록은 [listByMeta](https://docs.ohmyapp.io/main/guide/develop_app/4/block/list/listbymeta) 블록의 화면 설정 ➡︎ 타입 ➡︎ '스와이프'와 구분해야 해요.&#x20;
* 우리가 등록한 게시물(데이터)을 가로로 스크롤 하며 보여주고 싶을 땐 스와이프 블록이 아닌 listByMeta 블록의 화면 설정 > 타입을 스와이프로 설정해 줘야 해요.&#x20;
* 스와이프 블록은 게시물(데이터)이 아닌 블록들을 가로 정렬하고 가로로 스크롤 할 수 있게 도와주는 기능이에요. 예를 들면, 쇼핑몰 앱 홈 화면에서 상의, 하의, 아우터에 대한 아이콘(이미지 블록)을 가로로 띄워주는 화면을 떠올리면 쉬워요.

<div align="left"><figure><img src="https://3976660509-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDgfvhQgmY9NbRK0Sln7j%2Fuploads%2FjHieabNkiCYk1unpootM%2F%E1%84%89%E1%85%B3%E1%84%8F%E1%85%B3%E1%84%85%E1%85%B5%E1%86%AB%E1%84%89%E1%85%A3%E1%86%BA%202023-08-14%20%E1%84%8B%E1%85%A9%E1%84%92%E1%85%AE%207.24.54.png?alt=media&#x26;token=9a1352a6-4984-4150-8224-38ada650dbba" alt="" width="563"><figcaption></figcaption></figure></div>

2024.02.20 Jinny

## Swipe

Arrange data (blocks) horizontally and allow to scroll through these items.

**When do I use the swipe block?**

* This block is used to show a set value on a compound meta page through horizontal scrolling.&#x20;

**What are the characteristics of swipe blocks?**

* Swipe blocks' swipe type needs to be distinguished, which can be done in listByMeta's "block properties".
* When wanting to show registered posts (data) while scrolling horizontally, the swipe type needs to be set in the listByMeta block properties, not the swipe block.&#x20;
* The swipe block is a feature that allows horizontal arrangements and scrolling through blocks, not posts (data). An example would be a shopping mall app home screen that displays icons (image blocks) for tops, bottoms, and outwear horizontally.

> \#스와이프, #스와이프란?, #복합 메타, #가로 스크롤, #가로로 스크롤 하는 방법, #가로로 배치하기, #가로 배열하기, #가로 정렬하기, #수평으로 정렬하기, #가로로 배치하는 방법, #레이아웃

2023.07.27 Hwaran
