npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ibrahimstudio/textarea

v1.0.1

Published

@ibrahimstudio/textarea, a reusable, highly customizable `<textarea>` component for React applications.

Readme

@ibrahimstudio/textarea, a reusable, highly customizable <textarea> component for React applications. This component allows developers to create beautiful, functional text areas with advanced styling, accessibility options, and a wide range of configurations for different use cases.

The custom <textarea> component provides an enhanced text area for React applications. It supports dynamic customization, accessibility features, and integrations with form management systems. Designed with flexibility in mind, this component helps developers implement complex features without sacrificing ease of use.

Code by Ibrahim Space Studio, Design by Ibrahim Design Studio.

1. Features

  • Customizable Styling: Define border radius, colors, and more with dedicated props.
  • Accessibility Support: Includes attributes like aria-label, autocomplete, and more.
  • Validation Features: Show error or additional messages dynamically.
  • Responsive Input Handling: Supports flexible configurations like minlength, maxlength, and word wrapping.
  • Flexible Dimensions: Adjust the number of visible rows easily.

2. Installation

You can install this package via npm:

npm i @ibrahimstudio/textarea

or via yarn:

yarn add @ibrahimstudio/textarea

3. Usage

Import the Textarea component in your React application:

import { Textarea } from "@ibrahimstudio/textarea";

Custom Styling

You can customize the appearance of the component by passing style-related props like radius, bcolor (background color), pcolor (primary color), and scolor (secondary color)

Handling Validation

Use the errormsg and additmsg props to display error or additional information dynamically.

4. API

Textarea Props

| Attribute | Type | Required | Description | Depend To | Default | | ---------------- | ----------------------------------------------- | -------- | ------------------------------------------------------------------- | ---------------- | -------------------------------- | | id | string | Yes | A unique identifier for the component. | - | '@ibrahimstudio/textarea' | | form | string | - | Associates the textarea with a <form> element via its id. | - | - | | name | string | Yes | The name of the textarea, used in form submissions. | - | 'textarea' | | placeholder | string | - | Placeholder text displayed inside the textarea when it's empty. | - | 'Typing in here now ...' | | value | string number | Yes | The current value of the textarea. | - | '' | | autocomplete | 'on' 'off' string | - | Specifies whether autocomplete is enabled. | - | - | | autocapitalize | string | - | Determines capitalization behavior for text input. | - | - | | autocorrect | 'on' 'off' | - | Specifies whether autocorrect is enabled. | - | - | | spellcheck | boolean | - | Enables spellchecking for the textarea. | - | - | | wrap | 'hard' 'soft' 'off' | - | Specifies how text is wrapped in the textarea. | - | - | | minlength | number | - | Minimum number of characters allowed. | - | - | | maxlength | number | - | Maximum number of characters allowed. | - | - | | radius | 'none' 'sm' 'md' 'lg' 'full' string | - | Border radius for the textarea. | - | 'md' | | bcolor | string | - | Background color for the textarea. | - | 'var(--theme-color-base)' | | pcolor | string | - | Primary color, often used for text or border highlights. | - | 'var(--theme-color-primary)' | | scolor | string | - | Secondary color for hover or focus states. | - | 'var(--theme-color-secondary)' | | labeled | boolean | - | Determines if the textarea includes a label. | - | true | | label | string | Yes | Text for the label when labeled is true. | labeled='true' | 'ISS Textarea' | | required | boolean | - | Marks the textarea as required for form submission. | - | false | | readonly | boolean | - | Makes the textarea read-only, disabling user input. | - | false | | disabled | boolean | - | Disables the textarea entirely. | - | false | | errormsg | string | - | Error message displayed below the textarea. | - | - | | additmsg | string | - | Additional information or helper text displayed below the textarea. | - | - |

Textarea Event(s)

| Attribute | Type | Required | Description | Depend To | | ---------- | -------------------------- | -------- | ------------------------------------------------------ | --------- | | onChange | React.ChangeEventHandler | Yes | Callback fired when the value of the textarea changes. | - |

5. Contributing

Contributions are welcome! If you have any improvements, bug fixes, or features, feel free to open an issue or create a pull request on GitHub.

6. License

This project is licensed under the MIT License - see the LICENSE file for details.