Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar, Playground, Navbar, and other Doc website elements #551

Closed
1 of 2 tasks
andreostrovsky opened this issue May 30, 2021 · 1 comment
Closed
1 of 2 tasks

Sidebar, Playground, Navbar, and other Doc website elements #551

andreostrovsky opened this issue May 30, 2021 · 1 comment
Labels
✨ Geist Components Catalog 📨 Archived Archived, features that will not be added

Comments

@andreostrovsky
Copy link

Feature request 🚀

  • I will create Pull Request
  • It's just a suggestion

Expected

  • Could the elements from the documentation website be added to the library? The sidebar for example would be really useful. Same with the sticky navbar.
  • The playground component with the expandable code editor looks like an extension of <Fieldset>, just with a copy button and collapsible footer. Perhaps that functionality could be rolled into it with a collapse prop?
    • Add borderless prop to <Button> to enable recreating the copy button from the playground.
    • Could <Textarea> please get a code prop to style the text like in <Code> or <Snippet>? I've been doing this with CSS classes, but a simple prop would be really convenient.

Examples

<Fieldset>
    ...
  <Fieldset.Footer collapse>
    <Fieldset.Footer.Status>
      <Text small>Code Editor</Text>
    </Fieldset.Footer.Status>
    <Fieldset.Footer.Actions>
      <Button iconRight={<Copy />} auto borderless size="small" />
    </Fieldset.Footer.Actions>
    <Fieldset.Footer.Content>
      <Textarea width="100%" code />
    </Fieldset.Footer.Content>
  </Fieldset.Footer>
</Fieldset>

Thanks and much ❤️, geist-ui is the best

@unix unix added the 📨 Archived Archived, features that will not be added label Jun 25, 2021
@unix
Copy link
Member

unix commented Jun 25, 2021

These functions are a kind of customization, not the smallest unit that can be abstracted in the layout, and we don't want to add these elements to the component library for now.
Thank you for the kind words, sorry this feature is not available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Geist Components Catalog 📨 Archived Archived, features that will not be added
Projects
None yet
Development

No branches or pull requests

3 participants