Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chakra-ui/textarea

Package Overview
Dependencies
Maintainers
2
Versions
475
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/textarea

Textarea React component for Chakra UI

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
350K
decreased by-28.29%
Maintainers
2
Weekly downloads
 
Created
Source

Textarea

The Textarea component allows you to easily create multi-line text inputs.

Installation

yarn add @chakra-ui/textarea

Import component

import { Textarea } from "@chakra-ui/textarea"

Basic Usage

<Textarea defaultValue="This is a textarea" placeholder="A simple textarea" />

Disabled

Pass the isDisabled prop to put the textarea in the disabled state

<Textarea isDisabled placeholder="A disabled textarea" />

Invalid

Pass the isInvalid prop to put the textarea in the invalid state

<Textarea isInvalid placeholder="An invalid textarea" />

Sizes

Pass the size prop to change the size of the textarea

<>
  <Textarea
    size="sm"
    placeholder="A sample placeholder"
    defaultValue="This is a small textarea"
  />
  <Textarea
    placeholder="A sample placeholder"
    defaultValue="This is a default textarea"
  />
  <Textarea
    size="lg"
    placeholder="A sample placeholder"
    defaultValue="This is a large textarea"
  />
</>

Resize

Pass the resize prop to resize to textarea in the vertical or horizontal direction

<Textarea placeholder="Here is a sample placeholder" resize="horizontal" />

Keywords

FAQs

Package last updated on 09 Nov 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc