Skip to main content
Glama
deleonio
by deleonio
variants.tsx1.1 kB
import React, { forwardRef } from 'react'; import { InputCheckboxCases } from './cases'; import type { Components } from '@public-ui/components'; import { SampleColumns } from '../../SampleColumns'; export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxVariant(props, ref) { return ( <> <SampleColumns> <fieldset> <legend>Label align &quot;left&quot; with label</legend> <InputCheckboxCases {...props} _labelAlign="left" /> </fieldset> <fieldset> <legend>Label align &quot;left&quot; without Label (hideLabel)</legend> <InputCheckboxCases ref={ref} {...props} _hideLabel _labelAlign="left" /> </fieldset> </SampleColumns> <SampleColumns> <fieldset> <legend>Label align &quot;right&quot; with label</legend> <InputCheckboxCases {...props} /> </fieldset> <fieldset> <legend>Label align &quot;right&quot; without Label (hideLabel)</legend> <InputCheckboxCases ref={ref} {...props} _hideLabel /> </fieldset> </SampleColumns> </> ); });

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