A Partial Design
in SXA is not the same thing as a Rendering. There are no controllers, views, rendering items etc...
A Partial Design
is effectively a Sitecore item with presentation applied to either the Shared or Final layouts.
Partial Designs
are then added to a page via the pages associated Page Design
.
At render time, Sitecore will gather the pages layout and all the partial designs layouts and merge those together into a fully composed page layout for rendering.
As Sumit mentioned in his answer, to add components to a Partial Design
, you simply edit the design in the Experience Editor, much in the same way you do on a Page.
Some things to note. A partial design will have the same placeholders as a page, OOTB, SXA will give you header
, body
, and footer
placeholders. If you use the header
placeholder on your header partial design, this placeholder is no longer available to pages that include that partial design. So if you want to allow components to be placed in the header
area on your site, you will need to include a Container
component on your partial design, this gives a placeholder that can be used on pages. AFAIK, this is done to simplify the merging of the final layouts when composing the page.