Components
The framework ships 57 UI components. Every component has the same options, behaviour and Tailwind classes in @smartsoft001/angular (<smart-button>) and @smartsoft001/react (SmartButton). Each page documents both: pick Angular or React under its title to see that framework's API, an executed usage example and the live Storybook story.
| Component | Description |
|---|---|
accordion | Accordion component API (<smart-accordion>, its preset and the base class for custom implementations). |
action-panel | Action Panel component API with InjectionToken pattern for custom implementations. |
alert | Alert (confirm dialog) component API with InjectionToken pattern, and the AlertService that opens it from code. |
avatar | Avatar component API with InjectionToken pattern for custom implementations. |
badge | Badge component API with InjectionToken pattern for custom implementations. |
breadcrumbs | Breadcrumbs component API with InjectionToken pattern, configurable separators (chevron/slash/arrow) and four layout variants. |
button | Button component API with InjectionToken pattern for custom implementations. |
button-group | ButtonGroup component API with InjectionToken pattern for custom implementations. |
calendar | Calendar component API with InjectionToken pattern for custom implementations. |
card | Card component API, DI token, and base class for @smartsoft001/angular |
card-heading | Card heading component API with InjectionToken pattern for custom implementations. |
command-palette | Command Palette component API with InjectionToken pattern for custom implementations. |
container | Container layout component API, DI token, and base class for @smartsoft001/angular |
date-edit | Date edit component API and usage patterns for @smartsoft001/angular. Includes ready-to-use <smart-date-edit> and extensible base class. |
date-range | Date range picker component API and usage patterns for @smartsoft001/angular. Includes ready-to-use <smart-date-range> and extensible base classes. |
description-list | Description list component API with InjectionToken pattern for custom implementations. |
detail | Detail field component with InjectionToken pattern for per-field substitution. |
details | Details component API with InjectionToken pattern for custom implementations. Renders a list of model fields via <smart-detail>; DetailsPage, the [smartDetails] directive and showDetailsModal show it in a modal. |
divider | Divider component API with InjectionToken pattern for custom implementations. |
drawer | Drawer component API with InjectionToken pattern for custom implementations. |
dropdown | Dropdown component API with InjectionToken pattern for custom implementations. |
empty-state | Empty State component API with InjectionToken pattern for custom implementations. |
export | Export component API, a download button that hands the bound value and file name to a handler you write, disabled while there is nothing to export, and the base class for custom implementations. |
feed | Feed (timeline/activity) component API with InjectionToken pattern for custom implementations. |
form | Form component API with InjectionToken pattern for custom implementations. Renders a reactive form with dynamic inputs based on model decorators. |
grid-list | Grid list component API with InjectionToken pattern for custom implementations. |
icon | Icon component API, IconName glyph set, template override, and the styled Preset variation for @smartsoft001/angular |
import | Import component API, an upload button that opens the native file dialog (accept filter, JSON by default) and emits the chosen File through its set output, and the base class for custom implementations. |
info | Info popover component API with InjectionToken pattern for custom implementations. |
input | Input field component with InjectionToken pattern for per-FieldType substitution. |
list | List component API with InjectionToken map pattern for custom implementations per mode (desktop/mobile/masonryGrid), with sortable headers, details in a modal and single-page or infinite-scroll pagination. |
list-container | ListContainer layout component API with InjectionToken pattern for custom implementations. |
loader | Loader component API, a spinner shown while show is true, sized and coloured through inputs, with a styled preset and an InjectionToken pattern for custom implementations. |
media-object | MediaObject layout component API with InjectionToken pattern for custom implementations. |
modal | Modal component API with InjectionToken pattern for custom implementations. |
multi-column-layout | Multi-column layout component API with InjectionToken pattern for custom implementations. |
navbar | Navbar component API with InjectionToken pattern for custom implementations. |
notification | Notification component API with InjectionToken pattern for custom implementations, and ToastService for showing toasts from code. |
page | Page component API with map-based variant dispatch and TemplateRef slots. |
page-heading | Page heading component API with InjectionToken pattern for custom implementations. |
paging | Paging component API with InjectionToken pattern for custom implementations. |
password-strength | Password-strength indicator component API with InjectionToken pattern for custom implementations. |
progress-bars | Progress indicators with step list (8 visual variants) and percentage progress bar mode. InjectionToken pattern for custom implementations. |
searchbar | Searchbar component API with InjectionToken pattern for custom implementations. |
section-heading | Section heading component API with InjectionToken pattern for custom implementations. |
select-menu | Select menu component API with InjectionToken pattern for custom implementations. |
sidebar-layout | Sidebar layout component API with InjectionToken pattern for custom implementations. |
sidebar-navigation | Sidebar navigation component API with logo, expandable sections and profile footer using InjectionToken pattern. |
sign-in-form | Sign-in / sign-up form component API with InjectionToken pattern for custom implementations. |
stacked-layout | Stacked layout component API with InjectionToken pattern for custom implementations. |
stacked-list | Stacked list component API with InjectionToken pattern for custom implementations. |
stats | Stats component API with InjectionToken pattern for custom implementations. |
table | Table component API with InjectionToken pattern for custom implementations. |
tabs | Tabs component API with InjectionToken pattern for custom implementations. |
textarea | Textarea component API with InjectionToken pattern for custom implementations. |
toggle | Toggle component API with InjectionToken pattern for custom implementations. |
vertical-navigation | Vertical navigation component API with InjectionToken pattern for custom implementations. |