Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Textarea

A theme override for a textarea form element enhances multi-line text input areas.

Key Features

  • HTML Attributes Customization: Supports adding HTML attributes to the textarea, improving styling and accessibility.

  • Default Styling with form-control: Incorporates Bootstrap's form-control class for consistent styling.

  • Utility Class Integration: Allows adding extra utility classes for specific design and styling needs.

Customization Options

  • Flexible Styling: Utilize Bootstrap and custom utility classes for tailored appearance and functionality.

  • Adaptive Content: Easily adaptable to various types of text input, suitable for multiple form designs.

Usage

{% include 'radix:textarea' with {
  value: 'Initial content',
  textarea_utility_classes: ['additional-custom-class']
} %}
PreviousTaxonomyNextToasts

Last updated 1 year ago

Was this helpful?