function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sayantika DuttaSayantika Dutta 

I want to create a component in aura which will show the list of active accounts. Upon clicking the account name , another page will be opened which will show the contacts and opportunity of that selected account.

SwethaSwetha (Salesforce Developers) 
HI Sayantika ,
The below posts should help you get started
https://www.sfdckid.com/2019/08/salesforce-lightning-component-to-display-contacts.html
https://salesforce.stackexchange.com/questions/302191/passing-list-of-accounts-to-aura-iteration-and-displaying-them-in-component

The developer community recommends providing any attempts/code you've started, any errors you're getting, or where exactly you're struggling in achieving this while posting a question.

If this information helps, please mark the answer as best. Thank you