14 effects
Effects for inputs
These are form fields with a better finish: a floating label, a border that lights up on focus. They go in contact, signup and checkout forms and in the main box of a tool, like search or an AI prompt. Use the subtler one for ordinary forms and save the flashier one for when the field is the centerpiece of the page.
The inputs effects
- Star ratingFive stars that light up in sequence on hover and burst with sparks on click, with a phrase for each rating. It can also display an average with a partly filled star. Works with the keyboard arrow keys.
- Expanding search barA round magnifier button that opens into a search field on click, with a suggestion list that filters as you type and works with arrow keys. Esc or clicking outside collapses it when empty.
- Glowing inputA glowing AI prompt box with a warm-to-blue gradient border and a faint cloud of letters drifting off its edges. It glows brighter when the user clicks to type.
- Line draw inputAn underline-only input. On click the label floats up and a blue line draws itself across the field with a glint running along its tip; with invalid data it draws in red.
- Floating label inputA floating label input. The label sits inside the field and moves up and shrinks when the user clicks or starts typing, instead of vanishing like a placeholder.
- Tag inputEach word becomes a tag on Enter or comma. Backspace highlights then deletes the last one, duplicates are refused (the existing tag shakes) and a pasted list becomes several tags. Clickable shortcuts sit below.
- Credit card formA card form with a 3D card beside it: digits appear on the card as you type, the brand is detected and recolors the card, and focusing the security code flips it to show the back. Checks the number and expiry.
- OTP inputSix boxes for the SMS or email code: focus jumps to the next box as you type, Backspace goes back, the whole code can be pasted, and when it is complete the boxes light up in a wave. A wrong code shakes them.
- Liquid toggle switchA switch where the color flows across like liquid, with a blob that stretches mid-way before the knob settles. It is a real checkbox, with focus and keyboard support.
- Quantity stepperMinus and plus buttons with a number that rolls like an odometer: each digit rolls up or down in its own column, including the 9 to 10 rollover. Holding a button repeats and speeds up, and the arrow keys work.
- Password strength meterA password field with four bars that fill as the password improves and a line saying what is missing. The eye blinks and its pupil follows the mouse; clicking shows or hides the password as a slash draws across it.
- Range slider with elastic tooltipA range slider with a value bubble on the thumb. Dragging fast tilts and stretches the bubble, which springs back to rest when you stop. Works with mouse, touch and keyboard.
- Brazilian phone inputA phone field with the Brazilian flag and +55, a mask that formats as (31) 98888-7766 while typing, DDD (area code) validation showing the state, and a mobile or landline tag. Accepts pasted numbers with +55, spaces and dashes.
- File dropzoneA dashed drop area: the border lights up and particles rise while a file hovers over it, and on drop each file joins a list with a thumbnail and progress bar. Refuses wrong types and oversized files.
Other categories
Backgrounds43Text27Buttons41Cards27Modals15Icons6Loaders27Screen7Scroll5Mouse14Images11Navigation20Sidebar22Dashboard18