Components
Radio
Dựng từ contract Radio-Button/Radio-Mark, gồm 30 variant, properties Size × State × Select.
- Color scheme
- Brand
- Density
- Radius
- Emphasis
- Type scale
API
Props
| Property | Values | Default | Description |
|---|---|---|---|
size | medium · small · large | medium | |
checked | boolean | false | Select property của contract |
disabled | boolean | false | |
label | text | Chuyển khoản | |
rowHovered | boolean | false | Dòng danh sách chứa nút đang được rê chuột |
state | default · hover-row · hover-mark · focused · disabled | default | Ép trạng thái, chỉ dùng khi chụp tài liệu |
Section 01
Default
Section 02
Checked
Section 03
Disabled
Section 04
Sizes
Size
medium
small
large
Section 05
Select × State
defaulthover-rowhover-markfocuseddisabledunchecked
checked
Section 06
Group
Radio group
Các nút cùng thuộc tính name thì trình duyệt tự giới hạn chỉ chọn một, không cần JS.