Display loading placeholders with various shapes and animations while content loads.
Use the Variant property to specify the skeleton shape and Style to control dimensions. The component supports three shape variants - Text, Circular, and Rectangular.
The height value of the default Text variant is a function of the parent's element font-size.
The component has three animation types (None, Wave, Pulse).
Here's how you might use skeletons in a card layout to show loading states.
This example demonstrates how to use skeletons to show loading states while a DataGrid is loading data. The skeleton mimics the actual DataGrid structure including headers, rows, and pagination.
ID | Photo | First Name | Last Name | Job Title | Title | Birth Date | Hire Date | Address | City | Region | Postal Code | Country | Home Phone | Extension | Notes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 7 | King | Robert | Sales Representative | Mr. | 07/02/1983 | 10/17/2013 | Edgeham Hollow Winchester Way | London | RG1 9SP | UK | (71) 555-7773 | 428 | Robert King served in the Peace Corps and traveled extensively before completing his degree in English at the University of Michigan in 1992, the year he joined the company. After completing a course entitled "Selling in Europe," he was transferred to the London office in March 1993. | ||
| 5 | Steven | Buchanan | Sales Manager | Mr. | 03/04/1975 | 10/17/2013 | 14 Garrett Hill | London | SW1 8JR | UK | (71) 555-4848 | 3453 | Steven Buchanan graduated from St. Andrews University, Scotland, with a BSC degree in 1976. Upon joining the company as a sales representative in 1992, he spent 6 months in an orientation program at the Seattle office and then returned to his permanent post in London. He was promoted to sales manager in March 1993. Mr. Buchanan has completed the courses "Successful Telemarketing" and "International Sales Management." He is fluent in French. | ||
| 2 | Andrew | Fuller | Vice President, Sales | Dr. | 02/19/1972 | 08/14/2012 | 908 W. Capital Way | Tacoma | WA | 98401 | USA | (206) 555-9482 | 3457 | Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981. He is fluent in French and Italian and reads German. He joined the company as a sales representative, was promoted to sales manager in January 1992 and to vice president of sales in March 1993. Andrew is a member of the Sales Management Roundtable, the Seattle Chamber of Commerce, and the Pacific Rim Importers Association. | |
| 1 | Nancy | Davolio | Sales Representative | Ms. | 12/08/1968 | 05/01/2012 | 507 - 20th Ave. E. Apt. 2A | Seattle | WA | 98122 | USA | (206) 555-9857 | 5467 | Education includes a BA in psychology from Colorado State University in 1970. She also completed "The Art of the Cold Call." Nancy is a member of Toastmasters International. | |
| 4 | Margaret | Peacock | Sales Representative | Mrs. | 09/19/1957 | 05/03/2013 | 4110 Old Redmond Rd. | Redmond | WA | 98052 | USA | (206) 555-8122 | 5176 | Margaret holds a BA in English literature from Concordia College (1958) and an MA from the American Institute of Culinary Arts (1966). She was assigned to the London office temporarily from July through November 1992. |
Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT