Building sample code all missing '@assets/building-blocks'

1 Answer 5 Views
Page Templates / Building Blocks
CleverFox
Top achievements
Rank 1
CleverFox asked on 05 Jul 2025, 09:04 PM | edited on 05 Jul 2025, 09:09 PM
I fully understand I can use my own images, but still the regular API sample pages are well done, with multiple files per sample, as needed.  But when you use the building-blocks, I am forced to reconstruct stuff.   It is disappointing, but still someone did not have the time to include them.  

So one of the reasons I purchased a license was access to the 'Page Templates/Building Blocks', but even the profile dropdown is different as shown below.

Seems like 'Building Blocks' was a cool idea, but lacked funding or something.


Building Block Page under Landing examples... 


Regular telerik profile

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 08 Jul 2025, 09:59 AM

Hi, Thomas,

The assets used in the building blocks point to sample images we use for the preview of the building blocks on our demos site, but they are not part of the building blocks themselves. As assumed by you, these assets are intended to be replaced by developer with actual image paths when the building blocks are used, hence we do not ship them (the building blocks contain only the elements and the styles related to them).

For example,

import CardImage from '@assets/building-blocks/features/fts.png?url';
import Feature1 from '@assets/building-blocks/features/feature-1.svg?url';

could become something like the following, where image1 and image2 are images placed inside the images folder inside the root of your application:

import CardImage from './images/image1.png';
import Feature1 from './images/image2.svg';

Optionally, you can access the assets used in the Page Templates as they are part of the downloaded package if needed.

I hope the provided information will be helpful for you but let me know if I can assist you any further on this matter. 

Regards,
Vessy
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Page Templates / Building Blocks
Asked by
CleverFox
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or