AccueilComponentsInputButtonAdornment

InputButtonAdornment

Bouton icône avec bordure latérale, à placer en début ou fin d'input.
ui
End
tsx
export const End = () => (
<Box display="flex" flexDirection="column" gap="3W">
<FormControl>
<InputButtonAdornment icon="Eye" position="end" accessibilityLabel="Afficher" onPress={() => {}} />
</FormControl>
<FormControl>
<InputButtonAdornment icon="X" position="end" accessibilityLabel="Effacer" onPress={() => {}} />
</FormControl>
</Box>
);
Start
tsx
export const Start = () => (
<FormControl>
<InputButtonAdornment icon="Plus" position="start" accessibilityLabel="Ajouter" onPress={() => {}} />
</FormControl>
);
Alveole UI Kit — v2.0.0-alpha.30