Skip to content

Caption

beta

The Caption component renders supplementary text below form inputs. It is used to provide additional context or hints for form fields.

Usage

import { Caption } from '@harnessio/ui/components'
return (
<Caption>This is a caption</Caption>
)

API Reference

Prop
Required
Default
Type
childrentrueReactNode
classNamefalsestring