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

Components

Button Flat

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

Color scheme
Brand
Density
Radius
Emphasis
Type scale

API

Props

PropertyValuesDefaultDescription
sizexlarge · large · medium · small · xsmallmedium
levelprimary · accentprimary
labeltextNút hành độngChữ trên nút
leadingIcontext
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
accent

Section 04

States

defaulthoverpressedfocuseddisabledprimary
accent

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