Expand

Meet Expand, your new favorite Angular Material component! ๐Ÿš€

Tired of long content cluttering your pages? The Expand component solves this by automatically showing or hiding content when itโ€™s too lengthy. With a sleek, Material Design-inspired toggle, users can expand to read more or collapse to keep things tidy.

Key features:
  • โœ… Clean & User-Friendly: Keeps your design clean while letting users control what they want to see.
  • โœ… Responsive by Design: Works perfectly on any screen size.
  • โœ… Simple Integration: Plug and playโ€”just add it to your project, no hassle!
  • โœ… Customizable: Easily tweak styles and behaviors to fit your app's needs.

Make your apps smarter and more user-focused with Expand! ๐Ÿ‘Œ

Basic Expand

Loading...

Show button if expanded

Loading...

Custom button labels

Loading...

API Reference

emr-expand component - shows and hides blocks with large contents.

Properties for the emr-expand component.

PropTypeDefault
expanded
Show/Hide block content
booleanfalse
color
Color of a fade
booleanfalse
expandLabel
Label of the expand button if block collapsed
stringShow more
collapseLabel
Label of the expand button if block expanded
stringShow less
showButtonIfExpanded
Show button by hover if block is expanded
booleanfalse
height
Height of a block
string(px)โ€“