🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@isoftdata/svelte-textarea

Package Overview
Dependencies
Maintainers
12
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@isoftdata/svelte-textarea

latest
npmnpm
Version
2.2.0
Version published
Maintainers
12
Created
Source

Svelte Textarea

Screenshot of the attachment component

Install

pnpm i @isoftdata/svelte-textarea

Breaking changes

2.0.0

  • Require Svelte 5
  • Slots -> Snippets
  • Events -> Callbacks

Props

NameTypeDescriptionDefault
classstringThe class name(s) to add to the textarea.undefined
hintstring | Snippet | nullHint text to be displayed as part of the labelnull
hintClassClassValueThe class name(s) to add to the hint text.undefined
hintClickablebooleanWhether the hint is clickable or not.false
idstringThe unique identifier .uuid()
isLoadingbooleanWhether the component is in a loading state or not.false
labelstring | nullThe label text for the component.null
labelClassClassValueThe class name(s) to add to the label element.undefined
labelParentClassClassValueThe class name(s) to add to the label's parent.undefined
lazyboolean | numberWhen using binding, true means the value will update onchange, false means oninput. A millisecond number value indicates the delay from the last UI interaction(debouncing)false
requiredbooleanWhether the field is required or not.false
selectOnFocusbooleanWhether to select the text on focus or not.false
showLabelbooleanWhether to show the label.true
size"" | "sm" | "lg"The size of the textarea component.""
textareaHTMLTextAreaElementThe textarea element. Useful if you want to call focus() or another function.N/A
textEllipsisbooleanWhether to show ellipsis for overflowing label texr.false
titlestringThe title text for the component.undefined
valuestringThe value of the component.None (Required)

Snippets

  • append - Any content you want to append to the input.
  • prepend - Any content you want to prepend to the input.
  • hint - Passed to the label component

Events

All event callbacks/handlers are passed to the underlying textarea as normal

Example

	<div class="row">
		<div class="col-3">
			<TextArea
				label="Two Way"
				bind
			/>
			{value}
		</div>
		<div class="col-3">
			<TextArea
				label="One Way / on:change"
				value={value2}
				onchange={changeHandler}
			/>
			{value2}
		</div>
	</div>

FAQs

Package last updated on 01 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts