Skip to Content
FoundationsIcignalBreakpoints (반응형 브레이크포인트)

Breakpoints (반응형 브레이크포인트)

iCignal의 반응형 브레이크포인트는 Foundation과 완전히 동일합니다.

Foundation 상속

iCignal은 Tailwind CSS 기본 브레이크포인트를 사용합니다.

Breakpoint Scale

BreakpointMin Width기기Tailwind Prefix
xs0pxMobile (기본)(prefix 없음)
sm640pxLarge Mobilesm:
md768pxTabletmd:
lg1024pxDesktoplg:
xl1280pxLarge Desktopxl:
2xl1536pxExtra Large Desktop2xl:

실전 예제

import { Button } from "@vortex/ui-icignal"; export default function Hero() { return ( <section className="py-2xl lg:py-3xl px-md lg:px-xl bg-primary-50"> <div className="max-w-screen-xl mx-auto text-center"> <h1 className="text-3xl md:text-4xl lg:text-5xl font-bold text-text-primary mb-md"> iCignal Platform </h1> <p className="text-base md:text-lg text-text-secondary mb-xl max-w-2xl mx-auto"> Responsive design with iCignal branding </p> <div className="flex flex-col sm:flex-row gap-md justify-center"> <Button variant="primary">Get Started</Button> <Button variant="outline">Learn More</Button> </div> </div> </section> ); }

다음 단계

Last updated on