Admin: phần Current chỉ chỉ ra owner đang dùng; component Inbox dùng chung theo thiết kế nằm ở Target.
Admin: ảnh preview là thiết kế, không chứng minh API hoặc hành vi đã ship.
On this page
Use when / Avoid
Dùng để triển khai Tag input của Inbox theo Target. Không import tên component Target chưa tồn tại; không coi owner cục bộ là API dùng chung.
Use instead
Component
Use when
Tags
Owner hiện tại của vùng tương ứng; chưa phải Target dùng chung
Input
Ô nhập thô của kit, chưa có đủ wrapper Target
Live preview
Admin
LightDarkDesktopMobile
Target: ảnh chụp mock, xem trạng thái và vùng dùng trong Target; chưa phải implementation.
Show codeinbox-component-targets.jsxWrap code linesCopy
import React from 'react';
function Design({asset,name}) { return <figure data-inbox-design style={{margin:0}}><a href={'/maps/'+asset}><img src={'/maps/'+asset} alt={name+' Inbox design target'} style={{display:'block',maxWidth:'100%',height:'auto'}}/></a><figcaption>Target · thiết kế mock, chưa phải implementation. Ảnh không chứng minh mọi trạng thái yêu cầu đã có.</figcaption></figure>; }
export function TagInput() { return <Design asset="inbox-target-overview.webp" name="Tag input"/>; }
Import / element
Component / element
Import / file
Scope root
Tags
import Tags from '@assets/pages/InboxManagement/Parts/ConverstionDetail/Tags.js';
Owner cục bộ hiện tại; chưa có scope dùng chung cho component Target
Anatomy
Part
Element
1
Owner hiện tại: Tags; component dùng chung mới chưa có
Placement / order
Context
Order
Inbox
Theo caller hiện tại; vị trí của component mới nằm ở Target
Props
Prop
Type
Values
Default
Notes
Not available
Not available
Not available
Not available
API dùng chung mới chưa có; không tái đặt API của owner
Sizes
Size
Height
Padding
Gap
Radius
Font role (px/rem)
Hit target
Breakpoint / mechanism
Not available
Not available
Not available
Not available
Not available
Not available
Not available
Not available
Tokens
Part
Token
Light
Dark
Not available
Not available
Not available
Not available
States
State
Trigger
Visual change (values)
ARIA/attribute
Not available
Not available
Chưa có state contract dùng chung theo Target
Not available
Behaviour
Interaction
Result
Current owner
Theo logic cục bộ; contract mới xem Target
Copy
String
i18n key
Where
Not available
Not available
Nhãn do caller hiện tại quản lý
Source
File
Evidence
Owner hiện tại; không chứng minh component Target đã có
Do / Don't
Accessibility
Surface
Role / name
Keyboard / focus
Live region
Contrast pair / ratio
Admin
Owner hiện tại quản lý
Not available cho component dùng chung mới
Not available
Chưa đo cho component Target
Target
Ảnh minh hoạ chip và Add tag ở đúng vùng; hành vi nhập, gợi ý và Enter vẫn là Target. Ảnh chỉ chứng minh phần được vẽ trong mock; các trạng thái liệt kê là yêu cầu triển khai, không claim ảnh hoặc code đã có đủ.