Skip to main content

Variable: EmptyContent

@arolariu/components


@arolariu/components / EmptyContent

Variable: EmptyContent

const EmptyContent: ForwardRefExoticComponent<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>

Defined in: components/ui/empty.tsx:192

Hosts trailing actions or supplemental content for an empty state.

Remarks

  • Pure CSS component (no Base UI primitive)
  • Renders a <div> element
  • Styling via CSS Modules with --ac-* custom properties

Example

<EmptyContent>
<button type='button'>Create item</button>
</EmptyContent>

See

EmptyContentProps for available props

// was this page useful?