Documentation
Foundations
Components
Accordion
Accordion â›”
ActionBar
Alert
Avatar
Badges
Block
BottomSheet
Buttons
Calendars
Carousel
Chip
Comment
Compass
Confirm
Copy
Dialog
Drawer
Dropdown
ElasticContainer
Error
Expand
Filter
FloatingContainer
Group
Hint
Icon
Inputs
ComboBox
InputCard
InputCardGroup
InputChip
InputColor
InputDate
InputDateMulti
InputDateRange
InputDateTime
InputFiles
InputInline
InputMonth
InputNumber
InputPhoneInternational
InputPin
InputSlider
InputTime
InputYear
Select
Textarea
Textfield
Inputs (Legacy)
Island
ItemGroup
ItemsWithMore
Label
Like
LineClamp
Link
Loader
Message
Mobile
Notification
Pager
PdfViewer
Pin
Preview
Progress
Pulse
Push
Rating
Scrollbar
Sheet
SheetDialog
Sliders
Status
Surface
SwipeActions
Table
Tag
ThumbnailCard
Tiles
Title
Toggles
Tree
Layout
Navigation
Charts
Customization
Tools
Textarea
KIT
Examples
API
Setup
More
Source code
See also
Textfield
,
InputChip
Textarea
uses
Textfield
to create a multi-line string input.
Basic
#
Component would grow from minimal amount of rows until given maximum number of rows, after which scroll will be introduced.
Preview
HTML
TypeScript
LESS
More
Edit
Large with label inside
Clear
Medium with label inside
Clear
Large with label outside
Clear
Medium with label outside
Clear
Small with label outside
Clear
Copy
Copy
Copy
Copy
Limit
#
You can pass limit to enable counter and extra characters highlight. This would also add validator. If you want to hard limit the field you can use native
maxLength
attribute.
Preview
HTML
TypeScript
More
Edit
Adding [limit] directive allows you to display a counter of symbols inside the textarea, highlight excessive characters in red and also automatically add Validators.maxlength(x) validator
0 / 100
Limit
Clear
Programmatically update
Copy
Copy
Copy
Custom highlight
#
It is possible to override default behavior to introduce your own highlight or other cosmetics.
Preview
HTML
TypeScript
LESS
More
Edit
You can implement your own highlight, just make sure you do not alter font width or height
You can implement your own highlight, just make sure you do not alter font
width
or
height
Custom highlight
Clear
Copy
Copy
Copy
Copy
Icons
#
Being built on top of
Textfield
, Textarea supports most of the same configurations, such as icons on both sides.
Preview
HTML
TypeScript
More
Edit
Your best thought
Clear
Copy
Copy
Copy
Taiga UI
v4.48.0
More