Buttons
Base Button
Button scale
Button Base color
Theme white box
Theme light box
Theme gray box
Theme dark box
Theme primary box
Theme box - round
Theme box - round
Line style - light
Line style - gray
Line style - dark
Line style - primary
Border style - light
Border style - gray
Border style - dark
Border style - primary
Underline style - light
Underline style - gray
Underline style - dark
Underline style - primary
Fill Transition style - light
Fill Transition style - gray
Fill Transition style - dark
Fill Transition style - primary
Group
Group - fill (full - dynamic width)
Group - fill (full - same width)
Group - fill (grid)
Group - fill (justify)
Group - direction (left)
Group - direction (center)
Group - direction (right)
Group - vertical align (top)
Group - vertical align (middle)
Group - vertical align (bottom)
Gap (between space)
Gap - Same width (with responsive)
Block type
Block align style
Hover effect
Hover effect (with dropdown)
Class
name | description |
.sp--btn-group | 버튼 그룹박스 |
.sp--btn | 버튼 |
Attribute
name | description |
scale |
xs, sm, md, lg, xl, 2xl, 3xl 버튼의 크기를 결정하는 attribute |
theme | 버튼의 디자인을 결정하는 테마 attribute |
fill |
full, grid, justify 버튼 그룹에 지정해서 버튼이 그룹내에서 나열되는 모습을 지정 |
direction |
left, center, right 버튼의 가로 정렬 ( 좌, 중, 우) |
vertical |
top, middle, bottom 버튼의 세로 정렬 ( 상, 중, 하 ) |
gap |
xs, sm, md, lg, xl, 2xl, 3xl 버튼사이의 여백을 표현함. ( xs = 1px, 3xl = 30px ) |
float |
right 버튼 내부의 정렬 ( with span ) |
effect |
버튼의 역할이 아닌 경우에도 함께 사용할 이펙트 영역 스케일이나 테마 없이 class="sp--btn" effect="underline" 이런 형태로 사용한다. |
Etc