Files
react-test/docs/data/joy/components/input/FocusedRingInput.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
484 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Input from '@mui/joy/Input';
export default function FocusedRingInput() {
return (
<Input
placeholder="Bootstrap"
sx={{
'--Input-focusedInset': 'var(--any, )',
'--Input-focusedThickness': '0.25rem',
'--Input-focusedHighlight': 'rgba(13,110,253,.25)',
'&::before': {
transition: 'box-shadow .15s ease-in-out',
},
'&:focus-within': {
borderColor: '#86b7fe',
},
}}
/>
);
}