We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.7.0
import {InputOtp} from "@heroui/react"; export default function App() { const variants = ["flat", "bordered", "underlined", "faded"]; return ( <div className="w-full flex flex-wrap gap-4"> {variants.map((variant) => ( <div key={variant}> <div className="text-default-500">variant: {variant}</div> <InputOtp length={4} variant={variant} /> </div> ))} </div> ); }
in this inputOtp add a bg-black for background color is black and using this is input otp is not visable because text is black and bg-black
import { InputOtp } from "@heroui/react"; export default function App() { const variants = ["flat", "bordered", "underlined", "faded"]; return ( <div className="w-full flex flex-wrap gap-4 bg-black"> {variants.map((variant) => ( <div key={variant}> <div className="text-default-500">variant: {variant}</div> <InputOtp length={4} variant={variant} /> </div> ))} </div> ); }
No response
when bg-black then inputOtp field number is white
and on bg-white then inputOtp text-black
windows
Chrome
The text was updated successfully, but these errors were encountered:
ENG-2393 [BUG] - Input-otp variants
Sorry, something went wrong.
wingkwong
Successfully merging a pull request may close this issue.
HeroUI Version
2.7.0
Describe the bug
in this inputOtp add a bg-black for background color is black and using this is input otp is not visable because text is black and bg-black
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
when bg-black then inputOtp field number is white
and on bg-white then inputOtp text-black
Screenshots or Videos
No response
Operating System Version
windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: