Casso Brand Kit
Tải trọn bộ logo
Mục lục

Components

Button Icon-Flat

Dựng từ contract Button/Icon-Flat, gồm 125 variant, properties Size × Level × State.

Color scheme
Brand
Density
Radius
Emphasis
Type scale

API

Props

PropertyValuesDefaultDescription
sizexlarge · large · medium · small · xsmallmedium
levelprimary · secondary · accent · danger · positiveprimary
labeltextThêmDùng làm aria-label
leadingIcontexticon-plus-line
disabledbooleanfalse
statedefault · hover · pressed · focused · disableddefaultÉp trạng thái, chỉ dùng khi chụp tài liệu

Section 01

Default

Section 02

Sizes

Size

xlarge
large
medium
small
xsmall

Section 03

Level × Size

xlargelargemediumsmallxsmallprimary
secondary
accent
danger
positive

Section 04

States

defaulthoverpressedfocuseddisabledprimary
secondary
accent
danger
positive

Property State trong Figma ứng với pseudo-state của CSS. Prop state chỉ dùng khi chụp tài liệu.