--- order: 10 title: zh-CN: 密码框 en-US: Password box --- ## zh-CN 密码框。 ## en-US Input type of password. ```tsx import { EyeInvisibleOutlined, EyeTwoTone } from '@ant-design/icons'; import { Button, Input, Space } from 'antd'; import React from 'react'; const App: React.FC = () => { const [passwordVisible, setPasswordVisible] = React.useState(false); return ( (visible ? : )} /> ); }; export default App; ```