Theme
Install with your agentnpx shadcn@4.23.1 add @goop/meadow-label

Label

Free

The words that name one form control, tied to it so a press on them focuses it, for React and Tailwind CSS. Free, MIT.

Change the words, disable it with its field; press the words and the focus goes into the field. Nothing is saved: the field keeps what you type until Reset.

When to use

  • The words that name one form control, tied to it so a press on them focuses it.
  • Also called: form label.

Installation

Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Label on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing.

Terminal
npx shadcn@4.23.1 add @goop/meadow-label
PROMPT
Add the Goop Label to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { Label } from '@/components/ui/goop/label';
import { TextInput } from '@/components/ui/goop/text-input';

function SiteNameField() {
  return (
    <div className="flex flex-col gap-2">
      <Label htmlFor="site-name">Location</Label>
      <TextInput id="site-name" placeholder="North meadow transect" />
    </div>
  );
}
  • Fits: settings, flow: field.
  • width, text: add no class for these.

API reference

Options
OptionTypeWhat it does
disabled?booleanDims the words to half, as the field dims its words when disabled; the control is disabled by its caller.
htmlFor?string
  • Class recipes (cva): labelVariants
  • data-slot values (to select a part by): label

Notes for AI

Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.

goop.so/themes/meadow/components/label.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add @goop/meadow-label

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.