Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Custom Inputs
Select
Components
Components
78
Micro Charts
Navigation
Libraries
Content Editor
Data View
Form Builder
Image Designer
Kanban Board
PDF Viewer
Video Player
Visual Builder
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Buy License

Crop

Crop lets users select a crop area on top of an existing image or visual preview.

Use it when the user needs to move and resize a rectangle or circle selection before another part of the app applies the real image crop. The component emits the selected area as pixel values, percentages, and container dimensions through selectionApplied.

  • Interactive crop area
    Users can move the selection and resize it with visible handles.
  • Rectangle or circle shape
    Use rectangle for covers and thumbnails, or circle for avatar-style crops.
  • Coordinates only
    The component does not upload files, save images, or process the final bitmap.
Use it for:

Avatar dialogs, cover image forms, thumbnail preparation, media management screens, and content editor flows where another service or canvas step performs the actual crop.

The NgStarter Angular Crop component lets you let users choose a rectangle or circle crop area on top of an existing image or visual preview. Use for avatar dialogs, cover image forms, thumbnail preparation, media management screens, and content editor flows where the user chooses the visible crop area. It includes examples for Basic image crop.

Basic image crop

Use Crop to place a movable selection over an existing visual preview. The component emits the chosen rectangle or circle coordinates; the app is responsible for upload, preview state, and final image processing.