# Data Display Components > Components for displaying data in tables, lists, and other structured formats Source: https://shellui.dev/docs/v0.4/components/data-display Data display components help you present information in an organized, accessible, and visually appealing way. These components are essential for dashboards, data-heavy applications, and content management systems. ## Overview ShellUI provides a comprehensive set of data display components that handle everything from simple tables to complex data visualization, all built with performance and accessibility in mind. ## Available Components - [Table](https://shellui.dev/docs/v0.4/components/data-display/table.md): Structured data presentation in rows and columns - [Badge](https://shellui.dev/docs/v0.4/components/data-display/badge.md): Status indicators and labels - [Avatar](https://shellui.dev/docs/v0.4/components/data-display/avatar.md): User profile images and initials - [Alert](https://shellui.dev/docs/v0.4/components/data-display/alert.md): Status messages and notifications - [Toast](https://shellui.dev/docs/v0.4/components/data-display/toast.md): Non-intrusive notifications - [Skeleton](https://shellui.dev/docs/v0.4/components/data-display/skeleton.md): Loading state placeholders - [Progress](https://shellui.dev/docs/v0.4/components/data-display/progress.md): Progress indicators and bars - [Loading](https://shellui.dev/docs/v0.4/components/data-display/loading.md): Loading spinners and indicators - [Kbd · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/kbd.md): Keyboard key and shortcut hints - [Stat Card · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/stat-card.md): KPI tile with a trend badge - [Timeline · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/timeline.md): Vertical list of events - [Tree View · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/tree-view.md): Expandable, selectable tree - [QR Code · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/qr-code.md): QR code rendered as SVG - [JSON Viewer · New in 0.4](https://shellui.dev/docs/v0.4/components/data-display/json-viewer.md): Highlighted, foldable JSON tree with copy ## Data Display Principles ### Performance First Components are optimized for large datasets with efficient rendering and virtualization options. ### Accessibility All components include proper ARIA labels, keyboard navigation, and screen reader support. ### Responsive Design Tables and data components adapt to different screen sizes with mobile-friendly layouts. ### Type Safety Full C# type safety with generic support for complex data structures. ## Getting Started ```bash # Add data display components shellui add table badge avatar alert toast ``` ## Common Patterns ### Basic Table ```razor Name Email Status @foreach (var user in users) { @user.Name @user.Email @user.Status }
``` ### User Profile Cards ```razor

@user.Name

@user.Email

@user.Role
``` ### Status Messages ```razor Your changes have been saved successfully. ``` ## Advanced Usage ### DataTable ```razor @code { private List users = new() { new("Ada Lovelace", "ada@example.com", "Active"), new("Alan Turing", "alan@example.com", "Invited"), }; private List> columns = new() { new() { Header = "Name", PropertyName = "Name", CellTemplate = u => @@u.Name }, new() { Header = "Email", PropertyName = "Email", CellTemplate = u => @@u.Email }, new() { Header = "Status", PropertyName = "Status", Sortable = false, CellTemplate = u => @@u.Status }, }; record User(string Name, string Email, string Status); } ``` Columns are sortable by default, and `ShowFilters`, `ShowPagination` and `ShowSelection` control the toolbar. `shellui add data-table` also installs the models and the `System.Linq.Dynamic.Core` package. ### Loading States ```razor @if (loading) {
} else { } ```