Layout
EmptyState
EmptyState - Placeholder for empty lists/content refactored for Material 3 Provides a consistent empty state display with optional icon, description, and call-to-action button.Public export
typescript
import { EmptyState } from '@happyvertical/smrt-ui/layout';- Import path
@happyvertical/smrt-ui/layout- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
titlestringYesMain title textdescriptionstringNoOptional descriptionicon'document' | 'folder' | 'users' | 'search' | 'inbox' | SnippetNoIcon slot or default icon nameactionLabelstringNoAction button labelactionHrefstringNoAction button hrefonaction() => voidNoAction button click handlersize'sm' | 'md' | 'lg'NoSize variantBindable state
This component has no bindable public state.
Callback events
onaction() => void