import { TextareaDemos } from '@docs/demos'; import { Layout } from '@/layout'; import { MDX_DATA } from '@/mdx'; export default Layout(MDX_DATA.Textarea); ## Usage ## Loading state Set `loading` prop to display a loading indicator. By default, the loader is displayed on the right side of the input. You can change the position with the `loadingPosition` prop to `'left'` or `'right'`. This is useful for async operations like API calls, searches, or validations: ## Controlled ```tsx import { useState } from 'react'; import { Textarea } from '@mantine/core'; function Demo() { const [value, setValue] = useState(''); return (