Skip to main content
Glama
deleonio
by deleonio
disabled.tsx854 B
import { KolInputText } from '@public-ui/react-v19'; import type { FC } from 'react'; import React from 'react'; import { SampleDescription } from '../SampleDescription'; export const InputTextDisabled: FC = () => ( <> <SampleDescription> <p>This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.</p> </SampleDescription> <div className="grid gap-4"> <KolInputText _label="Disabled with placeholder" _placeholder="Placeholder text" _disabled /> <KolInputText _label="Disabled with value" _value="This field is disabled" _disabled /> <KolInputText _label="Disabled with error message" _value="Invalid value" _msg={{ _type: 'error', _description: 'Error message' }} _disabled _touched /> <KolInputText _label="Comparison: Enabled" _value="This field is enabled" /> </div> </> );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server