Files
upstream-shadcn-ui/apps/v4/public/r/styles/default/textarea-with-text.json
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

18 lines
888 B
JSON

{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "textarea-with-text",
"type": "registry:example",
"author": "shadcn (https://ui.shadcn.com)",
"registryDependencies": [
"textarea",
"label"
],
"files": [
{
"path": "examples/textarea-with-text.tsx",
"content": "import { Label } from \"@/registry/default/ui/label\"\nimport { Textarea } from \"@/registry/default/ui/textarea\"\n\nexport default function TextareaWithText() {\n return (\n <div className=\"grid w-full gap-1.5\">\n <Label htmlFor=\"message-2\">Your Message</Label>\n <Textarea placeholder=\"Type your message here.\" id=\"message-2\" />\n <p className=\"text-sm text-muted-foreground\">\n Your message will be copied to the support team.\n </p>\n </div>\n )\n}\n",
"type": "registry:example",
"target": ""
}
]
}