Capture longer text input
Textareas are designed for open-ended responses — feedback, notes, descriptions — where a single line isn't enough room.
Text areas allow for the collection of input longer than a single line.
Textareas are designed for open-ended responses — feedback, notes, descriptions — where a single line isn't enough room.
The textarea grows to accommodate longer entries, so users aren't constrained to a tiny box when they have more to say.
Error, warning, and success states follow the same conventions as the standard input, so validation feedback is consistent across the form.
Textarea field
Hint and feedback
The textarea is a multi-line text input for collecting longer freeform responses.
Renders a multi-line text input. Use when users need to enter more than a single line of text — such as feedback, notes, or detailed descriptions.
Component tokens are specific to each component. Use the table title as the prefix: form-padding-x under sgds/textarea means sgds/textarea/form-padding-x.
sgds/form/padding/xsgds/form/padding/ysgds/dimension/136Users write better answers when they know what kind of detail the field is asking for.
An unclear prompt makes responses less useful and harder to review later.
TabShift+TabText keysEnterShare them with us on
Report it on GitHub
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.