Autosize Textarea Max Height
spectrumui/autosize-textarea-max-heightFreeComponent
component for the Autosize Textarea Max Height
Install it
npx shadcn@latest add https://ui.spectrumhq.in/r/autosize-textarea-max-height.jsonSource
1import React from "react";2import { AutosizeTextarea } from "@/components/ui/autosize-textarea";34const AutosizeTextareaWithMaxHeight = () => {5 return (6 <div className="w-full px-10">7 <AutosizeTextarea8 placeholder="This textarea with min height 52 and max height 200."9 maxHeight={200}10 />11 </div>12 );13};1415export default AutosizeTextareaWithMaxHeight;
What it pulls in
Other registry items
Files it writes
More from spectrumui
All 182 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Accordionaccordion | spectrumui | Components | Free | no deps | |
| Alert demoalert-1 | spectrumui | Components | Free | 1 dep | |
| Alert 2alert-2 | spectrumui | Components | Free | no deps | |
| Alert 3alert-3 | spectrumui | Components | Free | 1 dep | |
| Alert 4alert-4 | spectrumui | Components | Free | 1 dep | |
| Animated Cardanimated-card | spectrumui | Components | Free | 1 dep · 2 files | |
| Animated Draweranimated-drawer | spectrumui | Components | Free | 4 deps | |
| Animated SVG Chartanimated-SVG-chart | spectrumui | Components | Free | 1 dep |
