shadimage
mksingh
componentjsonforms-boolean-cellsource: ok · hit

Jsonforms Boolean Cell

JSONForms checkbox cell for boolean fields inside array table layouts.

npx shadcn add "https://mksingh.dev/r/jsonforms-boolean-cell.json"
free

Where it goes

data-table

Use cases

dashboard

Tags auto-generated by rules on 9/24/2026 — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light
@jsonforms/core@jsonforms/react

Registry dependencies

checkbox

Files1 · source cached 10/14/2026, 11:23:20 AM

registry/forms/renderers/cells/boolean-cell.tsx
import { CellProps, isBooleanControl, rankWith } from '@jsonforms/core';
import { withJsonFormsCellProps } from '@jsonforms/react';

import { Checkbox } from '~/components/ui/checkbox';

const BooleanCell = ({ data, handleChange, path, enabled }: CellProps) => (
    <Checkbox
        checked={data ?? false}
        onCheckedChange={checked => handleChange(path, checked)}
        disabled={!enabled}
    />
);

export const booleanCellTester = rankWith(1, isBooleanControl);
export default withJsonFormsCellProps(BooleanCell);

More from mksingh

Browse all components in this library →