An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
import {useState} from 'react';
import {TextArea} from '@astryxdesign/core/TextArea';
import {PencilSquareIcon} from '@heroicons/react/24/outline';
export default function TextAreaWithIcon() {
const [value, setValue] = useState('');
return (
<div style={{width: 400}}>
<TextArea
label="Meeting notes"
description="Capture key decisions and action items."
value={value}
onChange={setValue}
placeholder="What was discussed?"
startIcon={PencilSquareIcon}
/>
</div>
);
}