gluestack

gluestack Logogluestack

custom icon

a.said. posted this in #support
Open in Discord
Avatar
a.said.OP
How can i use my custom icon in my input component

3 Replies

Avatar
sravankumar101
<Input> <InputField /> <InputSlot> <InputIcon as={showPassword ? EyeIcon : EyeOffIcon} className="text-darkBlue-500" /> </InputSlot> </Input>
You can write something like this @a.said.
usually we recommend Icons from Lucide https://lucide.dev/guide/packages/lucide-react-native