UI Componentsprimitives

Label

Radix-based accessible label component.

Preview placeholder

label

Installation

Terminal
npx @ontopic/viz add ui/generic/label

Props

PropTypeDescription
htmlForstringID of associated input

See full TypeScript interface on GitHub for all props.

Usage Example

TypeScript
import { Label } from '@/viz/ui/generic/label';

Metadata

  • Last Updated2025-01-12
  • FrameworkUI Components
  • Categoryprimitives
  • Subcategorygeneric
UI Radix Form Accessibility

Dependencies

@radix-ui/react-label

Quick Install

npx @ontopic/viz add ui/generic/label