Skip to content
Display

Empty

Server Component

Empty-state placeholder.

Import

tsx
import { Empty } from "@cronus-ui/ui";
bash
npx cronus-ui add empty

Examples

.cronus

The same component declared in Cronus. Emitted at build time from the audit fixtures — the kernel renders it as HTML with no React.

PortedParity: MatchGeometry 1/1Pixel diff 0 pxLogic 1/1Parity scoreboard
default.cronus
app "audit-fixtures" {
  port 5176
}

style {
  preset aurora
  theme dark
}

component EmptyDefault layout:inline style:empty {
  label "No results"
}

page "/audit/empty/default" type:custom {
  use EmptyDefault
}

API Reference

Generated from the component's exported types.

EmptyProps

Extends HTMLAttributes<HTMLDivElement>

Skip EmptyProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

EmptyIconProps

Extends HTMLAttributes<HTMLDivElement>

Skip EmptyIconProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

EmptyTitleProps

Extends HTMLAttributes<HTMLDivElement>

Skip EmptyTitleProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

EmptyDescriptionProps

Extends HTMLAttributes<HTMLDivElement>

Skip EmptyDescriptionProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.

EmptyContentProps

Extends HTMLAttributes<HTMLDivElement>

Skip EmptyContentProps props table
PropTypeDefaultDescription
className
string—Additional class names merged onto the root.
children
ReactNode—Contents of the component.
id
string—DOM id of the root element.