A temperature-compensated optical fiber component for use in high-density WDM
optical
communication includes an optical fiber which has a Bragg grating serving as a
monochromatic filter, an inner package which supports the optical fiber and causes
the Bragg grating to have a temperature-compensating capability, and an outer package
arranged outside the inner package. A clearance having a heat insulating function
is provided between the outer package and the inner package.