motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Input
  5. Notched Label Input
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Input

Notched Label Input

New

A field whose label moves into a gap in its outline, with a character counter ring that fills up to the limit.

npx motionsnack add notched-label-input

Customize

Warning Colour
Error Colour
Success Colour
px
px
s
<NotchedLabelInput />

Props

30 properties

PropertyTypeDefaultDescription
valuestring-Controlled value. Leave undefined to let the component manage it.
defaultValuestring''Value on first render when uncontrolled.
onChange(value: string) => void-Called with the new text on every change.
namestring-Name submitted with a form.
autoCompletestringfrom typeNative autocomplete hint.
clearLabelstring'Clear text'Accessible name of the clear button.
invalidbooleanfalseInvalid without its own message.
charactersOverLabelstring'{n} characters too many.'Error text past the limit.
warnColorstring-Deprecated alias of warningColor.
idstringgeneratedId of the input.
classNamestring''Extra classes on the wrapper.
labelstring'Project name'Label that moves into a gap in the outline on focus or when filled.
placeholderstring'e.g. Spring launch'Hint inside the field, visible once the label has moved up.
maxLengthnumber40Character limit for the counter. Typing past it is allowed and shows an error. 0 = no limit.
showCounterbooleantrueShow the character counter with a ring that fills up.
helperTextstring'Shown on the invoice and in your dashboard.'Small text under the field. Empty hides it.
errorstring''Error message. Any text turns the outline red and replaces the helper text.
type'text' | 'email' | 'tel' | 'url''text'Native input type.
requiredbooleanfalseMarks the field as required.
disabledbooleanfalseDisables the field.
readOnlybooleanfalseFocusable and selectable, but not editable.
clearablebooleanfalseClear button while the field has a value.
warningstring''Warning message in the helper slot. Does not block submit.
successbooleanfalseCheck at the end after an async check passed.
warningColorstring''Counter near the limit and warning message, both themes. Empty uses the per-theme pair.
errorColorstring''Error colour for both themes. Empty uses the per-theme pair.
successColorstring''Success colour for both themes. Empty uses the per-theme pair.
heightnumber48Height of the field.
radiusnumber12Corner radius of the field.
durationnumber0.3Seconds the label takes to move.

About Notched Label Input

Notched Label Input keeps its label inside the field until it is focused or filled, then moves it up into a gap that opens in the outline. On the right a small ring fills as the text grows and the counter turns amber close to the limit and red at it. Focus shows the library's clear outline, white on dark pages and black on light ones. Helper text, a required mark and an error state are built in, and the counter is read out to screen readers.

What's included

  • Label that moves into a gap in the outline
  • Character counter with a filling ring
  • Warning and limit colours
  • Clear focus outline, white on dark and black on light
  • Helper text, required and error states
  • Light and dark look
Type
Animated React input component
Library
Components · Input
Stack
Next.js, React, Tailwind CSS
Added
2026-11-23
Install
npx motionsnack add notched-label-input