<ray-empty-state label="No projects yet" with-border>
<svg slot="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/></svg>
Create a project to start building with raylang.
<ray-button slot="actions">New project</ray-button>
<ray-button slot="actions" variant="default">Import</ray-button>
</ray-empty-state>
import { RayEmptyState, RayButton } from "@raylang/react";
export function EmptyStateExample() {
return (
<>
<RayEmptyState label="No projects yet" withBorder>
<svg slot="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></svg>
Create a project to start building with raylang.
<RayButton slot="actions">New project</RayButton>
<RayButton slot="actions" variant="default">Import</RayButton>
</RayEmptyState>
</>
);
}
<template>
<RayEmptyState label="No projects yet" with-border>
<svg slot="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" /></svg>
Create a project to start building with raylang.
<RayButton slot="actions">New project</RayButton>
<RayButton slot="actions" variant="default">Import</RayButton>
</RayEmptyState>
</template>