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

Components

Chip

Dựng từ contract Chip/Normal, gồm 108 variant, properties Size × Level × Leading × State × Select.

Leading là một variant property (none | icon | photo) chứ không phải prop boolean. Phần Leading chỉ có nền khi Leading=photo.

Color scheme
Brand
Density
Radius
Emphasis
Type scale

API

Props

PropertyValuesDefaultDescription
sizesmall · xsmall · mediummedium
levelsecondary · primarysecondary
selectedbooleanfalseSelect property của contract
labeltextĐã đối soát
icon26 icon names, see IconographyLeading = icon
phototextLeading = photo
statedefault · hover · focuseddefaultÉp trạng thái, chỉ dùng khi chụp tài liệu

Section 01

Default

Section 02

Selected

Section 03

Leading

none · icon · photo

none
icon
photo

Section 04

Level × Select × State

Level: secondary

defaulthoverfocusedunselected
selected

Level: primary

defaulthoverfocusedunselected
selected

Contract của Chip chỉ có ba trạng thái: Default, Hover, Focused. File thiết kế cố ý bỏ Pressed và Disabled.

Section 05

Sizes

Size

small
xsmall
medium