Textarea

Displays a form textarea or a component that looks like a textarea.

Installation

The CLI is not yet available. For now, manually copy the component source into your project.

rust-shadcn-ui add textarea

Usage

use yew::prelude::*;

use crate::components::ui::textarea::Textarea;

#[component]
fn Usage() -> impl IntoView {
    view! {
        <Textarea />
    }
}

Examples

Default

Disabled

With Label

With Text

With Button

Form

See Also