class

UI::EmptyState

Inherits BaseComponent < HtmxHelper < DateFormatHelper < Rosetta::Translatable < Rosetta::Translatable < Lucky::BaseComponent < Lucky::HTMLBuilder < Lucky::SelectHelpers < Lucky::LabelHelpers < Lucky::InputHelpers < Lucky::SvgInliner < Lucky::LiveReloadTag < Lucky::TagDefaults < Lucky::RenderIfDefined < Lucky::HelpfulParagraphError < Lucky::MountComponent < Lucky::ForgeryProtectionHelpers < Lucky::TimeHelpers < Lucky::UrlHelpers < Lucky::HTMLTextHelpers < Lucky::TextHelpers < Lucky::NumberToCurrency < Lucky::AssetHelpers < Lucky::Assignable < Lucky::SpecialtyTags < Lucky::FormHelpers < Habitat::SettingsHelpers < Habitat::TempConfig < Lucky::LinkHelpers < Lucky::CustomTags < Lucky::CheckTagContent < Lucky::BaseTags < Lucky::CheckTagContent < Reference < Object

Constants

ASSIGNS = [title : String, description : String | ::Nil = nil, icon_name : String = "inbox", with_card : Bool = true, action_text : String | ::Nil = nil, action_path : Lucky::RouteHelper | ::Nil = nil, button_variant : String = "btn-primary"] of Nil

Constructors

new(title : String, description : String | Nil = nil, icon_name : String = "inbox", with_card : Bool = true, action_text : String | Nil = nil, action_path : Lucky::RouteHelper | Nil = nil, button_variant : String = "btn-primary", **unused_exposures)

Class methods

file_location

Returns the relative file location to the project root. e.g. src/components/my_component.cr

Source

Instance methods

action_path
action_text
button_variant
description
icon_name
render
Source
title
with_card?