Display the status of an application. Useful for non-ideal states such as empty state, error state, info state, loading state, and success state.
Usage
Empty State
Indicates the absence of items or data, prompting users to take action.
import { EmptyState } from '@passfort/castle'import { Button } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Error State
Communicates an error condition, providing details and possible remediation actions.
import { ErrorState } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Info State
Conveys informational messages that require user attention or awareness.
import { InfoState } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Loading State
Represents a loading or processing state, indicating that an action is in progress.
import { LoadingState } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Success State
Confirms the successful completion of an action, providing positive feedback to the user.
import { SuccessState } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Handling Long Descriptions
Ensure the component gracefully handles lengthy descriptions without compromising layout integrity.
import { ApplicationStatus } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Minimal Status
Demonstrates the component with only the essential prop, showcasing default behaviors.
import { ApplicationStatus } from '@passfort/castle'content_copyCopy
content_copyCopy
live example