Modal content goes here...
{isXS && 'xs'}{isSM && 'sm'}{isMD && 'md'}{isLG && 'lg'}{isXL && 'xl'}.
>
)
}
```
```
--------------------------------
### Get Input Change
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/input.mdx
Captures and logs input changes using the 'onChange' event handler.
```jsx
() => {
const [value, setValue] = React.useState()
const handler = (e) => {
setValue(e.target.value)
console.log(e.target.value)
}
return (
)
}
```
--------------------------------
### Basic Drawer Usage
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/drawer.mdx
Demonstrates the basic implementation of a Drawer. Use the `visible` prop to control its open/closed state and `onClose` to handle closing events.
```jsx
() => {
const [state, setState] = React.useState(false)
return (
Some content contained within the drawer.
new Object().This is a simulated page, you can click anywhere to close it.
> ) const [visible, setVisible] = React.useState(false) return ( <>{isXS && 'xs'}{isSM && 'sm'}{isMD && 'md'}{isLG && 'lg'}{isXL && 'xl'}.
>
)
}
```
--------------------------------
### Capacity with Fixed Color
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/capacity.mdx
Overrides the default color of the Capacity indicator by providing a custom color string. This example uses the success color from the Geist UI theme.
```jsx
() => {
const theme = useTheme()
return Keyboard events are triggered only when the element is activated.
Some content contained within the drawer.
```
--------------------------------
### Basic Usage
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/textarea.mdx
A simple Textarea for basic multi-line input.
```APIDOC
## Basic Usage
### Description
This demonstrates the fundamental usage of the Textarea component for capturing multi-line user input.
### Component
```jsx
```
```
--------------------------------
### Select Component Properties
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/select.mdx
Configuration options for the Select component.
```APIDOC
## Select Component API
### Properties
| Attribute | Description | Type | Accepted values | Default |
| --------------------------- | -------------------------------------------------------- | --------------------------------------------------- | --------------------------- | --------------- |
| **value** | selected value | `string`, `string[]` | - | - |
| **initialValue** | initial value | `string`, `string[]` | - | - |
| **placeholder** | placeholder string | `string` | - | - |
| **width** | css width value of select | `string` | - | `initial` |
| **type** | current type | `SelectTypes` | [SelectTypes](#selecttypes) | `default` |
| **icon** | icon component | `ComponentType` | - | `SVG Component` |
| **pure** | remove icon component | `boolean` | - | `false` |
| **multiple** | support multiple selection | `boolean` | - | `false` |
| **clearable** | add clear icon on multiple selection (ignored otherwise) | `boolean` | - | `true` |
| **disabled** | disable current radio | `boolean` | - | `false` |
| **onChange** | selected value | (val: string | string[]) => void | - | - |
| **dropdownClassName** | className of dropdown menu | `string` | - | - |
| **dropdownStyle** | style of dropdown menu | `object` | - | - |
| **disableMatchWidth** | disable Option from follow Select width | `boolean` | - | `false` |
| **getPopupContainer** | dropdown render parent element, the default is `body` | `() => HTMLElement` | - | - |
| **onDropdownVisibleChange** | dropdown change events | `(visible: boolean) => void` | - | - |
| **ref** | forwardRef | `SelectRef` | [SelectRef](#selectref) | - |
| ... | native props | `HTMLAttributes` | `'name', 'alt', ...` | - |
```
--------------------------------
### Basic Modal Usage
Source: https://github.com/geist-org/geist-ui/blob/master/pages/en-us/components/modal.mdx
Demonstrates how to use the Modal component with a button to trigger its visibility. It utilizes the `useModal` hook for managing the modal's state.
```javascript
() => {
const { visible, setVisible, bindings } = useModal()
return (
<>
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.
An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications. An open-source design system for building modern websites and applications.