🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@citizensadvice/cads-form-textareas

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@citizensadvice/cads-form-textareas

![npm (scoped)](https://img.shields.io/npm/v/@citizensadvice/cads-form-textareas.svg)

latest
npmnpm
Version
0.0.5
Version published
Maintainers
2
Created
Source

Form textareas

npm (scoped)

Component type

  • Component

Dependencies:

NameDescription
@citizensadvice/cads-supportSystem-wide global variables and functions
@citizensadvice/cads-interactive-blockMixins for handling interactive element (buttons, inputs)

Installation

$ npm install @citizensadvice/cads-form-textareas
@import "@citizensadvice/cads-form-textareas/index.scss";

You can also make use of the unpkg service, try adding the link below to the head of your HTML file <link src="https://unpkg.com/@citizensadvice/cads-form-textareas@latest/build/cads.form-textareas.css" />

Implementation

A textarea gives users a larger amount of space then just a single line text field to type their response. The height of your textarea will set expectations for the user on how much to enter. They may not know that the textarea can expand so make the height proportional to the amount of text to be entered.

<fieldset class="c-fieldset">
  <label class="c-label" for="message">Message:</label>
  <div class="c-textarea">
    <textarea id="message"></textarea>
  </div>
</fieldset>

FAQs

Package last updated on 11 Jan 2019

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