Add a read-only indicator to library components