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

Components

Button Icon-Main

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

Color scheme
Brand
Density
Radius
Emphasis
Type scale

API

Props

PropertyValuesDefaultDescription
sizexlarge · large · medium · small · xsmall · 2xsmallmedium
levelprimary · accent · secondary · tertiary · danger · danger-subtle · positive · positive-subtleprimary
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
2xsmall

Section 03

Level × Size

xlargelargemediumsmallxsmall2xsmallprimary
accent
secondary
tertiary
danger
danger-subtle
positive
positive-subtle

Section 04

States

defaulthoverpressedfocuseddisabledprimary
accent
secondary
tertiary
danger
danger-subtle
positive
positive-subtle

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