Password Input
Preview
index.tsxPreview
index.tsxClearable
Preview
index.tsxPreview
index.tsxStates
Preview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxFloating label
Preview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxSize Medium
Preview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxPreview
index.tsxAlternative
Preview
index.tsxPreview
index.tsxClearable
Preview
index.tsxPreview
index.tsxStates
Preview
index.tsxPreview
index.tsxPreview
index.tsxFloating label
Preview
index.tsxPreview
index.tsxDesign Tokens for PasswordInput
Note: PasswordInput uses the same design tokens as the Input component. See BaseInput documentation for available tokens.
PasswordInput API Reference
<PasswordInput />
Prop | Type | Default | Description |
---|---|---|---|
color | 'accent' | 'neutral' | 'neutral' | Màu của biểu tượng mắt (eye icon) |
defaultHidden | boolean | true | Ẩn mật khẩu theo mặc định |
...InputProps | Xem Input | Kế thừa tất cả props từ Input |
Lưu ý: PasswordInput kế thừa tất cả props từ Input và native input[type=password]. Xem Input documentation để biết chi tiết đầy đủ về các props và tokens.